LECPServer中文 ↗Free download

Data format enumeration description

Applied to the parsing or generation format of multi-byte data, it is valid for 4-byte and 8-byte data conversion (only valid for Int32, Int64, UInt32, UInt64 data)

For example, if a PLC stores a value of 1 in ABCD mode, and another PLC reads out the stored BUFFER in CDAB mode, the value becomes 65536.

data_format

?> Therefore, we need to understand how the PLC processes 4-byte 8-byte data through the PLC documentation during initialization, and configure it correctly on the LECPServer.


成员名称 值 说明
ABCD 0 Sort in order
BADC 1 Reverse by word
CDAB 2 Reverse by dword (Most PLC default sorting)
DCBA 3 Sort in reverse order