06.03
10.6 Digital and analog I/O devices
10-380
Siemens AG, 2003. All rights reserved
SINUMERIK 840Di Manual (HBI) – 06.03 Edition
Note
The first digital input and output byte is permanently assigned to the MCI board
extension module (option). Therefore you can connect a maximum of 4 addi-
tional input/output bytes to the PROFIBUS DP via signal modules. See config-
uration example Subsection 10.6.6, page 10-384.
The number of used analog and digital inputs/outputs is set in the following ma-
chine data parameters:
Analog input/outputs
MD10300: FASTIO_ANA_NUM_INPUTS
(“
Number of active analog NC in-
puts
”)
MD10310: FASTIO_ANA_NUM_OUTPUTS
(“
Number of active analog NC
outputs
”).
Digital input/outputs
MD10350: FASTIO_DIG_NUM_INPUTS
(“
Number of active digital NC input
bytes
”).
MD10360: FASTIO_DIG_NUM_INPUTS
(“
Number of active digital NC out-
put bytes
”)
10.6.2
Assignment of the inputs/outputs to the signal modules
On the NC side, the analog and digital inputs/outputs are assigned to the re-
spective signal modules on the PROFIBUS DP via the appropriate I/O ad-
dresses in the machine data:
Analog inputs/outputs
MD10362: HW_ASSIGN_ANA_FASTIN[n] (“hardware assignment of exter-
nal analog inputs”), per input where n = 0–7
MD10364: HW_ASSIGN_ANA_FASTOUT[n] (“hardware assignment of ex-
ternal analog outputs”), per output where n = 0–7.
Digital input/outputs
MD10366: HW_ASSIGN_DIG_FASTIN[n] (“hardware assignment of external
digital inputs”), per input byte where n = 0–3
MD10368: HW_ASSIGN_DIG_FASTOUT[n] (“hardware assignment of ex-
ternal digital outputs”), per output byte where n = 0–3.
Input format
S7 I/O address High part
(hexadecimal)
I/O low
I/O high
05
00
S7 I/O address Low part
(hexadecimal)
always 00
always 05 (identifier:
PROFIBUS I/Os)
Machine data
Machine data
10 NC Start-Up with HMI Advanced