User Manual

MiniStation All-in-One Petit Board User’s Manual
Hardware Description
27
The RS-422/485 pin assignments for CN11 (COM4) are listed on the following table.
Signal Name
Pin #
RS-232 R2-422 RS-485
15
DCD TX- DATA-
49
DSR No connector No connector
16
RX TX+ DATA+
50
RTS No connector No connector
17
TX RX+ No connector
51
CTS No connector No connector
18
DTR RX- No connector
52
RI No connector No connector
19
GND GND GND
53
No connector No connector No connector
4.12 Digital I/Os
The MiniStation is equipped with a 4-channel digital I/O general purpose connector (CN7) that meets a
system’s customary automation control needs. The digital I/O can be configured to control the cash drawer,
or to sense the warning signal of an Uninterrupted Power System (UPS), or to perform the store security
control. The digital I/O is controlled via software programming.
4.12.1 Digital I/O Software Programming
The Digital I/O on the MiniStation is not an isolated type.
Output Address Bit
Out-0 123 0
Out-1 123 1
Out-2 123 2
Out-3 123 3
Example program;
Out 123h, 03h Out-0, Out-1 Turn On
Out-2, Out-3 Turn Off
Out 123h, 0Ah Out-0, Out-2 Turn Off
Out-1, Out-3 Turn On
Example program;
If INPUT 123 is
(1011), then INPUT-2 is “0”
If INPUT 123 is (1100), then INPUT-0 & 1 are “0”
** The INPUT signal has to be TTL signal
4.13 Real Time Clock and CMOS RAM
The MiniStation contains a MC146818 compatible Real Time Clock (RTC) and 128 bytes of CMOS RAM in
the Dallas DS12887A, or its equivalent. The CMOS RAM stores the system configuration information
entered via the SETUP program. A battery, with power lasting 10 years, keeps the stored information on
the RTC and CMOS RAM active when system power is turned off.
4.13 Keyboard and PS/2 Mouse Connector
The MiniStation provides a keyboard and PS/2 mouse interface via a general purpose connector (CN11).