11: D
ATA
L
INK
C
OMMUNICATION
11-12
FC5A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y-B1268
Operating Procedure for Data Link System
To set up and use a data link system, complete the following steps:
1.
Connect the MicroSmart CPU modules at the master station and all slave stations as illustrated on page 11-2.
2.
Create user programs for the master and slave stations. Different programs are used for the master and slave stations.
3.
Using WindLDR, access
Configuration
>
Comm. Ports
and make settings for the master and slave stations. For programming
WindLDR, see pages 11-8 and 11-9.
4.
Download the user programs to the master and slave stations.
5.
To start data link communication, power up slave stations first, and power up the master station at least 1 second later.
Monitor the data registers used for data link at the master and slave stations.
Note:
To enable data link communication, power up slave stations first. If a slave station is powered up later than or at the same time
with the master station, the master station does not recognize the slave station. To make the master station recognize the slave station
in this case, turn on special internal relay M8007 (data link communication initialize flag) at the master station (see page 11-7), or from
the WindLDR menu bar select
Online
>
Monitor
>
Monitor
, followed by
Online
>
Initialize
>
Initialize Data Link
.
Data Link Initialization Program
If the master station does not recognize the slave station when the master station is powered up, include the following
program into the user program for the master station.
M8120
M8007
M8120 is the initialize pulse special internal relay.
M8007 is the data link communication initialize flag.
When the master station CPU module starts to run, M8120 turns on M8007 for one scan to initialize
the data link communication. The master station will recognize the slave station.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]