
5
Descriptions of the terminal block
Out1,Out2,Out3,Out4:
These are the four open-collector type outputs and can each handle a current of max. 100mA.
These transistors are grouped in a transistor array chip, IC2. In case of damage of one of the four inputs or
outputs, this IC type ULN2803A can be replaced easily and without soldering.
I/O of the PIC16F630: PORT C
OUTPUT1
I/O
5
OUTPUT2
I/O
4
OUTPUT3
I/O
3
OUTPUT4
I/O
2
Programming example:
BSF
PORTC,OUTPUT1
;activate output 1
BCF PORTC,OUTPUT2
;deactivate
output
2
N.O. - COM - N.C.
Output 5 is voltage-free relay contact with double operation. COM is the common contact, NO is the normally
open contact, NC is the normally closed contact
Programming example
:
BSF
PORTC,RELAY
;activate the relay.
BCF PORTC,RELAY ;deactivate the relay