![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_7420301207.webp)
1167
Other Instructions
Section 3-31
Applicable Program Areas
Description
When the execution condition is ON, CLC(040) turns OFF the Carry Flag
(CY). Although CLC(040) turns the Carry Flag OFF, the flag will be turned ON/
OFF by the execution of subsequent instructions which affect the Carry Flag.
Flags
Note In CS1-H, CJ1-H, CJ1M, and CS1D (for Single-CPU System) CPU Units,
these Flags are left unchanged.
In CS1 and CJ1 CPU Units, these Flags are turned OFF.
Precautions
+C(402), +CL(403), +BC(406), and +BCL(407) make use of the Carry Flag in
their addition operations. Use CLC(041) just before any of these instructions
to prevent any influence from other preceding instructions.
–C(412), –CL(413), –BC(416), and –BCL(417) make use of the Carry Flag in
their subtraction operations. Use CLC(041) just before any of these instruc-
tions to prevent any influence from other preceding instructions.
ROL(027), ROLL(572), ROR(028), and RORL(573) make use of the Carry
Flag in their rotation shift operations. When using any of these instructions,
use STC(040) and CLC(041) to set and clear the Carry Flag.
Note The +(400), +L(401), +B(404), +BL(405), –(410), –L(411), –B(414), and
–BL(415) instructions do no include the Carry Flag in their addition and sub-
traction operations. In general, use these instructions when performing addi-
tion or subtraction.
3-31-3 SELECT EM BANK: EMBC(281)
Purpose
Changes the current EM bank.
Ladder Symbol
Variations
Applicable Program Areas
Operands
N: EM Bank Number
Specifies the new EM bank number in hexadecimal (0000 to 000C).
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Name
Label
Operation
Error Flag
ER
Unchanged (See note.)
Equals Flag
=
Unchanged (See note.)
Carry Flag
CY
OFF
Negative Flag
N
Unchanged (See note.)
EMBC(281)
N
N
: EM bank number
Variations
Executed Each Cycle for ON Condition
EMBC(281)
Executed Once for Upward Differentiation
@EMBC(281)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Not supported.
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...