Hitachi CPX305 Network Guide - Page 33

Command Format

Page 33 highlights

Command Control via the Network Command Format Command formats differ among the different communication ports. ● TCP #23 You can use the RS-232C commands without any changes. The reply data format is the same as the RS-232C commands. However, the following reply will be sent back in the event of authentication failure when authentication is enabled. Reply 0x1F Error code 0x04 0x00 ● TCP #9715 Send Data format The following formatting is added to the header (0x02), Data length (0x0D), Checksum (1byte) and Connection ID (1 byte) of the RS-232C commands. Header 0x02 Data length 0x0D RS-232Ccommand 13 bytes Checksum Connection ID 1 byte 1 byte Header → 0x02, Fixed Data length → RS-232C commands byte length (0x0D, Fixed) RS-232C commands → RS-232C commands that start with 0xBE 0xEF (13 bytes) Check Sum → This is the value to make zero on the addition of the lower 8 bits from the header to the checksum. Connection ID → Random value from 0 to 255 (This value is attached to the reply data) 33

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35

33
Command Control via the Network
Command Format
Command formats differ among the different communication ports.
● TCP #23
You can use the RS-232C commands without any changes. The reply data
format is the same as the RS-232C commands. However, the following reply
will be sent back in the event of authentication failure when authentication is
enabled.
<Reply in the event of an authentication error>
Reply
Error code
0x1F
0x04
0x00
● TCP #9715
Send Data format
The following formatting is added to the header (0x02), Data length (0x0D),
Checksum (1byte) and Connection ID (1 byte) of the RS-232C commands.
Header
Data
length
RS-232Ccommand
Checksum
Connection
ID
0x02
0x0D
13 bytes
± byte
± byte
Header
→ 0x02, Fixed
Data length
→ RS-232C commands byte length (0x0D, Fixed)
RS-232C commands →
RS-232C commands that start with 0xBE 0xEF (13 bytes)
Check Sum
This is the value to make zero on the addition of the
lower ´ bits from the header to the checksum.
Connection ID
Random value from 0 to 255 (This value is attached to
the reply data)