Devices Available For Users; Program Example - Mitsubishi MELSEC-Q Series User Manual

Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

5 PROGRAMMING

5.2 Devices Available for Users

The following are the devices that users can use.

5.3 Program Example

A program example is shown below.
5 - 2
CC-Link/LT control start signal ........................................................ X20
Data link stop instruction signal ....................................................... X21
Data link restart instruction signal.................................................... X22
Data link error check signal ............................................................. Y40
All stations' failure check signal ....................................................... Y41
Remote I/O error check signal......................................................... Y42
Remote station incorrect connection signal .................................... Y43
Control start flag ............................................................................... M2
Data register for reading information of operating state ................ D0
Data register for reading remote station connection information ... D1
Data register for reading error information details .......................... D2
Control Program
MELSEC-Q
Reading information of operating state
Upon completion of initial communication, reading
remote station connection information and error
information details
Checking for remote station connection error
When connection is normal, starting control
Checking for data link error
Checking if all stations are faulty or not
Checking for remote I/O error
Instructing data link stop
Instructing data link restart
5
5 - 2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qj61cl12

Table of Contents