question

Alexandr B avatar image
0 Likes"
Alexandr B asked Joerg Vogel answered

programming conveyor using OPC UA

Hello, I have a question about programming conveyor using OPC UA. I can't figure out which variables are responsible for setting the speed and direction of the conveyor. When choosing Emulation, I choose the pipeline and processor, there are no differences when creating variables. Tell me what variables are responsible for setting the speed and direction of the conveyor, or where can I read about it?

FlexSim 20.1.1
flexsim 20.1.1opc uaprogramming conveyor
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Benjamin W2 avatar image Benjamin W2 commented ·

@alexandr.b, do you still need help with this? I would recommend looking at the conveyor API reference. There are some commands there that can set the speed of the conveyor. If you want to switch directions, you can set a negative speed.

0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

The easy comment on this: you put a photoeye on a conveyor. You add a trigger in properties of this photoeye and choose picklist options for change speed and change direction. Then you look into the source code how it has been accomplished.

The difficult comment is you look into the references in manual and figure it out by yourself. You find the properties and methods of Conveyor Class here.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.