PID section items
- Last UpdatedAug 29, 2024
- 1 minute read
|
[m]PD[n]:e[.f][/b] |
m indicates the module to access. If not specified, it is assumed to be 0 (zero), which selects the Resource Manager. If specified, it must be 0 (zero) or the thumbwheel setting for a Logic Processor. |
|
n represents the file number. If not specified, it is assumed to be 0 (zero). If specified, the file number must be 0 - 9999 decimal. |
|
|
e specifies the element number within the PID file. It must be 0 - 9999 decimal. |
|
|
.f identifies one of the valid PID fields. The valid fields for PID files are listed in the table. If PID field .ADDR is needed, use .ADRM for module, .ADRE for element, or .ADRF for file. |
|
|
b is optional and is normally not used. Specifying the .f fields can access all of the fields of a PID. If specified, it indicates the bit (0 - 15 decimal). |
WARNING! Access to PID files may degrade the Communication Driver's performance, due to the extreme size of the PID element (82 words each). If accessing only a few PIDs at one time, performance will not be affected greatly. However, if accessing a few fields of many PIDs at once, it may be faster to move the needed fields to an intermediate file (Floating Point or Binary) and let the Communication Driver access the intermediate files.
Examples:
1PD:0.SP
1PD9:3.OLH
0PD1:0.INI