question

Brad Champeau avatar image
0 Likes"
Brad Champeau asked Kari Payton answered

How do I control motor with status of combiner?

I have a motor connected to a conveyor which is located upstream of a combiner. I have a MTBFMTTR function on the combiner. When the combiner goes down, I want to stop the motor. When the combiner comes back up I want to resume the motor. How do I do this?

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

Kari Payton avatar image Kari Payton commented ·

@Brad Champeau why can't you connect the motor to the same MTBF table?

0 Likes 0 ·
Brad Champeau avatar image Brad Champeau commented ·

Thanks, that was easy.

0 Likes 0 ·

1 Answer

Kari Payton avatar image
0 Likes"
Kari Payton answered

@Brad Champeau two ways:

1. Connect the motor to the same MTBF table

2. In the MTBF parameters window - functions tab - down function - click the scroll to edit the custom code. after the first stopobject() command add this line:

stopobject(model().find("Processor1"), STATE_BREAKDOWN);

2. In the MTBF parameters window - functions tab - up function - click the scroll to edit the custom code. after the first resumeobject() command add this line:

resumeobject(model().find("Processor1"),1);

Be sure to change the name of your object reference where I have "Processor1". helpmodel.fsm


helpmodel.fsm (19.2 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.