Program Example Used When Utility Package Is Not Used - Mitsubishi Electric QJ71AS92 User Manual

As-i master module
Table of Contents

Advertisement

7 PROGRAMMING
7.1.2 Program example when utility package is not used
7 - 4
Downloaded from
ManualsNet.com
(1) Program Examples
\
Explanation of devices
X0
: Module ready (ON when normal)
X5
: AS-i power failure (OFF when normal)
X6
: Normal operation active (OFF when in normal operation)
X7
: Configuration mode active (OFF except when in configuration mode)
M104
: ON when slave address 4 is ready for communication
M200 to M203 : Output data to slave address 4
M300
: Configuration error flag
M320 to M323 : Input data from slave address 5
search engine
\
Reads active slave list.
Turns ON refresh command.
\
Reads input data from slave.
Reads configuration error flag.
Outputs input data from slave No. 5
to Y94 to Y97.
Transfers X50 to X53 to output data
for slave No. 4.
Stops output to slave if slave No. 4
cannot communicate.
\
Writes output data to slave No. 4.
MELSEC-Q
7 - 4

Advertisement

Table of Contents
loading

Table of Contents