EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #190 background imageLoading...
Page #190 background image
3. Instructions
152
CS/CJ/NSJ Series Instructions Reference Manual (W474)
LD TST/LD TSTN
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.
z Operand Specifications
Flags
*1 In CS1D CPU Units for Duplex Systems, CS1 CPU Units, and CJ1 CPU Units, these are turned OFF.
In CJ2, CS1-H, CJ1-H, CJ1M, and CS1D CPU Units, these Flags are left unchanged.
Instruction Mnemonic Variations
Function
code
Function
LOAD BIT TEST LD TST --- 350
LD TST(350) is used in the program like LD; the
execution condition is ON when the specified bit in
the specified word is ON, and OFF when the bit is
OFF.
LOAD BIT TEST NOT LD TSTN --- 351
LD TSTN(351) is used in the program like LD
NOT; the execution condition is OFF when the
specified bit in the specified word is ON, and ON
when the bit is OFF.
Symbol
LD TST LD TSTN
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK OK OK OK OK OK
Operand Description Data type Size
S Source word WORD 1
N Bit number UINT 1
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
S
OK OK OK OK OK OK OK OK OK OK
---
OK --- OK --- --- --- ---
N OK
Name Label Operation
Error Flag ER
OFF or unchanged
*1
Equals Flag =
OFF or unchanged
*1
Negative Flag N
OFF or unchanged
*1
TST(350)
S
N
S: Source word
N: Bit number
TSTN(351)
S
N
S: Source word
N: Bit number

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals