Dataprobe MAC-32-OD Programming manual

11 Park Place / Paramus, New Jersey 07652
TEL: 201-967-9300 FAX: 201-967-9090
Technical Support Hotline: (201) 967-8788
GENERAL DESCRIPTION
The MAC-32-OD is a thirty-two output control unit that offers a wide choice of communication options.
Listed below are the major features of this versatile unit.
Outputs
The MAC-32-OD has 32 form ‘C’ relays that can be controlled by a remote terminal. Connection to
these relays is made via two 50 pin telco connectors on the rear of the unit. The status of each of the
32 relays is displayed by 32 LED’s (two banks of sixteen).
Communications
The MAC-32-OD offers both RS-232 and RS-485 communications facilities. An internal modem and
software options are available.
ALARMOUTPUTS17-32 ALARMOUTPUTS1-16
COM1
RS-232RS-485LINE
REARPANEL
FRONTPANEL
TEST
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
INC.
MAC-32-O
POWER
IN
ACT
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Master
Relay
N.O C N.C.
RS-485
REF: ALM\MAC32-OD_V980406S.DOC
Installation and Operation
Model MAC-32-OD
Ver 1.0

Model MAC-32-OD Page 2
CONFIGURATION
Setting The Mac Address
The MAC-32-OD requires an Address to be set for each MAC device in the communication system, prior
to use. The address of the MAC-32-OD MUST be set to allow proper communications between the
devices. This address is set using DIP Switch S3. Up to 255 address combinations can be selected,
using eight DIP switch positions. Addresses are set in a Binary Format as follows:
DIP
Position Binary Open = 0
1 1 Closed = 1
2 2
3 4
4 8 Example: 1 2 3 4 5 6 7 8
5 16 0 1 0 1 0 0 0 0 = Address 10
6 32
7 64
8 128
Note
Address 0 is reserved for Master Devices and should not be used.
COMMUNICATIONS PORTS RS-232 AND RS-485
These ports are provided for use with all MAC-32-OD functions. As an example, a MAC-32-OD can be
connected to other MAC devices using the RS-232 or RS-485 ports.
COMMUNICATION CAPABILITIES
The MAC-32-OD offers one active communication port that can be jumper set for RS-232 or RS-485
operation.
Com 1 is the primary communications port that can be configured for RS-232 or RS-485. In RS-485
mode, the MAC can communicate up to 5000ft. over a pair of wire lines.
Use Jumper JP5 located on the left side of the PCB to select the desired mode. See the table below for
proper jumper settings.
For external modem communications install the jumpers at the positions shown for the RS-232 mode.
This is the factory setting.
Com-1 Jumper JP5 Configuration * factory setting
MODE INSTALL JUMPERS IN ONLY THE POSITIONS INDICATED
* RS-232 A, G, I, J Modem Setting
RS-485 B, D, E, G
RS-232 to RS-485 A, C, F, H

Model MAC-32-OD Page 3
RELAY OUTPUT RATING
The relays used in the MAC-32-OD are rated 1 Amp @ 24 Vdc or 0.5 Amp @ 125 Vac.
Note
When switching inductive or lamp loads, appropriate contact suppression is needed. If you have any
questions, please consult with Dataprobe.
INSTALLATION
Basic installation of the MAC-32-OD consists of connection to the controlled output relays and the
communications channel.
Output Relay Connectors
Two 50 pin Telco connectors are provided for connection to the Output Relays. The pin-outs of these
two connectors are the same, the first, for circuits 1-16 and the second, for 17-32.
Pin No. Signal Name Pin No. Signal Name
1Channel 1 (17) N.O. 26 Channel 1 (17) COMMON
2Channel 1 (17) N.C. 27 Channel 2 (18) N.O.
3Channel 2 (18) COMMON 28 Channel 2 (18) N.C.
4Channel 3 (19) N.O. 29 Channel 3 (19) COMMON
5Channel 3 (19) N.C. 30 Channel 4 (20) N.O.
6Channel 4 (20) COMMON 31 Channel 4 (20) N.C.
7Channel 5 (21) N.O. 32 Channel 5 (21) COMMON
8Channel 5 (21) N.C. 33 Channel 6 (22) N.O.
9Channel 6 (22) COMMON 34 Channel 6 (22) N.C.
10 Channel 7 (23) N.O. 35 Channel 7 (23) COMMON
11 Channel 7 (23) N.C. 36 Channel 8 (24) N.O.
12 Channel 8 (24) COMMON 37 Channel 8 (24) N.C.
13 Channel 9 (25) N.O. 38 Channel 9 (25) COMMON
14 Channel 9 (25) N.C. 39 Channel 10 (26) N.O.
15 Channel 10 (26) COMMON 40 Channel 10 (26) N.C.
16 Channel 11 (27) N.O. 41 Channel 11 (27) COMMON
17 Channel 11 (27) N.C. 42 Channel 12 (28) N.O.
18 Channel 12 (28) COMMON 43 Channel 12 (28) N.C.
19 Channel 13 (29) N.O. 44 Channel 13 (29) COMMON
20 Channel 13 (29) N.C. 45 Channel 14 (30) N.O.
21 Channel 14 (30) COMMON 46 Channel 14 (30) N.C.
22 Channel 15 (31) N.O. 47 Channel 15 (31) COMMON
23 Channel 15 (31) N.C. 48 Channel 16 (32) N.O.
24 Channel 16 (32) COMMON 49 Channel 16 (32) N.C.
25 50
Spare Relay
The spare relay (fail safe) provides a means of connecting an external audible or visual alarm device.
When a relay output is activated, it will cause the spare relay to energize. The spare relay will remain

Model MAC-32-OD Page 4
energized unless one of two events occur; all relay outputs are in relaxed state or the test push-button
has been depressed.
OPTIONS
Modem
Set Enable for modem use, or Disable for direct P.C. connection.
Echo/Control
Set Echo to control MAC-32-OD from P.C., or control for a Dataprobe’s product controlling the
MAC-32-OD.
Fail Safe
Set Enable to have relay outputs normally in the energized state, or Disable to have relay outputs
normally in the relaxed state.
Dip Switch Settings
Options & Baud Rate Dip Switch (S4)
Position Description Open Closed
2Modem Disabled Enable
3Echo/Control Control Echo
4Fail Safe Enable Disable
5Reserved MUST BE OPEN
6Baud Rate Setting See Chart Below See Chart Below
7Baud Rate Setting See Chart Below See Chart Below
8Baud Rate Setting See Chart Below See Chart Below
Baud Rate Settings (S4)
Baud Rate Position 8 Position 7 Position 6
9600 Open Open Open
4800 Open Open Closed
2400 Open Closed Open
1200 Open Closed Closed
600 Closed Open Open
300 Closed Open Closed
Items shown in Bold Italic are the factory default settings.
TEST PUSH BUTTON
The test push button is located on the front panel. The test push button has the following three
functions:
1. Mute: Pressing the button less than 2 seconds causes the spare relay to de-energize.
2. LEDs/Output Test: Pressing the button more than 2 seconds causes all the relay outputs to
energize and LEDs to light.
3. Communication test: Double clicking the button will cause the communication link to be tested. If
test pass, all the LEDs of the MAC-32-OD will flash three times. If test fails, only LED 1 flashes
three times.

Model MAC-32-OD Page 5
MODEM COMMUNICATIONS WITH THE MAC-32-OD
The MAC-32-OD devices can communicate using an external modem or an optional V.22 bis internal
modem that plugs directly into the MAC-32-OD.
The modem of the MAC-32-OD can be called to control the relay outputs.
When an external modem is used, the RS-232 output from the modem must be connected to the
COM-1 port of the MAC-32-OD marked '232'. A converter cable and an RJ-45 to DB-25 adapter, model
MA-K is included.
When the internal modem is used, the phone line is connected to the LINE (RJ-11) jack. To insure
proper operation of the internal modem the calling modem MUST be set in the normal direct mode, and
non nmp or data compression mode. See your modem manual. To avoid problems, it is best to use a
standard V.21 or V.22 bis modem when calling the internal modem.
Described below is the method used to store the outgoing phone number in the MAC-32-OD.
Programming By Calling the Modem of the MAC-32-OD with Another Modem
Using a PC with a modem and any communications program, call the MAC-32-OD using the following
communications format.
2400 baud, 8 bits, no parity, 1 stop bit. (8N1). (Factory Set)
Once communications is established, type 'P', <Enter>.
A prompt appears on the screen; ENTER PHONE NUMBER>. At this prompt, enter the outgoing
number the MAC-32-OD will dial to establish communications. Up to 20 digits followed by a carriage
return (Enter). If a PBX is used, separate the access code (such as a 9 for an outside line) from the
phone number with commas for a pause. Add 1 for long distance if required.
Example: Typical format for dialing an outside long distance line on PBX.
9 , 1XXXXXXXXXXXXXXXXX
Access Code
Pause
Long Distance
Phone
Note
X = numerical digit or -
After entering the telephone number, disconnect the remote modem to return the MAC-32-OD to its
normal operating mode.

Model MAC-32-OD Page 6
RS-232 COMMUNICATION PORT -COM 1 (RJ-45)
Pin # Description Comments
1 Data Terminal Ready High at all times.
2 Request To Send Raised 1 bit time before transmit,
dropped 1 bit time after transmit
3 + Transmit Data Transmit data (out of MAC)
4 Data Carrier Detect Not Used *
5 + Receive Data Receive data (in to MAC)
6 + Signal Ground Circuit Ground
7 Ring Indicator Not Used *
8 Clear To Send Not Used *
Notes:
*These inputs to MAC-32-OD are for special purpose only.
+When connecting these signals to a (DTE), e.g. the RS-232 port of a P.C, pins 3,5,6 of the
RJ-45 are connected to pins 3,2,7 (in the same order) of the DB-25. When connecting to a
modem (DCE), the RJ-45 pins 3,5,6 are connected to 2,3,7 of the DB-25. A converter cable
and an RJ-45 to DB-25 adapter, model MA-K are included.
RS-485 COMMUNICATION PORT - COM 1 (RJ-11)
Pin # Signal Name
1No Connection
2No Connection
3TXD / RXD -
4 TXD / RXD +
5No Connection
6No Connection
Auxiliary Output Relay
Special Function Spare Relay. Software Defined.

Model MAC-32-OD Page 7
TO BE WELL CONNECTED IS VERY IMPORTANT !!!
When connecting equipment to the MAC-32-OD, it is imperative that the correct connector pin-outs and
cable type are used.
1> For the RS-485 six position RJ-11 jack, DO NOT use a standard telephone type cable that reverses
the connections between ends. Use only a DATA type cord that maintains the same pin positions at
each end to preserve the correct polarity required between connected equipment.
2> For the RS-232 eight position RJ-45 jack, USE ONLY a data type cable and observe the pin
positions as shown below for this type of jack. The relationship between the RJ-45 jack and a standard
RS-232 connector pin out for MAC-32-OD is shown on page 6 of this manual.
3> Under NO circumstance ever insert or use an RJ-11 plug in an RJ-45 socket. The pins in the socket
will be deformed, leading to poor connections.
RS-232RS-485
COM 1
123456
RJ-11
123456
RJ-45
7 8
1
6 6
1
Standard Modular telephone Cable, Note Reversal!
1
6
1
6
Modular Data Cable. Pin to Pin

Model MAC-32-OD Page 8
Options Address
S4 S3
POWER IN
J5
J4
J1
RS-232
JP1
OUT
IN
JP5
A
B
C
D
E
F
G
H
I
J
JP2
J9
12345678
OPEN
12345678
OPEN
FACT
TEST
JP3
J10
J11
+5V
J13
GND
TOMODEM
OPTIONAL
MODEM
TO
MODEM
COM1
Term
RES
27256
27128/2764
LAMP
TEST
J2
RS-485
COM1
J3
LINE COM1
OUTPUTS 1-16 OUTPUTS 17-32
PU3 PU2
ACT
JP7
MAC
BUSS
MODE
COM1
SEL
J12
TOMODEM
RAM
A
B
C
JP4
ALM 1
ALM17 ALM 2
ALM18 ALM 3
ALM19 ALM 4
ALM20 ALM 5
ALM21 ALM 6
ALM22 ALM 7
ALM23 ALM 8
ALM24 ALM 9
ALM25 ALM10
ALM26 ALM11
ALM27 ALM12
ALM28 ALM13
ALM29 ALM14
ALM30 ALM15
ALM31 ALM16
ALM32
K1 K3 K5 K7 K9 K11 K13 K15
K2 K4 K6 K8 K10 K12 K14 K16
K17
K18 K20 K22 K24 K26 K28 K30 K32
K19 K21 K23 K25 K27 K29 K31
TB1
NC COM
NO SPARE
RELAY
DC1
26
J14
FIGURE 2
MAC-32-OD LAYOUT
ALARMOUTPUTS17-32 ALARMOUTPUTS1-16
COM1
RS-232RS-485LINE
REARPANEL
POWER
IN
Master
Relay
N.O C N.C.
RS-485

Model MAC-32-OD Page 9
TECHNICAL SUPPORT, RETURNS & WARRANTY
Dataprobe Technical Support is available 8:30AM to 5:30PM ET to assist you in the installation and
operation of this product. To obtain Technical Support call our Tech Support Hotline at 201-967-8788,
• Model of Product
• Serial Number
• Data of Purchase
• Name of Seller (if other than Dataprobe)
If you purchased this product through an Authorized Dataprobe Reseller, you should contact them
first, as they may have information about the application that can more quickly answer your questions.
WARRANTY
Seller warrants this product, if used in accordance with all applicable instructions, to be free from
original defects in material and workmanship for a period of One Year from the date of initial purchase.
If the product should prove defective within that period, Seller will repair or replace the product, at its
sole discretion.
Service under this Warranty is obtained by shipping the product (with all charges prepaid) to the
address below. Seller will pay return shipping charges. Call Dataprobe Technical Service at (201) 967-
8788 to receive a Return Materials Authorization (RMA) Number prior to sending any equipment back
for repair. Include all cables, power supplies and proof of purchase with shipment.
THIS WARRANTY DOES NOT APPLY TO NORMAL WEAR OR TO DAMAGE RESULTING FROM ACCIDENT,
MISUSE, ABUSE OR NEGLECT. SELLER MAKES NO EXPRESS WARRANTIES OTHER THAN THE
WARRANTY EXPRESSLY SET FORTH HEREIN. EXCEPT TO THE EXTENT PROHIBITED BY LAW, ALL
IMPLIED WARRANTIES, INCLUDING ALL WARRANTIES OF MERCHANT ABILITY OR FITNESS FOR ANY
PURPOSE ARE LIMITED TO THE WARRANTY PERIOD SET FORTH ABOVE; AND THIS WARRANTY
EXPRESSLY EXCLUDES ALL INCIDENTAL AND CONSEQUENTIAL DAMAGES.
Some states do not allow limitations on how long an implied warranty lasts, and some states do not
allow the exclusion or limitation of incidental or consequential damages, so the above limitations or
exclusions may not apply to you. This warranty gives you specific legal rights, and you may have other
rights which vary from jurisdictions to jurisdiction.
WARNING: The individual user should take care to determine prior to use whether this device is
suitable, adequate or safe for the use intended. Since individual applications are subject to great
variation, the manufacturer makes no representation or warranty as to the suitability of fitness for any
specific application.
Dataprobe Inc.
11 Park Place
Paramus, NJ 07652
Table of contents
Other Dataprobe Control Unit manuals