Communications Protocol
The arrangement of the terminal assignment data permits you to assign all inputs in a single command. The example below shows a transmission to the inverter at address Node 1 to set the Forward command,
0x0000000000000001
+ 0x0000000000000004
Sum the three data strings: + 0x0000000000000008 = 0x000000000000000D
Appendix B
(STX) 01 02 0x000000000000000D (BCC) (CR) | to ASCII |
|
02 30 31 30 31 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 68 30 35 0D
Command – 03 The 03 command reads the monitor data as a single block.
The frame format of command 03 follows the | Transmit frame format | ||||
diagram and specification table. The transmit |
|
|
|
|
|
frame has no data field. | STX | Node | Command | BCC | [CR] |
|
|
|
|
|
|
Element | Description | Size | Value |
|
|
|
|
|
|
|
|
STX | Control code (STart of TeXt) | 1 byte | STX (0x02) |
|
|
|
|
Node | Node (station) address of inverter | 2 bytes | 01 to 32 |
|
|
|
|
Command | Transmission command | 2 bytes | 03 |
|
|
|
|
BCC | Block check sum code | 2 bytes | Exclusive OR of Node, |
|
|
| Command, and Data |
|
|
|
|
[CR] | Control code (carriage return) | 1 byte | [CR] (0x0D) |
|
|
|
|
The receive frame has a | Receive frame format |
|
| ||
containing values for 13 items. |
|
| |||
|
|
|
|
| |
| STX | Node | Data | BCC | [CR] |
|
|
|
|
|
|
| Element | Description | Size | Value |
|
|
|
|
|
|
|
|
|
|
|
|
|
| STX | Control code (STart of TeXt) | 1 byte | STX (0x02) |
|
|
|
|
|
|
|
| Node | Node (station) address of inverter | 2 bytes | 01 to 32 |
|
|
|
|
|
|
|
| Data | Transmission data | 104 | (see next table) |
|
|
|
| bytes |
|
|
|
|
|
|
|
|
| BCC | Block check sum code | 2 bytes | Exclusive OR of Node, |
|
|
|
|
| Command, and Data |
|
|
|
|
|
|
|
| [CR] | Control code (carriage return) | 1 byte | [CR] (0x0D) |
|
|
|
|
|
|
|
|
|
|
|
|
|