EasyManuals Logo

Mitsubishi FX3U-232-BD User Manual

Mitsubishi FX3U-232-BD
668 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #118 background imageLoading...
Page #118 background image
B-26
FX Series PLC User's Manual - Data Communication Edition
N:N Network
6 Test Run (Communication Test)
6.2 Creating Programs for the Communication Testing
6.2 Creating Programs for the Communication Testing
Create the programs shown below for the master station and each slave station.
(In the communication test, set the refresh range to pattern 0.)
6.2.1 Creating a program for the master station
Create the program shown below for the communication test. (This program is not required during actual
operation.)
Cautions
1) When using a PLC (such as an FX
1S Series PLC) with a small number of outputs, transfer information
from slave stations to auxiliary relays (M), etc., and then monitor the auxiliary relays using a programming
tool. (Example: Change "K1Y004" to "K1M4".)
2) In the circuit from step 34, create a program for link devices (MOV instruction) for all connected slave
stations.
M8038
FNC 12
MOV
K0 D8176
0
FNC 12
MOV
K2 D8177
FNC 12
MOV
K0 D8178
FNC 12
MOV
K3 D8179
FNC 12
MOV
K5 D8180
M8000
FNC 12
MOV
K1X000 D0
FNC 12
MOV
D10 K1Y004
END
M8000
FNC 12
MOV
D20 K1Y010
28
34
FNC 12
MOV
D70 K1Y034
Set the number of slave stations to D8177.
The setting range is from K1 to K7.
Steps for reading information from a slave station (slave
station
→
master station)
By using link devices, read information from all slave
stations.
The table below shows the link devices to be used:
Step for writing information from the master station (master
station
→
slave station)
The contents of X000 to X003 in the master station are
transferred to outputs (Y) in this slave station.
Specify device numbers for the
connected slave stations.
When using ch1, this step is not required.
When using ch2, program "OUT M8179."
(Only in the FX
3U
and FX
3UC
)
M8179
Output (Y)
Y004 to Y007
Y010 to Y013
Y014 to Y017
Y020 to Y023
Y024 to Y027
Y030 to Y033
Y034 to Y037
Slave station No. Link device
1
2
3
4
5
6
7
D10
D20
D30
D40
D50
D60
D70

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi FX3U-232-BD and is the answer not in the manual?

Mitsubishi FX3U-232-BD Specifications

General IconGeneral
BrandMitsubishi
ModelFX3U-232-BD
CategoryController
LanguageEnglish

Related product manuals