Toolkit 1.3 - WAGO ARMv7 32-bit
About
This toolkit builds applications based on CDP 4.12 and later for WAGO TP 600, Edge Controller (752-8303), CC100, PFC 100/200 Gen.2 on ARMv7 32-bit based platforms.
Note: The WAGO devices must be set up as described in the the Wago Image Setup below.
Note: To use the built-in I/O on the WAGO CC100, it must additionally be set up as described in the WagoCC100IO Configuration Manual.
Information about how to deploy applications can be found in the Deploy Configuration.
Supported devices
- WAGO TP 600 range of devices (762-410x, 762-520x, 762-630x and compatible)
- WAGO Edge Controller (752-8303 and compatible)
- WAGO CC100 (751-9301, 751-9401 and compatible)
- Click here for detailed supported device list for the WAGO PFC 100/200 Gen.2.
- 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 TP 600, Edge Controller (752-8303), CC100, PFC 100/200 Gen.2, containing the following package versions.
Package | Version |
---|---|
gcc | 11.3.0 |
glibc | 2.35 |
kernel | 4.9.56 |
Download
This toolkit requires Firmware 25 (FW25-V04.03.03) or later.
- Click here to download a pre-built image for use with the WAGO TP 600 and WAGO Edge Controller (752-8303).
- Click here to download a pre-built image for use with the WAGO CC100.
- Click here to download a pre-built image for use with the WAGO PFC 200 Gen2.
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.
Wago Image Setup
1. Go into the Wago Web-Based-Management (WBM) by opening a web browser and typing in the IP address of the WagoCC100IO. It is possible to set a temporary IP address to 192.168.1.17 by pressing the Reset button for >8 seconds. The default credentials are below.
Username | Password |
---|---|
admin | wago |
2. Under the Configuration tab, PLC Runtime, 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. Pair the WAGO device with CDP Studio 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 internal flash image on the Wago onto the SD card by specifying 'Full card size'.
If the correct Wago image is already running on the device, skip to step 4) below. Otherwise, when you have the correct Wago image on the SD Card, boot up the WAGO device (with the SD Card inserted), and proceed with the following steps 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 device and remove the SD Card.
3. Power on the WAGO device 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 device will now run from the removable SD Card and can utilize its full size.
Architecture
This toolkit targets WAGO TP 600, Edge Controller (752-8303), CC100, PFC 100/200 Gen.2 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_tp_armv7_13 SET QTDIR=%TOOLKITDIR%\Qt-5.13 SET INSTALL_ROOT=C:\build SET QMAKEFEATURES=%TOOLKITDIR%\CDP-4.12\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_tp_armv7_13 export QTDIR=$TOOLKITDIR/Qt-5.13 export INSTALL_ROOT=$HOME/build export QMAKEFEATURES=$TOOLKITDIR/CDP-4.12/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.