Bit Test: Tst(350) And Tstn(351) - Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Sequence Input Instructions
Examples

3-3-14 BIT TEST: TST(350) and TSTN(351)

Purpose
182
program section, or a subroutine. Refer to 3-5-4 INTERLOCK and INTER-
LOCK CLEAR: IL(002) and ILC(003), 3-5-6 JUMP and JUMP END: JMP(004)
and JME(005), and 3-20 Interrupt Control Instructions for details.
Note Observe the following precaution when using UP(521) in a function
block definition.
The operation of UP(521) will not be consistent if the same function block
instance is executed more than once in the same cycle.
An instance will not be executed while EN is OFF. Caution is thus required
when using UP(521) in a function block definition. For details, refer to informa-
tion on restrictions on using ladder programming instructions in the CX-Pro-
grammer Operation Manual: Function Blocks.
Observe the following precaution when using UP(521) in a subroutine.
The operation of UP(521) will not be consistent if the same subroutine is exe-
cuted more than once in the same cycle.
An subroutine will not be executed while the input condition for the subroutine
is OFF. Caution is thus required when using UP(521) in a function block defini-
tion. For details, refer to information on SBS(091).
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.
Cycle
time
Cycle
time
Section 3-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents