06.0310.6 Digital and analog I/O devices10-381 Siemens AG, 2003. All rights reservedSINUMERIK 840Di Manual (HBI) – 06.03 EditionNote The first digital I/O bytes defined in each case via machine data: MD10350: FASTIO_DIG_NUM_INPUTS MD10360: FASTIO_DIG_NUM_OUTPUTSalways 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 thedecimal 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 variableAnalog input/outputsMD10362: HW_ASSIGN_ANA_FASTIN[ 0–7 ] $A_INA[ 1–8 ]MD10364: HW_ASSIGN_ANA_FASTOUT[ 0–7 ] $A_OUTA[ 1–8 ]Digital input/outputsMCI 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 ]NoteThe digital input/outputs are organized as follows: Hardware assign machine data: Byte by byte System variables: Bit by bit10 NC Start-Up with HMI Advanced