- 04 Jul 2024
- 1 Minute to read
- Print
- PDF
Command IP
- Updated on 04 Jul 2024
- 1 Minute to read
- Print
- PDF
Command IP is used to read and modify the IP address of the XLC4 control unit and to change the addressing method.
Structure
Command | Notes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
CommandID | IP | IP works in all XLC4 operating modes | ||||||||||
Parameter | None | |||||||||||
mode | ||||||||||||
ip_address | ||||||||||||
Parameter | Value | Description | ||||||||||
None | The current values for mode and ip_address are queried | |||||||||||
mode | “M” | Static IP address (default) | ||||||||||
“D” | DHCP addressing | |||||||||||
ip_address | valid IP address string | 192.168.87.234 (default) | ||||||||||
Response | ||||||||||||
ip , space , mode , space , ip_address | ||||||||||||
General notes | ||||||||||||
Changes are applied after switching on again |
Example
Query | Response | Action |
---|---|---|
IP | ip M 192.168.87.234 | Displays the addressing mode and the ip address |
IP M | ip M 192.168.87.234 | The addressing mode is changed |
IP 192.168.87.234 | ip M 192.168.87.234 | The ip address is changed |