Skip to content

Robot – Siemens PLC Intetgration via PROFINET Installation

Examples are valid for:
TMflow Software version: 1.76.6300 or above
TM Robot Hardware version: Hw5.0
Note that older or newer software versions may have different results.

Other specific requirements:

PROFINET Setting Package 

SIEMENS Pre-Cautions

  1. Make sure you already download TIA Portal (you can download it through SIEMENS web). In this tutorial, we are using TIA Portal V15.1 version
  2. Prepare your Siemens Licence
  3. PLC type being used in this case : CPU 1214C DC/DC/DC  ( 6ES7 214-1AG40-0XB0 )

NOTE :

  • Please check your own PLC type (written at the side)
  • Make sure you have already installed the PROFINET hardware into your control box.

Installation Procedures #

Open TIA Portal and create new project

Add New Device and select PLC type you use

Configure PLC IP Address

  1. Select device configuration
  2. in the Device view, select the PROFINET interface of the PLC. in the properties window, select Ethernet addresses and set IP address. This assigns the PROFINET IP address to your PLC so it can communicate with other devices
  3. After finish setting, click OK

Install GSD File for TM Robot in TIA Portal

  1. Click Options –> Manage general station description files (GSD)
  2. select the GSD File
  3. Click Install

 

Locate the cifX module in the hardware catalog, drag it into the Devices & Networks workspace, and then double-click the module to open its configuration

Connect PLC to the CIFX module, then assign device name

Assign Device Name for PLC

  1. In Configured PROFINET Device –  select your PLC
  2. Click update device list to scan the network and make sure the PLC is connected
  3. Verify communication status
  4. Click assign device name

Assign Device Name for PROFINET

  1. In Configured PROFINET Device –  select your  CIFX
  2. Click Update List
  3. Check if the status shows OK
  4. Click Assign Name

Configure CIFX IP Address

Assign Modules to the CIFX Rack

  1. In hardware catalog, open Module file
  2. Drag the modules into the CIFX rack in sequence, starting with the input modules followed by output modules. The order should follow the number after TM_X (e.g., 1, 2, 3, and so on).

Ex :

TM_1_T2O

TM_2_T2O

TM_3_T2O

Add New External File

Generate Blocks from Source

Newly Added Data Types from External Source File

Compile, Download, and Go Online

Example : Control Camera Light from Siemens PLC #

  1. Check the TM Robot PROFINET Data Table in the TMflow Software Manual, which can be downloaded from our website
  2. Check address table for the camera light

from the table, we can see that the code for the camera light is TM_1_O2T_RunSetting

Check the CIFX Address Table and verify the Q address

  1. Type your tag name (camera mask and camera light)
  2. Set your data type based on the profinet table
  3.  For camera mask and camera light = TM_1_O2T_RunSetting

Address :

Camera mask : %QB65 (starting byte = 1) –> means output byte 65. Since the Q Address for TM_1_O2T_RunSetting starts at 64 and the camera light mask in the Profinet data table occupies 1 byte, therefore you have to write %QB65

Camera Light : %QB66 (starting byte = 2)

 

In the watch table page, enter the tag you want to monitor by typing either its tag name or its address.

Then, you can control the robot light by entering a value in the Modify value column

Camera Light Enable
Camera Light Disable

You might also repeat the same procedure to check the ControlBox ID value :

 

 

 

 

 

 

 

 

Powered by BetterDocs