Delta Electronics PCI-DMC-A01 Computer Hardware User Manual


 
Chapter 3 Operating Principles | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 3-115
Else //Compare2
First, set output to disable
rt = _DMC_01_channel1_output_enable(CpCardNo,0); // 0:off 1:on
If Level checkbox is checked, then execute the following setting:
rt = _DMC_01_channel1_position_compare_table(CpCardNo,pos_table,tab_size);
If not checked, then execute the following settings:
rt = _DMC_01_channel1_position_compare_table_level(CpCardNo,pos_table,
level_table,tab_size);
At the end, set output to enable
rt = _DMC_01_channel1_output_enable(CpCardNo,1); // 0:off 1:on
6) Command display and testing area:
Figure 3.152
Reset item: Click this button to execute Reset motion.
P2PMove item: Click this button to move in positive or negative direction.
STOP item: Click this button to stop motion.
Command item: Display current motion position.
9) Exit procedure
Click on the “Exit” button to quit and exit the procedure.
Exit function requires “_DMC_01_reset_card” and _DMC_01_close” to be used. For
a detailed description of these two API please refer to section 3.1.2 4) Exit
procedure.