96
8 PROGRAMMING
8.2 Program Example
Module parameter setting
This program executes module parameter settings for the NZ2AW1GNAL at any timing.
After executing the program, power off and on the NZ2AW1GNAL or perform a remote reset to start operating the
NZ2AW1GNAL with the set parameters.
The changed parameters are as follows.
■
Device to use
Item
Setting value
Bit data points setting
4: 1024 points (512 input points/512 output points)
Word data use setting
1: Use
Word data points setting
10: 1024 words (input 512 words, output 512 words)
Word data start address setting
0
Word data points setting per frame
5: 32 words (input 16 words, output 16 words)
Startup operating mode setting
1: With slave information acquisition
Double verification setting
20: Double verification of the 16 bit (word) until the 20th word
Disconnection error automatic recovery mode setting
1: Disconnection error automatic recovery
Word input data hold/clear setting when disconnected
1: HOLD
Output data hold/clear setting
1: HOLD
Single module simplified replacement
1: Disable
Device
Description
X1000
Remote READY
X100C
Module parameter reflection completion flag
Y100C
Module parameter reflection request flag
W1000
Latest error code storage area
W1002
Latest alarm code storage area
D200 to D211
Control data used with the SLMPSND instruction
• D200: Execution/error completion type
• D201: Completion status
• D202: Channel used by own station
• D203: IP address of external device (third and fourth octets)
• D204: IP address of external device (first and second octets)
• D205: Destination port number
• D206: Request destination network number
• D207: Request destination station number
• D208: Request destination module I/O number
• D209: Request destination multidrop station number
• D210: Number of resends
• D211: Arrival monitoring time
D300 to D319
Request data used with the SLMPSND instruction
• D300: Request data length
• D301: Monitoring timer
• D302: Command
• D303: Subcommand
• D304: Start address (lower 16 bits)
• D305: Start address (upper 16 bits)
• D306: Word length
• D307: Write data (Bit data points setting)
• D308: Write data (Word data use setting)
• D309: Write data (Word data points setting)
• D310: Write data (Word data start address setting)
• D312: Write data (Number of word data points setting per frame)
• D314: Write data (Startup operation mode setting)
• D315: Write data (Bit data double verification mode setting)
• D316: Write data (Disconnection error automatic recovery mode setting)
• D317: Write data (Word input data hold/clear setting when disconnection occurs)
• D318: Write data (Output data hold/clear setting when error occurs)
• D319: Write data (Easy replacement function for one slave module setting)
D400
Response data used with the SLMPSND instruction
• D400: Response data start device
F1
SLMPSND instruction completed with an error
F2
Bit data points setting range error
Содержание AnyWire ASLINK
Страница 1: ...CC Link IE TSN AnyWireASLINK Bridge Module User s Manual NZ2AW1GNAL ...
Страница 2: ......
Страница 22: ...20 3 PROCEDURES BEFORE OPERATION MEMO ...
Страница 96: ...94 8 PROGRAMMING 8 2 Program Example Program ...
Страница 100: ...98 8 PROGRAMMING 8 2 Program Example Program ...
Страница 101: ...8 PROGRAMMING 8 2 Program Example 99 8 ...
Страница 193: ...APPX Appendix 8 External Dimensions 191 A Appendix 8 External Dimensions 43 86 16 8 102 3 6 3 4 0 2 Unit mm ...
Страница 199: ......