Mitsubishi Electric GT14 User Manual page 1429

Hide thumbs Also See for GT14:
Table of Contents

Advertisement

Details of data items in message format
POINT
POINT
POINT
Data code during communication
Communication is performed in ASCII code. (excluding interrupt output)
(1) Control codes
Symbol
STX
ETX
EOT
ENQ
NAK
ACK
LF
CL
CR
(2) Command
Specifies the contents to access from the host to GOT.
The command is converted to a 1-digit ASCII code (Hex) and transmitted.
For details of the commands that can be used, refer to the following.
61.5.2 List of commands
(3) Station No.
Station No. is used to identify the GOT with which the host communicates. (Setting range: 0 to 31)
Data notated in decimal is converted to a 2-digit ASCII code (Hex) and transmitted from the upper digit.
The GOT processes only commands whose station No. matches the "Host Address (0 to 31)" set at
"Communication Detail Settings". (The message of command whose station No. does not match is ignored.)
For setting method of "Communication Detail Settings", refer to the following.
61.6.1 Setting communication interface (Communication settings)
(4) Address
Specifies the head No. of the device data to be read/written.
The address notated in hexadecimal is converted to a 4-digit ASCII code (Hex) and transmitted from the upper digit.
For details of the device range that can be accessed, refer to the following.
61.4 Device Data Area
(5) Bit pattern
Specifies the pattern of the bits to change.
The address notated in hexadecimal is converted to a 2-digit ASCII code (Hex) and transmitted from the upper digit.
 Message format(3)Multi-point write in bit units (3) command (w/out station No.), multi-point
write in bit units (D) command (w/ station No.)
(6) Write specification
Specifies how to change the data of the specified address by bit pattern.
(Setting range: 0 to 3)
Data notated in decimal is converted to a 1-digit ASCII code (Hex) and transmitted.
 Message format(3)Multi-point write in bit units (3) command (w/out station No.), multi-point
write in bit units (D) command (w/ station No.)
ASCII code
02
Start of Text (start marker of message frame)
H
03
End of Text (end marker of message frame)
H
04
End of Transmission
H
05
Enquiry (start of enquiry)
H
15
Negative ACK (error response)
H
06
Acknowledge (write completion response)
H
0A
Line Feed
H
0C
Clear
H
0D
Carriage Return
H
61. MICROCOMPUTER CONNECTION (SERIAL)
Description
61.5 Message Formats
56
57
58
59
60
61
62
63
61 - 55

Advertisement

Table of Contents
loading

Table of Contents