Programming manual for Meca500 (for firmware 9.2.x)
39
TCP/IP COMMUNICATION
2.2.37 SyncCmdQueue
(
n
)
This command is used for associating an ID number with any non-motion command, thus providing
means to identify the command that sent a specific response. It it is executed immediately.
Arguments
•
n
: a non-negative integer number, ranging from 0 to 4,294,967,295.
Responses
[2097][
n
]
For example, sending
SyncCmdQueue
(123) just before the
GetStatusRobot
command allows the
application to know if a received robot status (code 2007) is the response of the
GetStatusRobot
request (i.e., preceded by [2097][123]) or of an older status request.
2.2.38 SwitchToEtherCat
This command will disable the TCP/IP, EtherNet/IP and PROFINET protocols and enable EtherCAT instead
(EtherCAT is an exclusive protocol that cannot be used at the same time as other Ethernet-based
protocols, see
Enabling EtherCAT will disable all other communication protocols (TCP/IP, EtherNet/IP,
PROFINET).The web portal is NOT accessible while in EtherCAT mode.
There are two ways to disable EtherCAT (and thus re-enable another communication protocols):
1. Use the appropriate EtherCAT command (
).
2. Perform a network configuration reset (press and hold the power button on the robot base while
the robot is rebooting (may require up to 60 seconds).
2.2.39 Tcpdump
(
n
)
This command starts an Ethernet capture (pcap format) on the robot, for the specified duration. The
Ethernet capture will be part of the logs archive, which can be retrieved using the Get logs option in the
web portal Options menu.
Arguments
•
n
: duration in seconds.
Responses
[3035][TCP dump capture started for
n
seconds.]
[3036][TCP dump capture stopped.]
2.2.40 TcpdumpStop
This command is needed if you want to stop the TCP dump started with the
TcpDump
(
n
) commands,
before the timeout period of
n
seconds.
Responses
[3036][TCP dump capture stopped.]
Summary of Contents for Meca500 R3
Page 10: ......