Mitsubishi Electric GOT2000 Series Connection Manual page 90

Graphic operation terminal microcomputers, modbus/fieldbus products, peripherals
Hide thumbs Also See for GOT2000 Series:
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 2-digit ASCII code (Hex) and transmitted from the upper digit.
For details of the commands that can be used, refer to the following.
(3) Address
Specifies the head No. of the device data to be read/written.
The address notated in decimal 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.
(4) Number of points
Specifies the number of device data to be read/written. (Setting range: 1 to 64)
The address notated in decimal is converted to a 2-digit ASCII code (Hex) and transmitted from the upper digit.
(5) Year, month, day, hour, minute, second and day of the week data
Specifies year, month, day, hour, minute, second, and day of the week to be read/set to the GOT clock data.
The address notated in decimal is converted to a 2-digit ASCII code (Hex) and transmitted from the upper digit.
(6) Data
Specifies the data to read from/write to the specified device data.(word unit)
The address notated in hexadecimal is converted to a 4-digit ASCII code (Hex) and transmitted from the upper
digit.
(7) Error code
This is the response message at faulty communication appended with error contents.
Error code is transmitted in 1 byte.
For details of the error codes generated in format 2 (GOT-A900 Series microcomputer connection (format 2)),
refer to the following:
2 - 32
2. MICROCOMPUTER CONNECTION (SERIAL)
2.5 Message Formats
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
2.5.2 List of commands
2.4 Device Data Area
■ Message format (5) Read clock data (TR) command
■ Message format (6) Set clock data (TS) command
■ Error code list
Description

Advertisement

Table of Contents
loading

Table of Contents