Toolkit 1.3 - WAGO PFC ARMv7 32-bit (Gen.1)
About
This toolkit builds applications based on CDP 4.10 and later for WAGO PFC 100/200 (Gen.1) on ARMv7 32-bit-based platforms.
If your WAGO controller is not listed in Supported Devices, please use Toolkit 1.3 - WAGO instead of this one.
Note: The WAGO PFC must be set up as described below in Wago image Setup.
Information about how to deploy applications can be found in the Deploy Configuration.
Supported Devices
The following is a list of all WAGO Generation 1 controllers that this toolkit is compatible with:
- 750-8100
- 750-8101
- 750-8101/025-000
- 750-8102
- 750-8102/025-000
- 750-8202
- 750-8202/025-000
- 750-8202/040-000
- 750-8203
- 750-8203/025-000
- 750-8204
- 750-8206
- 750-8206/040-000
- 750-8207
- 750-8207/025-000
This toolkit might also support other ARMv7 32-bit devices that runs a Linux Operating System that satisfies the Dependencies in the table below.
Dependencies
The toolkit builds for WAGO PFC 100/200 containing the following package versions.
Package | Version |
---|---|
gcc | 8.3.0 |
glibc | 2.29 |
kernel | 4.20.8 |
Download
Click here to download a pre-built image for use with the WAGO PFC 100/200 (Gen.1).
Wago Image Setup
To get the WagoPFCIOServer to run natively on the WAGO PFC 100/200 Gen.1, an appropriate SD Card with a WAGO PFC (Gen.1) specific Linux must be used. The image from Download above is a pre-made WagoPFC image that has been specifically tailored to work with CDP Studio.
To transfer the image to an SD Card, download it to your computer and use an image-writer tool such as Etcher.io, Win32DiskImager on Windows, or the dd tool on Linux.
For trouble-free operation, take care to perform all the following steps after booting the WAGO PFC with the downloaded image:
1. Go into the Wago Web-based management by opening a web browser and typing in the IP address of the WAGO PFC. It is possible to set a temporary IP address to 192.168.1.17 by pressing the Reset button on the device for >8 seconds. The default credentials are:
Username | Password |
---|---|
admin | wago |
2. Under the Configuration tab, General PLC Runtime Configuration, set
- PLC Runtime Version to none
- Tick Home directory on memory card enabled
and click Submit.
3. Click into Ports and Services, SSH, and Activate SSH Server according to the table below:
Server Active | [✓] |
Port number | [22] |
Allow root login | [✓] |
Allow password login | [✓] |
4. Manually log into the WAGO (using 'ssh' from a terminal, replace 192.168.1.17 below with the IP address of the device):
ssh root@192.168.1.17
Login as 'root' with password 'wago', and then change the password to an industry-standard strong password. Type
exit
to log out of the ssh session.
5. In the CDP Studio Deploy Configuration, pair the WagoPFC device as user root, as explained in Pair the Device
Using the Full Image Size
To be able to use the full SD Card size, it must be resized. The simplest way to do this in the Wago Web interface is to copy the CDP Studio-tailored firmware to the internal flash on the WAGO PFC and then copy that image back to the SD card by specifying 'Full card size'.
To copy the image from the SD Card to the internal flash: 1. Go into Administration -> Create Image. Verify that Create bootable image from boot device looks like this:
Boot Device | Memory Card |
Destination | Internal Flash |
Also, make sure that there is a note that says "Enough memory is available on the destination device. Device is not in use by CODESYS". If all the above requirements are met, click Start Copy. Do not power off the device while the copy process is active. Wait for the Copy process is active to complete.
2. Power off the WAGO PFC and remove the SD Card.
3. Power on the WAGO PFC so that it boots from the internal SD Card.
4. Open the Wago Web-based management and wait for it to become available. Insert the SD Card and click the Configuration tab, then select the Administration sub-menu and Select Create Image. Verify that Create bootable image from boot device looks similar to this:
Boot Device | Internal Flash |
Destination | Memory Card |
Size of created image | Full card size |
Click Start Copy. Do not power off the device while the copy process is active. Wait for the Copy process is active to complete.
5. Click Reboot in the Web Management. The WAGO PFC will now run from the removable SD Card and can utilize its full size.
Note: If you later want to use the Wago programming environment instead of CDP Studio on the device, make sure to install (overwrite) a new Generation 1 image from Wago into the device's internal flash.
Architecture
This toolkit targets WAGO PFC 100/200 (Gen.1) on ARMv7 and built binaries will thus not run on x86-based platforms.
Web Page
Click here to go to the Wago web page.
Using the Toolkit Outside CDP Studio
The following paths and build commands are required to build a CDP Studio project in a Windows command prompt (using this toolkit):
SET WORKSPACE=C:\CDPStudioWorkspace SET TOOLKITDIR=C:\CDPStudio\toolkits\wago_pfc_armv7_13 SET QTDIR=%TOOLKITDIR%\Qt-5.13 SET INSTALL_ROOT=C:\build SET QMAKEFEATURES=%TOOLKITDIR%\CDP-4.10\qmakefeatures;%WORKSPACE%\deployments\libraries\<toolkit>\qmakefeatures;%INSTALL_ROOT%\qmakefeatures SET PATH=%TOOLKITDIR%\toolchain\bin;%QTDIR%\bin;%PATH% qmake && mingw32-make
To use the above in a Linux shell we have to make some small adjustments:
export WORKSPACE=$HOME/CDPStudioWorkspace export TOOLKITDIR=$HOME/CDPStudio/toolkits/wago_pfc_armv7_13 export QTDIR=$TOOLKITDIR/Qt-5.13 export INSTALL_ROOT=$HOME/build export QMAKEFEATURES=$TOOLKITDIR/CDP-4.10/qmakefeatures:$WORKSPACE/deployments/libraries/<toolkit>/qmakefeatures:$INSTALL_ROOT/qmakefeatures export PATH=$TOOLKITDIR/toolchain/bin:$QTDIR/bin:$PATH qmake && make
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.