Omron CS1G/H-CPUxxH Instructions Manual page 184

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Sequence Input Instructions
Examples
3-3-14 BIT TEST: TST(350) and TSTN(351)
Purpose
Ladder Symbols
Variations
program section, or a subroutine. Refer to 3-5-3 INTERLOCK and INTER-
LOCK CLEAR: IL(002) and ILC(003), 3-5-4 JUMP and JUMP END: JMP(004)
and JME(005), and 3-20 Interrupt Control Instructions for details.
When CIO 000000 goes from OFF to ON in the following example,
CIO 000001 is turned ON for just one cycle.
LD TST(350), AND TST(350), and OR TST(350) are 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.
LD TSTN(351), AND TSTN(351), and OR TSTN(351) are used in the program
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.
Variations
Executed Each Cycle
Immediate Refreshing Specification
Variations
Immediate Refreshing Specification
Cycle
time
TST(350)
S: Source word
S
N: Bit number
N
TSTN(351)
S: Source word
S
N: Bit number
N
Executed Each Cycle
Section 3-3
Cycle
time
TST(350)
Not supported
TSTN(351)
Not supported
163

Advertisement

Table of Contents
loading

Table of Contents