-
Notifications
You must be signed in to change notification settings - Fork 9
BC7001
The BC7001 sign is a sign that helps to start and stop a group of carts.
This sign is placed under the rail, and can operate on carts passing over it. It acts as a state machine.
Here is a description of wiring:
Input 1 is a redstone wire on the right or left block of the sign.
Input 2 is the detection of a cart passing at the vertical of the sign (on/off).
Output 1 is a lever put behind the sign, at the same level.
Output 2 is a start/stop order given to the cart passing at the vertical of the sign. Start order is either a passing state, or , if a cart is stopped at the vertical of the sign, it is started.
Here is the state machine description:
When input 1 is on and input 2 is either on or off, output 1 is on and output 2 is in start state. => the machine is in PASS state.
When input 1 is off and input 2 is off, output 1 is on, output 2 is in stop state. => the machine is in WAIT state.
When Input 1 is off and input 2 is on, output 1 is off and output 2 is in stop state => the machine is in STOP state.
The cinematic is PASS -> WAIT -> STOP -> PASS if a cart passes over it during WAIT state.
It is PASS -> WAIT -> PASS if no cart is detected during WAIT state.
It is basically the operating mode of a red light on a road, where input 1 is the command of the red light.
BC7001 sign must be placed under a rail. The real interest is to chain several BC7001 signs, connecting the output lever to the input wire of the next BC7001.
When the input of the first BC7001 is off, the first cart will stop on it, the second cart will stop on the second sign, and so on.
When the input is on, all carts are starting with a delay of 0.2s between each.
Line #1 : Free
Line #2 : [BC7001]
Line #3 : Free
Line #4 : Free