8 PROGRAMMING
8.2 Program Example
101
8
Parameter individual read
This program reads parameters for the input ASLINKER with bit address 0.
■
Device to use
Device
Description
X1000
Remote READY
X1011
Parameter access completion flag
Y1010
Slave module parameter access request command
W1000
Latest error code storage area
W1002
Latest alarm code storage area
W1500
Parameter access specification
W1501
Parameter access target module ID specification
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 D306
Request data (read) 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
D400 to D402
Response data (read, parameter storage location memory number) used with the SLMPSND instruction
• D400: Response data start device
• D401: End code
• D402: Read data (parameter storage location memory number)
D500 to D547
Response data (read, parameter read for slave module) used with the SLMPSND instruction
• D500: Response data start device
• D501: End code
• D502: Read data (module ID)
• D503: Read data (device parameter 1)
• D504: Read data (device parameter 2)
• D521: Read data (device parameter 19)
• D541: Read data (status details)
• D542: Read data (sensing level)
• D546: Read data (model number)
• D547: Read data (device version)
F1
SLMPSND instruction (read) completed with an error
F2
SLMPSND instruction (read, parameter storage location memory number) completed with an error
F3
Parameter access target module ID error
F4
Parameter access error
F5
Other errors
M0
SLMPSND instruction (read, parameter storage location memory number) completed
M1
SLMPSND instruction (read, parameter storage location memory number) completed (error)
M2
SLMPSND instruction (read, parameter read for slave module) completed
M3
SLMPSND instruction (read, parameter read for slave module) completed (error)
M4
Parameter read for slave module completed successfully
M10
Parameter reflection request (read)
M50
Program starting contact
M51
SLMPSND instruction (read) successful completion flag
Содержание 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: ......