Ole_link3, Ole_link4 – ICP DAS USA TDRS4050601 User Manual
Page 49
Industrial Redundant Ring Switch
– RS Series User Manual
TDRS4050601
n
hmivalue
Description
This command enables you to read Switch 1 (SW1) and Switch 2 (SW2) settings on
HMI by returning a message in the form of
“HMI setting (state) DIPSW,RotarySW “.
You would be able to clarify current HMI setting status by this returning message.
SW1 contains 6 jumpers, each jumper (Jumper 3 to Jumper 6) corresponds to one
bit. (Please refer to Appendix G, Table
– 12.) It is a DIP toggle switch with two
possible positions -- on or off. Each position indicates one configuration state.
(Please refer to Appendix G, Table
– 13.) The returned DIPSW value is a
hexadecimal number corresponding to the states of the Jumpers. (Please refer to
Appendix G, Table
– 14.)
The returned tag
“state” indicates current state of Jumper 2, if it‟s on “on” position,
current configuration will be set as default state and a
“default” message will be
displayed, if it
‟s on “off” position - current configuration will be set as normal state
and a
“normal” message will be displayed.
SW2 is a 16 position rotary switch. When the arm of SW2 is switched to position
“0”,
you would be able to set up specific values for
recovery time(rtime),
forward
delay(ftime) , maximum age(mtime), and hello time(htime) manually. If the position is
on positions other than
“0” (“1” to “F”), a set of preset values will be applied. The
returned RotarySW value indicates the current position of SW2. Please refer to
Appendix G, Table
– 15, and sections of rtime, ftime, mtime and htime for more
detail information.
Example:
rtime [time]
Description
Recovery time is the length of time it takes to return back to normal operation after
an error or other failure has occurred. This command enables you to set up the
recovery time in millisecond (ms).
To setup the recovery time manually, you are required to switch the SW1 Jumper 4
to
“off” position (applying Ring protocol), and SW2 to position „0‟ (if the SW2 position
is not on „0‟, a preset value will be applied according to its corresponding position,
please refer to Appendix G, Table
– 15. If SW1 jumper 4 is not on “off” position; that
is, not applying ring protocol, rtime is not applicable)
After each new rtime setting, you would need to reset the switch to make new setting
effective.
Note: rtime command returns the following message:
“recovery time x(y) ms.” “x”
( switch value) indicates the rtime value set by console command,
“y” (operating