Chapter8 Communication Function
8-8
8.1.5 Data type
It’ s possible to read and write device in built-in communication. When device is used, be aware of data type.
1) Data type of variable
•
Available types of device : P,M,L,K,C,T,D,S,F
•
When variable is used, attach ‘ %’ (25H) in front of the marking characters.
Data type
Marking characters
Examples
Bit
X(58H)
% PX000, % MX000, % LX000, %KX000, %CX000, %TX000, %FX000
Word
W(57H)
% PW000, % MW000, % LW000, %KW000, %CW000, %TW000,
%FW000, %DW000, %SW000
Device Name
Explanation
Read/Write
Bit/Word Assignment
P
Input/Output relay
Available
Both
M
Auxiliary relay
Available
Both
L
Link relay
Available
Both
K
Keep relay
Available
Both
C
Counter
Available
Both
T
Timer
Available
Both
D
Data Register
Available
Word Only
S
Step relay
Available
Word Only
F
Special relay
Read Only
Both
Remark
1) Timer/Counter used in word command means current values.
2) Data register and Step relay can uses only word commands.
3) When Link module is used, Link relay must not written.(it cause communication error)