![Omron SYSMAC C200H Скачать руководство пользователя страница 44](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423044.webp)
31
Bit 25400
1-min clock pulse
Bit 25401
0.02-s clock pulse
Bit 25500
0.1-s clock pulse
Bit 25501
0.2-s clock pulse
Bit 25502
1.0-s clock pulse
Caution:
Because the 0.1-second and
0.02-second clock pulse bits have
ON times of 50 and 10 ms, respec-
tively, the CPU may not be able to
accurately read the pulses if pro-
gram execution time is too long.
0.1 s
.05 s
.05 s
1.0 s
0.5 s
0.5 s
0.2 s
0.1 s
0.1 s
1 min.
30 s
30 s
.02 s
.01 s
.01 s
3-4-12
Step Flag
SR bit 25407 turns ON for one cycle when step execution is started with the
STEP(08) instruction.
3-4-13
Instruction Execution Error Flag, ER
SR bit 25503 turns ON if an attempt is made to execute an instruction with
incorrect operand data. Common causes of an instruction error are non-BCD
operand data when BCD data is required, or an indirectly addressed DM
word that is non-existent. When the ER Flag is ON, the current instruction
will not be executed.
3-4-14
Arithmetic Flags
The following flags are used in data shifting, arithmetic calculation, and com-
parison instructions. They are generally referred to only by their two-letter
abbreviations.
These flags are all reset when the END(01) instruction is executed, and
therefore cannot be monitored from a programming device.
Refer to 5-13 Data Shifting, 5-15 Data Comparison, 5-17 BCD Calculations,
and 5-18 Binary Calculations for details.
SR bit 25504 turns ON when there is a carry in the result of an arithmetic op-
eration or when a rotate or shift instruction moves a “1” into CY. The content
of CY is also used in some arithmetic operations, e.g., it is added or sub-
tracted along with other operands. This flag can be set and cleared from the
program using the Set Carry and Clear Carry instructions.
SR bit 25505 turns ON when the result of a comparison shows the first of two
operands to be greater than the second.
SR bit 25506 turns ON when the result of a comparison shows two operands
to be equal or when the result of an arithmetic operation is zero.
SR bit 25507 turns ON when the result of a comparison shows the first of two
operands to be less than the second.
Note The four arithmetic flags are turned OFF when END(01) is executed.
Caution
Carry Flag, CY
Greater Than Flag, GR
Equal Flag, EQ
Less Than Flag, LE
SR Area
Section 3-4
Содержание SYSMAC C200H
Страница 1: ...OPERATION MANUAL C200H CPU01 E 03 E 11 E SYSMAC Programmable Controllers Cat No W130 E1 05 ...
Страница 2: ...C200H Programmable Controllers CPU01 E 03 E 11 E Operation Manual Revised June 2003 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 8: ...TABLE OF CONTENTS ix Glossary 345 Index 363 Revision History 369 ...
Страница 342: ...336 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 374: ...Cat No W130 E1 05 C200H Programmable Controllers CPU01 E 03 E 11 E OPERATION MANUAL ...