Controlling the Switch using a Printer Port.................................................................... 53
Setting the Computer to EPP Mode .................................................................. 53
SD000330 Rev. DAugust 2000
Using the Printer Port........................................................................................ 53
For sales and service information,
contact JDS Uniphase or your local representative.
JDS Uniphase Corporation
570 West Hunt Club Road
Nepean, Ontario, Canada
K2G 5W8
Phone: 613 727-1303
Fax: 613 727-8284
E-mail: sales@jdsunph.com
Website: http://www.jdsunph.com
SD000330 Rev. DAugust 2000
Safety Information, Instructions, and Symbols
Safety Information
Power Requirements
The unit can operate from any DC power source that supplies 5 V. The maximum power
consumption is 1 to 2.5 A, depending on the configuration.
Safety Instructions
The following safety instructions m ust be observed whenever the unit is operated, serviced, or
repaired. Failure to comply with any of these instructions or with any precaution or warning
contained in the user’s manual is in direct violation of the standards of design, manufacture,
and intended use of the unit. JDS Uniphase assumes no liability for the customer’s failure to
comply with any of these safety requirements.
Before Initializing and Operating the Unit
!
Inspect the unit for any signs of damage, and read the user’s manual thoroughly.
!
Install the unit as specified in the
!
Ensure that the unit and any devices or cords connected to it are proper ly g r ounded.
Operating the Unit
Getting Started
section.
Warning
To avoid the risk of injury or death, always observe the following precautions
before initializing the unit:
• If using a voltage-reducing autotransformer to power the unit, ensure that
the common terminal connects to the ear thed pole of the power source.
• Willfully interrupting the protective earth connect ion is pr ohibit ed.
• Never look into the end of an optical cable connected to an optical output
device that is operating. Laser radiation is invisible, and direct exposure can
severely injure the human eye. For more information, see the user’s manual
of the laser source in use.
• Turning off the power to the device does not always block the externally
supplied radiation to the connector at the output of the unit.
• Do not use the unit outdoors.
• To prevent potential fire or shock hazard, do not expose the unit to any
source of excessive moisture.
• Do not operate the unit when its covers or panels have been removed.
• Do not interrupt the protective earth grounding. Any such action can lead to
a potential shock hazard that can result in serious personal injury.
Safety – 1
• Do not operate the unit if an interruption to the protective grounding is
suspected. In this case, ensure that the unit remains inoperative.
• Unless absolutely necessary, do not attempt to adjust or perform any
maintenance or repair procedure when the unit is opened and connected to
a power source.
• Repairs are to be carried out only by a qualified professional.
• Do not attempt any adjustment, maintenance, or repair procedure to the
unit’s internal mechanism if imm ediat e first aid is not accessible.
• Disconnect the power from the unit before adding or removing any
components.
• Operating the unit in the presence of flammable gases or fumes is
extremely hazardous.
• Do not perform any operating or maintenance procedure that is not
described in the user’s manual.
• Some of the unit’s capacitors can be charged even when the unit is not
connected to the power source.
Safety – 2
Safety Symbols
The following symbols and messages can be mark ed on the unit (Table 1). Observe all safety
instructions that are associated with a symbol.
Table 1: Safety Symbols
Symbol
WARNING
CAUTION
Description
Laser safety. See the user’s manual f or instructions on handling and operating
the unit safely.
See the user’s manual for instruct ions on handling and operating the unit safely.
Electrostatic discharge (ESD). See the user’s manual for instructions on
handling and operating the unit safely.
Frame or chassis terminal for elect r ical grounding within the unit.
Protective conductor terminal for elect rical grounding to the earth.
The procedure can result in serious injury or loss of life if not carried out
in proper compliance with all safety instructions. Ensure that all
conditions necessary for safe handling and operation are met before
proceeding.
The procedure can result in serious damage to or destruction of the unit if not
carried out in compliance with all instructions for proper use. Ensure that all
conditions necessary for safe handling and operation are met before
proceeding.
Safety – 3
General Information and Specificati ons
General Information
This user’s manual for the SKB Series Fiberoptic Switch Module contains complete operat ing
instructions.
The SKB modular 1xN controllable switch controls up to four 1xN optical switches, with
configurations up to 100 channels (Fig ure 1). Small and rugged, the switch is designed to be
used in embedded applications. It is available in single-mode (SM) and multimode (MM)
versions. It has several features that r educe installation and support efforts. T he switch offers
low insertion loss and is independent of data form at and direction (bidirectional).
Figure 1: SKB Switch
The standard single-pole config uration consists of a single-common port t hat can be aligned to
any one of 26 ports. In electrical ter ms, the SKB switch is a single-pole, 26-throw switch. The
switching mechanism implements collimating lenses that eliminate the problems associated
with modal noise and provide low insertion loss and high repeatability.
With use of an adapter cable assembly (user supplied), the switch is back ward compatible with
the SK Series Fiberoptic Switch Module and the SP Series Fiberoptic Switch Module.
The switch can operate in an enhanced command mode that provides the capability of readable
switch parameters.
The optics can be internally connected to provide custom solutions at the cust om er’s request.
Configurations
The SKB switch is offered in a standard chassis with standard software t hat controls numerous
configurations. Examples, shown in Figure 2, include
• A single switch with 1xN configuration for N up to 100
• Up to four 1xN switches with a total channel count of up to 100 (for example, four 1x25
switches, two 1x50 switches, and so on)
• Up to two MxN blocking switches for a total M+N channel count of 100 (for example, two
25x25 switches, one 50x50 switch, and so on)
• 1xN switches plus relay switches and passive devices, such as couplers (for example, two
1x25 stepper motor switches with two relay switches and couplers)
General Information and Specifications – 4
Figure 2: Configuration Examples
A 1xN configuration is shown more closely in Figure 3.
Figure 3: 1xN Configuration
Packages
The SKB switch is available in two package configurations:
• Package 1 can accommodate up to two 1xN switches with a single control interface
• Package 2 can accommodate up to four 1xN switches with a single control interface
Components
For large channel count switches, a high-precision stepper motor is used to align optical
channels. The use of collimating lenses m inim izes insertion loss.
For some applications, optional relay-based switches can be used.
Passive devices can be incorporated on a custom basis.
Latching and Non-Latching
Latching and non-latching SKB switches have the same functionality, command set, and
specifications, with the following dif ferences:
General Information and Specifications – 5
• On power off, the non-latc hing version does not guarantee an optical connect
• W hen reapplying power to the SKB switch, a latching version stays on the latched channel
and a non-latching version resets to a configured known position
Channel Switching Times
The time to a sequential channel (f or example, going f rom channel two to three) can appear to
be greater than the specification for the adjacent channel. This discrepancy can be due to a few
reasons:
• If the user has used the REPLACE command to replace a damag ed channel, that channel
is not sequential. Management of the switching order can be done using the
SWAP_CHANNEL comm and.
• The factory configuration can be such that a channel was deliberately skipped.
Confirming Time Between Channels
The SKB switch allows the user to confirm the specif ied time to switch between channels. The
CONNECTION_TIME? query physically checks the time by switching between the start and
destination channel and outputs the results f r om t he internal clock.
Key Features
• Up to 100 channels
• Typical insertions loss 0.4 dB (MM) for up to 26 channels
• Parallel and RS485 serial interface control
• Compact modular package suitable for original equipment manufacturing (OEM)
Applications
• Remote fiber test systems in telecomm unicat ions net work s
• Fiber network restoration
• Fiberoptic component test and measurement
Standard Accessories
• 3 mm fiber cables or 900 µm f iber pigtails (customer specified)
• User’s manual
General Information and Specifications – 6
Specifications
The following optical specifications describe t he warranted characteristics of the unit (Table 2).
Supplementary specifications describe the typical non-warranted per f orm ance of the unit (T able
3).
Table 2: Optical Specifications
1,2,3
Parameter
Typical (Maximum)
N<26 Non-Latching
N<25 Latching
Typical (Maximum)
26
100 Non-Latching
≤≤≤≤N≤≤≤≤
25
92 Latching
≤≤≤≤N≤≤≤≤
Insertion loss
SM
MM
0.5 (0.7) dB
0.4 (0.6) dB
0.8 (1.2) dB
0.7 (1.0) dB
Wavelength
SM
MM
850 to 950 nm or 950 to 1350 nm
1290 to 1670 nm
Return loss
SM
MM
62 (57) dB
25 (20) dB
55 (45) dB
20 (20) dB
Polarization dependent loss (SM)0.02 (0.04) dB0.04 (0.08) dB
Insertion loss stability
4
±0.02 (0.025) dB±0.03 (0.04) dB
Change in insertion loss during
power on-off cycle; latching version
SM
MM
Repeatability
5
sequential switching
random switching
±1.0 (2.0) dB
±1.0 (2.0) dB
±0.005 (0.01) dB
±0.01 (0.05) dB
±2.0 (4.0) dB
±2.0 (4.0) dB
±0.01 (0.03) dB
±0.03 (0.08) dB
Crosstalk-90 dB-80 dB
Switching time (one channel/each
additional channel)
low speed, high accuracy
medium speed
Optical input power
Lifetime
Interface
1All specifications referenced without connectors.
2
All optical measurements taken after temperature has stabilized for one hour.
3
All specifications are at low speed setting. Repeatability can be affected by increasing speed.
4
Return loss specifications based on 1 m pigtail length.
5
Repeatability measured after one-hour warm-up.
25/15 ms
20/15 ms
at least 10 million cycles
parallel and RS485 serial
300 mW continuous
General Information and Specifications – 7
Table 3: Other Specifications
Electrical
Input voltage
Power consumption
Physical
Dimensions (W x H x D)
package 1 fiber version
package 1 cable version
package 2 fiber version
package 2 cable version
Weight
Environmental
Operating temperatur e
Storage temperature
Humidity
5 ±0.25 V DC
1 to 2.5 A maximum, configur ation dependent
7.82 x 2.78 x 14.00 cm (3.08 x 1.095 x 5.51 in)
7.82 x 2.78 x 17.17 cm (3.08 x 1.095 x 6.76 in)
13.84 x 2.78 x 14.00 cm (5.45 x 1.095 x 5.51 in)
13.84 x 2.78 x 17.17 cm (5.45 x 1.095 x 6.76 in)
depends on configuration
0.6 kg maximum for package 1 configuration
1 kg maximum for package 2 configuration
-35 to 75 °C
-40 to 85 °C
maximum 95% RH from -35 to 75 °C
General Information and Specifications – 8
Getting Started
The SKB Series Fiberoptic Switch Module package consists of the switching unit with fiber
pigtails.
Before Initializing and Operating the Unit
!
Inspect the unit for any signs of damage.
!
Read the user’s manual thoroughly, and become familiar with all safety symbols and
instructions to ensure that the unit is operated and maintained safely.
Initial Inspection
Warning
To avoid electrical shock, do not initialize or operat e the unit if it bears any sign
Check that the unit and contents are com plete:
1. Wear an anti-static wrist strap and work in an elect r ostatic discharge (ESD) controlled area.
2. Inspect the shipping container for any indication of excessive shock to the contents, and
inspect the contents to ensure that the shipm ent is complete.
3. Inspect the unit for structural damage t hat can have occurr ed dur ing shipping.
of damage to any portion of its exterior surface, such as the outer cover or
panels.
4. Keep the packaging.
Immediately inform JDS Uniphase and, if necessary, the carrier if t he contents of the shipment
are incomplete, if the unit or any of its components are damaged or defective, or if the unit does
not pass the initial inspection.
Operating Environment
In order for the unit to meet the warranted specificat ions, the operating environment must meet
the following conditions for tem per ature and humidity.
Temperature
The unit can be operated in the temperat ur e r ange of -35 to 75 °C.
Humidity
The unit can be operated in environments with up to 95% humidity (-35 to 75 °C). Do not
expose it to any environmental conditions or changes to environmental conditions that can
cause condensation to form inside the unit.
Getting Started – 9
Warning
• Do not use the unit outdoors.
• To prevent potential fire or shock hazard, do not expose the unit to any
source of excessive moisture.
Storing and Shipping
To maintain optimum operating reliability, do not store the unit in locations where the
temperature falls below -40 °C or rises above 85 °C. Avoid any environmental condition that
can result in internal condensation. Ensure that these t emperature and humidity requirements
can also be met whenever the unit is shipped.
Claims and Repackaging
Immediately inform JDS Uniphase and, if necessary, the carrier, if
• The contents of the shipment are incomplete
• The unit or any of its components are dam aged or defective
• The unit does not pass the initial inspection
In the event of carrier responsibilit y, JDS Uniphase will allow for t he r epair or replacement of the
unit while a claim against the carrier is being processed.
Returning Shipments to JDS Uniphase
JDS Uniphase only accepts returns for which an approved Return Material Authorization (RMA)
has been issued by JDS Uniphase sales personnel. This number must be obtained prior to
shipping any material to JDS Uniphase. The owner’s name and address, the model number and
full serial number of the unit , the RMA number, and an itemized statement of claimed def ects
must be included with the return material.
Ship return material in the original shipping container and packing material. If these are not
available, typical packaging guidelines are as follows:
1. Wear an anti-static wrist strap and work in an ESD controlled area.
2. Wrap the unit in anti-static packaging. Use anti-static connecto r covers, as applicable.
3. Pack the unit in a reliable shipping container.
4. Use enough shock-absorbing material (10 to 15 cm or 4 to 6 in on all sides) to cushion the
unit and prevent it from moving inside t he container. Pink poly anti-static foam is the best
material.
5. Seal t he shipping container securely.
6. Clear ly mar k FRAGILE on its surface.
7. Always provide the model and serial number of the unit and, if necessary, the RMA number
on any accompanying documentation.
Getting Started – 10
8. Ship t he unit only to t he addr ess given at the beginning of this document.
Cleaning Connectors
Caution
• Connecting damaged or dirty fibers to the unit can damage the connectors
on the unit.
• Never force an optical connector. Some connectors have a ceramic ferrule
that can easily be broken.
Optical cable ends need to be cleaned before using them with the unit.
The following items are req uired for cleaning:
• Filtered compressed air or dusting gas (for example, T ech Spray Envi-Ro-Tech Duster 1671
gas, available from http:/ /www.techspray.com/1671.htm)
• Lint-free pipe cleaners (for example, from 3M
• Lint-free towels (for example, 10 x10 cm or 4 x 4 in HydroSorb III wipers, available from
• Optical grade isopropyl alcohol or optical grade 200° ethanol (do not use r ubbing alcohol,
which contains 30% water)
1
) or lint-free swab
To clean the connectors:
1. Blow the sleeve with filter ed com pressed air (Figure 4).
Figure 4: Connector Cleaning (connector type can vary)
2. Apply optical g rade isopropyl alcohol or optical grade ethanol (do not use rubbing alcohol) to
a small area of a lint-f r ee t owel and rub the end of the ferrule over the wet area.
3. Wipe the ferr u le on a dr y area of the lint-free towel.
4. Using the dusting gas or compressed air, blow the end of the ferrule.
5. Apply the alcohol or ethanol to a lint-free pipe cleaner or swab and wipe off the remaining
parts of the connector.
6. With the other end of the pipe cleaner or swab, dry the areas cleaned.
1
3M is a trademark of 3M.
Getting Started – 11
7. Using the dusting gas or compressed air, blow the areas cleaned.
Storing Fiberoptic Connectors
All fiberoptic connectors are shipped with dust caps installed on the connectors . Keep the dust
caps on the connectors whenever the fiberoptic connectors are not m ated.
Handling Fiberoptic Cables
The SKB switch can be shipped with fiber pigtail outputs. These pigtails must be handled with
care to avoid damage.
Caution
Do not bend the pigtails with a radius under 4 cm (1.5 in) . A small bend radius
adversely affects the optical performance of the pigtail and leads to early
failure of the pigtail.
Installing the Switch
Caution
• Protection against reverse connection of the power input is not
incorporated in the SKB switch. Reverse connection of the power input
results in damage to the switch.
• The SKB switch requires that the power input be within the tolerance given
at the unit. Care needs to be exercised in the desig n of the system power
to compensate for any wiring losses in cabling. Failure to maintain the
correct supply voltage can result in unpredictable operation of the switch.
Figure 5 shows the connector locations for the SKB switch. There ar e two connectors on the
switch. The first connector is a 25-pin D-subminiature connector used by the parallel interf ace.
The second connector is a nine-pin D-subminiature connector, which provides for the power
connection. A separate chassis ground connection point also is provided.
Figure 5: Connector and Chassis GND Locations
Getting Started – 12
Cabling
The pin assignment of the parallel interface DB25 female connector is arranged such that
shield and data lines are ordered sequentially on a ribbon cable. If discrete wires are used, the
shield and data lines need to be twisted together to elim inat e pot ential crosstalk.
The pin assignment of the power/serial (DB9) interface is arranged to accommodate discrete
wires. The two data lines are run as a twisted pair, and the power and ground lines are run as a
twisted pair. The shield is used to encase both of t he t wisted pairs within the cable.
When using the parallel interface, a common ground is required for the master/slave power
supply.
Installing the Switch
To install the switch:
1. Mount the chassis using the four holes provided (Fig ure 6) . An M3 lug with maximum thread
depth in the unit of 5 mm is recom m ended.
Fiber Cable
Figure 6: Mounting Hole Locations for Fiber and Cable Versions
Getting Started – 13
2. Connect the ground lug to chassis ground. An 8 mm depth M3 lug with flat and lock
washers is recommended (5 mm maximum thread depth in unit) .
3. I nst all the connectors.
4. Connect the power supply to the unit via the nine-pin port. A supply of 5 V ±5%, 1 to 2.5 A
maximum (configurat ion dependent ) , is required.
5. Connect a 25- pin par allel cable to the unit. The switch is now ready for use.
For information on installing multiple SKB switches in a net work, see the
Switches
section.
Connecting Multiple
Getting Started – 14
Operating and Maintenance Instructions
Power / Serial Interface
The nine-pin D-subminiature connector is used for power and serial RS485 interface. The
interface provides power, differential serial (RS485), and trigger sig nals. The SKB switch has the
receiver and driver installed for the RS485 serial interface but not the software for using this
interface.
The RS485 interface is a high-speed differential bus used to communicate serially with the
master device. The SKB RS485 interface operates over a range of 2400 to 4800 baud and
defaults to read mode. The default baud rate for the switch is 2400 baud asynchronous, selfclocking. The RS485 interface only requires three lines to connect to t he differential bus: shield,
RXTX-, and RXT X +. The interface must be connected t o pr ovide power to the SKB device.
The RS485 communication settings are:
• Eight data bits
• One stop bit
• No parity bits
• 2400 (default) and 4800 baud rate
Simultaneous operation of serial and parallel int er face is not supported.
Connecting Multiple Switches
Up to 32 RS485 unit loads can be connected to the differ ential bus, so up to 30 SKB switches
and one master controller can be used to construct an RS485 network. Exceeding the limit of 32
devices excessively loads the RS485 drivers and attenuates the differential signal. The
consequence is reduced noise immunity of the bus and an increased error rate.
The most appropriate method of connecting RS485 nodes is by multidropping the connection
from master to node 1, t o node 2, and onward to node n. The bus must form a sing le continuous
path. Do no put individual nodes at the end of long branches or spok es from the middle of the
bus. If branches are used, make them short. The preferred bus architecture is shown in Figure 7.
Figure 7: Preferred RS485 Bus Architecture
RS485 buses usually require line termination when fast tr ansmissions, high data rates, or long
cables lengths are employed. Although no term ination is required if the bus cable length is short
and transmission speed is low, it is always recommended.
Terminate bus lines at both ends of t he main cable to prevent signal reflection, f or example. In
Figure 7, termination is applied at t he Master node and SKB n node.
Operating and Maintenance Instructions – 15
The common method of termination is parallel line termination, whereby a resistor is placed
across the differential lines at the most extreme end of the bus (SKB n+1). The resistor value
must be equal to the characteristic impedance of t he cable. In practice, the resistor value needs
to be slightly higher than characteristic impedance. A common mistake is to connect a
terminating resistor at each node in t he RS485 bus. This action causes line problem s when more
than four nodes are connected because the active bus driver is loaded excessively.
The maximum cable length specified f or RS485 buses is 1219 meter s (4000 feet) . Generally, the
longer the cable length, the slower the dat a t r ansmission rate. All applicable data baud r at es used
by the SKB switch operate over the maximum cable length when proper termination is used and
the number of nodes does not exceed 31.
Pin Assignment
The signals for power and communication are connect ed via the nine-pin D-subminiature serial
connector (Figure 8 and Table 4).
Figure 8: Pin As signment
Table 4: Pin Assignment
PinSignalDescriptionFunctionality
Pin 1RXTX+transmit/receive data positive
side (B)
TXA. Diff e r ential input/output signal fr om
the RS485 host.
Pin 2shieldsignal shieldThis line is connected to chassis ground
at the host end and is isolated at the
slave.
Pin 3RXTX-transmit/receive data
negative side (A)
Pin 4triggeractive low trigger signal,
transistor-to-transist or logic
(TTL), mult i- dropped, pulled
UP at slave with 100 K
TXB. Complement of the differential
input/output from t he RS485 interface.
This line is driven by the host processor
(master) to indicate to the slaves that a
trigger-based action is to be executed on
the falling edge of this signal. This action
is usually preconditioned by a request to
the applicable slaves.
Pin 5Attentionactive low attention signal,
open collector, pulled UP at
master with 470 ohm
This line is driven by the SKB module
(slave) to indicate to the master that it
requires the host attent ion. This signal is
an open collector signal that is
terminated at the host end by a 470 ohm
resistor connected to V+.
(table continued)
Operating and Maintenance Instructions – 16
PinSignalDescriptionFunctionality
Pin 6V+5 V supplies in
These lines are supplied by a 5V ±5%
regulated power supply provided from
the host. Each of these wires provides
power for different elem ents of the
module.
Pin 7V+5 V supplies in
Pin 8GNDpower groundThese lines are power supply grounds
and are isolated from the chassis
ground.
Pin 9GNDpower ground
RS485 Addresses
The addresses are outlined in Table 5.
Table 5: RS485 Addresses
AddressDescription
0Reserved for master. Cannot be an SKB switch.
2 to 31Valid address range for SKB devices.
255Broadcast address. Packets sent with a broadcast address are received
and parsed by all active SKB devices on the RS485 bus.
Each SKB switch is pre-assigned an address of 1. If an SKB device is reset (either hard or sof t),
and the network address is 1, the ATTN line is asserted. The ATT N line is de-asserted when the
device address is changed to something other than 1. This feature acts as a mechanism for
informing the bus master that a device with the default address is connected to the bus.
RS485 Protocol
A proprietary link-layer RS485 protocol has been developed that enables network-based
communication utilizing a single master and multiple slaves on a common bus. The protocol
provides a high-level flow control mechanism (using acknowledge packets) and link-layer error
detection (using CRC packet validation). The RS485 protocol consists of two elements: the RS485 link-layer communication packet and the m ast er-slave acknowledge cycle.
The RS485 packet is composed of a number of bytes surrounding a data payload (Figure 9). T he
data payload section of the RS485 packet holds exactly one standard command packet, as
illustrated. The packet bytes are designated as shown in Table 6.
Operating and Maintenance Instructions – 17
Figure 9: RS485 Link-Layer Packet and Command Packet
Table 6: RS485 Link-Layer Packet Fields
Packet ByteSize (bits)Description
SOH8Start of header byte (0x81)
DEST8Destination address of the packet (0x00 reserved for master,
0xFF reserved for broadcast)
SRC8Source address (for sending ACK’s and responses)
TYPE8Packet type (DATA = 0, ACK = 1)
LEN16Length of payload section of the RS485 packet
CRC1616-bit CRC value with 0x1021 as polynomial
The master-slave acknowledge cycle refers t he process of indicating to the sender that an RS485
packet has been received intact and that more pack ets can be sent. This action is accomplished
by sending an RS485 ACK packet back to the sender. Once a valid RS485 packet is received,
and the CRC has been verified, another packet can be sent by the master. Theref ore, successf ul
reception of the link-layer packet must be followed by an ACK response fr om the slave. I f no ACK
packet is received following transmission of a data packet with a specified timeout period, the
sender needs to re-transmit the data packet. An ACK packet consists of a standard RS485
packet without a length byte, any data payload bytes, or CRC bytes. The type byte is defined as
an ACK (1). The ACK packet is shown in Figure 10.
This ACK cycle is reversed when response data packets are sent from the SKB slave to the
master. In this case, the master is expected to acknowledge receipt of the link -layer packet by
sending an ACK packet back to the slave.
A timeout period of 500 ms is used by the SKB switch for all serial data transfers. T herefore the
time between subsequent bytes of a packet, or t he time between data and ACK packets (being
both sent and received, is 500 ms.
Figure 10: RS485 ACK Packet
Operating and Maintenance Instructions – 18
A holdoff period of 1 m s is observed by the SKB switch when transmitting data or ACK packets
back to the master. T he holdoff is a short delay to allow the master to prepare to receive dat a
from the slave.
If a communication error occur s (for example, CRC mismatch), no ACK packet is transmitted to
the sender.
If no ACK packet is received within a particular period f ollowing transmission of the last RS485
packet byte, retransmit t he or iginal RS485 packet.
Typical protocol is shown in Figure 11.
Operating and Maintenance Instructions – 19
Transmit DATA packet to SKB
slave.
NoYes
ACK packet
received before timeout
period expired?
Parse response packet.
No
Yes
Response
DATA packet required
from SKB slave?
Yes
Response
DATA packet received
before timeout period
expired?
No
Indicate error.
Transmit next packet.
Transmit ACK packet to the
SKB Slave.
Figure 11: RS485 Network Implementation
Operating and Maintenance Instructions – 20
Re-transmit original packet, if
desired.
Parallel Interface
A 25-pin D-subminiature connector is used f o r t he parallel interface.
Pin Assignment
The pin assignment for t he par allel interface is outlined in Figure 12 and Table 7.
Figure 12: Pin A ssignment
Table 7: Pin Assignment
PinSignalDescription
1GND1shield
2D1data line 1
3D2data line 2
4GND1shield
5D5data line 5
6D6data line 6
7GND1shield
8BUSYbusy output:
low = idle
high = operation in progress (switching)
9ERRORerror output:
low = normal
high = error in error queue
10GND
1
shield
11/SOPstart of packet-- pr ovides a start - and- st op m echanism
12R/Wread/write--driven by master read and write cycles
13GND
1
shield
14D0data line 0 input; least significant bit (LSB)
15GND
1
shield
16D3data line 3
17D4data line 4
18GND
1
shield
(table continued)
Operating and Maintenance Instructions – 21
PinSignalDescription
19D7data line 7; most significant bit (MSB)
20STROBESTROBE input, active low:
high-to-low pulse = read data lines and home line
high = ignore state of data lines and home line
This line is internally pulled high via 10 k ohm resistor t o 5 V DC
21GND
1
shield
22RESERVEDreserved; inte r nal use only; do not use
23RESERVEDreserved; inte r nal use only; do not use
24GND
1
shield
25RESETr esets the hardware (MCU reset)
1
Connect GND signal lines to common ground of the master.
Caution
If the reserved pins are used for any purpose, compat ibility with futur e versions
of the SKB module can be compromised.
Using SK / SP Emulation Mode
The SKB switch can be run in a mode that emulates operation of the SK and SP product line. A
hybrid, parallel connector cable must be constructed. Contact JDS Uniphase for instructions on
cable pinouts.
Simultaneous operation of serial and parallel int er face is not supported.
Using the Switch
Voltage Levels
All parallel interface signals are TTL compatible. The active state of each signal is outlined in
Table 8.
Operating and Maintenance Instructions – 22
Table 8: Parallel Interface States
Signal NameActive StateInactive State
D0 - D7highlow
/STROBElowhigh
BUSYhighlow
ERRORhighlow
/SOPlowhigh
R/Whigh = read
N/A
low = wr ite
/RESETl owhigh
Line Descriptions
Data Lines (D0...D7)
Byte data is composed of a binary eight-bit pat tern presented on the /D0 to /D7 data lines. Input
and output byte data are presented the same way.
The value 0 indicates that the input needs to be set low (f or example, <0. 8 V DC).
The value 1 indicates that the input needs to be set hig h ( for example, ≥2 V DC).
/SOP Input Line
The /SOP line provides a data packet start/stop mechanism. T ransition of the /SOP line from a
high-to-low state indicates the beginning of a data packet, and all subsequent bytes placed on the
data lines are considered packet data bytes. Transition of t he /SOP line back from a low-to-hig h
state indicates the end of a data pack et. The master is responsible for controlling the /SOP line.
/STROBE Input Line
The /STROBE line is used to signal the SKB switch to read data from or write data to t he data
lines. A change on the data lines has no effect until there is a high-to-low transition on the
Operating and Maintenance Instructions – 23
/STROBE line. The /STROBE line is driven by the master for both transmit and receive
operations.
R/W Input Line
The R/W line is driven by the master as a bus control mechanism . When the R/W line is driven
low, /D0-/D7, /SOP, and /STROBE line transitions are interpreted as input operations from the
master to the slave. When R/W is driven high, operations are interpreted as output f rom t he slave
to the master.
BUSY Output Line
The BUSY line provides a flow control mechanism. The BUSY line is pulled high by the slave
after each byte is transfer red. The master does not tog gle any lines until a high-to-low transition
of the BUSY line is detected.
ERROR Output Line
The ERROR line is used to flag the master when the slave detects an error. W hen the error line
is high, there is an error in the error queue. The ERROR line is driven low when the errors are
read out of the error queue or the error queue is cleared.
/RESET
Reset resets the micro-controller unit (MCU) in the switch. All communication interfaces are r eset.
Parallel Protocol
The read and write cycles follow a mechanism that tightly coupled the control sig nals (SOP and
STROBE lines on the master side and BUSY line on the slave side) to pr ovide flow control. These
cycles are defined as follows.
Read Cycle
The read cycle refers to the bus master reading bytes from the SKB slave (Figure 13). In this
mode, the master ensures that the R/W line is pulled high. The m aster t hen tog g les the /SO P line
from the high to the low state, which signals the SKB switch to place the first data byte on the
data lines. The BUSY line is held high to indicate to t he master that a valid byte has been placed
on the data lines. To indicate that the master has completed the read, the /STROBE line
transitioned to low. The SKB switch subsequently pulls the BUSY line low to signal that the data
acknowledgment has been received. The master then sets the STROBE to high. The BUSY
transitions to high to indicate to t he mast er when the next byte has been placed on the dat a lines.
Upon completion of the last data byte transm ission, the master r esets the /SOP line from the low
to the high state to indicate the end of the data packet.
Write Cycle
The write cycle refers to the bus mast er writing bytes to the SKB slave (Figure 14) . In this mode,
the master ensures that the R/W line is pulled low. The master then t oggles the /SOP line from
high to low, which indicates the beginning of a new packet. Binary byte data is subsequently
placed on the data lines /D0 to /D7 and entered by use of the /STROBE line. After each
STROBE, the BUSY line is held high until t he SKB switch is ready to receive the next data byte.
Upon completion of the last data byte transmission, the /SOP line is toggled from low to high,
indicating the end of the data packet.
Operating and Maintenance Instructions – 24
Yes
Master
Interface Idle
BUSY
Asserted?
No
Assert Read
Slave
Interface Idle
R/W
No
No
Yes
Assert SOP
BUSY
Asserted?
Yes
Read Data Byte
Assert Strobe
BUSY
Reset?
Yes
Reset Strobe
More
Packet Bytes
to read?
SOP
/STB
/
STB
Busy
Busy
Write Next Packet
Byte to Data Bus
Assert Busy
SOP
Asserted?
Yes
Reset Busy
No
No
BUSY
No
Asserted?
Yes
Reset SOP
No
SOP
Figure 13: Flowchart of Read Cycle
Operating and Maintenance Instructions – 25
MasterSlave
Interface Idle
Yes
BUSY
Asserted?
No
Assert Write
Assert SOP
NoBUSY
Asserted?
Yes
Set packet
byte to bus
Assert Strobe
R/W
SOP
/STB
Busy
Interface Idle
Assert Busy
Read P acket Byte
Yes
No
BUSY
Reset?
Yes
Rese t Strobe
BUSY
No
Asserted?
Yes
More
Pack et Bytes
to send?
No
Reset SOP
Busy
Save Packet Byte
/
STB
Busy
SOP
Figure 14: Flowchart of Write Cycle
Reset Busy
Assert Busy
STROBE
Asserted
No
Yes
Operating and Maintenance Instructions – 26
Timing
The SKB switch uses bidirectional parallel lines for the data bus (D0 to D7) and dedicated
input/output lines for flow control. Dat a flow control is implem ented on a byte-by-byte basis, using
the BUSY output line of the SKB switch as the primar y mechanism of controlling the dat a t ransf er
rate. By using control signals, the actual signal timing can vary (within defined tolerances)
according to the availability of the SKB switch, which is indicated with a low-level BUSY signal.
The primary control signals of the master are the /SOP and /STROBE lines. Transitions of the
/SOP line are used to delimit the beginning and end of packets. The /STROBE line is used to
signal the SKB switch to either read bytes from the data lines or write bytes to the data lines.
Timing dependencies have been minimized, allowing use of control signals to regulate
communication. However, the following timing requirements must be observed:
• A hold time of 5 µs must be applied when toggling SKB input lines (for example, R/W, D0-D7,
/SOP, /STROBE, /RESET).
• The maximum period between sequential bytes (indicated by transitions of the /STROBE line)
is 500 ms.
The following general rules apply:
• The master needs to ensure that the BUSY line is de-asserted (low) before toggling any
parallel communication lines (for example, /SOP, /STROBE, and so on).
• Communication lines must be toggled according to the steps indicated in the protocol flow
charts for read and write operations. Poll the error line following each operation.
The read cycle protocol is illustrated in Figure 15. Typical line toggling f or a master read cycle is
shown. The figure shows the relationship of the R/W , /SOP, and /STROBE input lines and the
BUSY output line during a three-byte response packet read from the SKB switch.
Figure 15: Three-Byte Response Packet Read from the SKB Switch
Operating and Maintenance Instructions – 27
The following actions correspond to numbered events in the figure:
1. The R/W line is driven high to indicate read-from-SKB oper at ion.
2. T he /SOP line is then asserted (low) to indicate the start of a command packet.
3. The BUSY line of the SKB switch is asserted (hig h) to indicat e the f irst byte of the packet has
been written to the data bus.
4. Binary data is read from the data lines (D0 t o D7) and the /STROBE line is asser ted (low) to
indicate to the SKB switch that the byte was read.
5. The BUSY line is de-asserted (low) to indicate to the master that t he SKB switch is ready to
send another byte.
6. The /STROBE is de-asserted (hig h) to indicate to the SKB switch that the master is ready to
accept another byte.
7. T he BUSY is asserted (high) to indicate to the master t hat another byte has been written to
the data bus. All subsequent bytes are processed in the same f ashion to indicate the m aster
has read the data bus.
8. The /SOP line is de-asserted (high) to indicate end of packet.
9. The BUSY line is asserted (high) to indicate packet parsing and driven low when end-ofpacket processing is complete.
This write cycle protocol is illustrated in Figure 16. Partial parallel int erf ace line tog gling is shown.
The figure shows the relationship of t he R/W, /SOP, /STROBE input lines, and the BUSY output
line during a two-byte command packet write to t he SKB switch.
Figure 16: Four-Byte Command Packet Write to the SKB Switch
The following actions correspond to numbered events in the figure:
1. The R/W line is pulled low to indicate write- t o - SKB oper ation.
2. T he /SOP line is then asserted (low) to indicate the start of a command packet.
3. The BUSY line of the SKB switch is asserted (high) to indicat e / SO P pr ocessing.
Operating and Maintenance Instructions – 28
4. Binary data is written to the data lines (D0 to D7), and t he /STROBE line is asserted (low) to
indicate to the SKB switch that the byte can be read.
5. The BUSY line transitions to the idle (low) state to indicate that the SKB switch has read the
byte.
6. The STROBE line is de-asserted (high), the SKB switch then asserts (high) BUSY to
complete the byte transfer. All subsequent bytes are str obed-in t o the SKB switch in t he sam e
way.
7. After BUSY transitions high following the final byte, the /SOP line is de-asserted (high) to
indicate end-of-packet.
Error Cycle
The timing error cycle refers to the operation of the ERROR line (Figure 17). When any error
occurs on the SKB switch, a corresponding error code is written to an eight-deep error queue.
Error codes can be written to the error queue as a result of operational or communication error s.
When an error code is pending in the error queue, the LINE of the parallel interface is driven
high. The ERROR line remains in the hig h state while there are err or codes present in t he error
queue. Error queue management commands are included in the SKB standard command set.
Figure 17 shows the relationship of the /SOP and /STROBE input lines and the BUSY and
ERROR output lines during a three-byte packet transfer.
Figure 17: Three-Byte Packet Write Produces an Error
In the figure, the comm unication process was successful, indicating that the er ror was due to an
operational aspect of the SKB switch.
The following actions correspond to events numbered in the figure:
1. The command packet is transfer red normally. In this case, t he packet tr ansfer was successful
due to the fact that the f inal BUSY cycle indicates completion of packet processing. When a
communication error is indicated, the ERROR line is asserted (high) before t his point.
2. The error line is asserted (high) and rem ains asser t ed until the error queue is cleared.
Operating and Maintenance Instructions – 29
ERROR asserted does not preclude more operations f rom occuring; more data packets can be
received or transmitted. The err or line needs to be polled after each operation to determine the
condition of the SKB switch.
Commands
Architecture Overview
Instructions and queries are received by the SKB module as command packets. Command
packets describe a method of encapsulat ing a command opcode, a length code, and applicable
parameter data in a format t hat can be interpreted by the command processor of t he instrument
module firmware.
Command packets are the only available means of m oving dat a into and out of the SKB module.
External communication drivers and protocols are utilized to transmit and receive command
packets. For example, the parallel communication driver can directly transmit com mand packets,
while the serial communication driver can implement a protocol that em beds command packets
within larger protocol packets.
Command Packet Format
Essentially all communication with the SKB module, regardless of int erface or protocol used, is
accomplished via command packets.
A standard command packet can be up to 256 bytes in lengt h.
The first byte is always an opcode, which can be any number between 0 and 127. The most
significant bit (MSB) is never set in a command packet opcode.
The second byte is always the length, in bytes, of the f ollowing parameter data. T he value of the
length byte corresponds to the number of bytes in the parameter data section of the command
packet, regardless of the actual data type represented by the binary parameter data.
The minimum length of a command packet is two bytes. The opcode and length (even if zero)
must be transmitted to the SKB m odule.
Command packets appear as follows:
OPLENDATA
where OP = opcode and LEN = length.
The communication architecture of the SKB switch does not implement a command-response
scheme. Each command packet sent is not necessar ily answered with a response packet. Only
those opcodes that represent a query generat e a response packet.
Operating and Maintenance Instructions – 30
Response Packet Format
Response packets refer to packets transmitted by the SKB switch for t he purposes of returning
query data. Response packets have an identical for mat as a st andard command packet, with the
MSB of the opcode byte set.
If, for example, an opcode of 0x01h was sent to the SKB switch and this opcode repr esented a
query, the response packet has an opcode of 0x81h.
The length byte of a response packet represents the tot al length of the param eter response data,
regardless of the actual data types embedded in the parameter area.
Parameter Data Types
Parameter data of the command packet is limited to 254 bytes, which can be allocated at the
discretion of the application according to standard data types shown in Table 10.
Table 10: Parameter Data Types
Data TypeSize in Bytes (Bits)
signed char1 (8)
unsigned char1 (8)
signed int2 (16)
unsigned int2 (16)
signed long4 (32)
unsigned long4 (32)
float4 (32)
Byte Order
When utilizing data types larger t han one byte, the byte order follows “litt le-endian” convention:
the low-order byte (which holds the least significant bit, or LSB) is referenced as byte 0.
Subsequent bytes progress toward the high- order byte (which holds the MSB). This sequence is
illustrated as follows.
Single-byte bit order:
Bit 76543210
Double-byte bit order:
Bit 1514131211109876543210
Byte 0 (low)Byte 1 (high)
Operating and Maintenance Instructions – 31
Quadruple-byte bit order:
Bit 31302928272625242322212019181716
Byte 0 (low)Byte 1
Bit 1514131211109876543210
Byte 2Byte 3 (high)
Example:
The 16-bit number represented by 0x1234h is split into two bytes as follows: 0x34h (Byte 0) and
0x12h (Byte 1). In the command or response packet, however, these bytes are contiguous and
therefore appear as 0x3412h.
Common Commands
SKB common commands refer to t hose operations and queries com mon to m ost switch modules
and instruments. These commands repr esent the core functionality of the instrum ent module.
RESET
DescriptionReset all switches to the default state.
This command is functionally the same as a hardware Reset. The following
major events occur:
• Current settings (channel positions are saved)
• A hardware reset is generated by the microcontroller
• On wakeup, non-latching switches move to the Reset position (factory
default is a null-connect channel, but this can have been changed by the
user), and latching switches stay on the same channel
Also see the SWI TCH command, which can be used to send individual
switches to the reset position.
ParametersNA
Parameter
NA
Description
OPCODELengthParameters
0x000x00
Operating and Maintenance Instructions – 32
IDN?
DescriptionQuery identification information
ParametersNA
Parameter
Serial_Num (unsigned eight-bit array of 15 elements)--An array of
15 eight-bit integers ( 0 to 255) representing the serial number of the
device. Unused bytes are zero-padded.
Model_Num (unsigned eight-bit array of 15 elements)--An array of
15 eight-bit integers ( 0 to 255) representing the model number of
the device. Unused bytes are zero-padded.
Core_Ver (unsigned eight-bit ar r ay of two elements)--A pair of two
eight-bit integers (0 to 255) representing the core firmware version.
The first element corr esponds t o the major version and the second
to the minor version (for example, 1. 10) . Unused bytes ar e zeropadded.
App_Ver (unsigned eight-bit ar r ay of two elements)--A pair of two
eight-bit integers ( 0 t o 255) representing the application fir m ware
version. The first element cor r esponds to the major version and the
second to the minor version (for example, 1.10) . Unused bytes are
zero-padded.
The numeric values of the bytes representing the serial, model, and
version numbers are ASCII codes of equivalent char act er bytes.
Therefore, U8 data can be dir ect ly tr anslat ed into ASCII character
data for display to the user.
Operating and Maintenance Instructions – 33
STATUS?
DescriptionQuery the status register value
ParametersNA
Parameter
NA
Description
Command packet
OPCODELengthParameters
0x020x00
Response packet
OPCODELengthParameters
0x820x01U8 Status_reg
Status_reg (unsigned eight-bit)--Current binary value of the Module
Status Register (MSR), as indicated in the following table.
Bit76 5 43210
FunctionERREQOALRMOPP
R/WRR R RRRRR
Initial value00000000
ERR (ERROR, bit 7)--This bit indicates that an error code has been written to the error queue. It
is cleared when the error queue is cleared.
EQO (ERROR QUEUE OVERFLOW , bit 6)--This bit indicates that more than eight errors have
occurred and the error queue has overflowed. It is cleared when the error queue is read at least
once and can hold another error code.
ALRM (ALARM, bit 5)--This bit indicates that a bit in the alarm register is set. It is cleared when
the alarm register is cleared.
OPP (OPERATION IN PROGRESS, bit 4)--This bit indicates that a critical operation is in
process. It is cleared when the operation is complete.
Operating and Maintenance Instructions – 34
ALARM?
DescriptionQuery the alarm regist er value
ParametersNA
Parameter
NA
Description
Command packet
OPCODELengthParameters
0x030x00
Response packet
OPCODELengthParameters
0x830x02U16 Alarm _ r eg
Alarm_reg (unsigned 16-bit ) --Current binary value of the Alarm
Register (AR), as indicated in the following table
Bit15 1413 12 1110987654321 0
FunctionEPVOTUTCFO
R/WR R RRR R RRRRRRRRR R
Initial value 00 000 0 000000000 0
EPV (EEPROM VERIFY FAIL, bit 15)--This bit indicates that the verify operation of an EEPROM
write failed. It is cleared when the AR is read.
OT (OVER TEMPERATURE, bit 14)--This bit indicates that am bient temperature of the module
has exceeded the high temperature threshold f or a period of at least 10 seconds. I t is cleared
when the temperature falls below the high tem per at ure threshold.
UT (UNDER TEMPERATURE, bit 13)--This bit indicates that am bient temperature of the module
has dropped below the low temperature threshold for a period of at least 10 seconds. It is clear ed
when the temperature falls below the high tem per at ure threshold.
CFO (CONFIGURATION OVERFLOW, bit 12)--This bit indicates that user configuration
commands have been executed more than 50,000 times. This bit is not cleared when the
configuration command counter exceeds 50,000. This bit can only be cleared at the JDS
Uniphase factory.
Operating and Maintenance Instructions – 35
LERROR?
DescriptionRead and clear last error message in the error queue
ParametersNA
Parameter
NA
Description
Command packet
OPCODELengthParameters
0x040x00
Response packet
OPCODELengthParameters
0x840x01U8 Err or_code
Error_Code (unsigned eight-bit)--Error code represents the last error
that occurred, as indicated in the f ollowing t able
17 ( 0x11 )Communication transmit attempt s exceed limit - - t ransmit operation aborted
18 ( 0x12 )Communication invalid STROBE received
19 ( 0x13)RS485 link-layer packet CRC mismatch
20 ( 0x14)RS485 invalid link-layer packet length
21 (0x15)RS485 invalid link-layer packet type
22 (0x16)RS485 invalid source address
23 (0x17)RS485 link-layer packet ACK transmit tim eout
24 (0x18)RS485 link-layer packet ACK receive timeout
25 (0x19)RS485 link-layer ACK expected but DATA packet received
26 (0x1A)RS485 unexpected ACK packet r eceived
27 (0x1B)UART overrun (bytes m issed in ser ial r eceive)
28 (0x1C)Undefined error
EQCLEAR
DescriptionErase all entries in the error queue
ParametersNA
Parameter
NA
Description
Command packet
OPCODELengthParameters
0x050x00
TEMP?
DescriptionQuery temperature information
ParametersNA
Parameter
NA
Description
Command packet
OPCODELengthParameters
0x060x00
Operating and Maintenance Instructions – 37
Response packet
OPCODELengthParameters
0x860x06U16 Hi_temp, U16 Low_temp, U16 Temp
Hi_temp (unsigned 16-bit)--Configured high temperature threshold
(234 – 353 °K)
Low_temp (unsigned 16-bit)--Configured low temperature threshold
(233 – 352 °K)
Temp (unsigned 16-bit)-- Act ual ambient temperature (233 – 353 °K)
Temperature (°C) = T em per at ure (°K) - 273
All temperature information is referenced in degrees Kelvin.
Conversions are as follows:
1 °C = 1 °K and 0 °C = 273 °K approximately
1 °F = 0.55 °K and 0 °F = 255.37 °K
STIMER?
DescriptionQuery the system timer. System t ime is defined from the last reset ( includes
power cycle and hard or soft reset).
ParametersNA
Parameter
NA
Description
Command packet
OPCODELengthParameters
0x0B0x00
Operating and Maintenance Instructions – 38
Response packet
OPCODELengthParameters
0x0B0x07U16 Msec, U8 Sec, U8 Min, U16 Hour, U8 Year
Msec (unsigned 16-bit)--The current millisecond timer index (0 to
999).
Sec (unsigned eight-bit)--The current second timer index (0 to 59).
Min (unsigned eight-bit)--The cur rent minute timer index (0 to 59).
Hour (unsigned 16-bit)--T he current hour timer index (0 to 8759).
Year (unsigned eight-bit) - - The current year timer index (0 to 255).
The system timer is returned as seven bytes as described
previously. These bytes can be extracted into a “C” structure, for
example, as follows:
DescriptionReset the system timer to 0
ParametersNA
Parameter
NA
Description
Command packet
OPCODELengthParameters
0x0C0x00
Operating and Maintenance Instructions – 39
SWITCH
DescriptionModify logical switch state
ParametersSwitch, Input, Output
Parameter
Description
Switch (unsigned eight-bit)--switch number
Input (unsigned eight bit) - - input channel
Output (unsigned eight bit ) --output channel
Command packet
OPCODELengthParameters
0x200x03U8 Switch, U8 Input, U8 Output
Switch (unsigned eight-bit)-- Logical switch number upon which to
perform action (f or example, 1 t o 4)
Input (unsigned eight-bit ) - - Input channel to connect (for example, 1
on a 1xN switch)
Output (unsigned eight- bit )--Output channel to connect specified
input channel, where
0 = reset position (factory conf igured to be a null connect, but this
can have been changed by user)
1 to 200 = output channel number
254 = previous channel; ignored if the switch is on the f irs t channel
255 = next channel; ignored if the switch is on the last channel
SWITCH?
DescriptionQuery logical switch state
ParametersSwitch, Input
Parameter
Description
Switch (unsigned eight-bit)--switch number
Input (unsigned eight-bit ) - -input channel number
Command packet
OPCODELengthParameters
0x210x02U8 Switch, U8 Input
Switch (unsigned eight-bit)-- Logical switch number upon which to
read information (for example, 1 to 4)
Input (unsigned eight-bit ) - - Input channel to find connection of
Operating and Maintenance Instructions – 40
Response packet
OPCODELengthParameters
0xA10x01U8 Output
Output (unsigned eight- bit ) --The output channel connected to the
input channel specified
NUM_SWITCH?
DescriptionQuery number of log ical switches
ParametersNA
Parameter
NA
Description
Command packet
OPCODELengthParameters
0x220x00
Response packet
OPCODELengthParameters
0xA20x01U8 Switches
Switches (unsigned eight-bit)-- The number of logical switches in the
module (for example, 1 to 4)
LEARN?
DescriptionQuery command(s) req uir ed to return the switch to current state following
reset. This query returns t he information required to send the switch back to
the state it was in prior to reset.
ParametersNA
Parameter
Sw_Id (unsigned eight-bit)-- Logical switch identification number (1 to
4)
Sw_Type (unsigned eight-bit)--Physical switch type (0:motor or
1:relay)
Max_In (unsigned eight-bit)--Maximum number of inputs of the
switch (1 to 2)
Max_Out (unsigned eight-bit)--Maximum number of outputs of the
switch (1 to 200)
1
The length is variable, depending on the number of switches in the module.
HITEMP
DescriptionSet the upper temperat ure threshold
ParametersTemp
Parameter
Description
Temp (unsigned 16-bit)--The °K high temperature thr eshold t hat, if exceeded,
causes the OT alarm register bit to be set
Command packet
OPCODELengthParameters
0x070x02U16 Hi_temp
Hi_temp (unsigned 16-bit)-- High temperature threshold (234 to 353
°K)
All temperature information is referenced in degrees Kelvin.
Conversions are as follows:
1 °C = 1 °K and 0 °C = 273 °K approximately
1 °F = 0.55 °K and 0 °F = 255.37 °K
LOWTEMP
DescriptionSet the lower temperature threshold
ParametersTemp
Parameter
Description
Temp (unsigned eight- bit ) --The °K low temperature threshold that, if
exceeded, causes the UT alarm register bit t o be set
Operating and Maintenance Instructions – 44
Command packet
OPCODELengthParameters
0x080x02U16 Low_temp
Low_temp (unsigned 16-bit)--Low temperatur e threshold (233 to 352
°K)
SPARES?
DescriptionQuery the current number of spare fibers available on the logical switch
Switch (unsigned eight-bit)-- Logical switch number (1 to 4)
Response packet
OPCODELengthParameters
0xB00x01U8 Spares
Spares (unsigned eight-bit)--The number of spare channels
currently configured f or the switch
REPLACE
DescriptionReplace output channel with factory spare
ParametersSwitch, Output, Spare
Parameter
Description
Switch (unsigned eight-bit)--switch number
Output (unsigned eight- bit )--channel number to be replaced
Spare (unsigned eight-bit)--factory spare number
Operating and Maintenance Instructions – 45
Command packet
OPCODELengthParameters
0x330x3U8 Switch, U8 Output, U8 Spar e
Switch (unsigned eight-bit)-- Logical switch number (1 to 4)
Output (unsigned eight- bit )--The replaced output channel (1 to 200)
Spare (unsigned eight-bit)- -The factory spare number used f or t he
replacement (1 to 200)
This command resets the switch.
SWAP_CHANNEL
DescriptionSwap channel designations between two optical fibers. This com m and can be
used to reorder channels when the channels have been spliced into the
system incorrectly. The factory-configured order also can be recalled.
ParametersSwitch, Output1, Output2
Parameter
Description
Switch (unsigned eight-bit)--switch number
Output1 (unsigned eight- bit )--first output channel
Output2 (unsigned eight- bit ) --second output channel
Command packet
OPCODELengthParameters
0x340x03U8 Switch, U8 Output1, U8 Output2
Switch (unsigned eight-bit)-- Logical switch number (1 to 4)
Output1 (unsigned eight- bit )--The first output channel ( 1 t o 200)
Output2 (unsigned eight- bit ) --The second output channel (1 to 200)
This command resets the switch.
LATCHING?
DescriptionQuery latching status of the switch
ParametersSwitch
Parameter
Switch (unsigned eight-bit)--switch number
Description
Operating and Maintenance Instructions – 46
Command packet
OPCODELengthParameters
0x350x01U8 Switch
Switch (unsigned eight-bit)-- Logical switch number (1 to 4)
Response packet
OPCODELengthParameters
0xB30x01U8 Latching_Status
Latching_Status (unsigned eight-bit)--The status of the switch
(latching or not: 1/0 respectively)
RESET_CHANNEL?
DescriptionQuery output channel associated with the reset position for the selected switch
ParametersSwitch
Parameter
Switch (unsigned eight-bit)--switch number
Description
Command packet
OPCODELengthParameters
0x360x01U8 Switch
Switch (unsigned eight-bit)-- Logical switch number (1 to 4)
Response packet
OPCODELengthParameters
0xB60x01U8 Output_Channel
Output_Channel (unsigned eight- bit)--The output channel
associated with the reset position (0 to 200)
RESET_CHANNEL
DescriptionDefine the reset output channel
ParametersReset_Channel
Parameter
Description
Reset_Channel (unsigned eight-bit) - - Output channel number to be associated
with the reset channel
Operating and Maintenance Instructions – 47
Command packet
OPCODELengthParameters
0x370x02U8 Switch, U8 Reset_Channel
Reset_Channel (unsigned eight-bit)--The output channel to be
associated with the reset position (0 to 200)
The reset channel is defined in ref e r ence t o input port 1.
This command resets the switch.
RECALL_FAC_SETTING
DescriptionRecall the original f actory setting of the switch
ParametersSwitch
Parameter
Switch (unsigned eight-bit)--switch number
Description
Command packet
OPCODELengthParameters
0x380x01U8 Switch
Switch (unsigned eight-bit)-- Logical switch number (1 to 4)
This command resets the switch. The setting is modified with the
MODIFY_SPEED, RESET_CHANNEL, REPLACE, and
SWAP_CHANNEL commands. Commands are reset to fact or y
defaults.
SPEED?
DescriptionQuery the speed of the switch
ParametersSwitch
Parameter
Switch (unsigned eight-bit)--switch number
Description
Command packet
OPCODELengthParameters
0x390x01U8 Switch
Switch (unsigned eight-bit)-- Logical switch number (1 to 4)
Operating and Maintenance Instructions – 48
Response packet
OPCODELengthParameters
0xB90x01U8 Speed
Speed (unsigned eight-bit)--The speed setting of the switch (1 to 5)
1 is the slowest speed with the highest repeatability.
Only speeds 1 and 2 are implemented at this time.
MODIFY_SPEED
DescriptionModify the speed setting of t he specified switch
ParametersSwitch, Speed
Parameter
Description
Switch (unsigned eight-bit)--switch number
Speed (unsigned eight-bit)- - speed set ting for specified switch
Command packet
OPCODELengthParameters
0x3A0x02U8 Switch, U8 Speed
Switch (unsigned eight-bit)-- Logical switch number (1 to 4)
Speed (unsigned eight-bit)--The speed setting of the switch (1 to 5)
1 is the slowest speed with the highest repeatability.
Only speeds 1 and 2 are implemented at this time.
CONNECTION_TIME?
DescriptionQuery the time to connect two channels, in ms. This test breaks the current
connection.
The SKB switch allows the user to confirm the specified time to switch
between channels. The CONNECTION_TIME? query physically checks the
time by switching between the start and destination channel and outputs the
results from the inter nal clock.
ParametersU8 Switch, U8 Start, U8 Destination
Parameter
Description
Switch (unsigned eight-bit)--switch number
Start (unsigned eight- bit )--output channel to begin measurement
The length is variable, depending on the selected command.
Operating and Maintenance Instructions – 52
Controlling the Switch using a Printer Port
The switch can be controlled with an enhanced parallel port (EPP) of a per sonal com puter.
Setting the Computer to EPP Mode
In order to interface with the SKB switch via the computer parallel port, it is necessary t o make
the data lines bidirectional. This action is accomplished by using a parallel port that is conf igured
to be operating in EPP mode.
To set the PC to EPP mode:
1. Use the PC operating manual and configure the parallel port for EPP, entering into the
computers BIOS mode/setup and changing (or confirming) the por t .
Using the Printer Port
To use the printer port with the switch:
1. Const r uct a cable wired as outlined in Table 11.
Table 11: Cable Wiring for Printer Port Use
Printer
Signal
Name
Line Feed(37A) 1
Register Bit
(Hex Address)
Bit Number
1
PC Connector PinSKB PinSKB Signal
Name
1420
/STROBE
Data 0(378) 0214D0
Data 1(378) 132D1
Data 2(378) 243D2
Data 3(378) 3516D3
Data 4(378) 4617D4
Data 5(378) 575D5
Data 6(378) 686D6
Data 7(378) 7919D7
PE(37B) 5128BUSY
STROBE(37A) 0