asterof
Jul 12 2009, 07:10 PM
I have been programming AB starting with PLC2's
Now I need to learn Unity for a 140CPU547
I am having trouble figuring out the syntax for real world inputs
The module is in slot 6 of rack 1 which is the first local rack.
It is a digital 24 volt dc input
I am thinking it is %I.6.0
altho that does now work.
What am I doing incorrect.
Camel
Jul 13 2009, 08:54 AM
Have you configured the card? You have to configure it for either Bit (%I or 1x) or Input Word (%IW or 3x).
Then you have to assign the card an address range.
Example:
If I set up the card for Bit (%I or 1x) and set the range for 1 to 16 the IO addresses would be:
10001 10009
10002 10010
10003 10011
10004 10012
10005 10013
10006 10014
10007 10015
10008 10016
These can also be represented by 1:1 1:2 1:3 Etc...
or they would be
%I1 %I9
%I2 %I10
%I3 %I11
%I4 %I12
%I5 %I13
%I6 %I14
%I7 %I15
%I8 %I16