Basic Example - Keithley ERB-24 User Manual

Table of Contents

Advertisement

BASIC Example

5-2
The following simple BASIC program activates relays on the ERB-24
used with a PIO-12 board:
10 OUT &H313, &H80 'Sets all PIO-12 ports to outputs
20 OUT &H310, 1
30 OUT &H311, 16
40 OUT &H312, 3
'Activates relay 0 (Port A, Bit 0)
'Activates relay 20 (Port B, Bit 4)
'Activates relays 8 and 9
'(Port C, Bits 0 and 1)
Programming

Advertisement

Table of Contents
loading

Table of Contents