9 Using Expansion Units and Expansion I/O Units
9-18
CP1E CPU Unit Hardware User’s Manual(W479)
• After the range code has been set, 0 V or 0 mA will be output for the 0 to 10V, -10 to 10V,
or 0 to 20 mA ranges, and 1 V or 4 mA will be output for the 1 to 5V and 4 to 20 mA
ranges until a convertible value has been written to the output word.
• Once the range code has been set, it is not possible to change the setting while power is
being supplied to the CPU Unit. To change the I/O range, turn the CPU Unit OFF then
ON again.
(3) Writing Analog Output Set Values
The ladder program can be used to write data to the output word where the set value is
stored.
The output words will be n+1 to n+4 when “n” is the last output word allocated to the CPU
Unit, or previous Expansion Unit or Expansion I/O Unit.
(4) Startup Operation
After power is turned ON, it will require two cycle times plus approximately 50 ms before the
first data is converted.
The following table shows the output status after the initial processing is completed.
Therefore, create a program as shown below, so that when operation begins simulta-
neously with startup it will wait for valid set data.
(5) Handling Unit Errors
• When an error occurs at the Analog Output Unit, the analog output will be 0 V or 0 mA.
If a CPU error or an I/O bus error (fatal errors) occurs at the CPU Unit and the analog
output is set to 1 to 5 V or 4 to 20 mA, 0 V or 0 mA will be output. For any other fatal
errors at the CPU Unit,
1 V or 4 mA will be output.
• Expansion Unit and Expansion I/O Unit errors are output to bits 0 to 6 of word A436. The
bits are allocated from A436.00 in order starting from the Unit nearest the CPU Unit. Use
these flags in the probgram when it is necessary to detect errors.
Output type Voltage output Current output
Output range 0 to 10 V,-10
to +10 V
1 to 5 V 0 to 20 mA 4 to 20 mA
Before range code
is written
0V 0mA
After range code is
written
0V 1V 0mA 4mA
P_On
MOV
D100
102
T 5
#0002
T5
Always ON Flag
TIM 005 will start as soon as power turns ON.
After 0.1 to 0.2 s (100 to 200 ms), the Comple-
tion Flag for TIM 005 will turn ON, and the data
stored in DM 0100 will be moved to IR 102 as
the conversion data for analog output 1.