configure_cpu_ethernet
Configure M580 CPU Ethernet settings: IP, subnet, gateway, HSBY addresses, and security service flags (TFTP, EIP, DHCP, FTP, Web, SNMP). Updates project archive and requires rebuild.
Instructions
Configure the M580 CPU's embedded Ethernet: main IP/subnet/gateway (+ ip_a/ip_b for the HSBY A/B addresses and ip_d for address D) and the Security-screen service flags.
Service args: -1 = leave unchanged, 0 = disable, 1 = enable. A remote EIO drop's CRA requires tftp, eip and dhcp_bootp ENABLED, otherwise the build fails with "CRA doesn't work when TFTP, EIP and DHCP_BOOTP settings are disabled". Updates every stored copy (application channel config words, DTM binary parameter container, DTM dataset XML) via a project-archive round-trip, so the project is reloaded and UNSAVED — build_project to validate, then save_project. For a slave device's gateway-domain warning use set_dtm_address(gateway=...) instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | ||
| subnet | No | ||
| gateway | No | ||
| ip_a | No | ||
| ip_b | No | ||
| ip_d | No | ||
| enable_tftp | No | ||
| enable_eip | No | ||
| enable_dhcp_bootp | No | ||
| enable_ftp | No | ||
| enable_web | No | ||
| enable_snmp | No |