4: SPECIAL FUNCTIONS
USER’S MANUAL 4-13
Data Link Example 4: Data Transmission through FA-3S Serial Interface Module
This sample program demonstrates data communication between the FA-3S master station and MICRO
3
slave stations
using the PF3S-SIF4 serial interface module. FA-3S series high-performance CPU module PF3S-CP12 or PF3S-CP13 is
used for the master station. The serial interface module mounted at the master station is set to operate in the IS-NET com-
munication mode and the FA-3S series CPU module at the master station uses a universal mode master station program.
Six MICRO
3
slave stations can be connected to one serial interface module. Since two serial interface modules can be
mounted with one FA-3S high-performance CPU, a maximum of 12 MICRO
3
base units can be connected to the FA-3S.
System Setup
PSA1
CP12/13
SIF4
7
3
4
5
62
1
0
Slave Station 1
Set the function
selector switch to 1.
7
3
4
5
62
1
0
Slave Station 2
Set the function
selector switch to 2.
DATA LINK
ASGB
7
3
4
5
62
1
0
Slave Station 6
Set the function
selector switch to 6.
DATA LINK
ASGB
Shielded twisted pair cable
200 meters (656 feet) maximum per line
connected to a serial interface module
5
4
6
3
7
2
8
1
0
9
1
2
3
4
5
6
7
8
1
2
3
4
5
6
7
8
SW2
SW1
OFF
DATA LINK
ASGB
T
A
B
SG
FG
Set the module number selection switch to 1 in this example.
When using two serial interface modules, each module must
have a unique module number 1 through 7.
Set the DIP switches SW1 and SW2.
SW2 (upper bank)
#1 and #2: ON
#3 through #8: OFF
to select IS-NET master station mode.
SW1 (lower bank)
#4 through #7: ON
#1 through #3 and #8: OFF
to select even parity, 1 stop bit, 7 data
bits, and baud rate 19,200 bps.
Note: When MICRO
3
base units are connected to the FA-3S serial interface module in the data link system,
slave station number must start with 1, and all slave station numbers must be consecutive from 1 through 6.
For details on the FA-3S series serial interface
module, see User’s Manual EM284.
High-performance CPU Module
PF3S-CP12 or PF3S-CP13
Serial Interface Module
PF3S-SIF4
Power Module
PF3S-PSA1
Master
Station