Delta Electronics PCI-DMC-A01 Programming Manual page 246

High-speed pci 12-axis motion control card
Hide thumbs Also See for PCI-DMC-A01:
Table of Contents

Advertisement

Chapter 16 Motion Counter Value API | PCI-DMC-A01 / PCI-DMC-B01
16.5 _DMC_01_get_target_pos
 FORMAT
I16 PASCAL _DMC_01_get_target_pos (U16 CardNo, U16 NodeID, U16 SlotID, I32* pos)
 Purpose
Retrieves the current value of the target position.
 Parameters
Name
Data Type
CardNo
NodeID
SlotID
pos
 Example
U16 CardNo=0;
U16 NodeID =1;
U16 SlotID = 0;
I32 pos=0;
I16 status= _DMC_01_get_target_pos (CardNo, NodeID, &pos);
NOTE
※ After issuing a motion command, if you are relying on _DMC_01_get_target_pos to
return the pos so you can decide the next step, put in a delay of 10~100ms (this value
can be adjusted based on CPU performance and programming approach) before
executing _DMC_01_get_target_pos to ensure that the data is correct.
16-4
Unit
U16
Number Unit
U16
Number Unit
U16
Number Unit
Number of
I32*
pulses
Description
CardNo is between 0~15
Node ID
Slot ID
Position counter value for current position (see
the Notes below for explanation)
Revised March, 2012

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PCI-DMC-A01 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Pci-dmc-b01

Table of Contents