Digital I/O Bytes And System Variables - Siemens SINUMERIK 840Di Manual

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

Advertisement

10 NC Start-Up with HMI Advanced
10.6 Digital and analog I/O devices
10.6.4

Digital I/O bytes and system variables

Digital inputs
Digital outputs
10-382
The following example uses the configuration of 3 digital input bytes to illustrate
the connection between digital input bytes and system variables.
The following prerequisites apply for the sample configuration:
– MCI board extension module: 1 input byte.
– PROFIBUS–DP signal modules: 2 input bytes
The MCI board extension module always uses one digital input byte. Digital
input bytes from external signal modules must therefore always be counted as
additional input bytes:
S
MD10350: FASTIO_DIG_NUM_INPUTS = 1 + m,
where m = number of input bytes from external signal modules
Since the 1st input byte is internally permanently assigned to the MCI board
extension module, only the input bytes of the external signal modules need to
be explicitly assigned to the system variables.
S
MD10366: HW_ASSIGN_DIG_FASTIN[0] –> 1. external input byte
S
MD10366: HW_ASSIGN_DIG_FASTIN[1] –> 2. external input byte
MD10350: FASTIO_DIG_NUM_INPUTS = 3 = 1 + m
where: 1
–>
1. Dig. input byte of the MCI board extension module
(alwazs permanently 1, see text)
m=2 –>
2nd and 3rd dig. input byte via PROFIBUS I/O modules
(number of input bytes used by external signal modules)
MCI board extension Module
MD10366: HW_ASSIGN_DIG_FASTIN [n]
05
05
Fig. 10-33 Sample configuration: 3 digital input bytes
If the optional MCI board extension module is not present, the assignment in the
machine data must still be carried out as specified, since the 1st input byte is
permanently assigned internally in this module. The system variables $A_IN[1]
bis $A_IN[4] then do not contaion any information.
The configuration of digital outputs is analogous to the example described
above for digital inputs.
00
I/O high
I/O low
0
1
00
I/O high
I/O low
:
:
n
 Siemens AG, 2003. All rights reserved
SINUMERIK 840Di Manual (HBI) – 06.03 Edition
06.03
System variable:
$A_IN[1] ... $A_IN[4]
$A_IN[9] ... $A_IN[16]
$A_IN[17] ... $A_IN[24]

Advertisement

Table of Contents
loading

Table of Contents