standard block for a conveyor in an automatic packaging line
Posted: Sun Feb 17, 2013 3:26 pm
Hi,
I want to make a standard block to control a conveyor
Making a working program is not the problem, but i want to improve and optimise my program
I see in many machine they use standard blocks for motors, valves etc..
Should i use make just one block for a conveyor and integrate all function for a motor in it, or should i make a conveyor block that steers a motor block?
Standard block example
Inputs
Motor_Switch ( switch to turn off the power to the motor , for maintenance )
Thermal ( Contact of motor protective circuit breaker) only necessary if motor function is integrated
Motor_Alarm ( Alarm from Motor standard block ) only necessary if a motor standard block is used
Release_Signal ( enable to run signal from the next conveyor/machine)
Product detection ( sensor at the begin and end of the conveyor, and maybe sensors on the previous conveyor)
Empty time ( Time to elapse if there is no product at the sensors and the conveyor is running)
Block_Nr ( If using an FC for pointer index in DB , not necessary for an FB )
Ouputs
Motor_Output ( Output for motor , or steer signal for motor standard block)
Stand_By ( stand by signal voor other conveyors release_Signal)
Alarm ( Alarm for Motor switch, Thermal, etc)
Stat
Product_On_Conveyor ( Memory there is product on the conveyor)
Conveyor is running ( Memory conveyor is active )
Temp
Timer_Start ( For use of self made timer function)
Timer_Done ( For use of self made timer function)
Point ( Pointer for use of Fc and Gobal DB )
If Product detection is "1" high
- > Product_On_Conveyor is Set
If Conveyor is running and produc_Detection is "0" for Time "Empty_Time"
- > Product_On_Conveyor is Reset
If Thermal is "0" Low OR if Motor_Switch is "0" Low THEN
- > Alarm is High
If Release_Signal is "1" high AND Alarm is "0" Low AND Product_On_Conveyor is "1" High Then
- > Motor_Output is "1" High
If Release_Signal is "1" high AND Alarm is "0" Low AND Product_On_Conveyor is "0" High Then
- > StandBy is "1" High
This is just a small idea example
I'm just looking for some tips, tricks , just your idea of wat i want to make
I want to make a standard block to control a conveyor
Making a working program is not the problem, but i want to improve and optimise my program
I see in many machine they use standard blocks for motors, valves etc..
Should i use make just one block for a conveyor and integrate all function for a motor in it, or should i make a conveyor block that steers a motor block?
Standard block example
Inputs
Motor_Switch ( switch to turn off the power to the motor , for maintenance )
Thermal ( Contact of motor protective circuit breaker) only necessary if motor function is integrated
Motor_Alarm ( Alarm from Motor standard block ) only necessary if a motor standard block is used
Release_Signal ( enable to run signal from the next conveyor/machine)
Product detection ( sensor at the begin and end of the conveyor, and maybe sensors on the previous conveyor)
Empty time ( Time to elapse if there is no product at the sensors and the conveyor is running)
Block_Nr ( If using an FC for pointer index in DB , not necessary for an FB )
Ouputs
Motor_Output ( Output for motor , or steer signal for motor standard block)
Stand_By ( stand by signal voor other conveyors release_Signal)
Alarm ( Alarm for Motor switch, Thermal, etc)
Stat
Product_On_Conveyor ( Memory there is product on the conveyor)
Conveyor is running ( Memory conveyor is active )
Temp
Timer_Start ( For use of self made timer function)
Timer_Done ( For use of self made timer function)
Point ( Pointer for use of Fc and Gobal DB )
If Product detection is "1" high
- > Product_On_Conveyor is Set
If Conveyor is running and produc_Detection is "0" for Time "Empty_Time"
- > Product_On_Conveyor is Reset
If Thermal is "0" Low OR if Motor_Switch is "0" Low THEN
- > Alarm is High
If Release_Signal is "1" high AND Alarm is "0" Low AND Product_On_Conveyor is "1" High Then
- > Motor_Output is "1" High
If Release_Signal is "1" high AND Alarm is "0" Low AND Product_On_Conveyor is "0" High Then
- > StandBy is "1" High
This is just a small idea example
I'm just looking for some tips, tricks , just your idea of wat i want to make