question

ORNELLA S avatar image
0 Likes"
ORNELLA S asked Matthew Gillespie edited

travel with condition

Good morning, everyone, I wish to have the carrier travel according to the following condition: - the photo eye 1 is on block passerelle-simulation-3.fsm

FlexSim 18.2.2
photo eye
· 5
5 |100000

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

Isaac Litster avatar image Isaac Litster commented ·

Hi @ORNELLA S

I'm not sure what you mean by the carrier. Is it the TransporterAlaine?

Thanks!

0 Likes 0 ·
ORNELLA S avatar image ORNELLA S Isaac Litster commented ·
0 Likes 0 ·
ORNELLA S avatar image ORNELLA S commented ·

yes

Thanks

0 Likes 0 ·
Jeff Nordgren avatar image Jeff Nordgren commented ·
@ORNELLA S

I don't understand what you want to happen. Exactly what do you want TransporterAlaine to do? And when (which of the photo eyes)? Need a few more details about what your model is supposed to do.

Thanks.

0 Likes 0 ·
ORNELLA S avatar image ORNELLA S Jeff Nordgren commented ·

@Jeff Nordgren

I want that the transporter Alaine begin to travel with palets from queue when the photo eye P5 is have the state " on block" and then he stops to travel when the photo eye P5 have the state "on clear" . Thanks you in advance !

0 Likes 0 ·

1 Answer

Clair A avatar image
1 Like"
Clair A answered ORNELLA S commented

Here is what I would suggest:

  • in Queue1, trigger OnReset: add a pickoption Close and Open Ports to close the output ports of Queue1
  • create a logic in Process Flow with a block of 5 activities:
    • Event-Triggered Source: sample PE5 OnBlock
    • Custom Code: add a pickoption in Control > Close and Open Ports to open the output ports of Queue1
    • Wait for Event: sample PE5 OnClear
    • Custom Code: add a pickoption in Control > Close and Open Ports to close the output ports of Queue1
    • Sink: end of logic

I also advise you to define a Block Time greater than zero on PE5 if you want to fire On Block only when a pallet is stopped in front of PE5.

· 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.

ORNELLA S avatar image ORNELLA S commented ·

it is working @Clair A

0 Likes 0 ·