Skip to content

Application of Techman PROFINET IO device solution in Simens PLC and software

Overview #

A loading and unloading process will be outlined, utilizing 2 Siemens PLCs and 2 Techman robots.

  • PLC 1 acts as a Procedure control, and PLC 2 acts as a CNC machine.
  • Robot 1 acts as a Loading/unloading machine, and robot 2 acts as an Inspection station.

There is also a simulated Digital Input (DI) sensor to detect delivered objects.

Procedures #

  1. Object is delivered
  2. The Loading/unloading machine is informed to move objects to the CNC machine for processing
  3. The object is moved to the CNC machine
  4. CNC process is initialized.
  5. CNC process is completed
  6. The object is moved to the Inspection station
  7. The inspection station informs the loading/unloading machine what patent is assigned to the object.

Hardware Configuration #

  1. Techman Robot
    1. Robot 1
      1. TM5-900
      2. Hardware: 3.2
      3. HMI: 1.81.1200
    2. Robot 2
      1. TM5-900
      2. Hardware: 3.2
      3. HMI: 1.81.1200
  2. PLC
    1. PLC 1: S7-1200 CPU1214 DC/DC/DC 6ES7 214-1AG40-0XB0
    2. PLC2: S7-1200 CPU1215 DC/DC/DC 6ES7 215-1AG40-0XB0
  3. TIA Portal: V15
  4. 123 number card

The device configuration can be found here.

TIA V15 #

Networks #

In this application, five devices are used in the network, eg.

  1. HMI_1
  2. Master_PLC
  3. Slave_PLC
  4. PROFINET IO device 1 (robot 1)
  5. PROFINET IO device 2 (robot 2)

[Download Sample Project] PLC_Project_loading&unloadingProcess

1. HMI_1: Simatic HMI Simulator
2. Master_PLC: Procedure Control
3. Slave_PLC: CNC machine
4. cifxrepns: Loading unloading machine
5. cifxrepns2: Inspection station

Build Tag Table #

“I” refers to input, which means process state.
“Q” refers to output, which means process control.
“M” refers to memory, which is an auxiliary tag for saving values in the memory byte area.

The tag’s address should correspond to the device modules. For example, the tag name “robotFinish1pick” corresponds to robot1 “TM_8_T2O_RegisterBit”.

Program Block #

  1. Master_PLC[OB1]:
    Network 1: Starting the connection with Slave_PLC
    Network 2: Turning on robot 1
    Network 3: Turning on robot 2
    Network 4: M260 is a sensor that detects the arrival of a workpiece. If M260 receives the signal, robot 1 will be notified due to Q212.
    Network 5: If Robot1 finishes picking up the workpiece, it will inform CNC (Slave_PLC) to start working.
    Network 6: CNC finishes working and commands robot 1 to pick up the workpiece.
  2. Slave_PLC:
    Briefly introduce the communication mode between two PLCs. Each PLC has two areas: write data area and read data area. PLC 1 set data from the write data area to the read data area of PLC2 and get data from the read data area to the write data area of PLC 2.

Created a function block in PLC1, and operate data exchange here.

TMflow Project #

 

[Download Sample Project] TMflow Project

 

 

Powered by BetterDocs