USB-SSR Series

The USB-SSR Series includes the following hardware:

The USB-SSR Series supports the following features.

Digital I/O

Click here to display a table of the port numbers and corresponding bit numbers that are set by the digital I/O functions for hardware designed with the 82C55 chip or 82C55 emulation.

cbDConfigPort() port reference cbDIn(), cbDOut() port reference Values cbDBitIn(), cbDBitOut() port reference Bit Number
FIRSTPORTAFIRSTPORTA0-255FIRSTPORTA0 to 7
FIRSTPORTBFIRSTPORTB0-255FIRSTPORTA8 to 15
FIRSTPORTCLFIRSTPORTCL0-15FIRSTPORTA16 to 19
FIRSTPORTCHFIRSTPORTCH0-15FIRSTPORTA20 to 23

Port I/O

Functions

UL: cbDIn(), cbDOut()

UL for .NET: DIn(), DOut()

Python for Windows: d_in(), d_out()

PortNum

USB-SSR08: FIRSTPORTCL, FIRSTPORTCH

USB-SSR24: FIRSTPORTA, FIRSTPORTB, FIRSTPORTCL, FIRSTPORTCH

DataValue

USB-SSR08: 0 to 15 for FIRSTPORTCL or FIRSTPORTCH

USB-SSR24: 0 to 255 for FIRSTPORTA or FIRSTPORTB, 0 to 15 for FIRSTPORTCL or FIRSTPORTCH

Bit I/O

Functions

UL: cbDBitIn(), cbDBitOut()

UL for .NET: DBitIn(), DBitOut()

Python for Windows: d_bit_in(), d_bit_out()

PortType

FIRSTPORTA

BitNum

USB-SSR08: 16 to 23 on FIRSTPORTA

USB-SSR24: 0 to 23 on FIRSTPORTA

Miscellaneous

Functions

UL: cbFlashLED()

UL for .NET: FlashLED()

Python for Windows: flash_led()

Causes the USB LED on a USB device to blink.

When you have several modules connected to the computer, use these functions to identify a particular module by making its LED blink.

Hardware considerations

Do not change the state of switches while a program is running

The USB-SSR Series devices have three onboard switches (labeled S1, S2, and S3) that are used to control the I/O direction, logic polarity, and pull-up/down state of output relays.

Do not change the state of any switches on a USB-SSR Series device while a program is running. The Universal Library stores the current state of each switch, and changing a switch setting while a program is running can cause unpredictable results.

Controlling relays on the USB-SSR08

USB-SSR Series hardware is bidirectional, so you first need to set the I/O direction of each relay module group using the onboard switch S1.

The USB-SSR08 has two 4-bit ports (FIRSTPORTCL or FIRSTPORTCH). Each port controls four relays.

The relays are controlled in this way to allow code migration without changes when switching from the older SSR-RACK08 board to the USB-SSR08.