Defining Report Generation Parameters

You can define report parameter specifications in XML file templates. Report generation then uses the template to define all values to report.

This page discusses:

Report Spec XML File Structure

The root node is always <Report>.

<Report Title = "Task Operations" DisplayName = "Task Operations" >

First-level node process:

<Param Name = "UserInfo" DisplayName = "User Info" Access = "modify"/>
<Resource Title = "Robotic Cell" DisplayName = "Spot weld Cell" selection = "User">
<Trajectory Title ="Weld trajectory" DisplayName="Spot weld Tajectory" selection="User">
<ScreenShot Title="Shot2" DisplayName="Robot Position - Weld" width="640" height="480" mode="batch">
<Task Title = "Task" DisplayName = "Sequence" selection = "User" Path = "RobotTask4">

Following an attribute of the XML node tag recognize:

Title ="Weld trajectory" – attribute represents information that presents to a user in an appropriate context. For example, during user inputs selection, content appears as Description.

DisplayName = "Sequence" – use an attribute in a result preview tree as the name of the item. If this attribute is missing, a localized name of the tag displays.

selection = "User"– the attribute indicates if the item is your selection from UI(selection = "User"). Or from search (selection = "Path") by path context of command (selected Resource and start of command). If the latter case of the attribute Path = "RobotTask4" expects to provide a path value. If the path attribute is missing, the report run fails.

width="640" height="480" mode="batch" – attributes of screenshot tag, indicate dimensions and running mode.

mode="batch" - in a batch a screenshot completes without your interaction. For mode="interactive" software prompts with Capture dialog.

Access = "modify" – applies to any tag and indicates that you can modify a value at the results preview stage.

Any other attributes get carried over to the results XML without processing and modifications.

Root XML Node <Report>

The root XML node <Report> may have all the tag nodes described in the Report Specification XML File Structure as children nodes. As well as <Param> nodes, which represent a query data parameter. You can find all possible query parameters for this node list to follow.

XML Node <Param >

The XML node <Param > may appear as a child in any tag node, it represents a query data parameter. The report engine processes this as a data retrieval instruction for the parent entity node. The value appears under the attribute name, and places the results in the node content:

<Param Name = "Type" DisplayName = "Type">RobotMotion</Param>

XML Node < Resource >

The XML node < Resource > represents any resource selected by the user or by search. A list of valid < Param > values follows.

Children tags available are:

<Safety Title = "Safety Zones" DisplayName = "Robot Safety Zones">

If present, the resource engine processes and embeds the XML output for the Export Safety Zones command as results content for this node.

XML Node < Trajectory >

The XML node < Trajectory > represents any trajectory or tag group selected by the user or search. A list of valid < Param > values follows.

. Children tags available are:

<Tag Title = "Weld target" DisplayName = "Weld target" FilterByType = "*" FilterByName = "*">

If present, the report engine processes and expands the list of matched tags in the trajectory as an XML output for the content of this node. A list of valid < Param > values for tags follows.

Results Example:

  <Trajectory Title = "Weld trajectory" DisplayName = "Spot weld Tajectory" selection = "User" 
    <Param Name = "Name" DisplayName = "Traj Name" Access = "modify">Spot Weld Trajectory.4</Param>
    <Param Name = "Path" DisplayName = "Traj Full Path"> BIW_Station1-3964-14132 ---.000/Spot Weld Trajectory.4</Param>
    <Param Name = "TrajectoryType" DisplayName = "Type">Weld</Param>
    <Tag Title = "Weld target" DisplayName = "Weld target" FilterByType = "*" FilterByName = "*">
      <Param Name = "Name" DisplayName = "Tag Name">MFG_LH_SPOT_WELD.11</Param>
      <Param Name = "TagType" DisplayName = "Type">Weld</Param>
      <Param Name = "TagPosition" DisplayName = "Position">1698.3 -896.548 1630.09 -1.0472 -8.25713e-06 -4.29282e-06</Param>
      <Param Name = "UserAttribute" DisplayName = "Attribute" AttributeName = "VPOS">Test_VPOS_Attr</Param>
    </Tag>
    <Tag Title = "Weld target" DisplayName = "Weld target" FilterByType = "*" FilterByName = "*">
      <Param Name = "Name" DisplayName = "Tag Name">MFG_LH_SPOT_WELD.12</Param>
      <Param Name = "TagType" DisplayName = "Type">Weld</Param>
      <Param Name = "TagPosition" DisplayName = "Position">1631.36 -897.024 1630.12 -1.0472 -4.47952e-06 -2.27551e-05</Param>
      <Param Name = "UserAttribute" DisplayName = "Attribute" AttributeName = "VPOS"/>

XML Node < ScreenShot >

The XML node <ScreenShot > represents an instruction to perform an image screen grab at the current time in the report run pipeline. You can define the dimensions for a resulting image using the attributes width="640" and height="480". You can do a screen grab using two modes indicated by the attribute: mode. Using mode = "interactive" a screen capture dialog allows you to manipulate the view. Using mode="batch" the capture starts without user interaction.

Root XML Node <Task >

The XML node <Task > represents any task selected by the user or search. A list of valid <Param > values follows.

Children tags available are:

<Operation Title = "Op" DisplayName = "Operation" FilterByType = "*" FilterByName = "*">

If present, the report engine processes and expands the list of matched operations as an XML output to the content of this node. A list of valid values for <Operation> follow.

Simulation Node:

<Simulation Title="Sim1" mode="interactive">
<Param Name="Step" Value="0.03" />
<State Title="Start State" DisplayName="Home" selection="User"/>
</Simulation>

If present, the instruction to perform a simulation applies the provided parameters and given Simulation State before running the simulation.

The task node may also have the node < ScreenShot > as a child.

Example of results:

 <Task Title = "Task" DisplayName = "Sequence" selection = "User" Path = "RobotTask4">
 <Param Name = "ResourceName" DisplayName = "Robot Name">R2000iA-125L_451623075ZSE5400.1</Param>
 <Param Name = "ResourcePath" DisplayName = "Robot Full Path"> BIW_Station1-3964-14132 ---.000/R2000iA-125L_451623075ZSE5400.1/</Param>
 <Param Name = "Name" DisplayName = "Task Name">RobotTask</Param>
 <Param Name = "Duration" DisplayName = "Task Duration">9.8</Param>
 <Param Name = "NumberOfOperation" DisplayName = "Operations #">10</Param>
 <Param Name = "LinkedState" DisplayName = "State"/>
 <Operation Title = "Op" DisplayName = "Operation" FilterByType = "*" FilterByName = "*">
 <Param Name = "Name" DisplayName = "Operation Name">RobotMotion.1</Param>
 <Param Name = "Type" DisplayName = "Type">RobotMotion</Param>
 <Param Name = "TargetName" DisplayName = "Target Name"/>
 <Param Name = "StartTime" DisplayName = "StartTime">0</Param>
 <Param Name = "Duration" DisplayName = "Cycle Time">1.55</Param>
 <Param Name = "Config" DisplayName = "Config">0</Param>
 <Param Name = "MotionType" DisplayName = "Motion">JOINTMOVE</Param>
 <Param Name = "WeldProfileName" DisplayName = "Term Type">Default</Param>
 <Param Name = "MotionSpeed" DisplayName = "Speed">0.5</Param>
 <Param Name = "ObjectFrame" DisplayName = "Uframe">0 0 0 0 0 0</Param>
 <Param Name = "ObjectTool" DisplayName = "Utool">SRTC-1888-L_Product9169.2.1</Param>
 <Param Name = "CommandLines" DisplayName = "OLP Commands"/>
 </Operation>
 <Operation Title = "Op" DisplayName = "Operation" FilterByType = "*" FilterByName = "*">
 <Param Name = "Name" DisplayName = "Operation Name">RobotMotion.2</Param>
 <Param Name = "Type" DisplayName = "Type">RobotMotion</Param>
 <Param Name = "TargetName" DisplayName = "Target Name"/>
 <Param Name = "StartTime" DisplayName = "StartTime">1.55</Param>
 <Param Name = "Duration" DisplayName = "Cycle Time">1</Param>
 <Param Name = "Config" DisplayName = "Config">0</Param>
 <Param Name = "MotionType" DisplayName = "Motion">JOINTMOVE</Param>
 <Param Name = "WeldProfileName" DisplayName = "Term Type">Default</Param>
 <Param Name = "MotionSpeed" DisplayName = "Speed">0.5</Param>
 <Param Name = "ObjectFrame" DisplayName = "Uframe">0 0 0 0 0 0</Param>
 <Param Name = "ObjectTool" DisplayName = "Utool">SRTC-1888-L_Product9169.2.1</Param>
 <Param Name = "CommandLines" DisplayName = "OLP Commands"/>
 </Operation>

Data Query Parameters

The extraction of all data values executes on the <Param > tag node. The parameter name for retrieval uses the attribute Name = "TargetName".

  • List of parameters for < Resource > node:

    Path

    ResourceType

    ToolProfileName

    ToolPosition

    ToolMass

    ToolInertia

    ObjectName

    ObjectPosition

    ControllerCustomAttribute

  • List of parameters for < Trajectory > node:

    Name

    Path

    TrajectoryType

  • List of parameters for < Tag > node:

    Name

    TagType

    TagPosition

    UserAttribute

  • List of parameters for < Task > node:

    ResourceName

    ResourcePath

    Duration

    NumberOfOperation

    LinkedState

  • List of parameters for < Operation > node:
    Instruction Values Report Parameter Name
    Implemented Parameter on Operation
    Name
    Type
    TargetName
    StartTime
    Duration
    Config
    Tool Profile Parameters
    Name String ToolProfileName
    Mass KG ToolMass
    Centroid XYZ ToolCentroid
    Inertia xx, xy, yy, yz, zz, zx ToolInertia
    Controller Attributes ToolControllerAttrib
    TCP Location X, Y, Z ToolTCPPosition
    Motion Profile Parameters
    Name String MotionProfileName
    MotionBasis -Speed MotionBasis
    Joint angular Speed MotionSpeedJointAnglular
    Accel MotionAcceleretionJointAngular
    Decel MotionDecelelerationJointAnglular
    TCP Linear MotionSpeedTCPLinear
    TCP Angular MotionSpeedTCPAngular
    AcceleretionTCPLinear MotionAcceleretionTCPLinear
    DecelelerationTCPLinear MotionDecelelerationTCPLinear
    AcceleretionTCPAngular MotionAcceleretionTCPAngular
    DecelelerationTCPAnglular MotionDecelelerationTCPAnglular
    MotionBasis -Time Seconds MotionTime
    MotionType
    MotionSpeed
    Accuracy Profile
    Name AccuracyProfileName
    FlyBy Mode On/Off AccuracyFlyBy
    Accuracy type Distance/Speed AccuracyType
    Accuracy value % AccuracyValue
    Object Profile
    Name ObjectProfileName
    Frame Coordinates X, Y, Z, W, P, R ObjectFramePosition
    Reference base/World/Object ObjectFrameRef
    ObjectFrameType
    Paint Profile
    Name SurfacePaintProfileName
    Core Dimension width SurfacePiantConeWidth
    Core Dimension length SurfacePaintConeLength
    Core Dimension range, SurfacePaintConeRange
    Deposition type Air nozzle, Electrostatic bell SurfacePaintFlowRate
    Position SurfacePaintTestPercentSolids
    From Gun, … SurfacePaintTransfertEfficiency
    Coordinates X, Y, Z, W, P, R SurfacePaintDiskRotationSpeed
    AirVolumeRegulation SurfacePaintAirVolumeRegulation
    AirPressureRegulation SurfacePaintAirPressureRegulation
    PaintVoltage SurfacePaintVoltage
    MaterialSpecs SurfacePaintMaterialSpecs
    BrushPositionRef SurfacePaintBrushPositionRef
    BrushPosition X, Y, Z, W, P, R SurfacePaintBrushPosition
    DeposType SurfacePaintDeposType
    Experiment Parameters
    Gun# SurfacePaintGunNumber
    TCP Speed SurfaceTCPSpeed
    Target distance SurfaceTagetDistance
    Flow rate SurfacePaintFlowRate
    Test% solids SurfacePaintTestPercentSolids
    Spray delay ON SurfaceDelayON
    Spray delay OFF SurfaceDelayOFF
    Film Deposition along X, along Y SurfaceFilmDeposMode
    Position values 1,2,3, SurfaceFilmPositionNumber
    Thickness SurfaceFilmThickness
    Shot Peening Profile
    Name SurfaceShotProfileName
    BeamRange SurfaceShotBeamRange
    MassFlowRate SurfaceShotMassFlowRate
    FlowPressure SurfaceShotFlowPressure
    BeamInclination SurfaceShotBeamInclination
    CoverageTime SurfaceShotCoverageTime
    ComputedHeight SurfaceShotBeamComputedHeight
    ComputedAxisInclination SurfaceShotBeamComputedAxisInclination
    BeamOffsetRe SurfaceShotBeamOffsetRef
    BeamOffset SurfaceShotBeamOffset
    Spot Profile
    Name SpotProfileName
    Gun1Status true SpotGun1Status
    Gun2Status false SpotGun2Status
    Gun1JointNumber 7 SpotGun1JointNumber
    Gun2JointNumber 0 SpotGun2JointNumber
    Gun1ClosedJointValue 0 SpotGun1ClosedJointValue
    Gun2ClosedJointValue 0 SpotGun2ClosedJointValue
    SpotMoves 15 SpotMoves
    RobotApproachDir 5 SpotRobotApproachDir
    Gun1TipCloseDirection true SpotGun1TipCloseDirection
    Gun2TipCloseDirection false SpotGun2TipCloseDirection
    PartThickness 0 SpotPartThickness
    ApproachMoveGun1MovingTipClearance 0.025 SpotApproachMoveGun1MovingTipClearance
    ApproachMoveGun2MovingTipClearance 0 SpotApproachMoveGun2MovingTipClearance
    ApproachBackupMoveStationaryTipClearance 0.025 SpotApproachBackupMoveStationaryTipClearance
    PressureStartMoveGun1MovingTipClearance 0.014 SpotPressureStartMoveGun1MovingTipClearance
    PressureStartMoveGun2MovingTipClearance 0 SpotPressureStartMoveGun2MovingTipClearance
    PressureStartMoveStationaryTipClearance 0.014 SpotPressureStartMoveStationaryTipClearance
    PressureStartMoveAccel 1 SpotPressureStartMoveAccel
    PressureMovePushDepth 0.001 SpotPressureMovePushDepth
    PressureMoveAccel 1 SpotPressureMoveAccel
    PressureSpeedFactor 1 SpotPressureSpeedFactor
    WeldDelay 0 SpotWeldDelay
    PressureEndMoveGun1MovingTipClearance 0.014 SpotPressureEndMoveGun1MovingTipClearance
    PressureEndMoveGun2MovingTipClearance 0 SpotPressureEndMoveGun2MovingTipClearance
    PressureEndMoveStationaryTipClearance 0.014 SpotPressureEndMoveStationaryTipClearance
    PressureEndMoveAccel 1 SpotPressureEndMoveAccel
    BackupMoveGun1Stroke 0.09 SpotBackupMoveGun1Stroke
    BackupMoveGun2Stroke 0 SpotBackupMoveGun2Stroke
    BackupMoveAccel 1 SpotBackupMoveAccel
    PressureMoveGun2PushDepth 0 SpotPressureMoveGun2PushDepth
    PressureGun2SpeedFactor 0 SpotPressureGun2SpeedFactor
    Gun2WeldDelay 0 SpotGun2WeldDelay
    Gun1WeldPressureStabilizationTime 0 SpotGun1WeldPressureStabilizationTime
    Gun2WeldPressureStabilizationTime 0 SpotGun2WeldPressureStabilizationTime
    Gun1DeviceJointNumber 0 SpotGun1DeviceJointNumber
    Gun2DeviceJointNumber 0 SpotGun2DeviceJointNumber
    ArcWeld Profile
    Name WeldProfileName
    _StartSpeed WeldStartSpeed
    _StartDelay WeldStartDelay
    _FlyingStart WeldFlyingStart
    _WeldSpeed WeldWeldSpeed
    _EndDelay WeldEndDelay
    DrillRivet Profile
    Name DrillRivetProfileName
    ProfileType 2 DrillRivetProfileType
    PartThickness 0.003 DrillRivetPartThickness
    DrillJointNo 8 DrillRivetDrillJointNo
    DrillCycles 15 DrillRivetDrillCycles
    DrillApproachClearance 0.01 DrillRivetDrillApproachClearance
    DrillDepth 0 DrillRivetDrillDepth
    BreakthroughDistance 0 DrillRivetBreakthroughDistance
    DrillCompleteTipClearance 0 DrillRivetDrillCompleteTipClearance
    DrillRetractDistance 0 DrillRivetDrillRetractDistance
    RivetJointNo 10 DrillRivetRivetJointNo
    RivetCycles 30 DrillRivetRivetCycles
    RivetCStyleGunEnabled 0 DrillRivetRivetCStyleGunEnabled
    RivetApproachClearance 0 DrillRivetRivetApproachClearance
    RivetApproachStationaryTipClearance 0 DrillRivetRivetApproachStationaryTipClearance
    RivetApproachMovingTipClearance 0 DrillRivetRivetApproachMovingTipClearance
    RivetStartStationaryTipClearance 0 DrillRivetRivetStartStationaryTipClearance
    RivetStartMovingTipClearance 0 DrillRivetRivetStartMovingTipClearance
    RivetPushDepth 0 DrillRivetRivetPushDepth
    RivetHoldTime 0 DrillRivetRivetHoldTime
    RivetCompleteTipClearance 0 DrillRivetRivetCompleteTipClearance
    RivetCompleteStationaryTipClearance 0 DrillRivetRivetCompleteStationaryTipClearance
    RivetCompleteMovingTipClearance 0 DrillRivetRivetCompleteMovingTipClearance
    RivetRetractDistance 0.01 DrillRivetRivetRetractDistance
    RivetRetractStationaryTipClearance 0 DrillRivetRivetRetractStationaryTipClearance
    RivetRetractMovingTipClearance 0 DrillRivetRivetRetractMovingTipClearance
    ToolDirection 6 DrillRivetToolDirection
    DrillStartTipClearance 0 DrillRivetDrillStartTipClearance
    RivetStartTipClearance 0 DrillRivetRivetStartTipClearance
    PrecycleFeature 0 DrillRivetPrecycleFeature
    ToolKinSimulation true DrillRivetToolKinSimulation
    Stages 21 DrillRivetStages
    ApproachClearance 0 DrillRivetApproachClearance
    RetractDistance 0.01 DrillRivetRetractDistance
    DynamicDrillingMode 0 DrillRivetDynamicDrillingMode
    ActionLibraryName DrillRivetActionLibraryName
    ActionTemplateName DrillRivetActionTemplateName