d435 commissioning faq v4.1 sp1 - siemens ag · guideline simotion d435 page 4 content simotion...

71
Welcome Copyright by SIEMENS AG 2007 Guideline D435 training case with SIMOTION 4.1 SP1

Upload: tranphuc

Post on 19-Apr-2018

287 views

Category:

Documents


11 download

TRANSCRIPT

Page 1: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Welcome

Copyright by SIEMENS AG 2007

Guideline D435 training casewith SIMOTION 4.1 SP1

Page 2: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

SIMOTION

Guideline D435 training casewith SIMOTION 4.1 SP1

Release 11/2007

Page 3: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 3Guideline SIMOTION D435

Content

IntroductionPreparation

SINAMICS configurationCreate new projectEstablish connection to SINAMICS_IntegratedAutomatic configurationSet power supply valuesConnect digital inputsOperate SERVO_02 via control panelManual controller settingsAutomatic controller settingsSet message frameComplete configuration for SERVO_03Load settings to target system

Page 4: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 4Guideline SIMOTION D435

Content

SIMOTION programmingInsert new axisConfigure Red_Axis and Blue_AxisAdd output camOperate Red_Axis via control panelFault handlingCreate global variablesInsert geometry camOperate SIMOTION through a programStart SIMOTION program with variableMonitoring MCC chartTrace signalsMCC export to STSymbol browserService overviewIT Diag

Page 5: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 5Guideline SIMOTION D435

Preparation

How to Start

Insert “empty” 512 MB SIMOTION V4.1 CompactFlash card

For communication purposes, connect the SIMOTION D435 via PROFIBUS DP, PROFINET IO with IRT, MPI or Ethernet.

Switch on power supply

Start SIMOTION SCOUT V4.1

512 MB CF card

Status LED

Page 6: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 6Guideline SIMOTION D435

SIMOTION D435

Create a new project

Page 7: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 7Guideline SIMOTION D435

Insert new device

New hardware, that combines the functionality of SIMOTION and SINAMICS.SIMOTION D435 can be inserted in SCOUT as the new device after creating a new project.

Select CPU type D435 V4.1

Select variant SINAMICS S120 Integrated V2.5 in D435

double click

Page 8: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 8Guideline SIMOTION D435

Configuration of the external ethernet interfaces

Select your interface to D435. The ethernet interface cable is connected to the lower slot of the D435 (-X130, IE2/NET).

D435 appears on the project list and HW Config dialog will be open.

In case of connection problems check“Set PG/PC interface” and

“Assign PG/PC” for correct settings.

Depending on your PC/PG another interface

might be necessary.

Page 9: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 9Guideline SIMOTION D435

HW Config

Download configuration to Module D435

Close HW Config after successful configuration download to Module.Wait until SIMOTION D435 reboot is finished. (green ready LED is on, compare page 5)

check correct address

download process

Select Target ModuleDownload

to Module

Page 10: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 10Guideline SIMOTION D435

Establish connection with the target system

Establish connection between the PG and D435

Restore factory settings

connect

You have established the connection to SINAMICS Integrated.

Page 11: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 11Guideline SIMOTION D435

Automatic configuration

double click

Start automatic configuration

Page 12: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 12Guideline SIMOTION D435

Automatic configuration

Select “Servo” as object type for both drives

Acknowledge with OK and close the message box.

Select whether a servo- or vector-type drive object is to be used.

Click Identification via LED in order to identify the powerunit of the drive object by means of LED flashing.

Click Ok to complete the automatic commissioning.

The message window is a reminder to parameterize the drive offline with the drive wizard. (SERVO_03 drive is not a motor/encoder with an electronic type label)

As soon as automatic commissioning has run, an upload operation (Load to PG) is automatically performed. Close wizard.

Page 13: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 13Guideline SIMOTION D435

Set training case specific line supply voltage & DC link voltage

open Expert list for SERVO_02 and SERVO_03set p210 = 400 Vset p1244[0] = 715 V and p1248[0] = 279 V

set p210 = 400V

For quick parameter access enter number

here (1st column).

set p1244[0] = 715 Vset p1248[0] = 279 V

right click

Close window.right click

Page 14: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 14Guideline SIMOTION D435

Setup of digital I/O – Infeed operation

Wiring of the digital input DI0 (P864 Infeed Operation)

Connect digital input 0 ( 1 )The setup is to take place only for SERVO_02 ( 2 )The signal “p864, BI : Infeed operation” ( 3 ) is assigned

2.

3.

double click

1.

Page 15: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 15Guideline SIMOTION D435

Test setup with external panel

Enable infeed of SERVO_02 with SIEMENS control panel

Switch 0 (DI 0) in up position to set infeed in operationResult: Infeed operation enabled

Page 16: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 16Guideline SIMOTION D435

Load drive unit to PG

Select SINAMICS_Integrated ( 1 )

Select Load CPU / drive unit to PG ( 2 )

Save and compile ( 3 )

3. 2.

1.

Page 17: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 17Guideline SIMOTION D435

Operate SERVO_02 with the control panel

Assume control priority for SERVO_02: SINAMICS_Integrated

Drives SERVO_02 Commissioning Control panel

double click

show diagnostic area

SERVO_02 is equipped with DRIVE-CLiQ components including electronic type label automatic commissioning.

Page 18: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 18Guideline SIMOTION D435

Operate SERVO_02 with the control panel

Assume control priority

Enables ( 1 )Set speed setpoint ( 2 ) Turn the Drive ON ( 3 ) 1. 2.

3.

SERVO_02 is in Operation

Page 19: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 19Guideline SIMOTION D435

STOP SERVO_02 with the control panel

Turn the drive off

Return control priority

Acknowledge the alert with “Yes”

Page 20: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 20Guideline SIMOTION D435

Manual controller setting - Optimize speed controller

Open measuring function ( 1 ) from menu barSelect SINAMICS_Integrated ( 2 )Select “Speed controller setpoint jump (after speed setpoint filter)” ( 3 )Four channels can be plotted depending on the measuring function. ( 4 )

1.

3.

4.

2.

Page 21: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 21Guideline SIMOTION D435

Manual controller setting - Optimize speed controller

Download modifications to the drive ( 1 )Assume control priority ( 2 ) and accept ( 3 )

1.

2.

3.

Page 22: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 22Guideline SIMOTION D435

Manual controller setting - Start measuring function

Switch Drive ON ( 1 ) and start measurement ( 2 )The measurement will start after the alert has been read and understood ( 3 )

1.

3.

2.

Page 23: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 23Guideline SIMOTION D435

Manual controller setting - Time diagram

The recorded curves are displayed

Switch Drive OFF ( 1 )Return control priority ( 2 )

1.2.

Page 24: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 24Guideline SIMOTION D435

Manual controller setting - Adjust speed controller parameters

The gain factor can be optimized by changing the value in the P gain = 0.1 Nms/radinput field ( 2 ) in the speed controller template ( 1 ) The values are immediately active! (after pressing ENTER)

2.

1.1.

2.

Page 25: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 25Guideline SIMOTION D435

Manual controller setting – Control measurement

Select a new measuring function

Press: Assume control priority

Accept application monitoring time

Switch Drive ON

Start measuring function

Acknowledge alert with “Yes”

Switch Drive OFF

Press: Give up control priority!

Measuring function

Drive ON/OFF

Page 26: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 26Guideline SIMOTION D435

Manual controller setting - Control measurement

The control measurement with optimized controller values shows a much better transcientresponse.

Close the trace and don‘t save the curves.

Right clickClose

Page 27: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 27Guideline SIMOTION D435

Automatic controller setting1

1.2. 3.

4.

Assume control priority, Drive ON and

Perform all steps

All steps will be done automatically

new values will be calculated

To save settings scroll down and press “Accept”.

1 in preparation

Switch drive off and give up control priority after automatic controller setting has finished.

Page 28: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 28Guideline SIMOTION D435

Load drive unit to PG and disconnect from target system

Select SINAMICS_Integrated ( 1 )

Select Load CPU / drive unit to PG ( 2 )

Disconnect from target system ( 3 )

Save and compile ( 4 )

4.2.3.

1.

Page 29: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 29Guideline SIMOTION D435

Set PROFIBUS Message frame aligning with HW Config

Set correct message frame type (e.g. SIEMENS telegram 105 for drives, telegram 390 for CU)

Transfer configuration to HW Config

Before the alignment, you must move all drive objects without I/O addresses (“---..---”)

behind the objects with valid or still to be aligned (“???..???”) I/O addresses.

Another message frame type is defined in HW Config

Message frame has been aligned to HW Config

Page 30: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 30Guideline SIMOTION D435

Completing configuration for SERVO_03

Follow configuration templates for “SERVO_03”.The motor and encoder don‘t possess an electronic type label (no sensor module integrated)

1.

2.

Page 31: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 31Guideline SIMOTION D435

Configuration SERVO_03 control structure and power unit

6SL3120-2TE13-0Axx (see label)

Setup control structure and power unit for SERVO_03.

Page 32: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 32Guideline SIMOTION D435

Setup of operating signal

Setup DI 4 for enable infeed operation SERVO_03.

2.

3.

1.

Page 33: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 33Guideline SIMOTION D435

Determine power unit connection

Check correct connection for double motor module

Page 34: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 34Guideline SIMOTION D435

Motor and brake selection

Select motor type (1FK7022-xAK7x-xxxx) and brake

1.2.

3.

3rd party motor integration

Page 35: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 35Guideline SIMOTION D435

Select encoder

Select encoder (sin/cos incremental encoder, code 2001)

Page 36: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 36Guideline SIMOTION D435

Message frame selection / Summary

Control correct SIEMENS telegram 105 for PROFIBUS process data exchange

Page 37: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 37Guideline SIMOTION D435

Load project to target system

Save project and connect to target system

Select SINAMICS_Integrated and load project to target systemclick

copy RAM to ROM

Select if project should be saved to

CF card.

The setup of the SINAMICS_Integrated

is now correct and ready to run.

Page 38: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 38Guideline SIMOTION D435

Note

Some D435 training cases (MLFB: 6SL3120-2TE13-0AA0) will show an error (P1244):

In this case:open expert list for SERVO_03 againset p1244[0] = 715 V and p1248[0] = 279 VLoad CPU / drive unit to PGSave and compile

training cases consist modifiedmotor modules

Page 39: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 39Guideline SIMOTION D435

SIMOTION D435 - Insert a new axis

Double click on “Insert axis”Two axes are to be inserted (“Red_Axis“ and “Blue_Axis”)

Information : Red FlagThe Red Flag shows that there

are optimized SINAMICS values.Use “Load to PG” to update values.

double click

Page 40: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 40Guideline SIMOTION D435

Configure “Red_Axis“

Choose axis name “Red_Axis” and select the necessary technologiesDetermine axis type (rotary axis)

Page 41: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 41Guideline SIMOTION D435

Configure “Red_Axis“

Define units (standard settings) and select “modulo axis” with 360° modulo length.

Page 42: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 42Guideline SIMOTION D435

Configure “Red_Axis“

Select drive unit SINAMICS_Integrated ( 1 ) and select drive SERVO_02 ( 2 )Check message frame type (message frame 105)Click “Data transfer from the drive” ( 3 )

1. 2.

3.

Page 43: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 43Guideline SIMOTION D435

Configure “Red_Axis“

Click “Data transfer from the drive” and control encoder properties

• Encoder type: Absolute encoder, cyclic absolute• Encoder mode: Endat• Measuring system: Rotary encoder system

• Encoder pulses / revolution: 512• Fine resolution: 2048• Number of data bits: 21

Page 44: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 44Guideline SIMOTION D435

Configure “Red_Axis“

Summary of axis configuration

Page 45: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 45Guideline SIMOTION D435

Configure the second axis : “Blue_Axis”

The configuration of the second axis is similar to the first one (“Red_Axis”).- click “Insert axis” and give axis name : “Blue_Axis”- select technology: “Synchronous operation”- select axis type: rotary and modulo axis with 360 degrees modulo length

Page 46: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 46Guideline SIMOTION D435

Configure “Blue_Axis”

Click “Data transfer from the drive” and control encoder properties.

• Encoder pulses / revolution: 2048

• Encoder type: Incremental encoder• Encoder mode: Sine• Measuring system: Rotary encoder system

Page 47: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 47Guideline SIMOTION D435

Add Output cam for “Red_Axis“

Insert output cam

Close window

standard settings

Page 48: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 48Guideline SIMOTION D435

Download data to target device

Download SIMOTION D435 project to target device (The 1st download (incl. TPCAM) takes longer.)

Load project to target systemLoad project to target system

Page 49: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 49Guideline SIMOTION D435

Operate “Red_Axis” with SIMOTION control panel

1.

2.

3.

4.

show diagnostic area

Page 50: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 50Guideline SIMOTION D435

Start “Red_Axis” with SIMOTION control panel

1.

2.

4.

5.

1.Set enables2.Acknowledge with OK3.Show Diagnostics4.Select speed-controlled

traversing of the axis5.Enter desired speed

and desired direction6. Start motion

6.

3.

“Red_Axis“ is in Operation

Page 51: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 51Guideline SIMOTION D435

Stop “Red_Axis” with SIMOTION control panel

1.2.

3.

1. Stop motion2. Remove enables3. Acknowledge with OK Error occurs (no PLC control) Acknowledge Alarm4. Give up control priority

Note: Now you can operate the Blue_Axis in the same way. Remember that the DI 4 has to be turned on.

4.

Page 52: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 52Guideline SIMOTION D435

Programming

For the next steps there are three possibilities:

1. Programming yourselfFollow the instructions how to program SIMOTION (needs time for writing the programs)

2. Use your own project but copy programs from demo projectStart another SCOUT instance (open SCOUT a second time) Open the demo project with the second SCOUTCopy the required programs from the demo project to your own project(change names, if you are using other names for axes, ....)

3. Use demo projectOpen the demo project and just follow the next steps with the demo project

less

tim

e re

quire

d

Page 53: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 53Guideline SIMOTION D435

Fault Handling

Insert ST program “faulthandling” and write program

compile ST program

right clickSelect “Accept

and compile” or press !

Page 54: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 54Guideline SIMOTION D435

Fault Handling

Open EXECUTION SYSTEM and add ST program to SystemInterruptTask FaultTasks

Add ST program “TechFaultProg” to TechnologicalFaultTaskAdd ST program “PerFaultProg” to PeripheralFaultTask

Double Click onEXECUTION

SYSTEM

Page 55: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 55Guideline SIMOTION D435

Create global device variables

Disconnect from target systemOpen global device variables and create the variables “enable_mcc” and “toggle”

global variables

• enable_mcc with data type: bool

• toggle with data type: bool

Page 56: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 56Guideline SIMOTION D435

Insert CAM

Enter geometrysettings for Cam_1

Close Cam_1 to save settings.

Insert cam for MCC program

Page 57: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 57Guideline SIMOTION D435

1. Insert a MCC unit (MCCUnit_1), uncheck Open editor automatically

Insert MCC unit

Operate SIMOTION through a program

1.

3.

3. Insert MCC Chart (Motion)

2. Permit single step and program status

Page 58: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 58Guideline SIMOTION D435

Operate SIMOTION through a program

Construct the shown flow chart (program “Motion”)

- While variable “enable_mcc” = true start MCC - Wait 2 seconds- Switch Red_Axis enable- Start Red_Axis position-controlled, velocity 200°/s- Switch output cam on Red Axis (switch between 10° – 20°)- Wait 5 seconds- Switch Blue_Axis enable- "Cam on" with Blue_Axis and 180° synchronization length- Wait 10 seconds- "Cam off" with Blue_Axis and 180° desynchronization length- Disable Blue_Axis- Stop Red_Axis- Disable Red_Axis- Set variable toggle

- Start Motion Task_2

Use standard settings, change only specified

values.

Save and compile.

Page 59: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 59Guideline SIMOTION D435

Operate SIMOTION through a program

Insert new MCC Chart and Construct the shown flow chart (program “loop”)

- Start Motion Task_1

Insert LAD/FBD unit “LFunit_1”, insert LAD/FBD program and permit program status

Compile and Save programs.

Construct the shown chart

enter variable “tmp”

Insert LAD/FBD program “ladfd_1”

Page 60: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 60Guideline SIMOTION D435

Open execution systemAssign program “Motion” to Motion Task 1 and “Loop” to Motion Task 2In task configuration, check “Activation after Startup task” for Motion Task 1Assign program “LFunit_1” to BackgroundTask

Leave EXECUTION SYSTEM and save new settings.

Operate SIMOTION through a program

Page 61: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 61Guideline SIMOTION D435

Download SIMOTION program to target system

Save settings and compile

Connect to target system

Download SIMOTION D435 project to target device

copy RAM to ROM if desired

Page 62: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 62Guideline SIMOTION D435

Start SIMOTION MCC program via global variable

Open “Global Device Variables” and control variable “enable_mcc” = true to start MCC Chart

set true and control immediately

Page 63: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 63Guideline SIMOTION D435

Monitoring SIMOTION MCC chart

Enable Monitoring on/off for MCC

blue status for single step

yellow status for monitoring

MCC single step

MCC monitoring

Page 64: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 64Guideline SIMOTION D435

Monitoring SIMOTION LAD/FBD unit

Enable Program status ON/OFF

right clickcolor indicator

(blue and green)

Page 65: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 65Guideline SIMOTION D435

Trace online signals

Open Trace / function generator

Select D435, select signals

(1) open signal selection

(2) assign signal to channel

(3) endless trace

(4) download parameterization

Page 66: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 66Guideline SIMOTION D435

Trace online signals

Start trace

Time diagram for position of both axes and output cam state

stop trace

Page 67: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 67Guideline SIMOTION D435

Save MCC as ST and Import ST

Export MCC Chart as ST source and Import

Save file

Import

MCC Chart “Loop” as ST Source

Page 68: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 68Guideline SIMOTION D435

Symbol browser

Control system variables at symbol browser e.g. select symbol browser and then the axis

all symbols can be monitored

online

Page 69: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 69Guideline SIMOTION D435

Service overview

The axis status could be observed by right clicking on project name, selecting Target system.

right click

Page 70: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Page 70Guideline SIMOTION D435

IT DIAG – integrated SIMOTION Diagnostics

Enter SIMOTION IP Address in Webbrowser (e.g. http://169.254.11.22)NOTE: It might be necessary

to disable the “automatic configuration script" first

Page 71: D435 commissioning FAQ V4.1 SP1 - Siemens AG · Guideline SIMOTION D435 Page 4 Content SIMOTION programming Insert new axis Configure Red_Axis and Blue_Axis ... Click Ok to complete

Thank you.