Weird ???

smiles

Member
Join Date
Oct 2006
Location
DaNang
Posts
36
For e.g , I do the test like that , I start on an timer (T37 with resolution 100ms and preset time is 840 ,for e.g) and when T37 <= value_1 , 1st output on;
when value_1< T37 <= value_2 then 2nd output on and continue like that until the 840 value is reached
Now the problem begins , if I use CPU 21x generations , compile above program , it says error
but if I use CPU 22x generations , compile and it says no error
Anyone know why ???
thanks :)
 
well,that is S7200the code like this:
NW1
LD I0.0
TON T37,300
NW2
LDW<= T37,100
= Q0.0
NW3
LDW> T37,100
AW<= T37,200
= Q0.1
NW4
LDW> T37,200
= Q0.2
....
Now with CPU21x NW1 is right but NW2,NW3,NW4 wrong
with CPU22x , all is all right
 
Hello.

When I compile the program om my MicroWin I get this for a 21X CPU:

Compiling Program Block...
MAIN (OB1)
Network 3, row 2, col 2: ERROR 11: The instruction is not supported by the PLC type selected.
Network 4, row 2, col 2: ERROR 11: The instruction is not supported by the PLC type selected.
SBR_0 (SBR0)
INT_0 (INT0)
Block Size = 0 (bytes), 2 errors

If you switch to a 21x CPU and expand the Instruction---Compare branch in the Project tree you will see, among other, that the "AW<" and "AW>" (in STL wiew) instructions are illegal for the 21x CPU.

Strange, but that's the rules for the S7-200 family.

Regards from
Knut A.B.
 
If you switch to a 21x CPU and expand the Instruction---Compare branch in the Project tree you will see, among other, that the "AW<" and "AW>" (in STL wiew) instructions are illegal for the 21x CPU.
Yeah ! Thanks you very much (y)
 

Similar Topics

I don't have a whole lot of experience with RSLinx Enterprise or I guess it's also called FactoryTalk Linx. We have a Rockwell FTView SE based...
Replies
0
Views
52
I have created a project in TIA Portal v16 Upd6 with S7-1200 (6ES7214-1AG40-0XB0) and WinCC Unified (PC station). The communication between the...
Replies
4
Views
201
I currently have a weird issue involving Ethernet IP communication between a ABB CI873 (EthernetIP Module) and a 1756-L83ES. The Layout is as...
Replies
8
Views
810
Good morning. I'm doing a rehab and I need to recycle some part of the old code that won't change and that I need. This is a calculation that...
Replies
22
Views
1,486
I'm trying to figure out a weird behavior I'm seeing in my CCW program. It's for controlling a gas polarizer (for medical imaging). I'm using an...
Replies
6
Views
477
Back
Top Bottom