Chapter 3 Programming; Precautions On Programming - Mitsubishi Electric MELSEC iQ-R AnyWireASLINK User Manual

Master module
Table of Contents

Advertisement

3
PROGRAMMING
This chapter describes programming for the RJ51AW12AL.
For communication between the RJ51AW12AL and slave modules, refer to the following.
 MELSEC iQ-R AnyWireASLINK Master Module User's Manual (Startup)
3.1

Precautions on Programming

This section describes precautions on programming on the RJ51AW12AL.
Interlock program of automatic address detection
The interlock program described here prevents 'Automatic address detection command' (Y1) from being turned on during a
*1
parameter access
The following shows an interlock program in which the start I/O number of the RJ51AW12AL is assigned to X/Y00 to X/Y1F.
*1 Indicates that 'Parameter access completion flag' (X11) is off or 'Automatic address detection flag' (X14) is on.
Ex.
Interlock example
Classification
Module label
Label to be defined
3 PROGRAMMING
62
3.1 Precautions on Programming
or during automatic address detection
Label name
RJ51AW12AL_1.bModuleREADY
RJ51AW12AL_1.bDP_DNShortError
RJ51AW12AL_1.b24V_DPShortError
RJ51AW12AL_1.bTransmissionCableVoltageDdropError
RJ51AW12AL_1.bPalameterAccessCompletionFlag
RJ51AW12AL_1.bAutomaticAddressDetectionFlag
RJ51AW12AL_1.bOverlapAddressInspectionFlag
RJ51AW12AL_1.bAutomaticAdrressDetectionCommand
Define global labels as shown below:
*1
, allowing proper automatic address detection.
Description
Module READY
DP/DN short error
24V/DP short error
Transmission cable voltage drop error
Parameter access completion flag
Automatic address detection flag
Overlap address inspection flag
Automatic address detection command
Device
X0
X1
X2
X3
X11
X14
X15
Y1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r seriesMelsec iq anywireaslink rj51aw12al

Table of Contents