No connection to the target system, but there are error messages
Basic symptoms:
The Values of Variables view does not display values for the variables but ---. Moreover, the message Information for variable could not be determined is displayed.
The Error Log view displays the message Unexpected error at target and/or Cannot connect to target system.
Additional symptom, variant 1:
In the Instance view, the displayed text for Connection state switches between Offline and Online very fast.
Cause
An old version of the runtime system is installed on the target system. logi.CAD 3 requires a more current version of the runtime system .
Solution
Install and use the version of the runtime system which has been released for the current version of logi.CAD 3 .
See " Release-Notes für aktuelle Version " which version of the runtime system has been released for the current logi.CAD 3 v ersion.
Additional symptom, variant 2:
In the Instance view, the connection state Online is displayed, but the text Error is displayed under Excecution state and Code Identification.
Cause
A TCF agent is already used on the target system. As the →runtime system is using a TCF agent as well and both TCF agents are using the default port 1534, logi.CAD 3 cannot establish the connection to the target system.
Solution
Configure the runtime system so that a different port is used for the connection to the target system.
Terminate the runtime system that is running on the target system.
Change to sub-directory PLC of the runtime system installation directory.
Open file RTSIO.cfg in any text editor and search for the following line:
Original line#AddSymbol TCF.ServerUrl TCP:0.0.0.0:1534
Delete the comment character # and enter a free port instead of 1534.
Use a high port ≥ 1024. If in doubt, ask an administrator which port you can use.Example for changed lineAddSymbol TCF.ServerUrl TCP:0.0.0.0:2000
Save the changed file RTSIO.cfg.
Restart the runtime system on the target system.
In logi.CAD 3: Correct the port number within the PLC-object for the target system (see "Configuring PLC within PLC-object"). Then load the application onto the target system.
More useful information:
logi.cals
recommends to install and use the most current versions of
logi.CAD 3
and the runtime system so that the latest features and problem fixes
according to the
release notes are provided in the used version.
Did this article help you? Did you find the requested information in this user documentation?
If not, contact the support team of logi.cals. State your questions or suggestions to improve/enhance the user documentation as detailed as possible.