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
tCycleTime
TIME
TIME#100ms
Inteval in which the channel is triggered (in case of CYCLIC)
uiReadOffset
UINT
16#0
First Modbus register to read
uiReadLength
UINT
1
Number of subsequent register to read, in HEX
uiWriteOffset
UINT
16#0
First Modbus register to write, in HEX
uiWriteLength
UINT
1
Number of subsequent register to write
stName
STRING
‘0123456789’
Name for the particular channel
stAccess
STRING
‘READWRITE’
READ (FC 0x03), WRITE (FC 0x10) or READWRITE (FC 0x17)
stTrigger
STRING
‘CYCLIC’
CYCLIC or RISING_EDGE
stChannelComment
STRING
‘EMPTY’
Channel commment editable by user
stKeepLastValue
STRING
‘TRUE’