Sensoray 2600 User Manual

Page 32

Advertising
background image

2600 Family Instruction Manual

27

Chapter 5 : Common IOM Actions

5.2.3 ResetFlags

Function

Resets to zero the specified bit flags in the Status
byte.

Opcode

0xF2

Command

(BitMask)

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.

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.

5.2.4 SetWatchdog

Function

Programs the communication watchdog time-out
interval.

Opcode

0xF3

Command

(Interval)

Response

none

Notes

The communication watchdog timer is used to
detect interruptions in communications between
the gateway and IOM. If no communications are
received from the gateway within the specified
time-out interval, an IOM will execute a
hardware watchdog reset. This behavior ensures
the shutdown of all I/O on any IOM which has
lost communication with the gateway.

The gateway automatically invokes this action
for an IOM when it first establishes
communication with the module. As a result,
there is no need for the client to explicitly invoke

this action. In a typical application system, the
client will never need to, nor should it, invoke
this action.

5.2.5 GetProductID

Function

Returns the model type identifier.

Command (0xF5)

Response

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

Notes

The returned value is a 16-bit, unsigned integer
that indicates the model number of the target
module. For example, the decimal value 2650 is
returned by a model 2650 relay module.

5.2.6 GetVersion

Function

Returns the 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.

5.2.7 GetAddress

Function

Returns the address shunt settings.

Opcode

0xF7

Command none

Response

(Address)

Parameter

Function

BitMask

Specifies the bit flags to be cleared. Set
a mask bit to one to clear the matching
Status bit. Set a mask bit to zero to
leave the matching Status bit in its
current state.

Parameter

Function

Interval

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

Parameter

Function

ModelNum

Model number of the target module.

Parameter

Function

MajorVer

Major version number. Ranges from
00 to 99 decimal.

MinorVer

Minor version number. Ranges from
00 to 99 decimal.

Parameter

Function

Address

Address shunt settings. Ranges from
0x00 to 0x0F.

Advertising