factory settings

In the standard preset, the pump is switched on or off depending on the status of the last three connected digital inputs (potential-free contact).

The preset is designed that way that if none of the inputs is connected to a sensor, the pump is always running and the second digital output is not switched on.

It is therefore only necessary to connect something there if you want to use the control functions. If you do not want to use this, you do not need to do anything there.

The first connection that can be configured is the fourth digital input:

If this input has no passage, i.e. is open (which is also the case if no sensor, such as a float, is connected), the pump is switched on.

If a sensor (e.g. float) is now connected and this closes the contact, the pump and the digital output (which may have been switched on previously) will stop (if it will not be overwritten by an alarm float in the steps afterwards!).

Here you have to consider how you connect the float, in some instructions of the floats wiring examples for inlet and outlet controls are deposited, however, the logic for the connection to the TC-Box can be exactly the other way round, so simply always think about if you open or close a contact!

if Floater == 0: #contact is open

P1ON() #pump 1 start

if Floater == 1: #contact is closed

P1OFF() #pump 1 stop


If you are working with only one float, then only this sensor (Digital 4) must be connected, if you are working with several floats, then please note that the float at this input (Digital 4) must be the first float (usually the lowest float).

The input "Digital 3" can be used as a second connection:

If this is not connected, i.e. the contact is open, the digital output (where e.g. a second pump can be switched) is switched off.

if HighFloater == 0: #contact is open

P2OFF() #pump 2 stop

if HighFloater == 1: #contact is closed

P1ON() #pump 1 start

P2ON() #pump 2 start


If a sensor (e.g. a float) is connected to this input and it closes the contact, the pump and the digital output are switched on.

Please note how you connect the float, as the logic here is exactly the opposite of the previous digital input!

Also note that this may overwrite instructions been given by the lines before, so if the "Digital 4" ordered the pump 1 "off", this floater "Digital 3" has a higher priority and can leave it "on".

In addition, another sensor can be connected to "Digital 2" for the alarm case (e.g. again a float that signals the exceeding of a maximum level).

As soon as the contact is closed, the pump is started and the digital output is switched on. In addition, an alarm message can be created and immediately sent to the cloud to notify the user.

When you are using Tsurumi Connect, you will always be able to take a look deep into the logic of the program you are using.

Here you can see the program in total:


#######################################################

## Tsurumi Connect # factory settings # (c) 2022-2023

## Copyright Tsurumi Europe GmbH

############################################################

SpecialCode = *Enter SpecialCode then save to perform ( 0 = Standard )*

DelayFloaterUp = *Delay time on level reach to start pump (seconds)*

DelayFloaterDown = *Delay time on level reach to stop pump (seconds)*

AlertFloaterMinTime = *Minimum time, that the Pumps shall run in case of alarmfloater (10-60seconds)*

AlertFloaterReset = *Stop alarm pumping on time ( 0 ) , time and normal floater down ( 1 ) or time and high floater down (2) ?*

InformAlwaysPumping= *Report every pump start and stop to statistic? (set 99)*

tDelayFloaterDownP1 = 10

tDelayFloaterUpP1 = 11

tDelayFloaterDownP2 = 20

tDelayFloaterUpP2 = 21

T_LvlStillHigh = 12

def P1ON() : pData.setOut(pData.ePD_DOUT,0,1)

def P1OFF() : pData.setOut(pData.ePD_DOUT,0,0)

def P2ON() : pData.setOut(pData.ePD_DOUT,1,1)

def P2OFF() : pData.setOut(pData.ePD_DOUT,1,0)

NormFloater = pData.getIO(pData.ePD_DIN,3)

HighFloater = pData.getIO(pData.ePD_DIN,2)

AlertFloater = pData.getIO(pData.ePD_DIN,1)


if NormFloater == 1:

timer.reset(tDelayFloaterUpP1)

if DelayFloaterDown > 0:

if timer.getRunningState(tDelayFloaterDownP1) == False:

timer.start(tDelayFloaterDownP1)

if timer.elapsedSeconds(tDelayFloaterDownP1) > DelayFloaterDown:

P1OFF()

if DelayFloaterDown < 1:

P1OFF()

if NormFloater == 0:

timer.reset(tDelayFloaterDownP1)

if DelayFloaterUp < 1:

P1ON()

if DelayFloaterUp > 0:

if timer.getRunningState(tDelayFloaterUpP1) == False:

timer.start(tDelayFloaterUpP1)

if timer.getRunningState(tDelayFloaterUpP1) == True and timer.elapsedSeconds(tDelayFloaterUpP1) > DelayFloaterUp:

P1ON()

if HighFloater != 1:

timer.reset(tDelayFloaterUpP2)

if DelayFloaterDown > 0:

if timer.getRunningState(tDelayFloaterDownP2) == False:

timer.start(tDelayFloaterDownP2)

if timer.elapsedSeconds(tDelayFloaterDownP2) > DelayFloaterDown:

P2OFF()

if DelayFloaterDown < 1:

P2OFF()

if HighFloater == 0:

timer.reset(tDelayFloaterUpP2)

if DelayFloaterDown > 0:

if timer.getRunningState(tDelayFloaterDownP2) == False:

timer.start(tDelayFloaterDownP2)

if timer.elapsedSeconds(tDelayFloaterDownP2) > DelayFloaterDown:

P2OFF()

if DelayFloaterDown < 1:

P2OFF()

if HighFloater == 1:

timer.reset(tDelayFloaterDownP1)

if DelayFloaterUp < 1:

P1ON()

if DelayFloaterUp > 0:

if timer.getRunningState(tDelayFloaterUpP1) == False:

timer.start(tDelayFloaterUpP1)

if timer.getRunningState(tDelayFloaterUpP1) == True and timer.elapsedSeconds(tDelayFloaterUpP1) > DelayFloaterUp:

P1ON()

timer.reset(tDelayFloaterDownP2)

if DelayFloaterUp < 1:

P2ON()

if DelayFloaterUp > 0:

if timer.getRunningState(tDelayFloaterUpP2) == False:

timer.start(tDelayFloaterUpP2)

if timer.getRunningState(tDelayFloaterUpP2) == True and timer.elapsedSeconds(tDelayFloaterUpP2) > DelayFloaterUp:

P2ON()

if AlertFloater == 1:

P2ON()

P1ON()

if timer.getRunningState(T_LvlStillHigh) == False:

timer.start(T_LvlStillHigh)

if AlertFloater == 0:

if timer.getRunningState(T_LvlStillHigh) == True:

P2ON()

P1ON()

if AlertFloaterReset == 0:

if timer.elapsedSeconds(T_LvlStillHigh) > AlertFloaterMinTime :

timer.reset(T_LvlStillHigh)

if AlertFloaterReset == 1:

if NormFloater == 1:

if timer.elapsedSeconds(T_LvlStillHigh) > AlertFloaterMinTime :

timer.reset(T_LvlStillHigh)

if AlertFloaterReset == 2:

if HighFloater == 0:

if timer.elapsedSeconds(T_LvlStillHigh) > AlertFloaterMinTime :

timer.reset(T_LvlStillHigh)


### reset mayor alarm

if SpecialCode == 73:

if pData.getIO(pData.ePRESET_VAR, 2) == 0:

print("Preset: DIN4 set, ePRESET_VAR2=0, reset Alarms")

pData.setOut(pData.ePRESET_VAR, 2, 1)

pData.resetAlarm();

else:

pData.setOut(pData.ePRESET_VAR, 2, 0)

### Emergency Stop on CloudCode 666

if SpecialCode == 666:

P1OFF()

P2OFF()

### Emergency Start Normal on CloudCode 777

if SpecialCode == 777:

P1ON()

P2ON()

### Pump Off Cut On on CloudCode 12

if SpecialCode == 12:

P1OFF()

P2ON()

### Pump On Cut Off on CloudCode 21

if SpecialCode == 21:

P1ON()

P2OFF()

####

if InformAlwaysPumping == 99:

if NormFloater == 1:

SilentNone()

if NormFloater == 0:

SilentReset()


### END OF PRESET ###


And this is how you need to connect your floater to use it in different applications:

1.) 24hours Pump:

just connect your pump and nothing else

-> ready

2.) Floater Pump, inflow

connect your pump and connect a floater to "Digital 4", the floater needs to be connected that way, that when you lift the floater up the connection is open.

-> ready

3.) Floater Pump, discharge

connect your pump and connect a floater to "Digital 4", the floater needs to be connected that way, that when you lift the floater up the connection is closed.

-> ready

4.) Backup Pump / simple double Pump station.

a) as an addition to 1. 24hours or 2. Floater inflow:

Connect a floater to "Digital 3" that way, that when you lift the floater up the connection is closed.

-> ready

b) as an addition to 3. Floater discharge:

Connect a floater to "Digital 3" that way, that when you lift the floater up the connection is open.

-> ready

5.) alarm floater.

a) as an addition to 1. 24hours or 2. Floater inflow:

Connect a floater to "Digital 2" that way, that when you lift the floater up the connection is closed.

-> ready

b) as an addition to 3. Floater discharge:

Connect a floater to "Digital 2" that way, that when you lift the floater up the connection is open.

-> ready