Synchronisation type for M19 (P-CHAN-00043)

P-CHAN-00043

Synchronisation type for M19

Description

When the M19 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].m19_synch

Data type

STRING

Data range

See Spindle-specific synchronisation types

Dimension

----

Default value

NO_SYNCH

Remarks

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

spindel[0].bezeichnung       S1

spindle[0].log_achs_no        6

spindel[0].s_synch      MOS                          0x00000001

spindel[0].m3_synch     PLC_INFO | MVS_SVS    0x00020002

spindle[0].m4_synch     PLC_INFO | MVS_SNS    0x00020004

spindle[0].m5_synch     PLC_INFO | MVS_SVS    0x00020002

spindel[0].m19_synch    MNS_SNS               0x00000008

Note: Programming a UNS32 variable is permissible for downward compatibility reasons.

Example: spindel[0].m19_synch   0x00000008