1636
18 CC-LINK IE FIELD NETWORK INSTRUCTIONS
18.8 Setting the Station Number to Own Station
■Applicable devices
*1 FX and FY cannot be used.
*2 FD cannot be used.
*3 T, ST, C, and FD cannot be used.
■Control data
• The UINI instruction can be executed only once.
• If the UINI instruction is issued after the station number has been determined, it will complete with an error.
• If the UINI instruction completes with an error before the station number is determined, take corrective
action to correct the error content before retrying to execute the instruction.
• Sets the station number for the local station.
• The execution status and the completion status of the UINI instruction can be checked with the completion device (d) and
the completion status indication device (d)+1.
Operand Bit Word Double word Indirect
specification
Constant Others
(U)
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(U) G(P).
UINI
Z(P).U
INI
(s)
*2
(d)
*1
*3
Operand: (s)
Device Item Description Setting range Set by
+0 Not used System
+1 Completion status The instruction completion status is stored.
•0: Normal
• Other than 0: Error (error code)
System
+2 Change target
specification
0001H (fixed) 0001H User
+3 Station number of own
station
Specifies the station number to be set. 1 to 120 User
+4 to +9 Not used System
• Completion device (d)
This device turns on during END processing of the scan where the UINI instruction completes, and turns off during the next END processing.
• Completion status indication device (d)+1
This device turns on or off depending on the completion status of the UINI instruction.
When completed successfully: The device remains off.
When completed with an error: The device turns on during END processing of the scan where the UINI instruction completes, and turns off during the next END
processing.
UINI
CPU module
Setting a station
number
Local station
(station number )
[Own station]