question

Mariana C avatar image
0 Likes"
Mariana C asked jing.c answered

How do I create the logic of a traffic light?

I'm trying to make a simple traffic intersection control by traffic litght. But I dont know how to implement.

the traffic ligth has three times

red:60 seconds

green:54 seconds

yellow:4 seconds

capturar.png

FlexSim 17.2.1
traffic controltraffic light
capturar.png (858.1 KiB)
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

·
jing.c avatar image
4 Likes"
jing.c answered

Hi, @Mariana C

I made a small sample about traffic light logic. It controlled by the label and message.

May it helps~

trafficcontorlbychjv172.fsm


5 |100000

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

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.