Creating A Program; Program For Parameters - Mitsubishi FX2N-16CCL-M User Manual

Cc-link master module
Hide thumbs Also See for FX2N-16CCL-M:
Table of Contents

Advertisement

FX2N-16CCL-M CC-Link System Master Block
10.2

Creating a Program

10.2.1

Program for parameters

In the program below, data link automatically starts when the PLC starts to run.
[Caution]
The auxiliary relays in the non-keep area must be used as auxiliary relays (M) for parameter
setting programs.
For the details, refer to 9.1.
[Setting and operation using the buffer memory]
M8000
RUN monitor
M20
Module
error
M0
M1
M1
M35
Module
ready
Communication between Master Station and Remote I/O Stations 10
FROM
K0
HA
K4M20
PLS
SET
MOV
K3
MOV
K7
MOV
K2
TO
K0
H0001
D0
MOV
K0
TO
K0
H0006
D3
MOV
H0101
MOV
H0102
MOV
H0103
TO
K0
H0020
D12
RST
→M35 to M20
K1
BFM#A
H
M0
M1
Number of connected modules
D0
(3 modules)
Number of retries (7 times)
D1
D2
Number of automatic return modules
(2 modules)
K3
Operation specification against CPU
D3
down (stop)
K1
Remote I/O station (AJ65BTB1-16D)
D12
Remote I/O station (AJ65BTB1-16T)
D13
Remote I/O station (AJ65BTB1-16DT)
D14
Station information
K3
M1
10-3

Advertisement

Table of Contents
loading

Table of Contents