Chapter 8 Communication Functions
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
Device Name
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
Bit
Byte
Word
Remark
1) Timer/Counter used in bit command means contact point values.(word command means current values.)
2) Data register and Step relay can uses only word or byte commands.
3) In byte type commands, address is doubled
For example, D1234 is addressed to '%D1234' in word type, and is addressed to '%2468' in byte type.
Explanation
Input/Output relay
Auxiliary relay
Link relay
Keep relay
Counter
Timer
Data Register
Step relay
Special relay
X(58H)
%PX000, %MX000, %LX000, %KX000, %CX000, %TX000, %FX000
B(42H)
%PB000, %MB000, %LB000, %KB000, %CB000, %TB000, %FB000
%PW000, %MW000, %LW000, %KW000, %CW000, %TW000,
W(57H)
%FW000, %DW000, %SW000
Read/Write
Bit/Byte/Word Assignment
Available
Available
Available
Available
Available
All(Current value when Word)
Available
All(Current value when Word)
Available
Available
Read Only
Examples
8-8
All
All
All
All
Byte, Word
Byte, Word
All