XPS Unified Programmer’s Manual
7.2.1.160 PositionerCompensatedPCOFromFile
Name
PositionerCompensatedPCOFromFile – Reads firing positions from a data file to
controller memory.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks the positioner name: (-18)
- Checks the positioner type: (-8)
- Checks the position encoder (“AquadB” or “AnalogInterpolated”): (-24)
- Checks the CIE board supports this function: (-115)
- Checks CIE08CompensatedPCOMode = Enabled (system.ini): (-121)
- Checks data file exists: (-61)
- Checks data from file (must be Position
i
> Position
i-1
, Width
i
< Position
i+1
-
Position
i
): (-122)
Description
This function reads firing positions from a data file to the controller memory.
The data file contains lines of data, formatted as follows:
Position
i
<Space or Tabulation>Width
i
<CRLF or LF>
Example :
Position
1
Width
1
Position
2
Width
2
… …
Position
N
Width
N
Data conditions: Position
i
> Position
i-1
, Width
i
< Position
i+1
- Position
i
NOTE
Position
i
(i=1..N) are the offset values relative to the scanning positioner start
position that is defined in the PositionerCompensatedPCOPrepare().
The function works only when the CIE08 compensated PCO mode configuration is
enabled (system.ini: CIE08CompensatedPCOMode = Enabled).
This function can be used only with a position encoder (“AquadB” or
“AnalogInterpolated”), otherwise (-24) error is returned.
243 EDH0373En1023 — 01/18