![Mitsubishi Electric AnyWire NZ2AW1C2AL Скачать руководство пользователя страница 67](http://html.mh-extra.com/html/mitsubishi-electric/anywire-nz2aw1c2al/anywire-nz2aw1c2al_user-manual_238820067.webp)
8 FUNCTIONS
8.2 Function Details
65
8
Automatic update
No special operation is required because data are automatically updated.
Slave module parameter access
The procedures for executing slave module parameter access are as follows.
The G(P).RDMSG instruction is used for the program of slave module parameter access. (
■
Reading device parameters
1.
Specify the access method.
Store 0000H: read in Parameter access setting (RWwn+16).
2.
Specify the access target ID.
Store the access target ID in Parameter access target module ID specification (RWwn+17).
3.
Turn on Parameter access request command for the slave module (RY(n+1)0).
At this time, Parameter access completion flag (RX(n+1)1) turns off.
In addition, Parameter accessing flag (with handshake) (RX(n+1)B) turns on.
4.
When the parameter access is completed, Parameter access completion flag (RX(n+1)1) automatically turns on.
5.
Turn off Parameter access request command for the slave module (RY(n+1)0).
6.
Parameter accessing flag (with handshake) (RX(n+1)B) turns off when RX(n+1)1 turns on and RY(n+1)0 is turned off.
7.
Read the device parameters from the bridge module to devices in the CPU module by using the G(P).RDMSG
instruction. The following table lists values specified in the setting data of the G(P).RDMSG instruction.
ID
Description
0000H to 00FFH
ID of the output slave module
0200H to 02FFH
ID of the input slave module or I/O combined slave module
Setting data
Setting description
Setting range
Un
Start I/O number of the module
(The first 2 digits in a 3-digit I/O number)
0 to FEH
(S1)+1
CC-Link station start number
1 to 60
(S1)+2
Number of send byte (fixed value)
10
(S1)+3
Maximum number of receive byte (fixed value)
48
(S2)+0
Dedicated instruction execution parameter_1
(fixed value)
2H
(S2)+1
Dedicated instruction execution parameter_2
(fixed value)
1504H
(S2)+2
Target slave module ID
0000H to 00FFH: ID of the output slave module
0200H to 02FFH: ID of the input slave module or I/O combined slave module
(S2)+3
Dedicated instruction execution parameter_3
(fixed value)
0
(S2)+4
Read data size (fixed value)
38
Содержание AnyWire NZ2AW1C2AL
Страница 1: ...CC Link AnyWireASLINK Bridge Module User s Manual NZ2AW1C2AL ...
Страница 2: ......
Страница 12: ...10 MEMO ...
Страница 119: ...APPX Appendix 6 External Dimensions 117 A Appendix 6 External Dimensions 43 86 10 102 3 5 3 4 0 3 Unit mm ...
Страница 121: ...I 119 MEMO ...
Страница 125: ......