EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 144

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
111
Sequence Input Instructions Section 3-2
Variations
Applicable Program Areas
Operands 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.
Operand Specifications
Description 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).
Flags
Variations Executed Each Cycle TST(350)
Immediate Refreshing Specification Not supported
Variations Executed Each Cycle TSTN(351)
Immediate Refreshing Specification Not supported
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
Area S N
CIO Area CIO 0 to CIO 6143
Work Area W0 to W511
Holding Bit Area H0 to H511
Auxiliary Bit Area A0 to A959
Timer Area T0000 to T4095
Counter Area C0000 to C4095
DM Area D0 to D32767
Indirect DM addresses in
binary
@ D0 to @ D32767
Indirect DM addresses in
BCD
*D0 to *D32767
Constants --- #0000 to #000F (binary) or
&0 to &15
Data Registers DR0 to DR15
Index Registers ---
Indirect addressing using
Index Registers
,IR0 to ,IR15
–2048 to +2047 , IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Name Label Operation
Error Flag ER OFF or unchanged
Equals Flag = OFF or unchanged
Negative Flag N OFF or unchanged

Table of Contents

Related product manuals