Belt Contamination Sensor
Belt Contamination Sensor
Hello guys, i am new to factorio and notice that belt array is contaminated which stop my green circuit production
Then my red ,blue and assembling machine stop working.
So i design a simple contamination sensor, which stop the belt and give warning when there is contamination.
Here is the normal case. When red circuit is detected, the corresponding belt is stopped and give warning signal Mutliple belt is contaminated Notice that we need to change item to be whitelist in constant combinator for different belt Setting
Constant Combinator 1 ------[Red Wire] -------- Belt 1 ---------[Red Wire] --------- Speaker 1
Constant Combinator 1 ------[Green Wire] ----- Belt 2 ---------[Green Wire] ------ Speaker 1
Constant Combinator 2 ------[Red Wire] -------- Belt 3 ---------[Red Wire] --------- Speaker 2
Constant Combinator 2 ------[Green Wire] ----- Belt 4 ---------[Green Wire] ------ Speaker 2
Belt Condition : All signal < 1
Speaker Condition: Any signal > 0
Blueprint Code
Then my red ,blue and assembling machine stop working.
So i design a simple contamination sensor, which stop the belt and give warning when there is contamination.
Here is the normal case. When red circuit is detected, the corresponding belt is stopped and give warning signal Mutliple belt is contaminated Notice that we need to change item to be whitelist in constant combinator for different belt Setting
Constant Combinator 1 ------[Red Wire] -------- Belt 1 ---------[Red Wire] --------- Speaker 1
Constant Combinator 1 ------[Green Wire] ----- Belt 2 ---------[Green Wire] ------ Speaker 1
Constant Combinator 2 ------[Red Wire] -------- Belt 3 ---------[Red Wire] --------- Speaker 2
Constant Combinator 2 ------[Green Wire] ----- Belt 4 ---------[Green Wire] ------ Speaker 2
Belt Condition : All signal < 1
Speaker Condition: Any signal > 0
Blueprint Code
Re: Belt Contamination Sensor
That's a simple but highly useful creation.
You could pair it with an automatic belt cleaner which is equally simple - a filtered inserter using a blacklist to remove all "junk" from a belt which doesn't belong there.
You could pair it with an automatic belt cleaner which is equally simple - a filtered inserter using a blacklist to remove all "junk" from a belt which doesn't belong there.
Re: Belt Contamination Sensor
That is a great Idea. I have made small adjustment to remove item from belt by smart inserter.
But the problem is that alarm would come very short and you could barely notice that belt is contaminated.
Re: Belt Contamination Sensor
highly inventive ++
Re: Belt Contamination Sensor
Yes. I am thinking to run the alarm for 10 seconds with timer circuit. But cant figure out how to do it
- Ranger_Aurelien
- Fast Inserter
- Posts: 170
- Joined: Thu Apr 25, 2019 1:53 pm
- Contact:
Re: Belt Contamination Sensor
You could use an RS Latch (Set-Release) to keep emitting an alarm code until a clear signal is set.
https://wiki.factorio.com/Tutorial:Circ ... ok#Latches
For your countdown signal idea, there is a section on clocks here but I have not tried them:
https://wiki.factorio.com/Tutorial:Comb ... sic_clocks
https://wiki.factorio.com/Tutorial:Circ ... ok#Latches
For your countdown signal idea, there is a section on clocks here but I have not tried them:
https://wiki.factorio.com/Tutorial:Comb ... sic_clocks
-
Ranger Aurelien
"Knowledge Brings Fear" -- Motto of Mars University, Futurama
Ranger Aurelien
"Knowledge Brings Fear" -- Motto of Mars University, Futurama
Re: Belt Contamination Sensor
That is good example. I should read it firstRanger_Aurelien wrote: ↑Thu May 21, 2020 6:54 pmYou could use an RS Latch (Set-Release) to keep emitting an alarm code until a clear signal is set.
https://wiki.factorio.com/Tutorial:Circ ... ok#Latches
For your countdown signal idea, there is a section on clocks here but I have not tried them:
https://wiki.factorio.com/Tutorial:Comb ... sic_clocks
I have done it to give alarm for 10 seconds. Then, it sends a signal to inserter to pick up item.
But there is still a minor problem that inserter could only pick 1 item per 10 seconds.
Here is my logic Flow
(1)Detect belt with constant combinator and start the clock if contamination is found
(2)The clock run for 10 seconds , give signal to speaker and send Alarm
(3) After 10 seconds, send signal to inserter
(4) Inserter pick up item to stop the clock <----- It immediately reset the clock
If there is some sort of clock that ends with delay, that would be perfect.
Btw it look so messy and difficult to set up
Re: Belt Contamination Sensor
I think the easiest solution is to not tie the inserter to the clock at all. Let it clean up the belt as fast as possible.
The clock itself can be used to stop the alarm after 10 seconds.
The clock itself can be used to stop the alarm after 10 seconds.
- Ranakastrasz
- Smart Inserter
- Posts: 2144
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: Belt Contamination Sensor
Why wouldnt you just have the alarm go off when something is in the chest?
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Re: Belt Contamination Sensor
Because the alarm somehow depends on the reading on belt. So once inserter pick up item, it turn off the alarm.
Re: Belt Contamination Sensor
So the alarm could only turn on for the first time when something get into the chest.Ranakastrasz wrote: ↑Fri May 22, 2020 1:11 amWhy wouldnt you just have the alarm go off when something is in the chest?
The chest itself could only handle binary state (empty -> non-empty) for one time.
We may use memory to remember the previous state of the chest (Not sure about that)
Re: Belt Contamination Sensor
Ah, I understand.sfreeddom wrote: ↑Fri May 22, 2020 4:21 amSo the alarm could only turn on for the first time when something get into the chest.Ranakastrasz wrote: ↑Fri May 22, 2020 1:11 amWhy wouldnt you just have the alarm go off when something is in the chest?
The chest itself could only handle binary state (empty -> non-empty) for one time.
We may use memory to remember the previous state of the chest (Not sure about that)
I would simply empty the chest after inspecting the situation and fixing the belts which lead to the contanimation. The content can be moved somewhere where it is actually needed. Once you have bots you can even turn the chest into a active provider chest to make sure it's moved to an actual consumer automatically.
- Ranakastrasz
- Smart Inserter
- Posts: 2144
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: Belt Contamination Sensor
Exactly. I've been using these for a while, 1x1 and 4x4 versions(bus). Admittedly, my designs use a tunnel, so its all inline with a belt. The ability to not have to worry about accidently contaminating a belt and having to spend a bunch of time cleaning it up is really nice. I use 1x1 at the open for pretty much any setup, and 4x4 at the start of any bus. Works great, so long as I remember to add it.Premu wrote: ↑Fri May 22, 2020 9:47 am
Ah, I understand.
I would simply empty the chest after inspecting the situation and fixing the belts which lead to the contanimation. The content can be moved somewhere where it is actually needed. Once you have bots you can even turn the chest into a active provider chest to make sure it's moved to an actual consumer automatically.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Re: Belt Contamination Sensor
Yes. That is more simple and easy to set up. So alarm would stay for long enough to notice. And bot could clean up those chestPremu wrote: ↑Fri May 22, 2020 9:47 amAh, I understand.sfreeddom wrote: ↑Fri May 22, 2020 4:21 amSo the alarm could only turn on for the first time when something get into the chest.Ranakastrasz wrote: ↑Fri May 22, 2020 1:11 amWhy wouldnt you just have the alarm go off when something is in the chest?
The chest itself could only handle binary state (empty -> non-empty) for one time.
We may use memory to remember the previous state of the chest (Not sure about that)
I would simply empty the chest after inspecting the situation and fixing the belts which lead to the contanimation. The content can be moved somewhere where it is actually needed. Once you have bots you can even turn the chest into a active provider chest to make sure it's moved to an actual consumer automatically.
- Ranakastrasz
- Smart Inserter
- Posts: 2144
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: Belt Contamination Sensor
I suggest against having bots clean up the chest. That would make it harder to find the problem, and the alert would go away. Having to manually fix it makes more sense, since contamination tends to keep happening if it happens once.
i also prefer just locking the belt, and setting off an alarm. jamming the source belt and letting me find the problem and fixing it before releasing it.
i also prefer just locking the belt, and setting off an alarm. jamming the source belt and letting me find the problem and fixing it before releasing it.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Re: Belt Contamination Sensor
I find this truly inventive, not to say over the orbit engineering .......
I solve this with an spliter, filter set to desired item, all ohter will go elsewere...
(suggest is to an active provider chest....)
I solve this with an spliter, filter set to desired item, all ohter will go elsewere...
(suggest is to an active provider chest....)
- Ranakastrasz
- Smart Inserter
- Posts: 2144
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: Belt Contamination Sensor
If you use an active provider chest, you have to then add a method to keep the alarm going, AND if you ignore it initially (Like I do, until I get a chance to fix it) an active provider means it fills up your entire storage area eventually, depending on how bad the leak is. You are just moving the problem, instead of actually preventing it from getting worse.
Sure, its better to have your entire storage fill up with garbage than have your belts filled up.Storage is in one area, and relatively easy to fix, whereas you have to manually run the belts and/or have robots deconstruct and reconstruct them to fix it. Still, better to have your belts in the contaminated area grind to a halt, an alarm go off, and it wait patiently for you to fix it, rather than it keep getting worse while you finish what you are doing.
Sure, its better to have your entire storage fill up with garbage than have your belts filled up.Storage is in one area, and relatively easy to fix, whereas you have to manually run the belts and/or have robots deconstruct and reconstruct them to fix it. Still, better to have your belts in the contaminated area grind to a halt, an alarm go off, and it wait patiently for you to fix it, rather than it keep getting worse while you finish what you are doing.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Re: Belt Contamination Sensor
Yeah. I think this is our final design of the system. And, i combine all you guy idea and separate the messy speaker part from belt contamination.Ranakastrasz wrote: ↑Sun May 24, 2020 3:55 pmIf you use an active provider chest, you have to then add a method to keep the alarm going, AND if you ignore it initially (Like I do, until I get a chance to fix it) an active provider means it fills up your entire storage area eventually, depending on how bad the leak is. You are just moving the problem, instead of actually preventing it from getting worse.
Sure, its better to have your entire storage fill up with garbage than have your belts filled up.Storage is in one area, and relatively easy to fix, whereas you have to manually run the belts and/or have robots deconstruct and reconstruct them to fix it. Still, better to have your belts in the contaminated area grind to a halt, an alarm go off, and it wait patiently for you to fix it, rather than it keep getting worse while you finish what you are doing.
Functionality
(1) Keep Alarm unless manually disable
(2) Remove belt contamination and auto cleaned by bot
(3) Centralized Speaker Control
So Basically, i filter out contamiation signal and send it to speaker center.
Then, the signal will go in loop forever and turn on alarm as well.
Belt Contamination ---> Trigger Positive Signal --> Send Out Signal With Label --> Go into Loop -> Turn on Alarm
Minor Detail:
- Using two constant combinator is to avoid sharing signal between belt and blocking other belt on my initial purpose.
Since inserter automatically clean the belt, it doesnt matter now. Use one if wanted.
- Extra Combinator in speaker center (top-left) can also be removed. It acts as extra protection to loop combinator
Blueprint of Belt Section (You have to manually output signal to speaker section)
Blueprint of Speaker
Set up yourself
Re: Belt Contamination Sensor
This is so over engineered... or as nosports said “over the orbit”.
Just a filter splitter per belt. Put items into active provider. Connect provider with alarm. Turn alarm on, if too many items in that chest.
If you really want to know it, when wrong item was on the belts: connect the signal with a memory cell / latch, to remember, that there was one wrong item!
https://wiki.factorio.com/Tutorial:Circ ... 2F_Counter
https://wiki.factorio.com/Tutorial:Comb ... mple_latch
https://wiki.factorio.com/Tutorial:Circ ... ok#Latches
Feed the output into alarm. The last link contains RS-latch to reset the signal, otherwise you need to reset somehow.
Just a filter splitter per belt. Put items into active provider. Connect provider with alarm. Turn alarm on, if too many items in that chest.
If you really want to know it, when wrong item was on the belts: connect the signal with a memory cell / latch, to remember, that there was one wrong item!
https://wiki.factorio.com/Tutorial:Circ ... 2F_Counter
https://wiki.factorio.com/Tutorial:Comb ... mple_latch
https://wiki.factorio.com/Tutorial:Circ ... ok#Latches
Feed the output into alarm. The last link contains RS-latch to reset the signal, otherwise you need to reset somehow.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...