Dear Customers,

The PolySync Support Center is now just for submitting tickets to our support team. All articles and tutorials have been moved to the new PolySync Help Center and the content below will be removed shortly.

Thank you,
The PolySync Team

SainSmart 16 Channel Controller

General

Interface File
  • libps_sainsmart_usb_interface.so
Supported Since
  • V2.0.0-pr.2
Driver Notes
  • Only one sensor is supported per ECU/machine
  • Overrides can be set to turn all relays on, or set to turn all relays off
    • When either override is enabled the SDF values for channel off/on are ignored
  • No input or output PolySync message types, the interface communicates directly with the device to toggle relays on and off
  • To replay logged sessions, the sainsmart node must first be disabled in the SDF Configurator.

 

PolySync Configuration

No configuration is required, the device is plug-and-play.

Additional Parameters

ID Value Type Descriptoinl Values Notes
4400 1 USB vendor ID
  • 1046
Read-only, value cannot be changed
4401 1 Toggle channel 1 on/off
  • Relay off: value 0
  • Relay on: value 1
 
4402 1 Toggle channel 2 on/off
  • Relay off: value 0
  • Relay on: value 1
 
4403 1 Toggle channel 3 on/off
  • Relay off: value 0
  • Relay on: value 1
 
4404 1 Toggle channel 4 on/off
  • Relay off: value 0
  • Relay on: value 1
 
4405 1 Toggle channel 5 on/off
  • Relay off: value 0
  • Relay on: value 1
 
4406 1 Toggle channel 6 on/off
  • Relay off: value 0
  • Relay on: value 1
 
4407 1 Toggle channel 7 on/off
  • Relay off: value 0
  • Relay on: value 1
 
4408 1 Toggle channel 8 on/off
  • Relay off: value 0
  • Relay on: value 1
 
4409 1 Toggle channel 9 on/off
  • Relay off: value 0
  • Relay on: value 1
 

4410

1 Toggle channel 10 on/off
  • Relay off: value 0
  • Relay on: value 1
 

4411

1 Toggle channel 11 on/off
  • Relay off: value 0
  • Relay on: value 1
 

4412

1 Toggle channel 12 on/off 
  • Relay off: value 0
  • Relay on: value 1
 

4413

1 Toggle channel 13 on/off
  • Relay off: value 0
  • Relay on: value 1
 

4414

1 Toggle channel 14 on/off
  • Relay off: value 0
  • Relay on: value 1
 

4415

1 Toggle channel 15 on/off
  • Relay off: value 0
  • Relay on: value 1
 

4416

1 Toggle channel 16 on/off
  • Relay off: value 0
  • Relay on: value 1
 

4417

4  Name of Channel 1
  •  Text string description of the hardware connected to this channel
 

4418

4  Name of Channel 2
  •   Text string description of the hardware connected to this channel
 

4419

4  Name of Channel 3
  •   Text string description of the hardware connected to this channel
 

4420

4  Name of Channel 4
  •   Text string description of the hardware connected to this channel
 

4421

4  Name of Channel 5
  •   Text string description of the hardware connected to this channel
 

4422

4  Name of Channel 6
  •   Text string description of the hardware connected to this channel
 

4423

4  Name of Channel 7
  •   Text string description of the hardware connected to this channel
 

4424

4  Name of Channel 8
  •   Text string description of the hardware connected to this channel
 

4425

4  Name of Channel 9
  •   Text string description of the hardware connected to this channel
 

4426

4  Name of Channel 10
  •   Text string description of the hardware connected to this channel
 

4427

4  Name of Channel 11
  •   Text string description of the hardware connected to this channel
 

4428

4  Name of Channel 12
  •   Text string description of the hardware connected to this channel
 

4429

4  Name of Channel 13
  •   Text string description of the hardware connected to this channel
 

4430

4  Name of Channel 14
  •   Text string description of the hardware connected to this channel
 

4431

4  Name of Channel 15
  •   Text string description of the hardware connected to this channel
 

4432

4  Name of Channel 16
  •   Text string description of the hardware connected to this channel
 

4433

1 USB product ID
  • 20512
Read-only, value cannot be changed

4434

1 Toggle Override
  • Override off: value 0
  • All relays on: value 1
  • All relays off: value 2
Values stored in the SDF for Channel 1-16 will be ignored when override is active (values 1:2)

4435

1 All channels off when driver exits.  
  • Disable parameter: value 0
  • Enable parameter: value 1

When enabled, the driver will close all relays before exiting. 

Default behaviour (disabled) will retain the current state of the relays, and exit.

 

Test Interface

The test interface will enable each channel and it's LED in sequence then disable each channel in sequence. You can also hear two sets of audible clicks.

$ dynamic-driver -n 1 -o -t 

 Note the command above assumes that you have already defined the SainSmart 16-Channel USB driver interface with the PolySync SDF Configurator, and it has key '1'.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.