Remote Command Set 91
Description Default gateway address set.
Syntax GATEWAY address
Remarks This command is used to set the Ethernet default gateway address. In order for this
setting to take effect, please set the controller to Static IP mode (IPMODE), save (SM)
this parameter in the controller’s non-volatile memory, and reset (RS) the controller.
NOTE: Send this command via USB interface as Ethernet communication may
become unstable during Ethernet settings configuration. While connected via USB,
use the Picomotor application software to send commands (Go to ‘Terminal’ tab).
Argument Value Description
address nn1.nn2.nn3.nn4 Gateway address. (Example. 192.168.10.101)
nn1,nn2,nn3,nn4 can be numbers between 0
and 255.
Example:
IPMODE 0 (Set to static IP mode)
GATEWAY
192.168.10.101 (Set gateway address)
NETMASK 255.255.255.0 (Set Netmask address)
IPADDR 192.168.1.101 (Set IP address)
SM; RS (Save and reset system)
See Also IPMODE, SM, RS
Description Default gateway address query.
Syntax GATEWAY?
Remarks This command is used to query the default gateway address
Response Value Description
address nn1.nn2.nn3.nn4 Gateway address. (Example. 192.168.10.101)
nn1,nn2,nn3,nn4 can be numbers between 0
and 255.
Example:
GATEWAY? (Get gateway address)
192.168.10.101 (Returns 192.168.10.101; gateway address)
See Also
IPMODE, GATEWAY