July 2013 6.12 Spindle 965
6.12.4 Coded output of spindle speed
If you have selected speed-code output in MP3010 (entry 1 or 2), an S code is
entered in W258. You must output the speed code to the spindle drive
through PLC outputs.
If the speed code is changed, the NC sets the S strobe (M4071). If you
acknowledge the S code with M4091, the NC program is continued and the S
strobe (M4071) is reset by the NC.
If required, the programmed spindle speed is rounded off to the next standard
value by the NC and given in S code as per ISO 6983 (see S-code table).
Speeds of 0 to 9000 min
–1
are possible:
Specify in MP3010 the speed range and the speed increment. The S code
for the minimum speed is stored in W1008.
Example:
Minimum speed = 1 min
-1
(S code 20)
Maximum speed = 1000 min
-1
(S code 80)
Speed increment = 2:
MP3020 = 20802
W1008 = 20
MP3020 Speed range for S code output
Format: xxyyz
xx: S code for minimum speed
yy: S code for maximum speed
z: Speed increment
Input: 0 to 99 999
Set Reset
W258 S code NC NC
M4071 Strobe signal for S code NC NC
M4091 Acknowledgment of S code PLC PLC
W1008 S code for minimum speed NC NC