06.03
10.6 Digital and analog I/O devices
10-381
Siemens AG, 2003. All rights reserved
SINUMERIK 840Di Manual (HBI) – 06.03 Edition
Note
The first digital I/O bytes defined in each case via machine data:
MD10350: FASTIO_DIG_NUM_INPUTS
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.
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.
10.6.3
System variable $A_...[n]
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
$A_INA[n]
(“Read analog input n, with n=1...8”)
$A_OUTA[n]
(“Write analog output n, with n=1...8”)
Digital input/outputs
$A_IN[n]
(“Read digital input (Bit) n, with n=1...4 and 9...40”)
$A_OUT[n]
(“Write digital output n, with n=1...4 and 9...40”)
Hardware assign machine data
System variable
Analog input/outputs
MD10362: HW_ASSIGN_ANA_FASTIN[ 0–7 ]
$A_INA[ 1–8 ]
MD10364: HW_ASSIGN_ANA_FASTOUT[ 0–7 ]
$A_OUTA[ 1–8 ]
Digital input/outputs
MCI board extension: Digital inputs 1–4
$A_IN[ 1–4 ]
MD10366: HW_ASSIGN_DIG_FASTIN[ 0–3]
$A_IN[ 9–40 ]
MCI board extension: Digital outputs 1–4
$A_OUT[ 1–4 ]
MD10368: HW_ASSIGN_DIG_FASTOUT[ 0–3]
$A_OUT[ 9–40 ]
Note
The digital input/outputs are organized as follows:
Hardware assign machine data: Byte by byte
System variables: Bit by bit
10 NC Start-Up with HMI Advanced
Содержание SINUMERIK 840Di
Страница 1: ...Manual 06 2003 Edition SINUMERIK 840Di ...
Страница 2: ......
Страница 522: ...06 03 A 522 Siemens AG 2003 All rights reserved SINUMERIK 840Di Manual HBI 06 03 Edition A Abbreviations Notes ...
Страница 548: ...06 03 Index 548 Siemens AG 2003 All rights reserved SINUMERIK 840Di Manual HBI 06 03 Edition Index ...
Страница 550: ......