399
Analog Output Units
Section 7-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 word will be “n+1” when “n” is the last output
word allocated to the CPU Unit, or previous Expansion Unit or Expansion I/O
Unit.
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 com-
pleted.
Therefore, create a program as shown below, so that when operation begins
simultaneously with startup it will wait for valid set data.
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 Unit fatal error occurs when analog outputs are set
in the 1 to 5 V or 4 to 20 mA range, 0 V or 0 mA will be output for a CPU
error I/O bus error, and 1 V or 1 mA will be output for all other errors.
• CPM1A Expansion Unit errors are output to bits 0 to 6 of word A436. The
bits are allocated from A436.00 in order starting with the Unit nearest the
CPU Unit. Use these flags in the program when it is necessary to detect
errors.
Program Example
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
0 V
0 mA
After range
code is written
0 V
1 V
0 mA
4 mA
MOV(021)
D100
102
P_On
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 Completion 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.
Analog output
Output range
Range code
Set data
Destination
word
Output 1
0 to 10 V
001
1001 (9 hex)
Wd n+1
Output 2
4 to 20 mA
011
1011 (B hex)
Wd n+1
Output 3
-10 to 10 V
000
1000 (8 hex)
Wd n+2
Output 4
Not used.
-(000)
0000 (0 hex)
Wd n+2
Содержание CP1H-CPU - 05-2006
Страница 1: ...OPERATION MANUAL CP1H CPU Unit SYSMAC CP Series CP1H X40D CP1H XA40D CP1H Y20DT D Cat No W450 E1 02...
Страница 2: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised May 2006...
Страница 3: ...iv...
Страница 11: ...xii TABLE OF CONTENTS...
Страница 15: ...xvi...
Страница 19: ...xx...
Страница 31: ...xxxii Conformance to EC Directives 6...
Страница 71: ...40 Function Blocks Section 1 5...
Страница 133: ...102 Computing the Cycle Time Section 2 7...
Страница 169: ...138 CPM1A Expansion I O Unit Wiring Section 3 6...
Страница 411: ...380 Clock Section 6 8...
Страница 519: ...488 Replacing User serviceable Parts Section 10 2...
Страница 527: ...496 Standard Models Appendix A...
Страница 535: ...504 Dimensions Diagrams Appendix B...
Страница 628: ...597 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 629: ...598 Connections to Serial Communications Option Boards Appendix F...
Страница 659: ...628 PLC Setup Appendix G...
Страница 665: ...634 Index work words 159 write protection 370...
Страница 667: ...636 Revision History...