VACON CX Modbus user’s manual Page 16
________________________________________________________________________________________
________________________________________________________________________________________
Vacon Oy Phone +358-201-2121 Fax: +358-201-212 205
7.2 VACON control interface
Direct control of Vacon CX uses following function codes and addresses:
Fieldbus Board VACON CX
CONTROL
Function code 5, Write
M Function code 1, Read
A Address: 00 00 RUN/STOP
00 01 DIRECTION
S 00 02 FAULT RESET
T
STATUS
E
Function code 2, Read
R
Address: 00 00 CONTROL SOURCE
00 01 READY STATE
00 02 RUN STATE
00 03 DIRECTION STATE
00 04 FAULT STATE
Example 1: Read VACON CX run state
Response: Run state ( 0=stop or 1=run)
Query:
01 02 00 02 00 01 CRC16
Slave addr Function Address HI Address LO Number of
points HI
Number of
points LO
2 bytes
Response:
01 02 01 01 CRC16
Slave addr Function Byte count Data 2 bytes
Example 2: Send start command to VACON CX.
Response is an echo of the query.
Query:
01 05 00 00 FF 00 CRC16
Slave addr Function Address HI Address LO Data HI Data LO 2 bytes
Response:
01 05 00 00 FF 00 CRC16
Slave addr Function Address HI Address LO Data HI Data LO 2 bytes