System Variable $A_...[N] - Siemens SINUMERIK 840Di Manual

Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

06.03
10.6.3

System variable $A_...[n]

 Siemens AG, 2003. All rights reserved
SINUMERIK 840Di Manual (HBI) – 06.03 Edition
Note
S
The first digital I/O bytes defined in each case via machine data:
S
MD10350: FASTIO_DIG_NUM_INPUTS
S
MD10360: FASTIO_DIG_NUM_OUTPUTS
always refer to the 4 digital input/outputs on the MCI board extension mod-
ule. Explicit assignment in machine data is not possible. Therefore, the ma-
chine data required to assign the digital and analog input/outputs refer ex-
clusively to the signal modules connected via the PROFIBUS DP.
S
The I/O address to be entered in the machine data hexadecimally is the
decimal I/O address of the slot of the signal module allocated by
"HW Config" or set manually.
The digital and analog input/outputs are available in the NC (parts program,
ASUP, synchronized action, etc.) in the form of system variables.
Analog input/outputs
S
$A_INA[n]
("Read analog input n, with n=1...8")
S
$A_OUTA[n]
("Write analog output n, with n=1...8")
Digital input/outputs
S
$A_IN[n]
("Read digital input (Bit) n, with n=1...4 and 9...40")
S
$A_OUT[n]
("Write digital output n, with n=1...4 and 9...40")
Hardware assign machine data
Analog input/outputs
MD10362: HW_ASSIGN_ANA_FASTIN[ 0–7 ]
MD10364: HW_ASSIGN_ANA_FASTOUT[ 0–7 ]
Digital input/outputs
MCI board extension: Digital inputs 1–4
MD10366: HW_ASSIGN_DIG_FASTIN[ 0–3]
MCI board extension: Digital outputs 1–4
MD10368: HW_ASSIGN_DIG_FASTOUT[ 0–3]
Note
The digital input/outputs are organized as follows:
S
Hardware assign machine data: Byte by byte
S
System variables: Bit by bit
10 NC Start-Up with HMI Advanced
10.6 Digital and analog I/O devices
System variable
$A_INA[ 1–8 ]
$A_OUTA[ 1–8 ]
$A_IN[ 1–4 ]
$A_IN[ 9–40 ]
$A_OUT[ 1–4 ]
$A_OUT[ 9–40 ]
10-381

Advertisement

Table of Contents
loading

Table of Contents