NC Commissioning with HMI Advanced
11.7 Digital and analog I/O devices
Manual
470
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
11.7.3
System variable $A_...[n]
The digital and analog inputs/outputs are available in the NC (part program, ASUB,
synchronized action, etc.) in the form of system variables.
Analog inputs/outputs
●
$A_INA[n] ("Read analog input n, where n=1...8")
●
$A_OUTA[n] ("Write analog output n, where n=1...8")
Digital inputs/outputs
●
$A_IN[n] ("Read digital input (Bit) n, where n=1...4 and 9...40")
●
$A_OUT[n] ("Write digital output Bit) n, where n=1...4 and 9...40")
Hardware assign machine data
System variable
Analog inputs/outputs
MD10362 $MN_HW_ASSIGN_ANA_FASTIN[0-7]
$A_INA[1-8]
MD10364 $MN_HW_ASSIGN_ANA_FASTOUT[0-7]
$A_OUTA[1-8]
Digital inputs/outputs
MCI board extension: Digital inputs 1-4
$A_IN[1-4]
MD10366 $MN_HW_ASSIGN_DIG_FASTIN[0-3]
$A_IN[9-40]
MCI board extension: Digital outputs 1-4
$A_OUT[1-4]
MD10368 $MN_HW_ASSIGN_DIG_FASTOUT[0-3]
$A_OUT[9-40]
Note
The digital inputs/outputs are organized as follows:
•
Hardware assign machine data: Byte by byte
•
System variables: Bit by bit