30
ICC
8.3.1.2
Timeout Time
The timeout time is the maximum number of milliseconds for a break in network
communications before a timeout will be triggered. This timeout setting is
configured at the protocol level as part of a driver’s configuration, and used by
the protocol drivers themselves to determine abnormal loss-of-communications
conditions. These conditions then trigger gateway-wide timeout processing
events. If it is not desired to have a certain protocol trigger timeout processing
events, then the protocol’s timeout time may be set to 0 (the default value) to
disable this feature.
For some protocols, the timeout time is set by the master device (PLC, scanner,
etc.), and a timeout time setting is therefore not provided in the Configuration
Studio’s driver configuration. Additionally, not all protocols support timeout
detection: refer to the protocol-specific sections of this manual for more
information.
8.3.1.3
Timeout Object Configuration
A timeout object is used by the gateway as part of the timeout processing to set
certain addresses of the database to “fail-safe” values. When a timeout event is
triggered by a protocol, the timeout objects are parsed and the designated 8-bit,
16-bit, or 32-bit value is written to the corresponding database address(es). To
add a timeout object to a device, select the device in the
Project
panel, then add
Internal Logic…Fail-safe Values…Timeout Object
. The following paragraphs
describe the configurable fields of a timeout object:
Database Address
Enter the starting address in the database where the first data element of this
timeout object will begin. The maximum allowable database address depends on
the designated Data Type.
Data Type
The size and range of valid values for each data element in this timeout object.
For instance, selecting “16-Bit Unsigned” allows for a range of timeout values
between 0 and 65535, each occupying 2 bytes in the database. Similarly,
selecting “16-Bit Signed” allows for a range of values between -32768 and
32767, also occupying 2 bytes in the database. Select the desired data type from
this dropdown.
Value
Enter the “fail-safe” timeout value that each database address encompassed by
this timeout object will be automatically written with upon processing a timeout
event triggered by a protocol.
Length
Enter the number of data elements for this timeout object. The total number of
database bytes modified by a timeout object is determined by the Length
multiplied by the number of bytes in the selected Data Type (1, 2 or 4 for 8-bit,
16-bit and 32-bit, respectively).