8 Using Expansion Units and Expansion I/O Units
8-20
CP1E CPU Unit Hardware User’s Manual(W479)
(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.
When “n” is the last output word allocated to the CPU Unit, or previous Expansion Unit or
Expansion I/O Unit, the output words will be n+1 to n+2 for CP1W-DA021 and n+1 to n+4
for CP1W-DA041.
(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 5 of word A436 for
units 1 to 3. The bits are allocated from A436.00 in order starting from the Unit nearest
the CPU Unit. CP1W-DA041 is allocated two bits each and CP1W-DA021 is allocated
one bit each. 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
TIM5
#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 D100 will be moved to CIO 102 as the
conversion data for analog output 1.
Summary of Contents for CP1E-E10DT-A
Page 3: ......
Page 31: ...26 CP1E CPU Unit Hardware User s Manual W479...
Page 273: ...Index 4 CP1E CPU Unit Hardware User s Manual W479...
Page 275: ...Revision 2 CP1E CPU Unit Hardware User s Manual W479...
Page 276: ......