STMicroelectronics P-NUCLEO-IOM01M1 User Manual

UM2421
User manual
Getting started with the P-NUCLEO-IOM01M1 full IO-Link master (PHY plus
stack) evaluation board and development system

Introduction

The P-NUCLEO-IOM01M1 is an STM32 Nucleo pack composed of the STEV The STEVAL-IOM001V1 is a single IO-Link master PHY layer (L6360) while the NUCLEO- F446RE runs an IO-Link stack v.1.1 (developed by and property of TEConcept GmbH, license limited to 10k minutes, renewable without additional costs). IO-Link stack update is allowed exclusively by following the procedure described in Section 5 Firmware update. Any other erase/ overwrite of the pre-loaded stack makes impossible to restore it.
The STM32 Nucleo pack provides an affordable and easy-to-use solution for the evaluation of IO-Link applications, L6360 communication features and robustness, together with the STM32F446RET6 computation performance. The pack, hosting up to four STEVAL-IOM001V1 to build a quad port IO-Link master, can access the IO-Link physical layer and communicate with IO­Link Devices.
You can evaluate the tool via the dedicated GUI (IO-Link Control Tool©, property of TEConcept GmbH) or use it as an IO-Link master bridge accessible from the dedicated SPI interface: source code of demo project (Low-Level IO-Link Master Access Demo Application, developed by TEConcept GmbH) and API specification are available for free.
AL-IOM001V1 and the NUCLEO-F446RE boards.
Figure 1. P-NUCLEO-IOM01M1 evaluation pack
UM2421 - Rev 5 - October 2020
For further information contact your local STMicroelectronics sales of
fice.
www.st.com

1 Architecture overview

A generic IO-Link system is composed of an IO-Link master and an IO-Link device connected by an unshielded cable. Normally system.
The IO-Link master is installed in the control cabinet or, as a remote I/O, directly in the field. It can have several IO-Link ports (channels): an IO-Link device can be connected to each port, hence, it is a point-to-point communication and not a fieldbus.
A single port master, as the P-NUCLEO-IOM01M1, can be schematized as the arrangement of two main blocks (see Figure 2. P-NUCLEO-IOM01M1 block details):
Control sub-system: the NUCLEO-F446RE board runs the IO-Link stack and firmware accepting user commands, configuration parameters and controlling the remote IO-Link device. The NUCLEO-F446RE board provides all digital signals to perform the proper control for single and multi-port (up to 4) IO-Link
master. You can evaluate the tool via the dedicated GUI (IO-Link Control Tool by TeConcept®) or use it as an IO-Link master bridge accessible from the dedicated SPI interface.
IO-Link physical: the STEVAL-IOM001V1 mounts the ST transceiver L6360, which interfaces with the micro-controller by digital interfaces (I²C for status and configuration; UART for IO-Link data transfer) and the IO-Link device by the IO-Link interface (type A or type B as defined by the standard).
, the IO-Link master is the connection point between the IO-Link device and the automation
UM2421
Architecture overview
Figure 2. P-NUCLEO-IOM01M1 block details
UM2421 - Rev 5
page 2/19

2 Getting started

2.1 Hardware requirements

To evaluate the system, the hardware requirements are:
a P-NUCLEO-IOM01M1 (STEVAL-IOM001V1 plus NUCLEO-F446RE)
a power supply (18-32.5 V)
a USB cable (type A to mini-B)
an IO-Link (v1.1) device (e.g. P-NUCLEO-IOD01A1)
connection cable/wires between IO-Link master and IO-Link device
a Laptop/PC
The P-NUCLEO-IOM01M1 is a complete single port IO-Link master composed by two application boards (STEVAL-IOM001V1 and NUCLEO-F446RE) connected via the CN7 and CN10 ST morpho connectors.
A power supply (from 18 to 32.5 V) is necessary to supply the STEVAL-IOM001V1 via the CN1 connector, whereas the NUCLEO-F446RE can be supplied by connecting its mini-USB port to your PC/Laptop USB port through a USB type A to mini-B USB cable.
For a full evaluation of the system, an IO-Link device compatible with specification v1.1 (for example, P-NUCLEO-
IOD01A1) is also necessary.
The IO-Link master can be controlled by the IO-Link Control Tool (through USB) of TEConcept, or by the SPI interface available on CN7: in this case, a SPI master (for example, another STM32 Nucleo board programmed with Low-Level IO-Link Master Access Demo Application) and the connection wires for SPI signals are necessary (see also Section 3.3 Development system setup).
UM2421
Getting started

2.2 Software requirements

To complete the system, you need a PC/laptop with:
Windows®(version 7 or above)
STSW-LINK009 driver installed
For system evaluation only:
IO-Link Control Tool©(property of TEConcept GmbH)
the IODD file of your IO-Link device
For application development:
the SPI master control software (Low-Level IO-Link Master Access Demo Application)

2.2.1 Low-Level IO-Link Master Access Demo

The Low-Level IO-Link Master Access Demo application is an example of how to build host application for controlling the IO-Link. It provides low-level functions which make possible basic communication with IO-Link master (for example, to change the IO-Link port configuration, to read or write parameters, etc.).
The Low-Level IO-Link Master Access module has its own abstraction layers that run on dif as Windows, Linux, Cortex-M) and provides different peripherals for the connection with the IO-Link master (such as SPI, USB Virtual COM port, UART232, etc.).
For details on the control of the IO-Link master from your host application running on an embedded environment, refer to Figure 9. P-NUCLEO-IOM01M1 development system connections.
ferent platforms (such
UM2421 - Rev 5
page 3/19

3 How to build and run the IO-Link master

3.1 Single port system evaluation setup

UM2421
How to build and run the IO-Link master
Step 1. Connect the STEV
morpho connectors.
Important: The STEVAL-IOM001V1 evaluation board must be on the opposite side with respect to the NUCLEO-F446RE board mini-USB connector
, as shown in the figure below.
Figure 3. STEV
AL-IOM001V1 evaluation board to the NUCLEO-F446RE board through the ST
AL-IOM001V1 connected to NUCLEO-F446RE (P-NUCLEO-IOM01M1 stack)
UM2421 - Rev 5
page 4/19
UM2421
Single port system evaluation setup
Step 2. Connect the STEV
pin/signal correspondence.
AL-IOM001V1 to the IO-Link device by screwing cables on CN3, taking care of the
Figure 4. P-NUCLEO-IOM01M1 evaluation system connections
Step 3. Launch the IO-Link Control T
ool (CT) on your laptop/PC.
Step 4. Connect the USB cable between the laptop/PC USB port and the P-NUCLEO-IOM01M1 mini-USB
port.
Step 5. Click on the Control Tool [Connect] button (green icon).
Figure 5. IO-Link Control Tool interface
UM2421 - Rev 5
Step 6. Connect the power supply to the STEV
to Figure 4. P-NUCLEO-IOM01M1 evaluation system connections).
AL-IOM001V1 CN1 connector, taking care of the polarity (refer
page 5/19
UM2421
Single port system evaluation setup
Step 7. Activate the power supply connected to the STEV
AL-IOM001V1.
Step 8. Reset the STEVAL-IOM001V1 by clicking the [reset] button.
Step 9. Reset the NUCLEO-F446RE by clicking the [black] button.
The system is now ready to operate and can be controlled by the IO-Link Control Tool.
Step 10. Click on [Inactive] to stop previous data exchange (refer to Figure 5. IO-Link Control Tool interface).
Step 11. Select [Port 1] tab and click on [Power OFF]: this action drives low the ENL+ signal and L+ line. CN3
does not supply the IO-Link device anymore (refer to Figure 5. IO-Link Control Tool interface).
Step 12. Click on [Select Device]: the Device selector window appears.
Figure 6. IO-Link Control Tool - IODD selection
Step 13. Select the IODD XML file of your IO-Link device from the list and click [Select Device].
The Device selector is then closed.
If the IODD files does not appear in the list, click [Import], browse your folders and then click
[Open] to
add the XML file of your IO-Link Device to the list of the Device Selector window.
Step 14. Click on [Power On] (ENL+ is turned ON and the IO-Link device is supplied by L+ line).
Step 15. Click on [IO-Link] to activate the wake-up request and establish communication with the IO-Link
device. The Device Status window shows the connection status (see Figure 7. IO-Link Control Tool -
sensor and data format activators)
Step 16. In the Parameter tab, open the Identification menu and double click on the right side of the Sensor
Activator “var”: a selection window opens to select the sensor to be activated.
If the P-NUCLEO-IOD01A1 is connected, select [All sensors are enabled (30)] and click anywhere outside the window.
Step 17. Click on the [Sensor Activator] row and then click on the [Write Selected] button to definitively
activate the selection.
Step 18. In the Parameter tab, double click on the right side of the Process Data Layout “var”:
a selection window is open.
Step 19. Select the desired data to display (e.g. “Temperature + Humidity (7)”, if P-NUCLEO-IOD01A1 is used)
and then click anywhere outside the window.
UM2421 - Rev 5
page 6/19
Loading...
+ 13 hidden pages