question

Craig DIckson avatar image
0 Likes"
Craig DIckson asked Braydn T commented

emulation mode: encoder sensor?

I am building an emulation for our PLC programmers to use. One of the sensors they use is an encoder that measures distance travelled on a conveyor. The encoder changes a bit every 2" travelled. I don't think just time is an adequate proxy, since the conveyor has a VFD and changes speed fairly often (with accel and decel of course).

Any suggestions?

FlexSim 19.1.1
emulation moduleencoder
5 |100000

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

1 Answer

·
Benjamin W2 avatar image
1 Like"
Benjamin W2 answered Braydn T commented

Hi @Craig DIckson,

If I understand you correctly, you are trying to use FlexSim's emulation module to model how far a flow item has traveled on the conveyor. However, since your conveyor is on a VFD, you cant use normal kinematics to model the flow item.

Have you considered dynamically changing the conveyor speed based on your servers instead of using the distance sensor? Then you could use something like:

Model.find("Conveyor1").as(Conveyor).targetSpeed = ConveyorSpeed

Where "ConveyorSpeed" is a global variable updated by your servers.

If you still want to use the distance sensor, you might want to consider using something other than the conveyor module, since the conveyor module is heavily based in acceleration, speed, and deceleration.

· 2
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·

here is an example

conveyor-sensor-distance.fsm

0 Likes 0 ·
Braydn T avatar image Braydn T commented ·

@Craig DIckson

Did Ben's Answer help you? If so, could you please click the accept button? Thanks!

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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