Synchronisation type for M04 (P-CHAN-00047)

P-CHAN-00047

Synchronisation type for M04

Description

When the M04 function is used, the synchronisation type must be defined for the spindles used. The synchronisation type is defined as a string constant or a hexadecimal value.

Parameter

spindel[i].m4_synch

Data type

STRING or UNS32

Data range

NO_SYNCH, MOS, MVS_SVS, MVS_SNS, MNS_SNS, MNE_SNS, MVS_SLM, MVS_SLP, PLC_INFO, BWD_SYNCH, FWD_SYNCH, FAW_SYNCH

Dimension

----

Default value

NO_SYNCH (0x00000000)

Remarks

Parameterisation example: For a (position-controlled) spindle 'S1' the spindle-specific M function M04 is assigned the synchronisation type MVS_SNS. The PLC is also informed.

spindel[0].bezeichnung       S1

spindel[0].log_achs_nr        6

spindel[0].s_synch      MOS                   0x00000001

spindel[0].m3_synch     PLC_INFO | MVS_SVS    0x00020002

spindel[0].m4_synch     PLC_INFO | MVS_SNS    0x00020004

spindel[0].m5_synch     PLC_INFO | MVS_SVS    0x00020002

spindel[0].m19_synch    MNS_SNS               0x00000008