16 ETHERNET INSTRUCTIONS
16.4 Reinitializing the Module
1563
16
■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
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).UINI
(s)
*2
(d)
*1
*3
Operand: (s)
Device Item Description Setting range Set by
+0 System area
+1 Completion status The completion status is stored upon completion of the instruction.
• 0: Completed successfully
• Other than 0: Completed with an error (error code)
System
+2 Change target
specification
■To change the address information of the external device held by the Ethernet
module
Specify 0000H.
*1
■To change the own station IP address, operation setting, transmission speed, or
communication mode
Specify the parameter of the change target.
Note that changing the transmission speed and communication mode cannot be
specified together with the change specification of the own station IP address or
operation setting.
If they are specified together, the change specification of only the own station IP
address or operation setting is executed.
(1) Own station IP address change specification (b0)
Specify whether to change the IP address of the own station. (When changing the IP
address, specify a new address in (s)+3, (s)+4.)
• 0: Not changed
• 1: Changed
(2) Operation setting change specification (b1)
Specify whether to change the Ethernet operation setting. (When changing the
setting, specify a new setting in (s)+5.)
• 0: Not changed
• 1: Changed
(3) Transmission speed and communication mode change specification (b12 to b15)
Specify the transmission speed and communication mode.
• 0: Not changed
• 1: Auto negotiation
*2
• 2: 100Mbps/full duplex
• 3: 100Mbps/half-duplex
• 4: 10Mbps/full duplex
• 5: 10Mbps/half-duplex
0000H to 5000H User
+3
+4
Own station IP address Specify the IP address of the own station.
•(s)+3
• b8 to b15: 3rd octet
• b0 to b7: 4th octet
•(s)+4
• b8 to b15: 1st octet
• b0 to b7: 2nd octet
00000001H to
FFFFFFFEH
User
b15 b12 b11 b2
(2)(3) (1)0
b0b1
……
b15 b7b8
……
b0
b15 b7b8
……
b0