1. Normally closed input instruction LDI

ในหน้านี้3 หัวข้อ

1.1. Instruction Description#

When the specified bit = 0 (OFF), the normally closed contact is connected, and when the specified bit = 1 (ON), the normally closed contact is disconnected.

In the instruction table, normally closed contacts are represented by LDI (load not), ANDI (AND not), and ORI (or not) instructions, which place the logical NOT (not) of the address bit value at the top of the stack.

1.2. The valid operands of the instruction#

Input/Output Data Type operand Description
IN ON/OFF X/Y/M/C/T/S, word to Bit(D/V/Z), Local variable(LB) 输入

1.3. Example#

Instruction table:

NETWORK 000

LDI X000 // Load the logic NOT of input coil X000, X000 must be equal to 0 to activate X000

ORI X002 // /Perform 'OR/NO' operation with input coil X002

ANDI X001 // Perform 'AND/NOT' operation with input coil X001

OUT Y000 // Output coil Y000

LDI

图1 LDI

อุปกรณ์ที่ใช้กับคู่มือนี้
2 รายการ
FAT-16MT-DC-E
FAT-16MT-DC-E

PLC 16 I/O 24V DC Transistor Output รองรับ Modbus RTU/RS485 TCP/IP

฿2,590

FAs-32MR-AC-E
FAs-32MR-AC-E

PLC 32 I/O 220V AC Relay Output รองรับ Modbus RTU/RS485 TCP/IP

฿3,690