Auxiliary function output to the PLC
M, S or H auxiliary functions can be output to the PLC as synchronized actions. The output
takes place immediately (like an interrupt on the PLC) in the interpolation cycle if the
condition is fulfilled.
Output time becomes ineffective, if possibly defined in one of the following machine data:
• MD11110 $MN_AUXFU_GROUP_SPEC (auxiliary function group specification)
• MD22200 $MC_AUXFU_M_SYNC_TYPE (output time of M functions)
• MD22210 $MC_AUXFU_S_SYNC_TYPE (Output time of the S functions)
• MD22230 $MC_AUXFU_H_SYNC_TYPE (Output time of the H functions)
Programming
Auxiliary functions may be programmed with only frequency keywords WHEN or EVERY in
synchronized actions.
Example
WHEN $AA_IM[X] > 50 DO H15 S3000 M03
; if actual value of the X axis is greater than 50, the output is H15, set new spindle speed,
new direction of rotation
Synchronized actions
Function Manual, 11/2006, 6FC5397-5BP10-2BA0
Detailed description
2.4 Actions in synchronized actions
45