Mitsubishi Electric MELSEC iQ-R AnyWireASLINK User Manual page 73

Master module
Table of Contents

Advertisement

Reading the sensing level information
The sensing level is a device parameter for the ASLINKAMP or ASLINKSENSOR only.
This example uses a system configuration in which an ASLINKAMP or ASLINKSENSOR is used as a slave module with
address 20 instead of the ASLINKER M12 connector type (mixed type) in the system configuration above.
This section describes an example of a program in which the photoelectric transmission type ASLINKSENSOR is used.
The photoelectric transmission type operates based on the combination of the two types: "Transmission floodlight type" and
"Transmission light receiving type".
If the slave module with address 20 is replaced with the ASLINKSENSOR, two slave modules, "Transmission floodlight type"
and "Transmission light receiving type" (both have address 20.), will be added. Thus, the system is configured with seven
slave modules.
The following shows a program example that reads the sensing level of the slave module (address: 20) when the start I/O
number of the RJ51AW12AL is assigned to X/Y00 to X/Y1F.
Classification
Label name
Module label
RJ51AW12AL_1.bModuleREADY
RJ51AW12AL_1.bDP_DNShortError
RJ51AW12AL_1.b24V_DPShortError
RJ51AW12AL_1.bTransmissionCableVoltageDdropError
RJ51AW12AL_1.bDP_DNDisconnectionError
Label to be defined
Define global labels as shown below:
Description
Module READY
DP/DN short error
24V/DP short error
Transmission cable voltage drop error
DP/DN disconnection error
3.2 Communication Example When the Slave Module is Added or Deleted
Device
X0
X1
X2
X3
X4
3 PROGRAMMING
71
3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r seriesMelsec iq anywireaslink rj51aw12al

Table of Contents