.

MPICaptureConfig Parameter Changes      

The table below shows how to upgrade capture configuration code to SynqNet Phase II.

Trigger when input is:
Analog / SynqNet Phase I
SynqNet Phase II
trigger.mask
trigger.pattern
source[sourceBit].enabled
source[sourceBit].invert
High
Include†
MPIMotorInput bit
Include
MPIMotorInput bit
TRUE
FALSE
Low
Include†
MPIMotorInput bit
Exclude††
MPIMotorInput bit
TRUE
TRUE
Don't use as a trigger
Exclude
MPIMotorInput bit
Exclude
MPIMotorInput bit
FALSE
(n/a)
Use Global Trigger Flag for Capture
(n/a)
source[MPICaptureSourceGLOBAL].enabled = TRUE
source[MPICaptureSourceGLOBAL].invert = FALSE
Set Global Trigger FlagOn Capture
(n/a)
MPICaptureConfig.global = TRUE
 
- The bit associated with this motor input should be on
†† - The bit associated with this motor input should be off

New MPICaptureConfig Parameter Descriptions

  type

Specifies either postion-based or time-based capture. Use MPICaptureTypePOSITION for position-based capture and MPICaptureTypeTIME for time-based capture.

  captureMotorNumber

The number of the motor whose "source" (MPICaptureTrigger) is used to capture position.

  feedbackMotorNumber The number of the motor whose position is being returned from the capture event. (It must be the same as captureMotorNumber for position capture).
  encoder Specifies the encoder feedback being captured.
  captureIndex

A zero-based index that specifies which capture resource on an axis is to be associated with the capture object.

Each axis on a node has a given number of captures associated with it. Normally, each axis has only 1 capture resource, but an azis may have up to 4 capture resources.

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2009 Motion Engineering