User manual
IEC61131 User and Reference Manual
April 22, 2008
359
setResp
Control Modbus Exception Response
Description
The setResp function controls if a Modbus exception response is sent when an unavailable
register is accessed by the Modbus protocol. See the Modbus Addressing section for
details on Modbus registers.
except
setResp
Q
Arguments
Inputs
Type
Description
except
BOOLEAN
If TRUE an exception is sent when an unavailable register
is read or written.
If FALSE zero is returned when an unavailable register is
read and writing an unavailable register has no effect.
Outputs
Type
Description
Q
BOOLEAN
Equal to the value of the except input.