181
Clock Pulses
Section 4-19
Saving and Loading Condition Flag Status
The CP1-H CPU Units support instructions to save and load the Condition
Flag status (CCS(282) and CCL(283)). These can be used to access the sta-
tus of the Condition Flags at other locations in a task or in a different task.
The following example shows how the Equals Flag is used at a different loca-
tion in the same task.
4-19 Clock Pulses
The Clock Pulses are flags that are turned ON and OFF at regular intervals by
the system.
The Clock Pulses are specified with symbols rather than addresses.
Note
The CX-Programmer treats condition flags as global symbols beginning with
P_.
CMP
CCS
CCL
Instruction A
Instruction B
Stores result of comparison in the Condition Flags.
This will enable loading the results to use with
Instruction B.
The result of the comparison instruction in the
Equals Flag can be used by Instruction B without
interference from Instruction A.
Loads the statuses of the Conditions Flags that
were stored.
Saves status of Condition Flags.
Task
Name
Symbol
Operation
0.02 s Clock Pulse
P_0_02_s
ON for 0.01 s
OFF for 0.01 s
0.1 s Clock Pulse
P_0_1s
ON for 0.05 s
OFF for 0.05 s
0.2 s Clock Pulse
P_0_2s
ON for 0.1 s
OFF for 0.1 s
1 s Clock Pulse
P_1s
ON for 0.5 s
OFF for 0.5 s
1 min Clock Pulse
P_1min
ON for 30 s
OFF for 30 s
0.01 s
0.01 s
0.05 s
0.05 s
0.1 s
0.1 s
0.5 s
0.5 s
30 s
30 s
Содержание CP1H CPU UNITS - PROGRAMMING 05-2007
Страница 2: ......
Страница 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Страница 4: ...iv...
Страница 10: ...x...
Страница 18: ...xviii...
Страница 22: ...xxii...
Страница 34: ...xxxiv Conformance to EC Directives 6...
Страница 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Страница 370: ...336 Analog I O XA CPU Units Section 5 5...
Страница 552: ...518 Trouble Shooting Section 8 7...
Страница 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Страница 598: ...564 Sample Application Section 9 12...
Страница 642: ...608 Standard Models Appendix A...
Страница 643: ...609 Appendix B Dimensions Diagrams X XA and Y CPU Units 90 100 110 140 150 8 85 Four 4 5 dia holes...
Страница 652: ...618 Dimensions Diagrams Appendix B...
Страница 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Страница 776: ...742 PLC Setup Appendix G...
Страница 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Страница 786: ...752 Revision History...