To run ptq_snap, enter the command:
ptq_snap
The PTQ> prompt appears. You can display point values or point attribute information.
To display a point value, enter the Point ID for the point you want to display then press Enter.
To display attribute information for a point, enter the Point ID for the point followed by a period (.) and the attribute name you want to display, then press Enter. You can use any of the attributes documented in Point Attribute Descriptions.
Always enter the Point ID in upper-case characters since the point data base is case sensitive. The sample program does not allow you to view Point IDs that contain embedded spaces.
After you press Enter, the current value for the point in the point management data base is displayed. Remember that this is the current value in the data base. The frequency with which the point is collected by the system is determined by the point's configured scan rate. If the configured rate is 5 seconds, there may be as much as a five second delay between changes at the controller and in the point management data base.
The point value is displayed with engineering units conversion if so configured. After the value is shown, the PTQ> appears again, and you may enter another Point ID.
Sample programs. |