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 device
The dedicated built-in communication can only read/write direct variables.
(1) Data type of direct variables
• Available types of device: M (internal memory), Q(output), I(input)
• When direct variable is used, attach ‘%’(25H) in front of the characters.
Data type Characters Examples
Bit X(58H) %MX0, %QX0.0.0, %IX0.0.0
Byte B(42H) %MB10, %QB0.0.0, %IB0.0.0
Word W(57H) %MW10, %QW0.0.0, %IW0.0.0
Double Word D(44H) %MD10, %QD0.0.0, %ID0.0.0
- Reading/writing of symbolic variable is not available in dedicated communication.
- Memory address 100 in ‘%MB100’ is a decimal value.
- Long word is not available.
REMARK