6 Assi
nin
Parameters to the Control and the PLC Pro
ram
6
03.96
6.9 Axes and spindles
6-151
 Siemens AG 2000 All Rights Reserved
SINUMERIK 840D Installation and Start-Up Guide (IAD) – 04.00 Edition
10. Program the following:
$A_OUTA [1] = 5000
(preset analog output 1 to 5000 mV)
FROM $A_INA [1] > 4000 DO $A_OUT [9] = TRUE
(if analog input 1 > 4000 mV, set output 9)
R1 = $A_INA [1]
(set value of analog input 1 in R parameter 1)
DO $A_OUT [9] = FALSE
(reset digital output 9)
DO $A_OUTA [1] = 0
(set analog output 1 to 0 mV)