User guide

set ia
140 Chapter 2 Command Descriptions
errorresponse={on|off} (modbusrtu, modbusascii, modbustcp,
df1fullduplex, df1halfduplex, abcsp)
Controls behavior for common run-time errors such as no response from
the slave device. By default, “errorresponse=on,” which means return an
error response – except for Modbus/RTU and ASCII protocols, where by
default, “errorresponse” should be “off.” This option exists because
different clients handle error response and no response differently. In the
case of Modbus, “errorreponse=on” causes return of exception codes
0x0A and 0x0B, which most Modbus serial masters do not understand.
exttimeout={10-65535} (modbusrtu, modbusascii, modbustcp)
Allows an alternative messagetimeout setting for selected Modbus
commands, such as vendor specific commands. The "addextfunc" and
"rmextfunc" options are used to add and remove from the list of Modbus
functions that will use the exttimeout setting. The default setting is
15,000ms.
fixedaddress={auto|1-255} (modbusrtu, modbusascii, modbustcp)
Used to override the Modbus protocol address (unit ID) with a fixed
address.
auto
When set to "auto," the protocol address will not be overwritten.
1-255
Setting it to a fixed number from 1-255 forces this value to be used for
all Modbus requests.
The default setting is "auto."
mapping=”{string}” (df1fullduplex, df1halfduplex, abcsp, ethernetip)
Normally Allen-Bradley PLC data file types are assumed from the access
method, so a bit read assumes binary type and word read assumes
integer type. Thus, a bit read to N9 will be rejected by the AB PLC, while
a word read will succeed. To override this behavior, enter a string such
as “N9,B13,L20,F210,” which instructs the Digi One IAP to always (as
example) treat file 9 as integer regardless of the access command, and
so forth. Supported types are B for 16-bit Binary, N for 16-bit integer, L
for 32-bit integer, and F for 32-bit floating point.
naklimit (df1fullduplex)
The number of negative acknowledgments (Naks) the Digi device can
receive from the device connected to the serial port before discarding the
message as undeliverable. The range is 0 to 255. The default is 3.