The V4RLYOPTO has 4 relays with SPDT contacts capable of switching 3 Amps at 120 Volts AC, and 4 optically isolated inputs configured to detect contact closures.
1. Install ADDR jumpers to pins 1-2, 3-4, 5-6, 7-8 9-10 and 11-12 (as shipped). This puts the board at VAST address 0, with: The inputs at bit numbers 0 through 3. The relays at bit numbers 4 through 7.
2. Connect the VAST cable to the SBC2000.
3. Execute the following code:
SUBROUTINE delay(arg AS INTEGER) LOCAL index AS INTEGER FOR index = 0 TO arg REM NEXT index END GLOBAL channel AS INTEGER CONSTANT crlf AS STRING = "\013\010" VDIO_CONFIG(0, 1) REM cycle all 4 relays DO FOR channel = 4 TO 7 VSET(channel) delay(300) VRESET(channel) delay(300) NEXT channel LOOP UNTIL 0
See the Vesta Multi-Tasking Basic manual for information on how these commands are used. See "V4RLYOPTO Address Jumpers", below for information on which port numbers correspond to which outputs.
J1 PIN # | J1 PIN # | ||||
Relay | COM | N.O. | OPTO | GND | Input |
0 | 8 | 7 | 0 | 16 | 15 |
1 | 6 | 5 | 1 | 14 | 13 |
2 | 4 | 3 | 2 | 12 | 11 |
3 | 2 | 1 | 3 | 10 | 9 |
N.O.= Normally Open
With all relays and opto inputs energized, the V4RLYOPTO requires approximately 1 Ampere of current at 5 VDC.
The +R jumper must be removed if an external power supply is used.
Power may be supplied over the VAST cable. Typical cable loss is 150 mV per foot of VAST cable when the V4RLYOPTO is fully energized.
Power may be applied directly to the V4RLYOPTO at the PWR connector. If a separate power supply is used for the V4RLYOPTO or if the coil voltage of the V4RLYOPTO is not 5 VDC, the jumper "+R" must be removed.
Dimensions are in inches.