SD500 Spindle Servo Drive Manual
100
Appendix
Appendix I: Modbus Communication Protocol
●
Communication frame structure
The communication data format is as follows.
One byte includes a start bit, 8 data bits, a parity bit and a stop bit.
Start bit
Bit1
Bit2
Bit3
Bit4
Bit5
Bit6
Bit7
Bit8
Parity bit
Stop bit
Table appendix-1
The information of a frame must be transmitted in a continuous data stream. If the interval time before the end of the whole frame
transmission is more than 1.5 bytes, the receiving device will clear this incomplete information and incorrectly assume that the subsequent byte is
the address field part of the new frame. Similarly, if the interval between the start of a new frame and the previous frame is fewer than 3.5 bytes, the
receiving device will consider it as a continuation of the previous frame and, due to the misalignment of the frame, the final CRC checksum value
will be incorrect, resulting in a communication error.
● Communication control parameter group address description
Function description
Address definition
Data description
R/W
Communication giving frequency
0x3000 or 0x2000
0~32000 corresponds to 0.00Hz~320.00Hz
W/R
Communication command setting
0x3001 o r0x2001
0x0000: No command
0x0001: Forward running
0x0002: Reverse running
0x0003: Forward jogging
0x0004: Reverse jogging
0x0005: Deceleration stop
0x0006: Free stop
0x0007: Fault reset
0x0008: Running not allowed
0x0009: Running allowed
W/R
Spindle drive status
0x3002 or 0x2002
Bit0
0: Stop
1: Running
R
Bit1
0: Non-accelerated
1: Accelerating
Bit2
0: Non-deceleration
1: Decelerating
Bit3
0: Forward
1: Reverse
Bit4
0: No fault
1: Spindle drive failure
Bit5
0: GPRS unlocked
1: GPRS locked
Bit6
0: Pre-warning
1: Spindle drive pre-warning
Spindle drive fault code
0x3003 or 0x2003
Current fault code of the spindle drive (see fault code table)
R
Communication giving the upper
frequency
0x3004 or 0x2004
0~32000 corresponds to 0.00Hz~320.00Hz
W/R
Communication torque setting
0x3005 or 0x2005
0~1000 corresponds to 0.0~100.0%
W/R
Torque controlling forward max
frequency
0x3006 or 0x2006
0~1000 corresponds to 0.0~100.0%
W/R
Torque controlling reverse max
frequency
0x3007 or 0x2007
0~1000 corresponds to 0.0~100.0%
W/R
Communication giving PID
0x3008 or 0x2008
0~1000 corresponds to 0.0~100.0%
W/R
Communication giving the PID
0x3009 or 0x2009
0~1000 corresponds to 0.0~100.0%
W/R