Technical data

Appendix
27.6 Sample Programs
Programming with STEP 7
640 Manual, 05/2010, A5E02789666-01
27.6.2.2 Assigning Symbolic Names
Defining Symbolic Names
Symbols are used in the sample program and they must be defined in the symbol table using
STEP 7. The following tables show the symbolic names and the absolute addresses of the
program elements used.
Symbolic Addresses for Feed Pump, Agitator Motor, and Inlet Valves
Symbolic Name Address Data Type Description
Feed_pump_A_start I0.0 BOOL Starts the feed pump for ingredient A
Feed_pump_A_stop I0.1 BOOL Stops the feed pump for ingredient A
Flow_A I0.2 BOOL Ingredient A flowing
Inlet_valve_A Q4.0 BOOL Activates the inlet valve for ingredient A
Feed_valve_A Q4.1 BOOL Activates the feed valve for ingredient A
Feed_pump_A_on Q4.2 BOOL Lamp for "feed pump ingredient A running"
Feed_pump_A_off Q4.3 BOOL Lamp for "feed pump ingredient A not running"
Feed_pump_A Q4.4 BOOL Activates the feed pump for ingredient A
Feed_pump_A_fault Q4.5 BOOL Lamp for "feed pump A fault"
Feed_pump_A_maint Q4.6 BOOL Lamp for "feed pump A maintenance"
Feed_pump_B_start I0.3 BOOL Starts the feed pump for ingredient B
Feed_pump_B_stop I0.4 BOOL Stops the feed pump for ingredient B
Flow_B I0.5 BOOL Ingredient B flowing
Inlet_valve_B Q5.0 BOOL Activates the inlet valve for ingredient A
Feed_valve_B Q5.1 BOOL Activates the feed valve for ingredient B
Feed_pump_B_on Q5.2 BOOL Lamp for "feed pump ingredient B running"
Feed_pump_B_off Q5.3 BOOL Lamp for "feed pump ingredient B not running"
Feed_pump_B Q5.4 BOOL Activates the feed pump for ingredient B
Feed_pump_B_fault Q5.5 BOOL Lamp for "feed pump B fault"
Feed_pump_B_maint Q5.6 BOOL Lamp for "feed pump B maintenance"
Agitator_running I1.0 BOOL Response signal of the agitator motor
Agitator_start I1.1 BOOL Agitator start button
Agitator_stop I1.2 BOOL Agitator stop button
Agitator Q8.0 BOOL Activates the agitator
Agitator_on Q8.1 BOOL Lamp for "agitator running"
Agitator_off Q8.2 BOOL Lamp for "agitator not running"
Agitator_fault Q8.3 BOOL Lamp for "agitator motor fault"
Agitator_maint Q8.4 BOOL Lamp for "agitator motor maintenance"