VAEM Examples
Below will outline some examples of how to setup and run the VAEM along with basic function calls
Ethernet
The examples listed below will be using the Ethernet port or [5] located in the diagram below.

Hardware setup
In order to run the examples listed below,
- Ensure that the device is powered up, there should be LED indicator lights over the Ethernet port that light up when the device is powered.
- Connect the VAEM device to host PC via ethernet port
- Ensure that the host PC or device's ethernet network is on the same one as the VAEM device
- Fur further documentation on how to setup the hardware, please reference the Festo Resources section of this page
Validating setup
There are several different ways to validate a correct ethernet configuration and setup for the VAEM device, below are two solutions.
Default IP address range
A VAEM device usually has an ip address that lies within the range of 192.168.0.1->192.168.0.100. This comes preprogrammed in the firmware but can be changed if needed.
To validate the connection:
- Verify that the IPv4 address of the connected host PC or device's Ethernet adapter is on the same network range: 192.168.0.xxx
- Use the address resolution protocol (arp) to display all connections on the PC and dedicated network ranges
- Ensure that the connection exists under the specified network ID range
- Use
pingto validate that the PC can talk to the device
Using the VAEM GUI and serial connection
Festo offers a VAEM user interface that can be used to change certain configurations of the device including the IP address.
This can be used if the user already has a network of IOT devices where the VAEM needs to be integrated into or if the IP address is still not known.
- Download the VAEM GUI.
- Using the RS232 connection, connect host PC or device via USB to VAEM device
- Use the GUI to connect to VAEM device.
- Navigate to the control section of the GUI and configure the IP address
- Disconnect from the device and cycle the power
- Once the device has booted, connect host PC or device via Ethernet cable to VAEM device
- Use the GUI to connect to the device with the new IP address to validate
Coding examples
The examples below provide basic implementation of the VAEM python driver and usage.
Basic startup
Before any examples that can be run, the VAEM front end and tcp configuration needs to be defined first
Configuring and opening valves
This example script demonstrates how to use the VAEM python driver to configure and open valves based on their
valve ID number. In order to open the valves, they must be selected and then configured. This script iterates through
all 8 channels and configures each channel with the same opening time.
Opening valves
This example script demonstrates how to open valves based on id. In order to open the valves a dictionary must be passed in
with the valve id being the key and the actuation time being the value.
Reading the VAEM device status and clearing errors
This example script demonstrates how to read the VAEM status word coming from the device via Python driver. The script then
clears any errors found in the status word. For more information of the VAEM status word, please reference the Festo
resources section of this page for the operation instruction PDF.
Setting different channel and valve parameters based on channel ID
This example script demonstrates how to set different parameters to a specific channel on the VAEM device via Python driver.
The script will then save these parameters to the VAEM device so they do not have to be reconfigured later.
Getting different channel and valve parameters based on channel ID
This example script demonstrates how to get different parameters from a specific channel on the VAEM device via
Python driver.