8 Using Expansion Units and Expansion I/O Units
8-10
CP1E CPU Unit Hardware User’s Manual(W479)
(4) Reading Analog Input Conversion Values
The ladder program can be used to read the memory area words where the converted val-
ues are stored.
With word m as the last input word allocated to the CPU Unit or an already-connected
Expansion Unit, the A/D conversion data will be output to the following words m+1 to m+4.
(5) Startup Operation
After the power is turned ON, it will require two cycle times plus approximately 50 ms before
the first conversion data is stored in the input words. Therefore, create a program as shown
below, so that when operation begins simultaneously with startup it will wait for valid conver-
sion data.
The analog input data will be 0000 until the initial processing is completed.
(6) Handling Unit Errors
•
When an error occurs in an Analog Input Unit, the analog input conversion data
becomes 0000.
•
Expansion 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 with the Unit nearest the CPU Unit. CP1W-
AD041 is allocated two bits each. Use these flags in the program when it is necessary to
detect errors.
MOV
2
D0
TIM5
#0002
T5
Always ON
P_On
TIM5 is started when the power is turned ON.
After 0.1 to 0.2 s (100 to 200 ms) elapses, the
TIM5 contact turns ON and the analog input
1 conversion data stored in CIO 2 is trans-
ferred to D0.
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: ......