1. Constant

Use decimal numbers starting with K as constants. For example, K100 is 100.

Hexadecimal numbers starting with H are used as constants. For example, HA8 is 168.

The following are numerical ranges for different data types.

Type Description Numerical Range
WORD Single word signed integer [-32768, 32767]
UWORD Single word unsigned integer [0, 65535]
DWORD Double signed integers [-2147483648, 2147483647]
UDWORLD Two word unsigned integer [0, 4294967296]
FLOAT Single precision floating-point number [-3.4e38, 3.4e38]
อุปกรณ์ที่ใช้กับคู่มือนี้
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