Example with MNE_SNS

The M function is output by a measurement event and takes place after removal of the specified distance to go. Motion is not enabled beyond the end of the block until after acknowledgement of the M function by the PLC.

Initialisation in the channel parameter list

m_synch[..]   0x20

Programing Example

prg_example

MNE_SNS

N05 X0 Y0

N10 G108                 (start measurement of edge banding)

N20 G01 X90 Y90 F20

N30 G01 X150 Y150 M33 F8 (M33 of type MNE_SNS)

N40 G107                 (end of measurement of edge banding)

N50 G00 X200 Y200

M30

Synchronisation method MNE_SNS
Synchronisation method MNE_SNS

M33 is output takes place after the measurement event in the N30 block and after removal of the distance to go defined by the measuring method. The program then waits for the PLC to acknowledge M33.