
MED ASSOCIATES, INC.
PHM-104A HIGH/LOW SPEED PRECISION PUMP
Sample MED-PC Program
\ Copyright (C) 2016 MED Associates, All rights reserved.
\ PHM-104A Pump.mpc High/Low Speed Precision Syringe Pump Program for MED-PC
\ This program demonstrates how to properly call the MED-PC commands that Start
\ and Stop the PHM-104A Pump.
\ When the program is loaded it initializes the pump by calling the P104A_Init
\ command. The program then waits for a response on the Left Lever (Input 1).
\ When a response on the Left Lever is detected the program updates the pump to
\ the currently selected values and then tells the pump to do an infusion.
\ The program then waits 10s for the infusion to complete before looking for
\ another response on the Left Lever.
\ The User may update the Dose, Rate, and Syringe Size at anytime. The new
\ values will be sent to the pump just before the next infusion is to be
\ started.
\ The program records no data and has no end criteria.
\
\ P104A_Init - Initializes the PHM-104A pump. Must be used at the
\ beginning of the program. This command only needs to be
\ executed once.
\
\ P104A_PumpSetup - Sets the infusion parameters for the pump. The maximum and
\ minimum Rates are dependent on the Syringe Size and Dose.
\
\ To determine if the selected Dose and Rate are valid for
\ the Syringe Size it is recommended that the numbers be
\ tested using the sample PHM104A.exe test program.
\
\ P104A_PumpInject - Executes the injection cycle with the default parameters or
\ with the parameters that were set with the P104A_PumpSetup
\ command.
\
\ MG - This is the MED-PC Global Pointer. It allows the PHM-104A to pass
\ back information about any errors that might have occured.
\
\ BOX - This parameter specifies which PHM-104A the command is for. When this
\ program is running in Box 1, then the BOX parameter will equal 1 and the
\ PHM-104A that is set to Node 1 will receive the command. When this
\ program is running in Box 2, then the BOX parameter will equal 2 and the
- 12 -
DOC-187 Rev. 1.6 Copyright © 2019
Med Associates, Inc.