Sequence Input Instructions
Variations
Applicable Program Areas
Operands
Operand Specifications
Description
Flags
Variations
Executed Each Cycle
Immediate Refreshing Specification
Variations
Immediate Refreshing Specification
Block program areas
OK
N: Bit number
The bit number must be between 0000 and 000F hexadecimal or between
&0000 and &0015 decimal. Only the rightmost bit (0 to F hexadecimal) of the
contents of the word is valid when a word address is specified.
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
Indirect DM addresses in
binary
Indirect DM addresses in
BCD
Constants
Data Registers
Index Registers
Indirect addressing using
Index Registers
LD TST(350), AND TST(350), and OR TST(350) can be used in the program
like LD, AND, and OR; the execution condition is ON when the specified bit in
the specified word is ON and OFF when the bit is OFF. Unlike LD, AND, and
OR, bits in the DM area can be used as operands in TST(350).
LD TSTN(351), AND TSTN(351), and OR TSTN(351) can be used in the pro-
gram like LD NOT, AND NOT, and OR NOT; the execution condition is OFF
when the specified bit in the specified word is ON and ON when the bit is OFF.
Unlike LD NOT, AND NOT, and OR NOT, bits in the DM area can be used as
operands in TSTN(351).
Name
Label
Error Flag
ER
Equals Flag
=
Negative Flag
N
Executed Each Cycle
Step program areas
OK
OK
S
CIO 0 to CIO 6143
W0 to W511
H0 to H511
A0 to A959
T0000 to T4095
C0000 to C4095
D0 to D32767
@ D0 to @ D32767
*D0 to *D32767
---
DR0 to DR15
---
,IR0 to ,IR15
–2048 to +2047 , IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
OFF or unchanged
OFF or unchanged
OFF or unchanged
Section 3-2
TST(350)
Not supported
TSTN(351)
Not supported
Subroutines
Interrupt tasks
OK
N
#0000 to #000F (binary) or
&0 to &15
Operation
111
Need help?
Do you have a question about the CP - PROGRAMMING MANUAL 05-2007 and is the answer not in the manual?
Questions and answers