Detailed description
2.4 Programmable output duration
Basic logic functions: Auxiliary Function Output to PLC (H2)
36 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
2.4 Programmable output duration
Function
User-specific auxiliary functions, for which the output behavior "Output duration of an OB1
cycle (slow acknowledgement)" was parameterized, can be defined for individual outputs via
the parts program guide QU (Quick) for auxiliary functions with quick acknowledgement.
Syntax
An auxiliary function with quick acknowledgment is defined in a part program block with the
following syntax:
< type > [ < address extension > ] = QU(< value >)
Example
Different behavior for the output of the auxiliary functions M100 and M200 in a parts program.
The output behavior of the auxiliary functions is parameterized as follows:
• M100
– Output duration one OB1 cycle (slow acknowledgment)
– Output during motion
• M200
– Output duration one OB1 cycle (slow acknowledgment)
– Output prior to motion
Programming Comment
N10 G94 G01 X50 M100
Output of M100: during the motion
Acknowledgement: slow
N20 Y5 M100 M200
Output of M200: prior to the motion
Output of M100: during the motion
Acknowledgement: slow
N30 Y0 M=QU(100) M=QU(200)
Output of M200: prior to the motion
Output of M100: during the motion
Acknowledgement: quick
N40 X0
- - -
N50 M100 M200
Output of M200: immediately
1)
Output of M100: immediately
1)
Acknowledgement: slow
M17
- - -
1)
Without a traverse movement, auxiliary functions are always output to the PLC
immediately.
The following figure shows the time sequence of the part program. Please note the time
difference during the processing of parts program blocks N20 and N30.