S1: Spindles
16.2 Operating modes
Basic Functions
1282 Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Example 3:
Synchronized actions: Transition from spindle positioning mode to axis mode
Configuration: MD35035 $MA_SPIND_FUNCTION_MASK, bit20=1
Example 4:
Synchronized actions: Transition from speed control mode to axis mode with M70
Configuration: MD35035 $MA_SPIND_FUNCTION_MASK, bit20=1
Example 5:
Synchronized actions: Invalid transition from speed control mode to axis mode
Configuration: MD35035 $MA_SPIND_FUNCTION_MASK, bit20=1
N15 C77 ; Output of the implicit M70 to the PLC, no intermediate
block.
…
Program code Comment
WHEN COND1==TRUE DO SPOS=180
WHEN COND2==TRUE DO POS[C]=270 ; Output of the implicit M70 to the PLC.
Program code Comment
WHEN COND11==TRUE DO M3 S1000
WHEN COND12==TRUE DO M70 ; Output of M70 to the PLC.
WHEN COND13==TRUE DO POS[C]=270 ; No generation of an implicit M70 because
axis mode already exists.
Program code Comment
WHEN COND21==TRUE DO M3 S1000
WHEN COND22==TRUE DO POS[C]=270 ; Alarm 20141!
Program code Comment