December 2001 PLC Inputs/Outputs 6 – 393
6.17.2 Analog Inputs
Socket X48 of the logic unit provides ±10 Vdc analog inputs and analog inputs
for connecting Pt 100 thermistors. (See “Analog Input” on page 3 – 47)
The PLC input/output unit is available in a version with additional analog inputs.
(See “Overview of Components” on page 2 – 5)
The temperatures measured by the Pt100 thermistors are saved in the PLC
words W486 to W490, and the values of the analog inputs are saved in the
PLC words W480 to W484.
Read the current states of the inputs with Module 9003.
Module 9003 Reading in analog inputs
Do not call the module as long as Modules 9005 or 9009 are active through a
submit job.
Module 9003 reads the current value of the specified analog input, regardless
of whether it is actually connected.
Value range ±10 Vdc input: –10 to +10, at a resolution of 10 mV
-100 to +100, at a resolution of 100 mV
Value range Pt 100 input: 0 to 200, at a resolution of 0.5 °C
0 to 1000, at a resolution of 0.1 °C
The module can be called only in the cyclic PLC program.
Call:
PS B/W/D/K <Number of analog input>
0 to 7: Analog inputs X15 to X22 on first unit
8 to 15: Analog inputs X15 to X22 on second unit
16 to 23: Analog inputs X15 to X22 on third unit
24 to 31: Analog inputs X15 to X22 on fourth unit
64 to 66: ±10 Vdc input on connection X48
67 to 69: Pt 100 input on connection X48
CM 9003
PL W/D <Analog value>
Nr. 0 to 31: Natural number with the unit 0.1 V or 0.5°
Nr. 64 to 69: Natural number with the unit 0.01 V or 0.1°
Error recognition:
Set Reset
W480-484 Analog input at X48 [0.1 V]
For inputs 1 to 3
NC NC
W486 - 490 Temperature input at X48 [0.5 °C]
For inputs 1 to 3
NC NC
Marker Value Meaning
M4203 0 Input was read
1 Error code in W1022
W1022 2 Invalid PL number or invalid analog input number
24 Module was called in a spawn job or submit job