Corrected from:
-
Response of the new version:
-
What happens?
The function SysTargetGetNodeName (library 'SysTarget') does not return the correct name of the controller, e.g. "c750-0030d6202665 (172.31.205.144)" where 172.31.207.144 is the IP address of the controller, but a NodeName containing an internal IP address of the controller (e.g. "c750-0030d6202665 (192.168.66.2)").
When does the behaviour occur?
The behaviour occurs sporadically when using the SysTargetGetNodeName function.
Which products are affected?
Cabinet Controller c750 from V1.0
Short-term measures:
You can read the required information about the device type, IP address and MAC address of the controller from the parameters 0x2014:001 (host name) and 0x2452:001 (IP address) with the help of the function block L_IPAP_ParameterRead (library 'L_IPAP_ParameterManagerAccess').
Evaluation / recommendations:
If the function SysTargetGetNodeName is used in the PLC project, it sporadically outputs an incorrect NodeName. An application solution is described under Short-term measures.
Automatic Translation