Siemens SINUMERIK 840D sl Function Manual page 74

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

Advertisement

A4: Digital and analog NCK I/Os
1.5 Examples
Query, whether the configured RangeIndex = 5 is valid
N3
N5
N10
N15
N20
Querying the length of the configured, valid I/O range with RangeIndex = 5
N100
74
check:
IF $A_DP_OUT_VALID B_AND 'B100000' GOTOF
write
SETAL(61000)
write:
$A_DPB_OUT[5,6]=128
R1=$A_DP_OUT_LENGTH[5]
; Jump marker
; if data range valid
; => jump to N15
; Set alarm no. 61000
; Jump marker
; Writing the data byte
; Length of the I/O range (slot) in bytes
; Result: R1 = 32
Function Manual, 09/2009, 6FC5397-1BP20-0BA0
Extended Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents