10 specifications – Sensoray 2600 User Manual

Page 21

Advertising
background image

2600 Family Instruction Manual

16

Chapter 3 : IOM Gateway

Response

none

Notes

This action clears all of the specified bit flags in
the Status byte (Section 3.4.1), which is present
in every ModRsp.

The specified bit flags are cleared before the
ModRsp is generated. As a result, the Status byte
returned in a ModRsp reflects the changes that
were caused by any ResetFlags actions
present in the associated ModCmd.

Except for the HRST (hard reset) bit flag, any
combination of bit flags may be cleared by the
Ethernet client. The client is not permitted to
clear the HRST flag because this flag is reserved
for gateway-to-IOM link control.

3.9.6 SetWatchdog

Function

Programs the MM’s communication time-out
interval.

Opcode

0xF3

Command

(Interval)

Response

none

Notes

The MM employs a timer to detect the absence of
communications between the Ethernet client and
the gateway. If no communications are received
from the client within the specified time-out
interval, the communication timer will time-out
and the MM will execute a hardware reset. This
behavior ensures that all I/O will be turned off in
the event the client shuts down abnormally.

The watchdog interval defaults to 10 seconds
(Interval = 100) in response to a MM reset.
If the default interval is suitable for the
application, no SetWatchdog action need be
issued to the MM.

Upon receipt of a SetWatchdog action, the
new watchdog interval is effective immediately
and the watchdog timer is reset so that it will time
out when the new interval elapses.

3.9.7 GetProductID

Function

Returns the MM’s model number.

Opcode

0xF5

Command none

Response

(ModelNum<15:8>),(ModelNum<7:0>)

3.9.8 GetVersion

Function

Returns the MM’s firmware version number.

Opcode

0xF6

Command none

Response

(MajorVer),(MinorVer)

Notes

On firmware labels, the major and minor version
numbers are printed with a decimal point
delimiter. For example, printed version “1.02” is
indicated by MajorVer = 1, and MinorVer =
2.

3.10 Specifications

See Section 2.4 for gateway specifications.

Parameter

Function

Interval

Communication watchdog interval,
specified in 100 millisecond
increments. Specify zero to disable the
communication watchdog.

Parameter

Function

ModelNum

Always returns decimal value 2601.

Parameter

Function

MajorVer

Major version number. Ranges from
00 to 255 decimal.

MinorVer

Minor version number. Ranges from
00 to 255 decimal.

Advertising