
Chapter 8 Communication Functions
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
Device Name
Explanation
Read/Write
Bit/Byte/Word Assignment
P Input/Output
relay
Available
All
M Auxiliary
relay
Available All
L Link
relay
Available All
K Keep
relay
Available All
C
Counter
Available
All(Current value when Word)
T
Timer
Available
All(Current value when Word)
D
Data Register
Available
Byte, Word
S
Step relay
Available
Byte, Word
F
Special relay
Read Only
All
•
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
Byte
B(42H)
%PB000, %MB000, %LB000, %KB000, %CB000, %TB000, %FB000
Word W(57H)
%PW000, %MW000, %LW000, %KW000, %CW000, %TW000,
%FW000, %DW000, %SW000
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.
Содержание MASTER-K 120S Series
Страница 26: ...Chapter 4 Names of Parts 4 3 2 K7M DRT60U 3 K7M DT60U 4 1 2 40 points main unit Standard 1 K7M DR40U ...
Страница 27: ...Chapter 4 Names of Parts 4 4 2 K7M DRT40U 3 K7M DT40U 4 1 3 30 points main unit Standard 1 K7M DR30U ...
Страница 28: ...Chapter 4 Names of Parts 4 5 2 K7M DRT30U 3 K7M DT30U 4 1 4 20 points main unit Standard 1 K7M DR20U ...
Страница 29: ...Chapter 4 Names of Parts 4 6 2 K7M DRT20U 3 K7M DT20U 4 1 5 30 points main unit Economic 1 K7M DR30UE ...
Страница 138: ...Chapter 7 Usage of Various Functions 7 54 c Program ...
Страница 306: ...Appendix 3 External Dimensions App3 2 2 Slim type G7E DC08A G7E RY08A G7F ADHB G7F DA2V G7F RD2A ...