set_target_ip
Change the IP address and port of a station in a LASAL project file. Update the TCPIP element to target a different device before compile or download.
Instructions
Change the online connection target for a station in the project's .lss file. Surgically updates only the TCPIP element, preserving all other file content. Use before compile_project / download_project when targeting a different device.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | New IP address (e.g. '192.168.1.100'). | |
| port | No | New port (default '1954'). Only change if non-standard. | |
| ssltls | No | Enable SSL/TLS for the connection. Omit to leave unchanged. | |
| station | No | Station name to update (e.g. 'PLC', 'HMI'). Omit if the project has only one station. |