Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 444 of 909
ETH(arg)
Get Ethernet Status and Errors
APPLICATION: Communications control
DESCRIPTION: Assign the result to a variable, or report errors and certain
status information for the industrial Ethernet (IE)bus
EXECUTION: Immediate
CONDITIONAL TO: N/A
LIMITATIONS: N/A
READ/REPORT: RETH(arg)
WRITE: N/A
LANGUAGE ACCESS: N/A
UNITS: N/A
RANGE OF VALUES: N/A
TYPICAL VALUES: N/A
DEFAULT VALUE: N/A
FIRMWARE VERSION: 6.0 and later
COMBITRONIC: N/A
DETAILED DESCRIPTION:
The ETH command is used to gather specific error or status information relating to the
industrial Ethernet (IE) bus interface.
l
Assign the result to a program variable: x=ETH(arg)
l
As a report: RETH(arg)
Specific features are based on the fieldbus network being used. See the corresponding
SmartMotor fieldbus guide for more details.
EXAMPLE:
x=ETH(0) 'Get the Ethernet status and assign it to x.
RELATED COMMANDS:
ETHCTL(function,value) Control Industrial Ethernet Network Features (see page 445)
IPCTL(function,"string") Set IP Address, Subnet Mask or Gateway (see page 484)
SNAME("string") Set PROFINET Station Name (see page 716)
Part 2: Commands: ETH(arg)