1. Immediately open input command LDIM

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

1.1. Instruction Description#

When the specified bit=1 (ON), the normally open contact immediately closes (connects), and when the specified bit= 0 (OFF), the normally open contact immediately closes (disconnects). The specified bit does not rely on PLC scanning cycles for updates, it will be updated immediately.

In the instruction table, immediately open contacts are represented by LDIM (load immediately), ANDIM (immediately with), and ORIM (immediately or) instructions, which place address bit values at the top of the stack and execute them immediately.

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) input

1.3. Example#

Instruction table:

NETWORK 000

LDIM X000 // Immediately load input coil X000, X000 must be equal to 1 to activate X000

ORIM X002 // Perform 'immediate or' operation with input coil X002

ANDIM X001 // Perform 'immediate and' operation with input coil X001

OUT Y000 // Output coil Y000

LDIM

图1 LDIM

อุปกรณ์ที่ใช้กับคู่มือนี้
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