PC-Dmis 2010 MR2 Object Library | Send comments on this topic. | See Object Hierarchy Chart
OnWorkOffset Event
See Also

Collapse All Expand All

dX
  Double value that represents the change in translation in X from the base alignment to the finished alignment.

dY
  Double value that represents the change in translation in Y from the base alignment to the finished alignment.

dZ
  Double value that represents the change in translation in Z from the base alignment to the finished alignment.

rx
  Double value that represents the change in rotation for X from the base alignment to the finished alignment.

ry
  Double value that represents the change in rotation for Y from the base alignment to the finished alignment.

rz
  Double value that represents the change in rotation for Z from the base alignment to the finished alignment.

file
  String value representing the NC formatted file that gets created if the NC interface is unidirectional.

progname
  String value representing the program name assigned to the generated program

gcode
  String value representing the G code to send to the controller. This code can be G54 through G59.

# Description

Event fired when program updates CNC WorkOffset

This event gets called when PC-DMIS/NC executes WorkOffset command. PC-DMIS/NC is a specialized version of PC-DMIS that allows you to execute part programs using your CNC (Computer Numeric Control) machine. For more information on PC-DMIS/NC, see the PC-DMIS NC documentation.

# Syntax

Visual Basic

    Public Event OnWorkOffset( _
       ByVal dX As Double, _
       ByVal dY As Double, _
       ByVal dZ As Double, _
       ByVal rx As Double, _
       ByVal ry As Double, _
       ByVal rz As Double, _
       ByVal file As String, _
       ByVal progname As String, _
       ByVal gcode As String _
    )

# Parameters

dX
  Double value that represents the change in translation in X from the base alignment to the finished alignment.
dY
  Double value that represents the change in translation in Y from the base alignment to the finished alignment.
dZ
  Double value that represents the change in translation in Z from the base alignment to the finished alignment.
rx
  Double value that represents the change in rotation for X from the base alignment to the finished alignment.
ry
  Double value that represents the change in rotation for Y from the base alignment to the finished alignment.
rz
  Double value that represents the change in rotation for Z from the base alignment to the finished alignment.
file
  String value representing the NC formatted file that gets created if the NC interface is unidirectional.
progname
  String value representing the program name assigned to the generated program
gcode
  String value representing the G code to send to the controller. This code can be G54 through G59.

# See Also

PartProgram Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.