Page 4
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.
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.
Page 6
• 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.
Safety Symbols The following symbols and messages can be marked on the unit (Table 1). Observe all safety instructions that are associated with a symbol. Table 1: Safety Symbols Symbol Description Laser safety. See the user’s manual for instructions on handling and operating the unit safely.
General Information and Specifications General Information This user’s manual for the SKB Series Fiberoptic Switch Module contains complete operating instructions. The SKB modular 1xN controllable switch controls up to four 1xN optical switches, with configurations up to 100 channels (Figure 1). Small and rugged, the switch is designed to be used in embedded applications.
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 •...
• On power off, the non-latching version does not guarantee an optical connect • When 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 (for example, going from channel two to three) can appear to be greater than the specification for the adjacent channel.
Specifications The following optical specifications describe the warranted characteristics of the unit (Table 2). Supplementary specifications describe the typical non-warranted performance of the unit (Table 1,2,3 Table 2: Optical Specifications Parameter Typical (Maximum) Typical (Maximum) 26≤ ≤ ≤ ≤ N≤ ≤ ≤ ≤ 100 Non-Latching N<26 Non-Latching 25≤...
Page 12
Table 3: Other Specifications Electrical Input voltage 5 ±0.25 V DC Power consumption 1 to 2.5 A maximum, configuration dependent Physical Dimensions (W x H x D) package 1 fiber version 7.82 x 2.78 x 14.00 cm (3.08 x 1.095 x 5.51 in) package 1 cable version 7.82 x 2.78 x 17.17 cm (3.08 x 1.095 x 6.76 in) package 2 fiber version...
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.
• The unit does not pass the initial inspection In the event of carrier responsibility, JDS Uniphase will allow for the repair 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.
8. Ship the unit only to the address 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.
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 mated. Handling Fiberoptic Cables The SKB switch can be shipped with fiber pigtail outputs.
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 eliminate potential crosstalk. The pin assignment of the power/serial (DB9) interface is arranged to accommodate discrete wires.
Page 18
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. Install 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 (configuration dependent), is required.
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 signals. The SKB switch has the receiver and driver installed for the RS485 serial interface but not the software for using this interface.
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 the cable. In practice, the resistor value needs to be slightly higher than characteristic impedance.
Signal Description Functionality These lines are supplied by a 5V ±5% Pin 6 5 V supplies in regulated power supply provided from the host. Each of these wires provides power for different elements of the module. Pin 7 5 V supplies in Pin 8 power ground These lines are power supply grounds...
Page 22
Figure 9: RS485 Link-Layer Packet and Command Packet Table 6: RS485 Link-Layer Packet Fields Packet Byte Size (bits) Description Start of header byte (0x81) DEST Destination address of the packet (0x00 reserved for master, 0xFF reserved for broadcast) Source address (for sending ACK’s and responses) TYPE Packet type (DATA = 0, ACK = 1) Length of payload section of the RS485 packet...
Page 23
A holdoff period of 1 ms is observed by the SKB switch when transmitting data or ACK packets back to the master. The holdoff is a short delay to allow the master to prepare to receive data from the slave. If a communication error occurs (for example, CRC mismatch), no ACK packet is transmitted to the sender.
Page 24
Transmit DATA packet to SKB slave. ACK packet received before timeout period expired? Response DATA packet required from SKB slave? Response DATA packet received before timeout period expired? Parse response packet. Indicate error. Transmit ACK packet to the SKB Slave. Re-transmit original packet, if desired.
Parallel Interface A 25-pin D-subminiature connector is used for the parallel interface. Pin Assignment The pin assignment for the parallel interface is outlined in Figure 12 and Table 7. Figure 12: Pin Assignment Table 7: Pin Assignment Signal Description shield data line 1 data line 2 shield...
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.
Table 8: Parallel Interface States Signal Name Active State Inactive State D0 - D7 high /STROBE high BUSY high ERROR high /SOP high high = read low = write /RESET high Line Descriptions Data Lines (D0...D7) Byte data is composed of a binary eight-bit pattern presented on the /D0 to /D7 data lines. Input and output byte data are presented the same way.
/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.
Page 29
Master Slave Interface Idle Interface Idle BUSY Asserted? Assert Read Write Next Packet Assert SOP Byte to Data Bus Busy Assert Busy BUSY Asserted? Asserted? Read Data Byte /STB Busy Assert Strobe Reset Busy BUSY Reset? Reset Strobe More Packet Bytes to read? BUSY Asserted?
Timing The SKB switch uses bidirectional parallel lines for the data bus (D0 to D7) and dedicated input/output lines for flow control. Data flow control is implemented on a byte-by-byte basis, using the BUSY output line of the SKB switch as the primary mechanism of controlling the data transfer rate.
Page 32
The following actions correspond to numbered events in the figure: 1. The R/W line is driven high to indicate read-from-SKB operation. 2. The /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 indicate the first byte of the packet has been written to the data bus.
4. Binary data is written to the data lines (D0 to D7), and the /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.
ERROR asserted does not preclude more operations from occuring; more data packets can be received or transmitted. The error 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 encapsulating a command opcode, a length code, and applicable parameter data in a format that can be interpreted by the command processor of the instrument module firmware.
Response Packet Format Response packets refer to packets transmitted by the SKB switch for the purposes of returning query data. Response packets have an identical format as a standard 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 represented a query, the response packet has an opcode of 0x81h.
Quadruple-byte bit order: Byte 0 (low) Byte 1 Byte 2 Byte 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.
STATUS? Description Query the status register value Parameters Parameter Description Command packet OPCODE Length Parameters 0x02 0x00 Response packet OPCODE Length Parameters 0x82 0x01 U8 Status_reg Status_reg (unsigned eight-bit)--Current binary value of the Module Status Register (MSR), as indicated in the following table. Function ALRM Initial value...
ALARM? Description Query the alarm register value Parameters Parameter Description Command packet OPCODE Length Parameters 0x03 0x00 Response packet OPCODE Length Parameters 0x83 0x02 U16 Alarm_reg Alarm_reg (unsigned 16-bit)--Current binary value of the Alarm Register (AR), as indicated in the following table Function Initial value EPV (EEPROM VERIFY FAIL, bit 15)--This bit indicates that the verify operation of an EEPROM...
LERROR? Description Read and clear last error message in the error queue Parameters Parameter Description Command packet OPCODE Length Parameters 0x04 0x00 Response packet OPCODE Length Parameters 0x84 0x01 U8 Error_code Error_Code (unsigned eight-bit)--Error code represents the last error that occurred, as indicated in the following table Error Code Description 0 ( 0x00 )
Response packet OPCODE Length Parameters 0x0B 0x07 U16 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 current minute timer index (0 to 59). Hour (unsigned 16-bit)--The current hour timer index (0 to 8759).
Response packet OPCODE Length Parameters 0xA4 0x04 to (1-4) * (U8 Opcode, U8 Sw_Id, U8 Cur_In, U8 Cur_Out) 0x0F Opcode (unsigned eight-bit)--“SWITCH” command opcode (0x20) Sw_Id (unsigned eight-bit)--Switch number (1 to 4) Cur_In (unsigned eight-bit)--Current input channel of the switch (1 to Cur_Out (unsigned eight-bit)--Current output channel of the switch (0 to 200) The length is variable, depending on the number of switches in the module.
SAVE Description Save the current state of all switches at one of 10 locations Parameters Location Parameter Location (unsigned eight-bit)--Memory location to save state Description Command packet OPCODE Length Parameters 0x26 0x01 U8 Location Location (unsigned eight-bit)--Memory location of state data (0 to 9) RECALL Description Recall a module state previously saved...
Response packet OPCODE Length Parameters 0xA3 0x04 to (1-4) * (U8 Sw_Id, U8 Sw_Type, U8 Max_In, U8 Max_Out) 0x0F Sw_Id (unsigned eight-bit)--Logical switch identification number (1 to 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)
Command packet OPCODE Length Parameters 0x08 0x02 U16 Low_temp Low_temp (unsigned 16-bit)--Low temperature threshold (233 to 352 °K) SPARES? Description Query the current number of spare fibers available on the logical switch specified Parameters Switch Parameter Switch (unsigned eight-bit)--logical switch Description Command packet OPCODE...
Command packet OPCODE Length Parameters 0x33 U8 Switch, U8 Output, U8 Spare 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 for the replacement (1 to 200) This command resets the switch.
Command packet OPCODE Length Parameters 0x35 0x01 U8 Switch Switch (unsigned eight-bit)--Logical switch number (1 to 4) Response packet OPCODE Length Parameters 0xB3 0x01 U8 Latching_Status Latching_Status (unsigned eight-bit)--The status of the switch (latching or not: 1/0 respectively) RESET_CHANNEL? Description Query output channel associated with the reset position for the selected switch Parameters Switch...
Command packet OPCODE Length Parameters 0x37 0x02 U8 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 reference to input port 1. This command resets the switch. RECALL_FAC_SETTING Description Recall the original factory setting of the switch...
Response packet OPCODE Length Parameters 0xB9 0x01 U8 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 Description Modify the speed setting of the specified switch Parameters...
Response packet OPCODE Length Parameters 0xBE 0x01 U8 Address Address (unsigned eight-bit)--Network address (2 to 31) SET_TRIGGER_CMD Description Set the trigger command Parameters Opcode, Param1, Param2, Param3 Parameter Opcode (unsigned eight-bit)--opcode of command to be executed Description Param1, Param2, Param3 (unsigned eight-bits)--first, second, and third parameter of the selected command (number of parameters ranges from 0 to 3 depending of the selected command) Command packet...
Page 56
Response packet OPCODE Length Parameters 0xC0 0x01 to U8 Opcode, U8 Param1, U8 Param2, U8 Param3 0x04 Opcode (unsigned eight-bit)-- Opcode of the command selected to be executed as part of the trigger command (0x20 to 0x27) Param1 (unsigned eight-bit)--Parameter 1 (if necessary) (0 to 9) Param2 (unsigned eight-bit)--Parameter 2 (if necessary) (1 to 2) Param3 (unsigned eight-bit)--Parameter 3 (if necessary) (1 to 200) The length is variable, depending on the selected command.
Controlling the Switch using a Printer Port The switch can be controlled with an enhanced parallel port (EPP) of a personal computer. Setting the Computer to EPP Mode In order to interface with the SKB switch via the computer parallel port, it is necessary to make the data lines bidirectional.
Page 58
Printer Register Bit PC Connector Pin SKB Pin SKB Signal Signal (Hex Address) Name Name Bit Number Printer Port 18, 19, 20, 21, 22, 1, 4, 7, 10, 13, Shield Ground 23, 24, 25 15, 18, 21, 24 Power Source Power Ground Ground Invert the signals on these lines.