175
Programmable Hardware Manual (PHM)
© Tibbo Technology Inc.
6
Relay 1, normally opened line
5
Relay 1, normally closed line
4
Relay 1, common line
3
Serial port: RX (RS232); TX/RX+ (RS485)
2
Serial port: TX (RS232); TX/RX- (RS485)
1
SYSTEM (COMMON) GROUND
Relay control
Two lines of the
network board) control the relays.
On power up, all EM1000 lines are configured as inputs and pulled up internally,
keeping relays off. To turn the relay on, set the corresponding control line LOW.
Naturally, you need to configure these GPIO lines as outputs in order to be able to
control the relays.
Line
Function
Corresponding
EM1000 I/O
IC1000 cable
line
RELAY1
(output)
Relay 1 control:
HIGH (or input*) - relay
off
LOW - relay on
GPIO36
22
RELAY2
(output)
Relay 2 control:
HIGH (or input*) - relay
off
LOW - relay on
GPIO37
20
*GPIO line configured as input (default state)
RS232/485 Port
There is a simple serial port that supports both RS232 and RS485 modes. The port
operates through two signal terminals. In the RS232 mode, these are RX and TX, in
the RS485 mode -- RX/TX+ and RX/TX-. There is no provision for flow control (RTS
and CTS lines are not present), or RS422 interface.
The serial port can be used, for instance, to connect to another IB100x board. In
the RS232 mode, the serial port can also be used to update the firmware of the
Port lines
Serial port lines are on terminal block #4:
Terminal #
Function
9
Relay 2, normally opened line
8
Relay 2, normally closed line
7
Relay 2, common line
6
Relay 1, normally opened line
5
Relay 1, normally closed line
4
Relay 1, common line