Mitsubishi Electric MELSEC-Q Series User Manual page 124

Melsec-q/l anywireaslink master module
Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

(b) Example of a program that reads the sensing level information
The sensing level is a device parameter for the ASLINKAMP or ASLINKSENSOR only.
The slave module of address 20 is the system configuration which replaces the ASLINKER M12 connector
type (mixed type) with the ASLINKAMP or ASLINKSENSOR.
This section describes an example of a program that replaces with photoelectric transmission type of the
ASLINKSENSOR. Photoelectric transmission type operates based on the combination of the two types;
"Transmission floodlight type" and "Transmission light receiving type".
When the slave module of address 20 is replaced with the ASLINKSENSOR, it replaces with two slave
modules of "Transmission floodlight type" and "Transmission light receiving type" (Both of them are address
20.). Therefore, the system is configured with seven slave modules.
The following shows an example of a program that reads the sensing level of the slave module (address 20)
when the start I/O number of the master module is assigned to X/Y00 to X/Y1F.
Module
DP/DN
Transmission
ready
short error
cable voltage
drop error
*1
For details on the parameter storage area, refer to the following.
Page 110, Appendix 2 (15) (a)
The sensing level of the slave module (address 20) is stored in 41st (Un\G12616) of 48 words of Parameter
storage area 7 (Un\G12576 to Un\G12623). ( Page 111, Appendix 2 (15) (b))
122
DP/DN
disconnection
error
Parameter storage location memory
number of the slave module (address 20)
Interlock the read program.
Sensing level
storage location
Add 40 to the parameter storage location
start address of the slave module (ID 214
1)
address 20) and store the address of the
sensing level to Z 1).
1)
2)
Store the sensing level to D 2).
Reading the sensing level
of
H
*1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qj51aw12alMelsec-l seriesLj51aw12al

Table of Contents