Example 2b: PLC spindle with output of the M functions via the channel range

A PLC spindle can also be supplied with M functions via the channel-specific range of the HLI. To this end, 1 must be assigned to the channel parameter P-CHAN-00069 (plc_control). The PLC_INFO need not be set for output of the M functions. The spindle is not configured as a CNC axis.

Initialization in the channel parameter list

spindel[0].plc_control1
spindel[0].m4_synch       0x00000004    MVS_SNS 
spindel[0].m5_synch       0x00000004    MVS_SNS 
spindel[0].m19_synch      0x00000004    MVS_SNS 

Programming example

Example 2b: PLC spindle with output of the M functions via the channel range 1: