Further functions
Influencing the stroke triggering time:
The stroke triggering time can be influenced to achieve a good machining result. Stroke pre-triggering permits compensation of the constant dead time in signal processing. Stroke post-triggering can compensate for the transient response of the axes or, for example, for the hold-down time of pressure pads in punch operations.
Depending on the setting, influencing of the stroke triggering time refers to one of the following events:
- Interpolation target point reached →G00,G01,G02,G03
- In-Pos window of the slowest axes →G60
The dwell time G04 together with an M function is used for stroke post-triggering.
An M function of the MET_SVS type is used for pre-triggering.
Notice
The offset timing resolution depends on the CNC controller cycle time as the smallest unit.
Example
Stroke pre-triggering:
The user-specific M function M97 is to be output to the PLC 40 millimetres before the synchronisation time in the block sequence is reached.
Excerpt from the channel parameter list:
# Definition of M functions and synchronisation types
# ======================================================
m_synch[97] 0x02000000 MET_SVS
# Setting the pre-output time, pre-output path with MET_SVS type
# ===============================================================
m_pre_outp[97] 40000 in us
N10 #STROKE DEF BEGIN
N30 M97
N40 #STROKE DEF END
Example
Stroke post-triggering:
M96 is the user-specific M function for triggering the stroke motion. The stroke motion should only take place 50 milliseconds after the stroke positions are reached.
N10 #STROKE DEF BEGIN
N20 G04 0.05
N30 M96
N40 #STROKE DEF END
Example
Example of output of the M function referred to the In-Pos window:
M96 is the user-specific M function for triggering the stroke motion. The stroke motion should only take place 50 milliseconds after the physical stroke positions of all axes are reached (actual position is in the window).
N10 #STROKE DEF BEGIN
N20 G04 0.05
N30 M96
N40 #STROKE DEF END
G90 G17
N10 X10 Y30
N20 #PUNCH ON [LENGTH 5]
N30 G60 X30 Y30
N40 G60 X30 Y10
N90 #PUNCH OFF