Cancel
Showing results for 
Search instead for 
Did you mean: 

Re: How to handle material flow and part appearance in CEE

Creator
Creator

Hi!

 

Thanks alot! it worksSmiley Happy

 

one more qeustion:

 

Witch one is the best way for connecting to a PLC for virtual commisioning? 

Re: How to handle material flow and part appearance in CEE

Siemens Phenom Siemens Phenom
Siemens Phenom

during PLC connected simulation, the Gantt-chart is ignored.

This means instead of all transitions defined there, the PLC controls usually the devices directly.

 

"Usually" I say, because you can force triggering Operation by PLC, when you create an explicit

start signal (button "Creat device/flow/nonsim start-signal").

 

But the common and easier way is to connect PLC-signals directly to your devices.

Check chapters in manual, regarding:

- button "Automatic Pose sensor/Action creation"

- signal mapping ("Signal Mapping Tool" and prefered by me: "Connection Mapping")

Also reading about Logic-Blocks in general in the key to success!

 

 

Re: How to handle material flow and part appearance in CEE

Creator
Creator

Ok,

 

I want to work with the LB's but i think a need some more help.

 

So the robot drives in the drop position and there i use the command: 

-Setsignal toolreq1 = 1

-Waitsignal toolready = 1

 

I connected these in an outputs to the LB that need to close the clamps and send a signal to the robot toolready = 1.

 

But when i run the simulation nothing happends. in the simulation viewer the inputs and outputs don't change

 

attached the LB 

 

Thank you !

Re: How to handle material flow and part appearance in CEE

Siemens Phenom Siemens Phenom
Siemens Phenom

pls remove the "= Clampready"

That's an expression not an equation.

 

Actually, you don't need to take care of all the logic.

Try using the "Automatic Pose sensor/Action creation" and have a look at the result.

You'll see that the exits just reflect what the kinematic is doing.

Easier to model and in the end you can, e.g. force a failure by using joint-jog for testing-purpose.

Btw.: you can use "Copy logic" to reuse the logic for device that have the same poses (even for multiple devices at once)

 

Re: How to handle material flow and part appearance in CEE

Genius
Genius

As GuidoDamm mentions, have a look at the Pose/Action tool to create "Smart Components".

Also - if you don't see ANY signal change in the Simulation Panel, check your Options..

Tools/Options or F6, then go to Motion tab:

Make sure "Ignore Signals in robotic simulation" is not checked.

 

BR

Andreas

Re: How to handle material flow and part appearance in CEE

Creator
Creator

Hi! thank you!

 

I understand this but i just want to connect a input from the robot to a LB, and an  LB output to the device operation startOP.  How do i make the logic that when the input go high the output also go high?

Re: How to handle material flow and part appearance in CEE

Genius
Genius
Spoiler
 

hi

 

If you would like the Exit to be TRUE when Entry is TRUE, simply put the Entry in to the Value Expression of the Exit. See pic.

 

/Andreas

Re: How to handle material flow and part appearance in CEE

Siemens Phenom Siemens Phenom
Siemens Phenom

of course, you CAN do that.

But Why so complicated?

Why not connecting the robot-signal directly to the device?

Or, if you have to check several conditions, via a module.

 

But using an operation is very rarely needed to drive a device.

Operation start-signals are usually used for flow-ops or non-sim-ops.

Re: How to handle material flow and part appearance in CEE

Creator
Creator

Hello! 

 

now i work in CEE modus, but later on i want to switch to a PLC connection. 

I tought it was easer to make this switch when you use logic block.. Smiley Happy Or am i wrong?Smiley Happy 

 

Sorry i don't know the fuction of modules? where can i find them?

 

Thanks for the help!

Re: How to handle material flow and part appearance in CEE

Siemens Phenom Siemens Phenom
Siemens Phenom

Ok, I do understand a bit more what you are going to do now.

But still, you should avoid using device-start-signals, see below.

 

Modules are Process Simulates PLC's Function-Blocks, while you have no PLC.

You organize them in the modules-viewer.

They work like Function-Blocks in the PLC, where you define transition-signals, that are used as transitions in your SFC-graph.

Define transistion-signals in such block and drag the block down into the calling-hierarchy.

Modules are ignored during PLC-connected simulation, just like the Gantt-chart.

 

To define it correctly to make your device work in both modes you should:

1. have one non-sim-operation on top of your sequence, I name it "init", that will be triggered on each time-interval during CEE simulation.

2. after this operation comes the first operation of your sequence. Edit the Transistion columns of this operation and add

RE(true) OR WhateverSignalThatTriggersTheFollwingProductionCycles

RE(true) will make it run through the first cycle after pressing play

3. lets assume your device operation starts a new sub sequence then link it to the "init"-operation and give it your robot-signals rising edge: RE(robot_reached_location)

Now CEE works and your clamp will move. No need for device start-signal.

4. use "create pose sensor/action" on your device and create/connect signals to the entries.

5. connect all signals to the plc

 

Now the trigger for your device is different for both modes

CEE-mode: triggered through module

PLC-mode triggered through plc