8 FUNCTIONS
8.2 Function Details
73
8
■
Devices used by users
■
Slave module parameter access (module ID, status details, sensing level)
This program reads the parameters (module ID, status details, sensing level) of all slave modules connected to the bridge
module. The device setting of the dedicated command and G(P).RDMSG instruction in the sample program is as follows.
*1 Device of the address RWwn+24 (remote register output) assigned to the master station in the station number setting. (
Remote registers when 4 stations are occupied)
The dedicated command specifies the number of slave modules whose parameters are targeted for reading as shown below.
The following shows a program example.
Device
Description
D1001.1
Parameter access completion flag
D1001.4
Automatic address detection flag
D2001.0
Parameter access request command for the slave module
W110
Parameter access setting
W111
Parameter access target module ID specification
T20
Timer contact
M40
Dedicated instruction starting contact
M50
Program starting contact
M51
Communication starting contact
Device setting in the sample program
Setting description
Setting value in the sample program
W118
Dedicated command
40H
D101
CC-Link station start number
1
D102
Number of send byte
10
D103
Maximum number of receive byte
192
D110
Dedicated instruction execution parameter (fixed value)
0H
Range of slave modules
Setting value
1st to 32nd module
40H
33rd to 64th module
41H
65th to 96th module
42H
97th to 128th module
43H
Dedicated command
CC-Link station number: 1
Number of send byte
Maximum number of receive byte
Dedicated instruction execution parameter
(fixed value)
G(P).RDMSG instruction
Program
starting contact
Parameter
access
completion
flag
Automatic address
detection flag
Communication
starting contact
Communication
starting contact
Communication
starting contact
Summary of Contents for AnyWire NZ2AW1C2AL
Page 1: ...CC Link AnyWireASLINK Bridge Module User s Manual NZ2AW1C2AL ...
Page 2: ......
Page 12: ...10 MEMO ...
Page 121: ...I 119 MEMO ...
Page 125: ......