Tracking the Program Number
Previous Topic  Next Topic 


Overview


The Program Number Start and Program Number End PCSDB Target variables are used to activate or clear the active program number.


Only one program number can be active at a time. If a program number is active and a program number start is received for a different program number the first program number will become inactive.


The following variables are used to activate or deactivate a program number:


PCSDB.send_program_number_start{PROGRAM NUMBER}

Marks the selected program as active

PCSDB.send_program_number_end{PROGRAM NUMBER}

Marks the selected program as not active



The following returns a current and previous program number:



PCSDB.current_program_number

Returns the current active program number on the equipment

PCSDB.prev_current_program_number

Returns active program number on the equipment from the previous poll