1. Character positioning

A single character value is actually composed of 16 bits, and each bit can be taken out separately as a bit value.

Add a period and a tag after the base address and offset address to access the specified bit within a single word.

The tag number is in hexadecimal, from 0 to F.

Character Placement

图1 Character Placement

1.1. Example#

D0.0。Indicate the first bit of D0。

D0.A。Indicate the 10th bit of D0。

The following program copies the first bit of D0 to the tenth bit.

command table:

NETWORK 000

LD D0.0

OUT D0.A

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