Digital lines chapter 6, Commands – Remote Processing RPC-2300 User Manual
Page 22
DIGITAL LINES
CHAPTER 6
Page 20
RPC-2300
Connector pin out - J3
Pin #
82C55
Description
Opto
Channel
19
Port A, line 0
High current
8
21
Port A, line 1
High current
9
23
Port A, line 2
High current
10
25
Port A, line 3
High current
11
24
Port A, line 4
High current
12
22
Port A, line 5
High current
13
20
Port A, line 6
High current
14
18
Port A, line 7
High current
15
10
Port B, line 0
16
8
Port B, line 1
17
4
Port B, line 2
18
6
Port B, line 3
19
1
Port B, line 4
20
3
Port B, line 5
21
5
Port B, line 6
22
7
Port B, line 7
23
13
Port C, line 0
Shared w/J5 Keypad
0
16
Port C, line 1
Shared w/J5 Keypad
1
15
Port C, line 2
Shared w/J5 Keypad
2
17
Port C, line 3
Shared w/J5 Keypad
3
14
Port C, line 4
Shared w/J5 Keypad
4
11
Port C, line 5
Shared w/J5 keypad
5
12
Port C, line 6
Shared w/J5 keypad
6
9
Port C, line 7
Shared w/J5 keypad
7
26
Ground
2
+ 5V
COMMANDS
The following tables shows the CAMBASIC II
commands used for digital I/O.
Comm and
Function
BIT
F u n ct io n re tu r ns st at us of bi t a t a n I/ O
address
BIT
Comm and sets a bit at an I/O add ress
CON FIG PIO
Configures J3 I/O port
I N P
Returns a byte fr om an I/ O address
L I N E
Returns status of an opto line
OPTO
Sets an opto module output
O U T
Writes a byte to an I/ O address
PUL SE
Reads or writes a pulse at a por t.
See also ON BIT, ON C OUNT , ON INP, and related
statements.