Network Settings and Status Commands
Network Settings and Status Commands
The SmartMotor's EEPROM can store nonvolatile EtherNet/IP information about the network.
For proper EtherNet/IP operation, each SmartMotor must have a unique IP address. If a DHCP
server is used in the network, then the SmartMotor default IP address (0.0.0.0) is used; if a
fixed IP address is needed or there is no DHCP server, the IP address can be set using the
IPCTL command. This can be accomplished: at the PLC over EtherNet/IP; with SMI and a USB
connection, or RS-485 on channel 0; with a SmartMotor user program. If an IP address is
assigned through any method, including the DHCP server, that address is stored and used at
the next power-up.
NOTE:
Nonvolatile memory will be read at power-up or after the Z (reset) com-
mand has been executed.
The commands in the following table are related to the network settings and status.
Command
Description/
Parameter
Values
Non-
Volatile
Setting
IPCTL(action,"string")
action=
0: set IP address
1: set Mask
2: set Gateway
The drive is shipped out-of-box with an IP
Address of 0.0.0.0. This address enables
DHCP support for addressing. The DHCP
server manages the IP Address assigned to
the drive.
If a value other than 0.0.0.0 is assigned then
DHCP is disabled and the static IP Address is
used. Assigning an IP Address of 0.0.0.0 will
re-enable DHCP if desired
Value is formatted as an IP address entered as
a string, e.g., IPCTL(0,"192.168.0.10"). By
default, these values are set to 0 (i.e.,
"0.0.0.0")
NOTE:
The drive must be power cycled or
reset using a "Z" terminal window command
before the new IP Address takes affect.
YES
RETH(0), or
x=ETH(0)
RETH i s the same as RETH(0)
x=ETH is the same as
x=ETH(0)
EtherNet/IP status
Bit 0 = Initialization failure
Bit 1 = Configuration change
Bit 2 = Reserved
Bit 3 = Network processor failure
Bit 4 = Port 1 has LINK
Bit 5 = Port 2 has LINK
N/A
RETH(1), or
x=ETH(1)
Module status
Bit 0 = No power
Bit 1 = Self test
Bit 2 = Standby
Bit 3 = Device operational
Bit 4 = Minor (recoverable) fault
Bit 5 = Major (non-recoverable) fault
RETH(2), or
x=ETH(2)
Network status
Bit 0 = Not powered, no IP address
Bit 1 = No connections
Bit 2 = Connected
Bit 3 = Connection timeout
Bit 4 = Duplicate IP
Bit 5 = Self-test
RETH(3), or
x=ETH(3)
Stack fault code
For details, see Status and Diagnostic Codes
on page 41.
Moog Animatics Class 6 EtherNet/IP Guide, Rev. B
Page 38 of 160
Содержание SmartMotor SM34165MT-IP
Страница 16: ......
Страница 24: ......
Страница 30: ......
Страница 36: ......
Страница 98: ......
Страница 126: ......
Страница 153: ...SmartMotor AOI Example Moog Animatics Class 6 EtherNet IP Guide Rev B Page 153 of 160...
Страница 154: ......
Страница 158: ......
Страница 159: ......
Страница 160: ...PN SC80100010 001 Rev B...