Amp parameter data items – Rockwell Automation 8520-9API 9/Series OCI API Developer's Guide User Manual
Page 64

4–16
OCI Data Server Data Items
Publication 8520-6.6 - August 1999
@parameter_num
Data Type
LREAL
Read/Write
Read/Write (patch AMP only) Read (others)
Array Index
none
Control Type
Lathe/Mill/Grinder
1
1
Grinder Control Type is not available for Release 1 of 9/PC.
Follow the @ symbol with the AMP parameter number you want to
edit. Refer to your AMP reference manual for details on AMP
parameters and their respective QuickEdit numbers.
Before you can make write to AMP parameters you must first
execute a MODIFYING_AMP command request. When your
changes are complete execute an UPDATE_AMP command to close
the AMP file. After completing AMP changes with this data item
you must cycle power to the control for the change occur.
Exceptions to this are online AMP parameters that can be set real
time (such as servo motor integral and proportional gain values).
Online AMP parameters are provided as separate API data items,
found under their corresponding topic, later in this chapter or
appendix A.
Important: Only patch AMP parameters are writable. Other AMP
parameters (except online AMP parameters) are read
only. Use the data item
AMP_PARAMETER_NUMBER to identify what
parameters are available patch AMP.
You should identify the data type for an AMP parameter before
attempting to write to the parameter (see
AMP_PARAMETER_DATA_TYPE).
AMP_PARAMETER_DATA_TYPE patchAMP_num
Data Type
USINT
Read/Write
Read
Array Index
patchAMP_num
Control Type
Lathe/Mill/Grinder
1
1
Grinder Control Type is not available for Release 1 of 9/PC.
This data item is used to identify the data type (format) for AMP
parameters that can be accessed using the patch AMP feature. The
patchAMP_num argument is the number of the patch AMP
parameter to identify, not the quick edit number or parameter number
(see AMP_PARAMETER_NUMBER). The
AMP_PARAMETER_DATA_TYPE item returns an enumeration
identifying the data type as follows:
AMP Parameter
Data Items