PROFINET Device4.2.0
 
Loading...
Searching...
No Matches
Commissioning Sitara EVM board with SIEMENS TIA Portal

Sitara EVM board GSDML Installation

GSDML installation

Add Sitara EVM board into the PLC network

Add EVM Board

Connect Sitara EVM board to PLC

Connect EVM Board

Select one of Input, Output or I/O-Module

Select I/O-Module

Slot allocation

Following table shows the allocation of slots:

Slot No Fixed / Dynamic Allocation
0 Fixed DAP Device itself
1 Dynamic One of Input, Output or I/O Module
2 Dynamic One of Input, Output or I/O Module
3 Dynamic One of Input, Output or I/O Module

Submodule / Telegram Selection

Following figure shows an expample of Module and Submodule/Telegram selection:

Select I/O-Submodule

Submodule Peripharal Index

Following figure shows the Submodule Peripheral index definitions in context of total Subslots supported by IO-Device:

Submodule Peripheral index

Module Access Point (MAP)

Module Access Point (MAP) is the access point for parametrization over PROFINET A-Cyclically Read / Write services. Easch Module has a virtual submoule which reperesents the module itself and provides Module/Submodule specific parameter. Followinf figures shows the Module/Submodule specific parameter which transfered at connetion phase to the device:

Select I/O-Module - 1

LED Control Submodule (MAP)

in this example we use an I/O-Submodule with one Byte of Input and Output Data to control and read the status of some LED supported on EVM-Board. Because of dynamically allocation of I/O-Submodule, we've to identify where the Submodule plugged which used for LED control. In this case the index of I/O-Submodule is 9. By the Cyclically Data-Exchange the appliction evaluates the MAP Module parameter to get the Pheripheral index (9) and process the:

  • PND_APP_UpdateOutputData
  • PND_APP_UpdateInputData

Output-Data from PLC and applay the Output-Data which is the Setpoint for LED LED Setpoint

Input-Data by reading the actual status of LED from Hardware and actualizes the Input-Data. LED Actual-Value

Compile and Load the PLC program

PLC Load

Assign device name

In this example EVM board is asigned with sitara1:

PLC Run

Run the PLC program

PLC Run

Diagnostic status

Follwoing figure shows the diagnostic status of EVM board:

EVM Diagnostic

PTCP Line Delay Measurement

Follwoing figure shows the Line-Delay measured by EVM board:

Line-Delay

DCP Blink

The DCP Blink is available over Accessible devices menu by PLC:

DCP Blink