Mitsubishi MELSEC AJ65BT-R2 User Manual page 164

Rs-232c interface module type
Hide thumbs Also See for MELSEC AJ65BT-R2:
Table of Contents

Advertisement

7 USING FRAMES WHEN EXCHANGING DATA
Special character
code
During frame transmission, the remote register (RW) value is referred to. Two bytes of the value
are transmitted in the order of (binary value) low-order byte and high-order byte. The low-order byte
of the designated RW value is the first character, and the high-order byte is the second character.
FF
H
DD
H
(Example)
DE
to DF
Use prohibited
H
H
*1 Refer to section 2) for details on designating RX/RY/RW.
Special
character
Details of data during transmission/reception, and handling by R2
code
EE
H
EF
H
The sum check codes in the
F0
H
range, excluding the head frame
(1 frame worth) of the
F1
transmission/reception data
H
(statement), are transmitted and
received.
F2
H
F3
H
F4
H
F5
H
F6
H
The sum check codes in the
F7
range, including the head frame
H
(1 frame worth) of the
transmission/reception data
F8
H
(statement), are transmitted and
1
received. *
F9
H
FA
H
*1 If the head frame is not designated, the transmission/reception data section range will be calculated as the sum
check target.
RW
DD
1
H
*
designation
When designated RW value is 16706 (4142
"RW" value is transmitted
A
B
41
42
H
H
(d) Special characters for sum check codes
The special characters for sum check codes are used to transmit and
receive the sum check codes in a set range of the statement to enhance
the reliability of the data exchanged with an external device.
The sum check codes and details of data during transmission/reception are
shown below.
The low-order 2 bytes of the calculation sum check
code are transmitted/received as a 2-byte binary code.
Use prohibited
The low-order 1 byte of the calculation sum check
code are transmitted/received as a 1-byte binary code.
The low-order 1 byte of the calculation sum check
code is converted into a 2-digit ASCII code and
transmitted/received.
Use prohibited
The low-order 4 bits of the calculation sum check code
is converted into a 1-digit ASCII code and
transmitted/received.
The low-order 2 bytes of the calculation sum check
code are transmitted/received as a 2-byte binary code.
Use prohibited
The low-order 1 byte of the calculation sum check
code are transmitted/received as a 1-byte binary code.
The low-order 1 byte of the calculation sum check
code is converted into a 2-digit ASCII code and
transmitted/received.
Use prohibited
The low-order 4 bits of the calculation sum check code
is converted into a 1-digit ASCII code and
transmitted/received.
The calculation sum check code is converted into a
complement of 2, and the low-order 1 byte of the value
is converted into a 2-digit ASCII code and
transmitted/received.
Details
H
Transmission
7 - 30
MELSEC-A
)
Transmission/
reception order
Transmitted/received
in order of (L) (H)
Transmitted/received
from highest digit
Transmitted/received
in order of (L) (H)
Transmitted/received
from highest digit
Transmitted/received
from highest digit

Advertisement

Table of Contents
loading

Table of Contents