Install the package directly from the CODESYS user interface:
As an alternative, you have downloaded the latest package (CODESYS Control for PFC200 SL <Version>.package oder CODESYS Control for PFC100 SL <Version>.package) from the CODESYS Store and installed it via Tools/Package Manager.
After installing the package, CODESYS must be restarted. |
To install the CODESYS runtime, open the configuration dialog in Tools/Update PFC200/PFC100.
The default user is root and the default password is wago.
You can enter the IP address manually or select the controller via the scan dialog:
If there are multiple versions of the package, then you will have to select the one you want to install.
If no packages are offered, then the path of the package must be checked and modified if necessary.
The version can be installed on the fieldbus coupler by clicking the Install button.
The version can be viewed by clicking the System info button. (The PFC may have to be rebooted by clicking the Reboot target button).
Establish a connection to the device.
To do this, open the device dialog by double-clicking the device in the tree:
Open the dialog by clicking the Scan network button. All detected devices of the type are listed:
Select the corresponding device by double-clicking it.
|
CODESYS establishes a connection to the device and reads the device Information:
Now login to the device by clicking Online/Login. It is not necessary to start the application.
Open the scan dialog of the K-bus from the context menu.
After a short time, all detected adapters are listed:
There may be adapters with special subtypes that cannot be resolved.
In these cases, you can click the ellipsis button to open another dialog where the adapter can be specified:
Now all adapters can be added to the project by clicking the Copy all devices to project button.
Logout to the device by clicking Online/Logout.
Set the outputs and test the input adapters.
In CODESYS, only that data is updated which is used in the program. |
Download the modified application to the controller by logging in again and start it by clicking Debug/Start.
The symbols in the tree should now be green.
In the I/O mapping of the respective adapter (double-click the adapter), you can set the outputs or view the current values of the input adapter.