Programmable Output Duration - Siemens SINUMERIK 840D sl Function Manual

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

H2: Auxiliary function outputs to PLC

8.8 Programmable output duration

Program code
H17=3.5
H[coolant]=13.8
H='HFF13'
H='B1110'
H5.3=21
8.8
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
Program code
N10 G94 G01 X50 M100
N20 Y5 M100 M200
N30 Y0 M=QU(100) M=QU(200)
N40 X0
414
Comment
; Output to PLC: H17=3.5
; Output to PLC: H12=13.8
; Output to PLC: H0=65299
; Output to PLC: H0=14
; Error
Comment
;
Output of M100: during the motion
;
Acknowledgment: slow
;
Output of M200: prior to the motion
;
Output of M100: during the motion
;
Acknowledgment: slow
;
Output of M200: prior to the motion
;
Output of M100: during the motion
;
Acknowledgement: quick
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents