![ICS 8099 Скачать руководство пользователя страница 58](http://html1.mh-extra.com/html/ics/8099/8099_instruction-manual_3540995058.webp)
3-22
3
LAN systems have multiple timeouts. There is the VXI-11 IO_timeout which
includes the wait-for-lock-release time and the delays in the module. In the
case of the 8099 this also includes the modbus serial timeout value set by the
D command. The VISA communication or RPC network timeouts are long
timeouts designed to catch network failures.
COMM_Timeout is unique to ICS VXI-11 devices and refers to the time the
device's service will go without getting a message from the other party before
declaring the link dead. KeepAlive is a background function of the device’s
TCP/IP Stack to check the socket connection and is invisible to the applica-
tion. Both of these functions will terminate a broken link or channel, release
any locks and release the resources for use by another link. Else the device
can run out of resources and become inaccessible. There is also a lock timeout
that sets the time a command will wait for a device lock to be released before
timing out.
COMM_Timeout should be set to a low period like 2-5 minutes when you are
first debugging a program and tend to breakout of the program without prop-
erly closing the sockets. Later, with a finished program, extend the time to 10
minutes or to a couple of hours to avoid prematurely closing the socket while
you are not communicating with the 8099. Hard wired systems are pretty
dependable and you can safely extend the 8099’s COMM_Timeout to several
hours. Do not set it to 0, which disables the timeout, unless you have a way
to physically reset the 8099 if it runs out of resources.
The 8099’s Keep_Alive function should be enabled. Keep_Alive will put a
short message on the network, once every 2 hours if there has been no traffic
from the client in this time. Only use Keep_Alive if your client application
supports it.
The recommendation is to install a background function in your test program
to prevent unwanted socket closure during work breaks or unplanned test stop-
pages. This function can be set to perform some RPC VXI-11 activity through
the socket when nothing has been done for a period of time less than the 8099's
COMM_Timeout setting. The background functions should not alter the state
of the devices or of the interface. Some non-altering actions are opening and
closing a second link to the 8099. All channels need to be exercised once in
each instruments' COMM_Timeout period.
Содержание 8099
Страница 20: ...1 16 1 This page intentionally left blank...
Страница 40: ...3 4 3 Figure 3 1 Status Reporting Structure Flash Data Corrupted...
Страница 156: ...Index 6 I This page intentionally left blank...