Chapter 8 Dedicated Communication
8-4
8.1.3 Instruction list
Instructions used in dedicated communication service are as shown below in the table.
Instruction
Instruction
code
Data type
Processing Details
Read
Request :
h0054
Response :
h0055
Individual
Reads Bit, Byte, Word, Double word and Long word type
of variables data based on each data type.
Continuous
Reads byte type of variables in block unit.
(up to 1,400 bytes).
Write
Request :
h0058
Response :
h0059
Individual
Writes Bit, Byte, Word, Double word and Long word type
of variables data based on each data type.
Continuous
Writes byte type of variables in block unit.
(up to 1,400 bytes).
[Table 8.1.1] List of Instructions
8.1.4 Data type
(1) Data type of variables
The Data types of variables in the P, M, L, F, K, C, D, T, N, R, etc device areas are to be included
after the variable indicating letter of ‘%’.
Data type
Example
Bit
%PX0,%LX0,%FX0
Byte
%MB0, %PB0, %DB0
Word
%PW0,%LW0,%FW0,%DW0
Double Word
%PD0,%LD0,%FD0,%DD0
Long Word
%PL0,%LL0,%FL0,%DL0
[Table 8.1.2] List of data types of direct variables
(2) Data type
Data type is to be set to Instruction type when reading or writing direct variables.
Data type
Code
Data type
Code
BIT
h00
LWORD
h04
BYTE
h01
DWORD
h03
WORD
h02
LWORD
h04
DWORD
h03
Continuous
h14
[Table 8.1.3] List of data types of direct variables