Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EthernetInterface Settimino mbed-rtos mbed
Homepage
The test program requires that the MBED can see the PLC whithin the network, and that the PLC expose the requested DB. It is possible to simulate a PLC running Snap7 server example program, contained in the Snap7 library package (http://snap7.sourceforge.net), from a PC.
Running this example the mbed will output something similar from the serial port:
Connect to network... Connected: IP Address is 10.0.10.213 Connecto to PLC at 10.0.10.51... Connected: PDU Length = 240 Read 10 bytes from DB21, starting at 0... Read data: DB content Disconnect from PLC... Disconnect from network... -- Test terminated --