Gocator Line Profile Sensors: User Manual
Gocator Device Files • 441
You can access the Transform component in user-created job files in non-volatile storage, for example,
"productionRun01.job/transform.xml". You can only access transformations in user-created job files
using path notation.
See the following sections for the elements contained in this component.
Transformation Example:
<?xml version="1.0" encoding="UTF-8"?>
<Transform version="100">
<EncoderResolution>1</EncoderResolution>
<Speed>100</Speed>
<Devices>
<Device role="0">
<X>-2.3650924829</X>
<Y>0.0</Y>
<Z>123.4966803469</Z>
<XAngle>5.7478302588</XAngle>
<YAngle>3.7078302555</XAngle>
<ZAngle>2.7078302556</XAngle>
</Device>
<Device id="1">
<X>0</X>
<Y>0.0</Y>
<Z>123.4966803469</Z>
<XAngle>5.7478302588</XAngle>
<YAngle>3.7078302555</XAngle>
<ZAngle>2.7078302556</XAngle>
</Device>
</Devices>
</Transform>
The Transform element contains the alignment record for both the Main and the Buddy sensor.
Element Type Description
@version 32u Major transform version (100).
@versionMinor 32u Minor transform version (0).
EncoderResolution 64f Encoder Resolution (mm/tick).
Speed 64f Travel Speed (mm/s).
Devices (Collection)
Contains two Device elements.
Transform Child Elements
Device
A Device element defines the transformation for a sensor. There is one entry element per sensor,
identified by a unique role attribute (0 for main and 1 for buddy):