MBChannel_HighMem (STRUCT)¶
TYPE MBChannel_HighMem : STRUCT
This STRUCT matches the data structure that gets read from the config file. As it contains unimportant information like name and comment, it is just used as a single temporary storage before the data gets converted to the leaner version MBChannel
- InOut:
Name
Type
Initial
Comment
tCycleTimeTIMETIME#100ms
Inteval in which the channel is triggered (in case of CYCLIC)
uiReadOffsetUINT16#0
First Modbus register to read
uiReadLengthUINT1
Number of subsequent register to read, in HEX
uiWriteOffsetUINT16#0
First Modbus register to write, in HEX
uiWriteLengthUINT1
Number of subsequent register to write
stNameSTRING‘0123456789’
Name for the particular channel
stAccessSTRING‘READWRITE’
READ (FC 0x03), WRITE (FC 0x10) or READWRITE (FC 0x17)
stTriggerSTRING‘CYCLIC’
CYCLIC or RISING_EDGE
stChannelCommentSTRING‘EMPTY’
Channel commment editable by user
stKeepLastValueSTRING‘TRUE’