Delta Electronics PCI-DMC-A01 Programming Manual page 244

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.1 _DMC_01_get_command
 FORMAT
I16 PASCAL _DMC_01_get_command (U16 CardNo, U16 NodeID, U16 SlotID, I32* cmd)
 Purpose
Retrieves the Command counter value.
 Parameters
Name
Data Type
CardNo
NodeID
SlotID
cmd
 Example
U16 CardNo=0, NodeID=1, SlotID=0; I32 cmd;
I16 status= _DMC_01_get_command (CardNo, NodeID, SlotID, &cmd);
16.2 _DMC_01_set_command
 FORMAT
I16 PASCAL _DMC_01_set_command (U16 CardNo, U16 NodeID, U16 SlotID, I32 cmd)
 Purpose
Sets the new Command counter value.
 Parameters
Name
Data Type
CardNo
NodeID
SlotID
cmd
 Example
U16 CardNo=0, NodeID =1, SlotID=0; I32 cmd=1000000;
I16 status= _DMC_01_set_command (CardNo, NodeID, SlotID, cmd);
16-2
Unit
U16
Number Unit
U16
Number Unit
U16
Number Unit
Number of
I32*
pulses
Unit
U16
Number Unit
U16
Number Unit
U16
Number Unit
Number of
I32
pulses
Description
CardNo is between 0~15
Node ID
Slot ID
Current value of Command counter
Description
CardNo is between 0~15
Node ID
Slot ID
New Command counter value to be set
Revised March, 2012

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pci-dmc-b01

Table of Contents