The leader in industrial automation and control solutions

Instruction Parameters

Supported PLC Series

PLC-AESPLC-FBPLC-ES

Supported Data Registers

MXYKLFTCSZRQD@DConstant
S1
S2

Supported Flags

FlagBitSupport
ErrorF11.0
ZeroF11.1
CarryF11.2

Number of Steps

Steps
3

Operands

OperandDescription
S1The first operand.
Entries are only BOOL data registers.
This is the data register to find the status bit.
S2The second operand.
Entries are WORD data registers or constants.
This is the bit value number to find the ON or OFF status of.

The value range is 0 ~ 15.

Notice

Error Flag (F11.0) Notice

The error flag, F11.0, will be ON for one scan when the address of the data register assigned by @D exceeds the range of the data register, D. The range of the data register, D, is dependent on the CPU type.

Instruction Behavior

The BTI instruction as an execution condition behaves as follows:

  • The referred status of bit data assigned to the data register, S2, is used as a contact
    • With the referred status of bit data, the BTI instruction starts a contact B operation.
  • An ON or OFF execution condition is created based on the OFF status (0) of the specified bit, S2, in the BOOL data register, S1.
  • The BTI instruction is connected to the bus bar or used at the beginning of a logic block.
  • The value range of the specified bit, S2, is 0 ~ 15.
    • If the specified bit value, S2, is greater than 16, the remainder from S2 ÷ 16 is the equivalent.
      • Example: if S2 = 17, the remainder is 1. This is the same as S2 = 1.

Ladder Diagram Examples

LD Execution Condition Example

The BTI instruction can be used as a LD execution condition for a contact B operation.

When the value of the specified bit, S2, is 0, the BTI instruction is  powered ON and the coil, Y1.0, is energized.

When the value of the specified bit, S2, is 0, the BTI instruction is powered ON and the coil, Y1.0, is energized.

Memory Monitor 1

When the value of the specified bit, S2, is 1, the BTI instruction is powered OFF.

When the value of the specified bit, S2, is 1, the BTI instruction is powered OFF.

The coil, Y1.0, is deenergized.

The coil, Y1.0, is deenergized.

Memory Monitor 2

The BTI instruction can be used as an AND execution condition for a contact B operation.

AND Execution Condition Example

The BTI instruction can be used as an AND execution condition for a contact B operation.

When the open contact, M1.0, is powered OFF AND the value of the specified bit, S2, is 0, the coil, Y1.0, is deenergized.

When the open contact, M1.0, is powered OFF AND the value of the specified bit, S2, is 0, the coil, Y1.0, is deenergized.

When the open contact, M1.0, is powered ON AND the value of the specified bit, S2, is 1, the coil, Y1.0, is deenergized.

When the open contact, M1.0, is powered ON AND the value of the specified bit, S2, is 1, the coil, Y1.0, is deenergized.

Memory Monitor 2

Memory Monitor 2 for MapleLogic BTI instruction.
When the open contact, M1.0, is powered ON AND the value of the specified bit, S2, is 0, the coil, Y1.0, is energized.

When the open contact, M1.0, is powered ON AND the value of the specified bit, S2, is 0, the coil, Y1.0, is energized.

Memory Monitor 2

The BTI instruction can be used as an OR execution condition for a contact B operation.

OR Execution Condition Example

The BTI instruction can be used as an OR execution condition for a contact B operation.

When the open contact, M1.0, is powered OFF OR the value of the specified bit, S2, is 1, the coil, Y1.0, is deenergized.

When the open contact, M1.0, is powered OFF OR the value of the specified bit, S2, is 1, the coil, Y1.0, is deenergized.

When the open contact, M1.0, is powered ON the coil, Y1.0, is energized.

When the open contact, M1.0, is powered ON the coil, Y1.0, is energized.

Memory Monitor 1

Memory Monitor 1 for MapleLogic BTI instruction.
When the value of the specified bit, S2, is 0, the coil, Y1.0, is energized.

When the value of the specified bit, S2, is 0, the coil, Y1.0, is energized.

Memory Monitor 2

Memory Monitor 2 for MapleLogic BTI instruction.
When the open contact, M1.0, is powered ON OR the value of the specified bit, S2, is 0, the coil, Y1.0, is energized.

When the open contact, M1.0, is powered ON OR the value of the specified bit, S2, is 0, the coil, Y1.0, is energized.