Mitsubishi Electric MELSEC-Q Series User Manual page 266

Cc-link system master/local module
Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

(2) Program example
1.
Create the following program on a programming tool.
• Program for the master station
Confirmation of the data link status
Control program
• Program for the local station
Confirmation of the data link status
Control program
2.
Write the program to the CPU module. Then reset the CPU module or power off and on the system.
Write the program created for the master station to the CPU module in the master station.
Write the program created for the local station to the CPU module in the local station.
[Online]
3.
Set the switches on the CPU modules in the master station and local station to RUN to execute the
programs.
4.
Turning on X20 in the master station turns on X1000 in the local station.
When X1000 in the local station turns on, Y30 in the local station turns on.
5.
Turning on X21 in the local station turns on X1001 in the master station.
When X1001 in the master station turns on, Y31 in the master station turns on.
264
[Write to PLC]
or power off
Data link is normal.
Data link error
Control program using data
received from a local station
Program of creating data
sent to a local station
The host station is performing
data link.
Control program using data
received from the master
station
Program of creating data sent
to the master station
on

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents