![JDS Uniphase SCG Series Скачать руководство пользователя страница 31](http://html2.mh-extra.com/html/jds-uniphase/scg-series/scg-series_user-manual_3593461031.webp)
CONFIG?
Query Switch Configuration
Returns a data stream containing a number of packets equal to the number of switches within
the unit, with each packet separated by a semicolon (;) delimiter. Each data packet contains:
•
One integer representation of the switch number
•
Two characters representing the switch designation
•
One integer describing the output channel currently connected to input channel one
•
One integer defining the board or motor address of the switch
•
Two integers defining the numbers of the first and last relay lines used by this switch (if
motor, these are 0)
•
One integer defining the number of input channels
•
One integer defining the number of output channels
LRN? Learn
Returns a string containing the commands that, if sent, reset the currently selected switch to its
current state, for example,
SWITCH I J K;SRE L
,
where
I
represents the switch number, J
represents the input channel number, K represents the output channel number, and L
represents the value of the service request enable register.
STB? Status
Register
Returns a three-digit integer and automatically clears the status register if the SRQ bit is set.
SRE? SRQ
Mask
Returns the contents of the SRQ mask register.
CNB? Condition
Register
Returns the contents of the condition register.
TST? Self-test
Executes a verification operation on all installed stepper motor type switches. An error code that
can be queried with
ERR?
or
LERR?
is placed in an error queue. The query
TST?
also sets bit
7 in the status register.
•
0 = self-test passed
•
1 = self-test failed
Programming Guide –
28
Содержание SCG Series
Страница 1: ...SCG SERIES FIBEROPTIC SWITCH User s Manual...