Chapter 7 XGT Dedicated Protocol
7-3
(2) Command frame sequence
▪ Sequence of command request frame
ENQ
Stati
on
No.
Comma
nd
Formatted data
EOT BCC
ACK
Station
No.
Command
Formatted data
ETX BCC
NAK
Station
No.
Command
Formatted data
ETX BCC
7.1.3 List of commands
List of commands used in dedication communication is as shown below.
Items
Command
Treatment Main command Command type
Code ASCII code Code ASCII code
Reading
device
Individual
r(R)
H72
(H52)
SS 5353
Reads direct variable of Bit, Byte, Word, Dword, Lword type.
Continuous
r(R)
H72
(H52)
SB 5342
Read direct variable of Byte, Word, Dword, Lword with
block unit
(Bit continuous read is not allowed)
Writing
device
Individual
w(W)
H77
(H57)
SS 5353
Write data of Bit, Byte, Word, Dword, Lword at direct
variable
Continuous
w(W)
H77
(H57)
SB 5342
Write data of Byte, Word, Dword, Lword at direct
variable with block unit
(Bit continuous read is not allowed)
Item
Command
Treatment Main command
Register No
Code ASCII code
Monitoring
variable
register
x(X)
H78
(H58)
H00~H0F
Register device to monitor.
Execution of
monitoring
y(Y)
H79
(H59)
H00~H0F
Execute registered device to monitor.
It identifies capitals or small letters for main commands, but not for the others.
Note
(PLC ACK response)
Classification
Classification
(PLC NAK response)