Appendix b. reference, Appendix b.1. optomux commands, Appendix b.1 – FieldServer Optomux FS-8700-17 User Manual
Page 17: Appendix

FS-8700-17_Opto22.doc Manual
Page 15 of 24
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
Appendix B. Reference
Appendix B.1. Optomux Commands
The following provides a list of commands supported by the driver. The Command Names provided in the table
must be used in providing values for the opto22_function parameter. The notes provided only apply when module
positions are specified dynamically.
Read/
Write/
Both
COMMAND NAME
OPTO22_FORMAT
OPTION
MASTER
LENGTH
CONSIDERED
(See Notes)
NOTES
w
POWER UP CLEAR
4
w
RESET
4
w
SET TURN-
AROUND DELAY
4
Uses 1 element of Data Array. Legal values
are 0,1,2,3
w
SET WATCHDOG
DELAY
4
Uses 1 element of Data Array. Legal values
are 0 to 7
w
SET WATCHDOG
DELAY (Analog)
3
Uses the 1st element of Data Array for the
timer value.
w
SET PROTOCOL
4
Uses 1 element of Data Array. Legal values
are 0,1
r
IDENTIFY Optomux
TYPE
4
Polled data is stored in the 1st element of
the Data Array.
w
SET ENHANCED
DIGITAL
WATCHDOG
3
Delay is found in Data Array.
w
SET ENHANCED
ANALOG
WATCHDOG
1
Uses up to Length (max=16) array
elements. Module positions specified get
setup for fail values by using the
corresponding positions in Data Array.
w
SET TIMER
RESOLUTION
Uses 1 element of Data Array.
w
SET
TEMPERATURE
PROBE TYPE
3
Temp probe type is found in first element
of Data Array
w
CONFIGURE
POSITIONS
3
Non-zero module positions get set to
outputs. Zero module positions get set to
inputs
w
CONFIGURE AS
INPUTS
3
Only module positions specified get
affected by command.
w
CONFIGURE AS
OUTPUTS
3
Only module positions specified get
affected by command.
r
READ MODULE
CONFIGURATION
4