User`s manual
XP8300/XP8400/SE110088 s Advanced Programming
Sample Projects
The following two sample programs activate the relays on one or more
XP8300 or XP8400 boards attached to a controller. Two versions of the
program are shown: one for PLCBus controllers, and one for the BL1100
and BL1300.
The following instructions tell how to set up a system, write and compile a
program, and run a sample program to operate relay boards on a bus.
PLCBus Controllers
Instructions
1. Power up the controller and make sure it is working properly. If you
encounter problems, consult the controllers reference manual.
2. Disconnect power from the controller.
3. Using a PLCBus ribbon cable, connect header P2 of the relay board to
the PLCBus on the controller. Make sure both boards are right-side up,
with their input and output headers facing toward you. If you have
additional relay boards, chain them to the first board with PLCBus
ribbon cables.
4. Check the jumpers on headers J1 and J2 on the relay boards. With only
one board, leave J1 unjumpered. With more than one board, leave J1
unjumpered on the first board and set J1 with a different and unique
address on each additional board. On every relay board, connect pins
12 on J2. This connection causes each board to draw its relay-
actuation voltage from the +24V provided over the PLCBus by the
controller.
When using the standard XP8300 or XP8400 with 24V relays,
the controller must be powered by a 24V supply or 24V must
be brought in externally in order to actuate the relays reliably.
5. Power up the controller and bring up Dynamic C on your PC. If you
encounter problems reestablishing communications between your PC
and the controller, consult the controllers reference manual.
6. Open and run the sample program. Refer to the Dynamic C Technical
Reference manual for detailed instructions on running a program.
7. The LEDs on the relay board(s) will begin flashing to indicate the
relays are actuating.
!