Siemens SINUMERIK 840D sl Function Manual page 32

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

Advertisement

A4: Digital and analog NCK I/Os
1.2 NCK I/O via PLC
Guidelines for machine data $MN_HW_ASSIGN_...:
● Logical address in 1st and 2nd byte is specified in hexadecimal format.
● Address 0 is reserved for the PLC and cannot be used as an NC I/O.
● The value 05000000 in the machine data:
● $MN_HW_ASSIGN_...
● represents the signal "Slot is not present physically".
● The input is then treated like a simulation input.
System variable
The following table lists the system variables with which NCK I/Os can be read or written
directly by the part program.
The number of the NCK input/output is used for addressing.
Applies to n:
1 ≤ n ≤ 8 * MD10350 $MN_FASTIO_DIG_NUM_INPUTS
1 ≤ n ≤ 8 * MD10360 $MN_FASTIO_DIG_NUM_OUTPUTS
1 ≤ n ≤ MD10300 $MN_FASTIO_ANA_NUM_INPUTS
1 ≤ n ≤ MD10310 $MN_FASTIO_ANA_NUM_OUTPUTS
System variable
$A_IN[n]
$A_INA[n]
$A_INCO[n]
PBB
$A_OUT[n]
$A_OUTA[n]
Note
When these system variables are read by the part program, a preprocessing stop (STOPRE
command) is initiated inside the control.
32
Example: 050001A2 (hex) equals logical address 418 (dec).
Description
Read digital NCK input [n]
Read analog NCK input [n]
Read comparator input [n]
Read/write digital NCK output [n]
Read/write analog NCK output [n]
Range of [n]
1 to 3, 9 to 40
1 to 8
1 to 16
1 to 40
1 to 8
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