JDS Uniphase SKB Series User Manual

Fiberoptic switch module
Hide thumbs Also See for SKB Series:
Table of Contents

Advertisement

Quick Links

SKB SERIES
FIBEROPTIC SWITCH MODULE
User Manual

Advertisement

Table of Contents
loading

Summary of Contents for JDS Uniphase SKB Series

  • Page 1 SKB SERIES FIBEROPTIC SWITCH MODULE User Manual...
  • Page 2 10109002 Rev. 001• August 2001  2001 JDS Uniphase. All rights reserved.
  • Page 3 Getting Help For more information, contact JDS Uniphase or your local sales representative. JDS Uniphase Corporation 570 West Hunt Club Road Nepean, Ontario, Canada K2G 5W8 Tel 613 727-1303 Fax 613 727-8284 E-mail sales@jdsuniphase.com Website www.jdsuniphase.com Instrumentation and Controls Customer Support and Service...
  • Page 5 The Terms and Conditions of Sale and Software license (collectively “Agreement”) contained herein constitute the entire agreement between JDS Uniphase Corporation, or its subsidiary, as set forth on the document referencing this Agreement, (“JDSU”) and you (“Customer”). JDSU will not be bound by any terms of Customer’s order. No form of acceptance except JDSU’s written acknowledgment sent to Customer, or JDSU’s commencement of performance shall constitute valid acceptance of Customer’s order.
  • Page 6 experimental Products, prototypes or Products used in field trials, are not warranted. All third parties’ Products (including software) sold by JDSU carry only the original manufacturer’s warranty applicable to Customer. JDSU will only accept for repair, replacement or credit under war- ranty Products made by third parties if expressly authorized to do so by the relevant third party.
  • Page 7 11. EXPORT RESTRICTIONS: Customer shall obtain all licenses, permits and approvals required by any government and shall comply with all applicable laws, rules, policies and procedures of the applicable government and other competent authorities. Customer will indemnify and hold JDSU harmless for any violation or alleged violation by Customer of such laws, rules, policies or procedures. Customer shall not transmit, export or re-export, directly or indirectly, separately or as part of any system, the Products or any technical data (including processes and services) received from JDSU, without first obtaining any licence required by the applicable government, including without limitation, the United States Government and/or any other applicable competent authority.
  • Page 8: Table Of Contents

    Operating Environment ......................11 Temperature......................11 Humidity ........................12 Storing and Shipping......................12 Claims and Repackaging ..................12 Returning Shipments to JDS Uniphase..............12 Cleaning Connectors......................13 Storing Fiberoptic Connectors....................14 Handling Fiberoptic Cables ....................14 Installation and Physical Interface ....................15 Overview of Physical Interfaces ....................
  • Page 9 Contents Operation and Control Instructions ....................23 Connecting Power......................... 24 Architecture Overview of the RS485 Serial and Enhanced Parallel Interfaces..... 24 Command Packet Format ..................24 Response Packet Format..................25 Parameter Data Types ....................25 Byte Order ......................... 25 Operation and Control using the RS485 Serial Interface .......... 26 Connecting Multiple Switches using the RS485 Interface.........
  • Page 10 C-Code Generation of CRC Example ............... 85 APPLICATION NOTE: Implementation of the SKB in an existing SK/SP Application (using the Simplex Parallel Interface) ........................ 87 SK/SP to SKB Pinout comparison and Harness Wiring ..........88 APPLICATION NOTE: Controlling An SKB Switch using a PC Printer Port ......90 Setting the Computer to EPP Mode ................
  • Page 11 Contents...
  • Page 12 List of Figures SKB Switch............................5 Configuration Examples ........................6 1xN Configuration ..........................6 Connector Cleaning (connector type can vary) ...................13 The IDE 2x25 Connector on an SKB Switch ..................16 SKB Switch IDE Connector Dimensions ....................16 Additional Dimensions ........................18 Preferred RS485 Bus Architecture ......................27 RS485 Link-Layer Packet and Command Packet................28 RS485 ACK Packet ..........................28 RS485 Network Implementation ......................29...
  • Page 13: List Of Figures

    List of Figures...
  • Page 14 List of Tables Safety Symbols ............................. 3 Optical Specifications1,2,3 ........................7 Other Specifications..........................8 Pin Assignment: RS485 Serial Interface (on 25x2 IDE connector) ..........19 Pin Assignment: Simplex (SK/SP Emulation) Parallel Interface (on 25x2 IDE connector) ..... 19 Pin Assignment: Enhanced Parallel Interface (on 25x2 IDE connector)........... 20 Pin Assignment: Power using the 4x1 Power Connector ..............
  • Page 15: List Of Tables

    List of Tables...
  • Page 16: Safety Information, Instructions, And Symbols

    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 17: Before Initializing And Operating The Unit

    Safety Information, Instructions, and Symbols 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 Getting Started section on page 11. •...
  • Page 18: Safety Symbols

    Safety Information, Instructions, and Symbols 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.
  • Page 19 Safety Information, Instructions, and Symbols...
  • Page 20: Introduction

    The SKB Series Fiberoptic switch is backward compatible with the JDS Uniphase SK Series Fiberop- tic Switch Module and SP Series Fiberoptic Switch Module.
  • Page 21: Configurations

    Introduction Configurations The SKB switch is configurable. 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) •...
  • Page 22: Components

    Introduction Components For large channel count switches, a high-precision stepper motor is used to align optical channels. The use of collimating lenses minimizes insertion loss. For some applications, optional relay-based switches can be used. Passive devices can be incorporated on a custom basis. Applications •...
  • Page 23 Introduction 1,2,3 Table 2: Optical Specifications (Continued) Change in insertion loss during power on- off cycle; latching version ±1.0 (2.0) dB ±2.0 (4.0) dB ±1.0 (2.0) dB ±2.0 (4.0) dB Repeatability ±0.005 (0.01) dB ±0.01 (0.03) dB sequential switching ±0.01 (0.05) dB ±0.03 (0.08) dB random switching Crosstalk...
  • Page 24: Channel Switching Times

    Introduction 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. This discrepancy can be due to a few rea- sons: •...
  • Page 25 Introduction...
  • Page 26: Getting Started

    Getting Started The SKB Series Fiberoptic Switch Module package consists of the switching unit with fiber pigtails and a user's manual. An evaluation kit with software and cables is available for testing the operation of the switch. Before Initializing and Operating the Unit •...
  • Page 27: Humidity

    • 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.
  • Page 28: Cleaning Connectors

    Getting Started 7. Always provide the model and serial number of the unit and, if necessary, the RMA number on any accompanying documentation. 8. Please contact the RMA department, using the contact information at the beginning of this docu- ment, to provide an RMA number and a shipping address. Cleaning Connectors Caution •...
  • Page 29: Storing Fiberoptic Connectors

    Getting Started 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. These pigtails must be handled with care to avoid damage.
  • Page 30: Installation And Physical Interface

    Installation and Physical Interface Overview of Physical Interfaces In order to support the various implementations demanded by the OEM market, the SKB Series Fiberoptic Switch Module offers various control and power interfaces/ protocols. All interfaces/ pro- tocols documented in this manual are present on the SKB connector.
  • Page 31: Physical Interface: Connecting To The Skb Connector

    Installation and Physical Interface G ro u nd c o n ne c tio n P in s us ed for S K e m u la tion Figure 2: The IDE 2x25 Connector on an SKB Switch Figure 3: SKB Switch IDE Connector Dimensions Physical Interface: Connecting to the SKB Connector The typical application makes use of a 50 strand flat ribbon cable with a crimped 50-pin (25x2) IDE HDD connector.
  • Page 32: Physical Mounting And Connection

    622-2641, 636-2641 A right angled PCB mounted connector (25x2) may also be used in order to eliminate any harness- ing/ cabling. (JDS Uniphase part numbers 10115117 and 10115118) Physical Mounting and Connection To install the switch: 1. Mount the chassis using the four holes provided. An M3 screw with maximum thread depth in the unit of 5 mm is recommended.
  • Page 33: Operating And Maintenance Instructions

    Installation and Physical Interface Figure 4: Additional Dimensions Operating and Maintenance Instructions Pinout Information for the Switch The signals for communication are connected via the 50-pin (25x2 IDE) connector. Power inputs are connected either through the 4 pin power pins on the 4x1 portion of the IDE connector, or using the power pins located on the IDE 25x2 communications connector.
  • Page 34: Pin Assignment

    Installation and Physical Interface This section details the pin assignments for communication and power interfaces. Caution • If the reserved pins are used for any purpose, compatibility with future versions of the SKB module can be compromised. The power pins for implementation of power on the IDE 25x2 connector Note: should also be included if that powering method is selected as most appropriate for the application.
  • Page 35 Installation and Physical Interface Table 2: Pin Assignment: Simplex (SK/SP Emulation) Parallel Interface (on 25x2 IDE connector) (Continued) /STROBE /STROBE input, active low: a high to low pulse = read data lines; a high = ignore state of data lines. This line is internally pulled high via 10 K ohm resistor to 5 VDC.
  • Page 36 Installation and Physical Interface Table 3: Pin Assignment: Enhanced Parallel Interface (on 25x2 IDE connector) (Continued) ERROR Simplex (SK/SP Emulation) Mode: reset error output low = normal, high = switch mechanism position check failed (channel position is verified when SK switch is reset) Enhanced Parallel Mode: ERROR asserted indicates an error code in the SKB error queue Data line 1...
  • Page 37: Pin Assignment: Power Using The 4X1 Power Connector

    Installation and Physical Interface Table 3: Pin Assignment: Enhanced Parallel Interface (on 25x2 IDE connector) (Continued) Attention Active low attention signal, open collector, pulled UP at master with 470 Ohms 45-50 No connect The GND (shield) signal lines should be connected to the common ground. The pins should not be used during SKB operation, unless the power pins (listed in the table below) are NOT connected.
  • Page 38: Operation And Control Instructions

    Operation and Control Instructions PLEASE READ THIS SECTION VERY CAREFULLY IN ORDER TO UNDER- Note: STAND THE VARIOUS METHODS BY WHICH THE SKB PRODUCT MAY BE CON- TROLLED. In order to support the various implementation methods demanded by the OEM market, the SKB Series Fiberoptic Switch Module offers various control and power interfaces.
  • Page 39: Connecting Power

    Operation and Control Instructions For the SKB product, power may be applied by two methods. It may be applied to the 4x1 Power Connector, OR it may be applied on the Power Pins of the IDE 2x25 Connector. The method of implementation will be determined by the customer system design requirements.
  • Page 40: Response Packet Format

    Operation and Control Instructions The first byte is always an opcode, which can be any number between 0 and 127. The most signifi- cant bit (MSB) is never set in a command packet opcode. The second byte is always the length, in bytes, of the following parameter data. The 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.
  • Page 41: Operation And Control Using The Rs485 Serial Interface

    Operation and Control Instructions Single-byte bit order: Double-byte bit order: Byte 0 (low) Byte 1 (high) 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).
  • Page 42: Addressing Using The Rs485 Serial Interface

    Operation and Control Instructions Placing individual nodes at the end of long branches or spokes from the middle of the bus should be avoided. If branches are used, make them short. The preferred bus architecture is shown in Figure 5. Figure 5: Preferred RS485 Bus Architecture RS485 buses usually require line termination when fast transmissions, high data rates, or long cables lengths are employed.
  • Page 43: Rs485 Link-Layer Packet And Command Packet

    Operation and Control Instructions packet validation). The RS485 protocol consists of two elements: the RS-485 link-layer communica- tion packet and the master-slave acknowledge cycle. The RS485 packet is composed of a number of bytes surrounding a data payload (Figure 6). The data payload section of the RS485 packet holds exactly one standard command packet, as illus- trated.
  • Page 44 Operation and Control Instructions 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.
  • Page 45: Operation And Control Using The Simplex Parallel Interface (Sk/Sp Emulation Mode)

    Operation and Control Instructions Operation and Control using the Simplex Parallel Interface (SK/SP Emulation Mode) The Simplex Parallel Interface (Emulation Mode) The Simplex parallel interface is fully backwards compatible to the interface used on the SK/SP Series Fiberoptic switch. It also provides a simple interface when the advanced features of the SKB are not required.
  • Page 46: Reset Input Line

    If the test fails, the Error line goes high and stays high until a self-test operation is evoked again (assuming the self-test passes on the next attempt). The error most often indicates a mechan- ical fault. For more information, contact JDS Uniphase.
  • Page 47: Timing

    Operation and Control Instructions Timing When a channel address is strobed in from the data lines, the reset command is strobed in from the /Reset line. The Error line goes high if the reset function cannot verify the position of the switching mechanism (Figure 10).
  • Page 48: Operation And Control Using The Enhanced Parallel Interface

    Operation and Control Instructions Operation and Control using the Enhanced Parallel Interface Enhanced Parallel Interface The Enhanced Parallel interface is similar to the RS485 Serial interface, as all instructions received by the switch are command packets containing a command opcode, a length code, and parameters. Since the command packet structure is the same as for the RS485 Serial Note: Interface, the sections under RS485 that deal with Command Packet Format,...
  • Page 49: Enhanced Parallel Interface Line Descriptions

    Operation and Control Instructions 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.
  • Page 50: Protocol For The Enhanced Parallel Interface

    Operation and Control Instructions Protocol for the Enhanced Parallel Interface The read and write cycles follow a mechanism that tightly couples the control signals (SOP and STROBE lines on the master side and BUSY line on the slave side) to provide flow control. These cycles are defined as follows.
  • Page 51 Operation and Control Instructions 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...
  • Page 52 Operation and Control Instructions Master Slave Interface Idle Interface Idle BUSY Asserted? Assert Write Busy Assert Busy Assert SOP BUSY Asserted? Set packet byte to bus /STB Assert Strobe Read Packet Byte Busy Reset Busy BUSY Reset? Save Packet Byte Busy Assert Busy Reset Strobe...
  • Page 53 Operation and Control Instructions...
  • Page 54: Commands

    Commands The commands identified in the following sections apply to the Enhanced Parallel Interface and the RS485 Serial interface only. Common Commands SKB common commands refer to those operations and queries common to most switch modules and instruments. These commands represent the core functionality of the instrument module.
  • Page 55 Commands RESET Reset all switches to the default state. Description 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 SWITCH command, which can be used to send individual switches to the...
  • Page 56 Commands IDN? Query identification information Description Parameters Parameter Description Command packet OPCODE Length Parameters 0x01 0x00 Response packet OPCODE Length Parameters 0x81 0x22 U8 Serial_Num[15], U8 Model_Num[15], Core_Ver[2], App_Ver[2] 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.
  • Page 57 Commands STATUS? Query the status register value Description 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...
  • Page 58 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 com- mand counter exceeds 50,000. This bit can only be cleared at the JDS Uniphase factory.
  • Page 59 Commands LERROR? Read and clear last error message in the error queue Description 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...
  • Page 60 Commands Error Code Description 0 ( 0x00 ) No error--OK 1 ( 0x01 ) Invalid command opcode 2 ( 0x02 ) Command packet length mismatch 3 ( 0x03 ) Invalid packet length 4 ( 0x04 ) Invalid command packet parameter 5 ( 0x05 ) EEPROM write failure 6 ( 0x06 )
  • Page 61 Commands EQCLEAR Command packet Erase all entries in the error queue Description Parameters Parameter Description OPCODE Length Parameters 0x05 0x00...
  • Page 62 Commands TEMP? Query temperature information. All temperature information is referenced in degrees Description Kelvin. Parameters Parameter Description Command packet OPCODE Length Parameters 0x06 0x00 Response packet OPCODE Length Parameters 0x86 0x06 U16 Hi_temp, U16 Low_temp, U16 Temp Hi_temp (unsigned 16-bit)--Configured high temperature threshold (234 – 358 °K) Low_temp (unsigned 16-bit)--Configured low temperature threshold (233 –...
  • Page 63 Commands STIMER? Query the system timer. System time is defined from the last reset (includes power cycle Description and hard or soft reset) Parameters Parameter Description Command packet OPCODE Length Parameters 0x0B 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).
  • Page 64 Commands RESET_STIMER Reset the system timer to 0 Description Parameters Parameter Description Command packet OPCODE Length Parameters 0x0C 0x00...
  • Page 65 Commands SWITCH Modify switch state Description Switch, Input, Output Parameters Switch (unsigned eight-bit)--switch number Parameter Input (unsigned eight bit)--input channel Description Output (unsigned eight bit)--output channel Command packet OPCODE Length Parameters 0x20 0x03 U8 Switch, U8 Input, U8 Output Switch (unsigned eight-bit)--Logical switch number upon which to perform action (for example, 1 to 4) Input (unsigned eight-bit)--Input channel to connect (for example, 1 on a 1xN switch)
  • Page 66 Commands SWITCH? Query logical switch state Description Switch, Input Parameters Switch (unsigned eight-bit)--switch number Parameter Input (unsigned eight-bit)--input channel number Description Command packet OPCODE Length Parameters 0x21 0x02 U8 Switch, U8 Input Switch (unsigned eight-bit)--Logical switch number upon which to read infor- mation (for example, 1 to 4) Input (unsigned eight-bit)--Input channel to find connection of Response packet...
  • Page 67 Commands NUM_SWITCH? Query number of logical switches Description Parameters Parameter Description Command packet OPCODE Length Parameters 0x22 0x00 Response packet OPCODE Length Parameters 0xA2 0x01 U8 Switches Switches (unsigned eight-bit)--The number of logical switches in the module (for example, 1 to 4)
  • Page 68 Commands LEARN? Query command(s) required to return the switch to current state following reset. This Description query returns the information required to send the switch back to the state it was in prior to reset. Parameters Parameter Description Command packet OPCODE Length Parameters...
  • Page 69 Commands TST? Perform a self-test operation and return results Description Parameters Parameter Description Command packet OPCODE Length Parameters 0x25 0x00 Response packet OPCODE Length Parameters 0xA5 0x01 to U8 Sw1_Result, U8 Sw2_Result, U8 Sw3_Result, U8 Sw4_Result, 0x04 Sw1_Result (unsigned eight-bit)--Self-test result (0/1, where 0 = pass and 1 = fail) Sw2_Result (unsigned eight-bit)--Self-test result (0/1, where 0 = pass and 1 = fail) (if necessary)
  • Page 70 Commands SAVE Save the current state of all switches in the module for later recall at one of 10 locations Description Location Parameters Location (unsigned eight-bit)--Memory location to save state Parameter Description Command packet OPCODE Length Parameters 0x26 0x01 U8 Location Location (unsigned eight-bit)--Memory location of state data (0 to 9)
  • Page 71: Configuration Commands

    Commands RECALL Recall a module state previously saved Description Location Parameters Location (unsigned eight bit)--memory location Parameter Description Command packet OPCODE Length Parameters 0x27 0x01 U8 Location Location (unsigned eight-bit)--Memory location of state data (0 to 9) Configuration Commands SKB configuration commands are operations and queries that allow users to modify basic instrument settings.
  • Page 72 Commands CONFIG? Query the configuration of all logical switches Description Parameters Parameter Description Command packet OPCODE Length Parameters 0x23 0x00 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 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...
  • Page 73 Commands HITEMP Set the upper temperature threshold Description Temp Parameters Temp (unsigned 16-bit)--The °K high temperature threshold that, if exceeded, causes Parameter the OT alarm register bit to be set Description Command packet OPCODE Length Parameters 0x07 0x02 U16 Hi_temp Hi_temp (unsigned 16-bit)--High temperature threshold (234 to 353 °K) All temperature information is referenced in degrees Kelvin.
  • Page 74 Commands LOWTEMP Set the lower temperature threshold Description Temp Parameters Temp (unsigned eight-bit)--The °K low temperature threshold that, if exceeded, causes Parameter the UT alarm register bit to be set Description Command packet OPCODE Length Parameters 0x08 0x02 U16 Low_temp Low_temp (unsigned 16-bit)--Low temperature threshold (233 to 352 °K) See note from the previous HITEMP section.
  • Page 75 Commands SPARES? Query the current number of spare fibers available on the logical switch specified Description Switch Parameters Switch (unsigned eight-bit)--logical switch Parameter Description Command packet OPCODE Length Parameters 0x30 0x01 U8 Switch Switch (unsigned eight-bit)--Logical switch number (1 to 4) Response packet OPCODE Length...
  • Page 76 Commands REPLACE Replace output channel with factory spare Description Switch, Output, Spare Parameters Switch (unsigned eight-bit)--switch number Parameter Output (unsigned eight-bit)--channel number to be replaced Description Spare (unsigned eight-bit)--factory spare number 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 replace-...
  • Page 77 Commands SWAP_CHANNEL Swap channel designations between two optical fibers. This command can be used to Description reorder channels that have been swapped Switch, Output1, Output2 Parameters Switch (unsigned eight-bit)--switch number Parameter Output1 (unsigned eight-bit)--first output channel Description Output2 (unsigned eight-bit)--second output channel Command packet OPCODE Length...
  • Page 78 Commands LATCHING? Query latching status of the switch Description Switch Parameters Switch (unsigned eight-bit)--switch number Parameter Description Command packet OPCODE Length Parameters 0x35 0x01 U8 Switch Switch (unsigned eight-bit)--Logical switch number (1 to 4) Response packet OPCODE Length Parameters 0xB5 0x01 U8 Latching_Status Latching_Status (unsigned eight-bit)--The status of the switch...
  • Page 79 Commands RESET_CHANNEL? Query output channel associated with the reset position for the selected switch Description Switch Parameters Switch (unsigned eight-bit)--switch number Parameter Description Command packet OPCODE Length Parameters 0x36 0x01 U8 Switch Switch (unsigned eight-bit)--Logical switch number (1 to 4) Response packet OPCODE Length...
  • Page 80 Commands RESET_CHANNEL Define the reset output channel Description Reset_Channel, Switch Parameters Reset_Channel (unsigned eight-bit)--Output channel number to be associated with the Parameter reset channel Description Switch (unsigned eight-bit)-- switch number Command packet OPCODE Length Parameters 0x37 0x02 U8 Switch, U8 Reset_Channel Switch (unsigned eight-bit)--Logical switch number (1-4) Reset_Channel (unsigned eight-bit)--The output channel to be associated with the reset position (0 to 200)
  • Page 81 Commands RECALL_FAC_SETTING Recall the original factory setting of the switch Description Switch Parameters Switch (unsigned eight-bit)--switch number Parameter Description Command packet OPCODE Length Parameters 0x38 0x01 U8 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.
  • Page 82 Commands SPEED? Query the speed of the switch Description Switch Parameters Switch (unsigned eight-bit)--switch number Parameter Description Command packet OPCODE Length Parameters 0x39 0x01 U8 Switch Switch (unsigned eight-bit)--Logical switch number (1 to 4) Response packet OPCODE Length Parameters 0xB9 0x01 U8 Speed Speed (unsigned eight-bit)--The speed setting of the switch (1 to 5)
  • Page 83 Commands MODIFY_SPEED Modify the speed setting of the specified switch Description Switch, Speed Parameters Switch (unsigned eight-bit)--switch number Parameter Speed (unsigned eight-bit)--speed setting for specified switch Description Command packet OPCODE Length Parameters 0x3A 0x02 U8 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) The speed setting of the switch (1-5), where 1 is the slowest speed and 5 the fastest.
  • Page 84 Commands CONNECTION_TIME? Query the time to connect two channels, in ms. Description This test breaks the current connection. The SKB switch allows the user to confirm the specified time to switch between chan- nels. The CONNECTION_TIME? query physically checks the time by switching between the start and destination channel and outputs the results from the internal clock.
  • Page 85 Commands SET_DEVICE_ADDRESS Modify the RS485 network address of the switch Description Address Parameters Address (unsigned eight-bit)--network address Parameter Description Command packet OPCODE Length Parameters 0x3D 0x01 U8 Address Address (unsigned eight-bit)--Network address (1 to 31) NOTE: The module is factory configured with address unless specified other- wise.
  • Page 86 Commands DEVICE_ADDRESS? Query the RS485 network address of the device Description Parameters Parameter Description Command packet OPCODE Length Parameters 0x3E 0x00 Response packet OPCODE Length Parameters 0xBE 0x01 U8 Address Address (unsigned eight-bit)--Network address (1 to 31)
  • Page 87 Commands SET_TRIGGER_CMD Set the trigger command to be executed when the trigger line is asserted Description Opcode, Length, Param1, Param2, Param3 Parameters Opcode (unsigned eight-bit)--opcode of command to be executed Parameter Length --the length of the data portion 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) Note that the default opcode is for reset (0x00...
  • Page 88 Commands TRIGGER_CMD? Query the trigger command Description Parameters Parameter Description Command packet OPCODE Length Parameters 0x40 0x00 Response packet OPCODE Length Parameters 0xC0 0x02 to U8 Opcode, U8 Length, U8 Param1--U8 Param8 0x0A Opcode (unsigned eight-bit)-- Opcode of the command selected to be exe- cuted as part of the trigger command (0x20 to 0x27) Length (unsigned eight bit)--The length of the data portion of the command packet.
  • Page 89 Commands DEVICE_BAUD Modify the baud rate of the device Description Baud_Rate Parameters Baud_Rate - Baud rate code Parameter Description Command packet OPCODE Length Parameters 0x41 0x01 U8 Baud_Rate Baud_Rate (unsigned eight-bit)--Baud rate setting (0 - 4) defined as follows: 0 - 2400 baud 1 - 4800 baud...
  • Page 90 Commands DEVICE_BAUD? Query the baud rate of the device Description Parameters Parameter Description Command Packet OPCODE Length Parameters 0x42 0x00 Response Packet OPCODE Length Parameters 0xC2 0x01 U8 Baud_Rate Baud_Rate (unsigned eight-bit)--Baud rate setting (0 - 4) defined as follows: 0 - 2400 baud 1 - 4800 baud...
  • Page 91 Commands...
  • Page 92: Application Notes

    Application Notes Application Notes APPLICATION NOTE: Using the ATTENTION Output Line The intent of this application note is to describe a typical application of the ATTENTION output line of the SKB interface. The ATTNENTION (ATTN) line is intended to be used as a mechanism to easily add new devices to an RS-485 network of SKB switches.
  • Page 93: Application Note: Enhanced Parallel Communication Examples

    Application Notes mand is executed on the high-to-low transition of the line. Therefore holding the line in a continu- ously asserted state will not cause repeated triggers. The trigger command can be any valid SKB command, and is factory configured as RESET (opcode 0x00).
  • Page 94: Skb Enhanced Mode 5-Byte Write (Master To Slave) - High-Speed

    Application Notes Figure 13 (high-speed master ~200 µs /STROBE pulse width) and Figure 14 (low-speed master -- ~18ms /STROBE pulse width) are oscilloscope trace captures showing typical line toggling for a master write cycle. These figures show the relationship between R/W, /SOP, and /STROBE input lines and the BUSY output line during a five-byte command packet write to the SKB.
  • Page 95: Read Cycle

    Application Notes 6. The STROBE line is de-asserted (high), the SKB switch then asserts (high) BUSY to complete the byte transfer. All subsequent bytes are strobed-in to the SKB switch in the same way. 7. After BUSY transitions high following the final byte, the /SOP line is de-asserted (high) to indicate end-of-packet.
  • Page 96: Three-Byte Response Packet Read From Skb - High Speed

    Application Notes lines and the BUSY output line during a three-byte response packet read from the SKB. Note that in each scenario illustrated, the line toggling is identical and independent of the /STROBE pulse time. Figure 15: Three-byte response packet read from SKB – high speed The following actions correspond to numbered events in Figure 15 and Figure 16: 1.
  • Page 97: Application Note: Rs-485 Packet Examples

    Application Notes 9. The /SOP line is de-asserted (high) to indicate end of packet. Figure 16: Three-byte response packet read from SKB – low speed APPLICATION NOTE: RS-485 Packet Examples The intent of this application note is to provide detailed information regarding RS-485 link layer pack- ets and generating a CRC-16.
  • Page 98: Rs485 Packet Example

    Application Notes The purpose of link-layer packets is to provide a mechanism for getting command packets into a par- ticular SKB device. Standard command packets are placed in the data payload section of the link- layer packet. Graphically, the RS-485 link packet is as follows: The START-OF-HEADER byte, always defined as 0x81.
  • Page 99: Application Note: Crc Examples

    Application Notes SWITCH 1 1 2 Translated into a command packet, the above command is represented as: OPCODE LENGTH SWITCH INPUT OUTPUT 0x20 0x03 0x01 0x01 0x02 To transmit via RS-485 to device address 1, the following RS-485 link-layer packet is created. Note above command packet bytes in payload portion.
  • Page 100: C-Code Generation Of Crc Example

    Application Notes C-Code Generation of CRC Example /***************************************************************************\ (c) JDS Uniphase Corporation 2001 Nepean, Ontario, Canada ***************************************************************************** FILE NAME: * DESCRIPTION: Win32 console app NOTES: HISTORY: Date Name Revision ---- ---- -------- May 2001 Created for SKB testing. \***************************************************************************/ #include <process.h>...
  • Page 101 Application Notes crc = crc << 1 ^ 0x1021; else crc = crc << 1; /* zero high-order 16 bits and return low-order 16-bit of the CRC */ return (crc & 0xFFFF); /**************************************************************************** FUNCTION : main * DESCRIPTION : Calculate CRC-16 value for RS-485 PACKET AND CRC EXAMPLE application note link-layer packet example.
  • Page 102: Application Note: Implementation Of The Skb In An Existing Sk/Sp Application (Using The Simplex Parallel Interface)

    Application Notes APPLICATION NOTE: Implementation of the SKB in an existing SK/SP Application (using the Simplex Parallel Interface) The intent of this application note is to describe the physical interface translation to allow an SKB switch to be backward-compatible with an SK controller. In this mode, the SKB switch is functionally compatible to an SK switch.
  • Page 103: Sk/Sp To Skb Pinout Comparison And Harness Wiring

    Application Notes SK/SP to SKB Pinout comparison and Harness Wiring Table 12: SKB II to SK Adapter Harness Wiring SKB II PIN SK PIN SIGNAL DESCRIPTION Ground Ground BUSY Busy output: low=idle, high= switching Data line 0 ERROR Reset error output low = normal, high = switch mecha- nism position check failed (channel position is verified when SK switch is reset) Data line 1...
  • Page 104 If powering SKB via the signal connector the cable length may not exceed 8 Note: inches. An adapter cable assembly is available from JDS Uniphase under part number ED0-A-00, as shown in Figure 18. Figure 18: SKB to SK/SP Adapter Cable Assembly Drawing...
  • Page 105: Application Note: Controlling An Skb Switch Using A Pc Printer Port

    The intent of this application note is to define the physical interface required to control an SKB switch via a standard PC enhanced parallel port (EPP). Note that a graphical interface is available from JDS Uniphase Corp. for the purpose of evaluation of the SKB product.
  • Page 106: Application Note: Custom Skb With D Subminiature Style Connectors

    Application Notes 1. Construct a cable wired as outlined inTable 13. Table 13: Cable Wiring for Printer Port LPT2 Use Register Printer Signal SKB Signal (Hex PC Connector Pin SKB Pin Name Name Address) Number Line Feed /STROBE (37A) 1 Data 0 (378) 0 Data 1...
  • Page 107: Connector Description

    Application Notes Connector Description Figure 19 shows the connector locations for the SKB switch. There are two connectors on the switch. The first connector is a 25-pin D-subminiature connector used by the parallel interface. The second connector is a 9-pin D-subminiature connector, which provides for the power connection and the RS485 Serial interface.
  • Page 108: The Power And Serial Interface Connector

    Application Notes Figure 21: Mounting Hole Location The Power and Serial Interface Connector The 9-pin D-subminiature connector is used for power and serial RS485 interface. The signals for power and communication are connected via the D-subminiature 9-pin serial connec- tor (Figure 23 and Table 14). Figure 22: Pin Assignment...
  • Page 109: The Parallel Interface

    Application Notes Table 14: Pin Assignment Signal Description Functionality Pin 1 RXTX+ Transmit/receive data positive TXA. Differential input/output signal from the side (B) RS485 host. Pin 2 Shield Signal shield This line is connected to chassis ground at the host end and is isolated at the slave. The two data lines are run as a twisted pair.
  • Page 110 Application Notes Table 15: Pin Assignment Signal Description Shield Data line 1 Data line 2 Shield Data line 5 Data line 6 Shield BUSY Busy output: low = idle high = operation in progress (switching) ERROR Error output: low = normal high = error in error queue Shield /SOP...
  • Page 111 Application Notes...
  • Page 112: Service

    The unit or any of its components are damaged or defective. • 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 a Unit Repairs must be done by qualified personnel.
  • Page 113 Service...

Table of Contents