This function sets the communication parameters of the controller. The communication parameters are IP address, subnet mask, and gateway.
The communication parameters can be saved permanently on the controller. If the communication parameters are not saved permanently, they are set to the value before calling the function when a restart of the controller is executed.
Input |
Data type |
Description |
---|---|---|
i_sIpAddress |
STRING[15] |
IP address to be set |
i_sSubnetmask |
STRING[15] |
Subnet mask to be set |
i_sGateway |
STRING[15] |
Gateway to be set |
i_xSaveIpAddress |
BOOL |
TRUE: IP address is saved permanently |
i_xSaveSubnetmask |
BOOL |
TRUE: Subnet mask is saved permanently |
i_xSaveGateway |
BOOL |
TRUE: Gateway is saved permanently |