Audio-Technica ATW-CHG3N Specifications

ATW-CHG3N
IP Control Protocol Specifications
TWO-BAY CHARGING STATION
Version1.0.1
Revision history
2018/11/05 1.0.1 First version
Table of Contents
1 Preface ........................................................................................................................................................ 1
1.1 Purpose of This Document ....................................................................................................................... 1
1.2 Definition of Terms and Numeric Representation ..................................................................................... 1
2 Basic Specifications ..................................................................................................................................... 2
2.1 Communication Interfaces ....................................................................................................................... 2
2.2 Command Formats .................................................................................................................................. 2
2.2.1 Command Common Rules ................................................................................................................ 2
2.2.2 Set Command/Get Command/Request Command ........................................................................... 3
2.2.3 ACK .................................................................................................................................................. 3
2.2.4 NAK .................................................................................................................................................. 4
2.2.5 Answer .............................................................................................................................................. 4
2.2.6 Information ........................................................................................................................................ 5
3 Command List .............................................................................................................................................. 6
4 TCP Communications .................................................................................................................................. 7
4.1 Communication Control .........................................................................................................
4.1.1 Communication Start ........................................................................................................................ 8
4.1.2 Control Sequence ............................................................................................................................. 8
................... 7
4.1.3 Communication Errors .................................................................................................................... 11
4.1.4 Communication End ........................................................................................................................ 11
4.2 Command Details ................................................................................................................................... 12
......................................................................... 13
......................................................................................... 13
................................................................................. 14
............................................................................. 15
.......................................................................................................... 16
..................................................................................................... 16
................................................................................................. 17
............................................................................................. 18
........................................................................................ 18
............................................................................................................... 19
............................................................................................... 20
.................................................................................. 20
.............................................................................................................................. 20
5 UDP Communications ............................................................................................................................... 21
5.1 Communication Control .......................................................................................................................... 21
5.1.1 Communication Start ...................................................................................................................... 21
5.1.2 Control Sequence ........................................................................................................................... 21
5.1.3 Communication Errors .................................................................................................................... 21
5.1.4 Communication End ........................................................................................................................ 21
5.2 Command Details ................................................................................................................................... 22
.............................................................................................................. 22
1 Preface
This document describes the command specifications to control the Wireless System charger developed in Audio-Technica.
The following table shows the definition of terms used in this document.
Ter m Description Host A device that issues control commands. It refers to application software or a
control device. Device A device to be controlled. AT device An Audio-Technica product device. Message A character string transmitted per communication in data format. Command A command statement to control a device. It is included in a message. Parameter Used in combination with a command. It is a setting value that specifies a
command behavior.
The numeric representation is defined as follows:
Binary number: Specify a value followed by b. Example: 1010 0110b Hexadecimal number: Specify a value preceded by 0x. Example: 0xA6
1
2 Basic Specifications
The update function updates the Wireless System via TCP protocol.
Table 2-1 Communication Interfaces
No Item Content Remarks
1. Communication system
2. Transmission speed
3. Port number
4. Maximum data length
5. Compatible connector
Full duplex
10Mbps / 100Mbps
TCP (control): 17300 UDP (notification): 17000 287 bytes (including line feed codes) Device side: RJ45 connector (compatible with 10/100 Mbps) Cable: CAT5e or higher
Each port number is fixed and cannot be changed. 32 bytes for Ethernet communication header, 255 bytes for control commands
Transmitted commands are categorized as follows:
Table 2-2 Communication Interfaces
No Command Content Remarks
1. Set Command Action command Change the charger settings.
2. Get Command Action command Obtain the charger settings and status.
3. ACK Acknowledge Respond to a Set Command.
4.
NAK
5. Answer Setting change notification Respond to a Get Command.
6. Information Status change notification Report the charger settings and status
7. Req Command Action request Request an action to the host.
Negative acknowledge Respond to a Set Command.
For delimiter, half-width space (0x20) will be used.
Commands use basically ASCII code. For specific commands UTF-8 is used (Example: Device naming
etc.)
The termination of a command is CR(0x0d).
[Example]
change (not used for update).
sprchS000000NC1,,1,,,1,471250000,01,01,0 ↲
sprchACK↲
sprchNAK01↲
2
gprch000000NC2,,0,,,1,580925000,03,12,1 ↲
MDnprch000000NC1,0,0,11,0,1234,0,808750000,0,0 ↲
・・・ means space  ・・・ means CR(0x0d) ・・・ means command parameter
The table below shows command protocol of the action commands.
Table 2-3 Command protocol of action commands
No. Item Content Size Remarks
1. Command Command string 5byte Refer to3.Table of commands”
2. Handshake Select
3. Model ID Unused 4byte Fixed 0000
4. Unit No Unused 2byte Fixed 00
5. Continue Select
6. Parameter Command parameter 0byte Refer to chapter 4
7. End Character Sign for end of message 1byte CR (0x0D)
When a command is sent by the host, the following parameters can be abbreviated. This is done by using
comma (,) punctuation for unspecified data.
Example. When a whole abbreviation of the parameter
Sequence execution system
Divided message system 2byte NC: No divided message
1byte H: Handshake method (Unused)
O: One-Way method S: ACK/NAK format
CS: Head of divided message CM: Divided message CE: End of divided message
sprchS000000NC,,,,,,,,, ↲
However, depending on the command
“Error” can occur when a whole abbreviation of the parameter  “Unspecified” can occur when no abbreviation of the parameter
Cases above and parameters which cannot be abbreviated are described by each command from chapter
4.2 on.
Below, is the acknowledgment command format.
Table 2-4 Response to the acknowledgment command format
No Item Content size Remarks
1. Command Command string 5byte Refer to3.Table of commands”
2. ACK ACK 3byte Fixed ACK
3. End Character Sign for end of message 1byte CR (0x0D)
3
Below, is the negative acknowledgment command format.
Table 2-5 Response to negative acknowledgment command format
No Item Content size Remarks
1. Command Command string 5byte Refer to3.Table of commands”
2. NAK NAK 3byte Fixed NAK
3. Error Code Error code 2byte Refer to Table 2-6
4. End Character Sign for end of message 1byte CR (0x0D)
Below, are the error codes.
Table 2-6 Error Code
Error code Error content Remarks
01 Grammar error
02 Invalid command
03 Divided
Transmission Error
04 Parameter error
05 Transmit timeout Unused 90 Busy Unable to process due to busy state 92 Busy (Safe Mode) Unable to process due to p-Fail (power interruption) 93 Busy (Extension) Unable to process due to Extension mode (CU link) 99 Other errors Other errors than above
No mandatory request Failure in mandatory request command string Defined length of a command string is not appropriate Max. length of command string including line feed code is
exceeded
Cannot find command
(Refers to an unknown command or a command, which the device cannot use.)
Referred to “CM” or “CE” in a state, when “CS” Continue Select
is not received.
Refers to an invalid RX Parameter is out of the defined range When trying to change a parameter, which cannot be changed
(i.e. change “Priority” during talk,...)
Below, is the setting status notification.
Table 2-7 Command format of setting status notification
No Item Content size Remarks
1. Command Command string 5byte Refer to3.Table of commands”
2. Model ID Unused 4byte Fixed 0000
3. Unit No Unused 2byte Fixed 00
4. Continue Select
5. Parameter Command parameter 0byte Refer to chapter 4 and 5
6. End Character Sign for end of message 1byte CR (0x0D)
Divided message system 2byte NC: No divided message
CS: Head of divided message CM: Divided message CE: End of divided message
4
Below, is the changing status notification.
Table 2-8 Command format of changing status notification
No Item Content size Remarks
1. Modify MD 2byte Fixed MD
2. Command Command string 5byte Refer to3.Table of commands”
3. Model ID Unused 4byte Fixed 0000
4. Unit No Unused 2byte Fixed 00
5. Continue Select
6. Parameter Command parameter 0byte Refer to chapter 5
7. End Character Sign for end of message 1byte CR (0x0D)
Divided message system 2byte NC: No divided message
CS: Head of divided message CM: Divided message CE: End of divided message
Below, is the requesting status notification. ( This command is not used for wireless system)
Table 2-9 Command format of c status notification
No Item Content size Remarks
1.
2.
3.
4.
5.
6.
7.
Request
Command
Model ID
Unit No
Continue Select
Parameter
End Character
RQ 2byte Fixed RQ
Command string 5byte Refer to3.Table of commands”
Unused 4byte Fixed 0000
Unused 2byte Fixed 00
Divided message system 2byte NC: No divided message
CS: Head of divided message CM: Divided message CE: End of divided message
Command parameter 0byte Refer to chapter 4
Sign for end of message 1byte CR (0x0D)
5
Loading...
+ 17 hidden pages