Sample program
A sample program is shown for the following contents.
Description
Executes automatic address detection at any timing
Changes the bit address of the input ASLINKER from 0 to 2
Reads remote buffer memory for the NZ2AW1GNAL
Sets module parameters for the NZ2AW1GNAL
Reads parameters for the input ASLINKER
Writes parameters for the input ASLINKER
Automatic address detection
This program executes automatic address detection at any timing.
■Device to use
Device
X1000
X1001
X1002
X1003
X100F
X1011
X1014
X1015
Y1001
W1000
W1002
F1
F2
F3
F4
T0
M0
M50
M100
SD63
SB49
SW0B0.0
N0
Description
Remote READY
DP/DN short error
24V/DP short error
Module power supply voltage drop error
Adjustment mode flag
Parameter access completion flag
Automatic address detection flag
Address inspection flag
Automatic address detection command
Latest error code storage area
Latest alarm code storage area
Same ID used error
No ID setting error
Excess connected slave modules error
Other errors
Timer contact after Remote READY
Automatic address detection completed successfully
Program starting contact
Communication ready flag (station No.1)
Number of annunciators
Data link status of own station (of master station)
Data link status of each station (station No.1)
Nesting (station No.1)
Reference
Page 89 Automatic address detection
Page 91 Remote address change
Page 93 Remote buffer memory read
Page 96 Module parameter setting
Page 101 Parameter individual read
Page 104 Parameter individual write
8 PROGRAMMING
89
8.2 Program Example
8
Need help?
Do you have a question about the AnyWire ASLINK and is the answer not in the manual?
Questions and answers