Chapter 8. Communication Functions
8-13
Item Description
Station No.
HEX value is displayed as ASCII 2 bytes in station.
The example above shows H10 that is the case when the station no. 16 of GM7U is requested
data.
Number of
data
The number of data means the byte to respond. It is converted into ASCII. This number is
determined by multiplying the data number of the computer request format by the data size (in the
table below) according to the memory type (B, W, D) included in the variable name of computer
request format.
Data The HEX data in respond data area converted to ASCII code are saved.
Frame check
(BCC)
When the command is lowercase(r), only one lower byte of the value resulted by adding 1 Byte
each to the ASCII values from ACK to ETX is converted into ASCII and added to BCC, and then
sent.
Example 1)
When memory type included in variable name of computer request Format is W(Word), and data number of computer request
Format is 03, data number of PLC ACK response after execution of command is indicated by H06(2*03 = 06 bytes)Byte and
ASCII code value 3036 is entered in data area.
Example 2)
In just above example, when data contents of 3 words are 1234, 5678, and 9ABC in order, actual ASCII code converted values
are 31323334 35363738 39414243, and the contents are entered in data area.
Data type Available device Data size (byte)
Byte(B) %MB,%QB,%IB 1
Word(W) %MW,%QW,%IW 2
Double Word(D) %MD,%QD,%ID 4