Home

MR540/MR580 取扱説明書・ソフトウェア編

image

Contents

1. PC MR540 MR580 1 Si 2 3 9 317 I I 4 7 2 MR580 4
2. mn 1IC MC E MCX314As AL MR540 MR580 URL http www novaelec co jp X314AL 1 MCX314AL LAN LAN DHCP
3. 1 0 RR3 Nmc_ReadEvent Di5 Di4 D13 Di2 D1 Di0 D3 D8 D7 DE D5 D4 D3 D2 D1 Do RR3 SYNC HMEND D END C STA C END PsC P lt C P lt C PEE PULSE 5 WR1 WR3 WR5 1 2 8 O 0 1 WR4 OFF 0 ON MCX314As AL IC 0 8
4. 93 A EX 1 IC 1 3 37 BP BP MCX314AL 4
5. 2 MR540_DLL dII system32 gt DIIUnregisterServer regsvr32 u MR540_DLL dll MR540_DLL dII DLL OCX Enter OK EC MR540_DLL q11 3 3 1 o 9
6. VC int Nmc_Stop_Ip int No int IcNo VB Function Nmc_Stop_Ip ByVal No As Long ByVal IcNo As Long As Long VB NET Function Nmc_Stop_Ip ByVal No As Inger ByVal IcNo As Integer As Integer VC No int 0 15 IcNo int IC 0 1 VB No Long 0 15 IcNo Long IC 0 1 VB NET No Integer 0 lt 15 IcNo Integer IC 0 1 VC int NCIDONE NCI NOT_INIT NCILINV_ARG NCLNOT_OPEN NCILNOT_START VB Long VB NET Integer VC Status Nmc_Stop_lp 5 1 5 IC1 4 VB Status Nmc_Stop_Ip 5 1 5 IC1 4 Nmc_Sts
7. 89 4 8 MR580 MCX314AL 4 4 LE MCX314AL CPU PC 4 ll Zs 1
8. MR540_DLL vb MR540_Project MR540_Project 8 MR540 Project 1 ET2003 G 4 D Windows F U NJ 2 MF Assembl Formlvb PF mm a RD Web GE 2 6 MR540_Project P
9. PC PC OS PC
10. VC void Nmc_WriteData2 int No int IcNo int Axis int cmd long WR6_data long WR7_data VB Sub Nmc_WriteData2 ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal cmd As Long ByVal WR6_data As Long ByVal WR7_data As Long VB NET Sub Nmc_WriteData2 ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal cmd As Integer ByVal WR6_data As Integer ByVal WR7_data As Integer VC No int 0 lt 15 IcNo int IC 0 1 Axis int cmd int 60 H 64 H WR6_data long EM6 SM6 WR7_data long EM7 SM7 VB No Long 0 lt 15 IcNo Long IC 0 1 Axis Long cmd Long
11. HOME LMT 1 _ EO 2 4 4 2 MCX314AL nLMT nHOME MR540B MR580B ON 3 9K AA a E 3 330 06a 13 3V TLP291 3 3V 8 MK MM 512 g SEC nLMT nDRIVE DCC KA4F3P
12. API Nmc_WriteReg5 3 2 1 2 3 CIINT 2 3 Nmc_StartSpd Nmc_Speed Nmc_Pulse Nmc_Center 4 6 4 Nmc_WriteReg5 CINT 3 2 APTI
13. c b a J_ elieP b CO ele 87 4 7 3 4 6 1
14. Sample VC6 Sample A Sample B SampleB 2CIP_2ST CCW ini Sample_data SampleB VCSampleB exe Sample VC2008 Sample A Sample B SampleB 2CIP_2ST CCW ini Sample_data SampleB VCSampleB exe Sample VC2013 Sample VB6 Sample A Sample B SampleB 2CIP_2ST CCW ini Sample_data SampleB VCSampleB exe Sample A
15. Nmc_ReadData VC long Nmc_ReadData int No int IcNo int Axis int cmd VB Function Nmc_ReadData ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal cmd As Long As Long VB NET Function Nmc_ReadData ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal cmd As Integer As Integer VC No int 0 15 IcNo int IC 0 1 Axis int cmd int 10 H gt 14 H 3 4 9 VB No Long 0 15 IcNo Long IC 0 1 Axis Long cmd Long 10 H gt 14 H 3 4 9 VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer cmd Integer 10 H lt 14 H 3 4 9
16. 1 1 API 1msec 1 5 4 20msec 1 API RR0 Nmc_ReadReg0 RR1 RR2 Nmc_ReadReg0 Nmc 1 Nmc_ReadData0 80 4 4 MR540 MCX314AL 1 APTI MCX314AL MR580
17. VC No int 0 15 DataNo int 1 65535 PData3BP DATA_3BP 3 BP BufCnt int 3 BP DataCnt int 3 BP IpAxis int VB No Long 0 lt 15 DataNo Long 1 lt 65535 PData3BP DATA_3BP 3 BP BufCnt Long 3 BP DataCnt Long 3 BP IpAxis Long VB NET No Integer 0 15 DataNo Integer 1 65535 pData3BP DATA_3BP 3 BP BufCnt Integer 3 BP DataCnt Integer 3 BP IpAxis Integer
18. VC int Nmc_Exec_lp int No int IcNo int DataNo VB Function Nmc_Exec_Ip ByVal No As Long ByVal IcNo As Long ByVal DataNo As Long As Long VB NET Function Nmc_Exec_Ip ByVal No As Integer ByVal IcNo As Integer ByVal DataNo As Integer As Integer VC No int 0 15 IcNo int IC 0 1 DataNo int VB No Long 0 15 IcNo Long IC 0 1 DataNo Long VB NET No Integer 0 15 IcNo Integer 1IC 0 1 DataNo Integer int NCLDONE NCLINV_ARG NCLRROC_IP NCLNOT INIT NCLEEPROM_INV_DATA NCLNOT_OPEN NCI EEPROM_NO_DATA VB Long VB NET Integer VC WR5 3 IC0 Nmc_WriteReg5 3 0 0x4104
19. COMP COMP 78 4 2 MCX314AL MCX314AL MCX314As AL API MCX314AsAL 1 Nmc_WriteReg20 2 1 2 9 2 4 5 Nmc_WriteReg20
20. 3 API Nmc_Exec_lp Nmc_Stop_lp Nmc_StsRead_Ip 6 0 a 8000
21. Lr LT C my 1 1 Nmc_ReadEvent MCX314AL MCX314As AL 2 5 8 2 6 2 7 4 4 4 18 2 API API Nmc_Open Nmc_WriteReg1 Nmc_SetEvent Nmc_ReadEvent
22. MR580 4 2 Nmc_Stop_Ip0 2 MR540 IC O MCX314As AL 2 4 88 2 1
23. MR540 Proiect 07 7 E 7hy29NO 7h7NO At 5 0 MDL7 A EDT 8 00 My wm h MU 1 8 OBA MR540_DLL bas 7 MR540 gt A MR540_ DLLbas NJ 0 bas 1 7 y9 U MR540_DLL dll 2 2 5 DLL b a MR540_DLL bas
24. 4 5 Low Hi Nmc_WriteReg1 2 5 Nmc_ExpMode 4 4 Nmc_WriteReg1 4 4 Low Hi Nmc_WriteReg2 4 5 Low Hi 7 Nmc_ExpMode 2 5 3 Low Hi 2
25. 4 7 1 er Windows 1 msec 4 6
26. COMP ni Nmc_ExpMode Nmc_SyncMode Nmc_Command_IPO IINT BPINT Nmc_WriteReg5 CIINT BPINT Nmc_WriteReg1 1
27. Cnt pData3CIP new DATA_3CIP Cnt for int 0 i Cnt DATA_3CIP Cnt Status Nmc_3CipWriteEEPROM 1 11 pData3CIP 20 0x24 TRUE No 1 No 11 20 0x24 1 00 X 2 01 Y 3 10 Z TRUE 64 VB ReDim Data3CIP Cnt As DATA_3CIP Fori 0 To Cnt 1 Data3CIP Cnt Next Status Nmc_3CipWriteEEPROM 1 11 pData3CIP 20 0x24 TRUE No 1 No 11 20 0x24 1 00 X 2 01 Y 3 10 Z TRUE 65 Nnc 2BPReadEEPROM 2 BP 2 BP ID VC int Nmc_2BPReadEEPROM int No int DataNo DATA_2BP pData2BP int BufCnt int DataCnt int IpAxis VB Function Nmc_2BPReadEEPROM ByVal No As Long ByVal
28. Public Const CMD_IP_2ST amp H30 2 3 Public Const CMD_IP_3ST amp H31 3 Public Const CMD_IP_CW amp H32 CW Public Const CMD_IP_CCW amp H33 CCW Public Const CMD_IP_2BP amp H34 2 BP 31 Public Const CMD_IP_3BP amp H35 3 BP 1 20 Public Const CMD_BP_ENABLED amp H36 BP 29 Public ConstCMD_BP_DISABLED amp H37 BP 29 Public Const CMD_BP_STACK amp H38 BP 22992 Public Const CMD_BP_CLR amp H39 BP 27 7 Public Const CMD_IP_1STEP amp H3A Public Const CMD_IP_DEC_VALID amp H3B Public Const CMD_IP_DEC_INVALID amp H3C Public Const CMD_IP_INTRPT_CLR amp H3D 7 VB NET2003 VB2005 Public Const CMD_F_DRV_P amp H20s 17 Public Const CMD_F_DRV_M amp H21s 147 Public Const CMD_C_DRV_P amp H22s Public Const CMD_C_DRV_M amp H23s A 1 Public Const CMD_START_HOLD amp H24s 7 Public Const CMD_START_FREE amp H25s
29. VC int Nmc_3CipReadEEPROM int No int DataNo DATA_3CIP pData3CIP int BufCnt int DataCnt int IpAxis BOOL pSpdChgFlg VB Function Nmc_3CIPReadEEPROM ByVal No As Long ByVal DataNo As Long ByRef pData3CIP As DATA_3CIP ByVal BufCnt As Long ByRef DataCnt As Long ByRef IpAxis As Long ByRef pSpdChgFlg As Long As Long VB NET Function Nmc_3CIPReadEEPROM ByVal No As Integer ByVal DataNo As Integer ByRef pData3CIP As DATA 3CIP ByVal BufCnt As Integer ByRef DataCnt As Integer ByRef IpAxis As Integer ByRef pSpdChgFlg As Integer As Integer VC No int 0 15 DataNo int 1 65535 pData3CIP DATA_3CIP 3 BufCnt int 3 DataCnt int 3 IpAxis int pSpdChgFlg BOOL VB No Long 0 15 DataNo Long 165535 pData3CIP DATA_3CIP 3
30. IP DHCP E IP 5 wo 1 3 2 1 2 2 USB 2 3 USB 2 4 LAN 2 5 DLL 2 6 DLL PHP sss 3 2 HRP 3 3 1 VC VC 6 0 VC NET2003 VC 2005 VO 2008 3 3 2 VB6 0 3 3 3 VB NET2003 VB2005 VB 3 4 1 3 4 2 3 4 3 3 4 4 3 4 5 3 4 6 3 4 7 3 4 8 ELE 3 4 9 94602 Se 3 4 11
31. Cnt Long 3 lpAxis Long 1 2 3 SpdChgFlg Long True False VB NET No Integer 0 15 DataNo Integer 1 65535 pData3CIP DATA 3CIP 2 Cnt Integer 2 IpAxis Integer 1 2 3 SpdChgFlg Integer True False VC Int 3 4 10 1 VB Long 3 4 10 1 VB NET Integer 3 4 10 1 VC 3 3CIP_XXX ini 3
32. 1 COMP 2 COMP 3 COMP 4 COMP 5 6 nIN3 nECZ 7 niN3 Low Hi 8 nIN3 Hi Low 9 10h 10 65h 1 2 3 4
33. 8 MCX314As AL 2 8 6 16 API Nmc_ExpMode 0 1 75 Sec 2 Sec 1 224 Sec 256 Sec 2 448 Sec 512 Sec 3 896 Sec 1 024 msec 4 1 792 msec 2 048 msec 5 3 584 msec 4 096 msec 6 7 168 msec 8 192 msec 7 14 336 msec 16 384 msec Nmc_ExpMode EM6_data D15 D14 D13 D12 D11 D10 D9 D8 D7 EM6 D6 D5 D4 D3 D2 D1 DO 0 1 nLMTP nLMTM nINO nHOME nIN1 nHOME EMGN X D8 nIN2 nECZ nINPOS nALARM nIN3 nECZ 91 1 MR5407MR580
34. A i K U 9 F A R Debug Monitor a Windows Microsoft Windows D Lee N system32 gt regsvr32 MR540_DLL d
35. Microsoft Visual C 6 0 Microsoft Visual C NET 2003 Microsoft Visual C 2005 Microsoft Visual C 2008 Microsoft Visual C 2013 Microsoft Visual Basic 6 0 Microsoft Visual Basic NET 2003 Microsoft Visual Basic 2005 Microsoft Visual Basic 2008 Microsoft Visual Basic 2013 MR540 MR580 NR 1 PC 8 let NM 0 F 15 0 2 2 1 MR540 MR580 2 2 USB USB USB
36. VC Nmc_Pulse 4 0 AXIS_U 10000 4 IC0 U 10000 30 Nnc_Pulse_VB VB 32 32 VC VB Sub Nmc_Pulse_VB ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal wdata As Double VB NET Sub Nmc_Pulse_VB ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal wdata As Double VB No Long 0 15 IcNo Long IC 0 1 Axis Long wdata Double VB NET No Integer
37. VC long RR1 1 VB Long RR1 1 VB NET Integer RR1 1 VC Data Nmc_ReadReg1 1 0 AXIS_X 1 IC0 X 1 VB Data Nmc_ReadReg1 1 0 AXIS X 1 IC0 X 1 32 Nmc_ReadReg2 RR2 2 RR2 VC long Nmc_ReadReg2 int No int IcNo int Axis VB Function Nmc_ReadReg2 ByVal No As Long ByVal IcNo As Long ByVal Axis As Long As Long VB NET Function Nmc_ReadReg2 ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer As Integer VC No int 0 15 IcNo int IC 0 1 Axis int VB No Long 0 15 IcNo Long IG 0 1 Axis Long
38. 2 Nmc_Close Nmc_CloseAl1 O F DLL 0 15 Nmc_Open TRUE Nmc_Open Nmc_SetEyent
39. TNI 2 3 2 3 BP PC MR540 MR580 1 9 7 9 rN 7 4 2 No 1 9 3 41 9 No 1 7 7
40. 15 3 4 AP I MR540_DLL dll API E MCX314As AL 3 4 1 22 3 4 1 1 Nmc_Initialize DLL 22 3 4 1 2 Nmc_Finalize DLL 22 3 4 1 3 Nmc_Open 23 3 4 1 4 Nmc_Close 23 3 4 1 5 Nmc_CloseAll 24 3 4 1 6 Nmc_WriteReg 24 3 4 1 7 Nmc_ReadReg 25 3 4 1 8 Nmc_SetEvent 25 3 4 1 9 Nmc_ResetEvent 26 3 4 1 10 Nmc_ReadEvent RR3 26 3 4 2
41. Nnc ExpMode 4 4 MCX314As AL 2 5 4 8 MCX314As AL 2 8 6 16 MCX314As AL 6 16 VC void Nmc_ExpMode int No int IcNo int Axis long EM6_data long EM7_data VB Sub Nmc_ExpMode ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal EM6_data As Long ByVal EM7_data As Long VB NET Sub Nmc_ExpMode ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal EM6_data As Integer ByVal EM7_data As Integer VC No int 0 15 IcNo int IC 0 1 Axis int EM6_data long EM6 EM7_data long
42. 0 NOVA alectronics USB to RS232C Conyerter Virtual COM Part Windows XP Warrs fi Re S Microsoft USB USB COM LPT NOVA electronics USB to RS232C Converter Virtual COM Port COMX X COM
43. D1 0 AX11 10 1 8 Z 2 Y 1 X 9 RM Z 10 U 1 1 D3 2 AX21 20 2 D5 4 AX31 30 3 2 D9 8 SPD1 SPDO 00 01 2 11 3 D14 CIINT 2 3 1 D15 BPINT 2 3 1 5 4 API
44. VC void Nmc_DJerk int No int IcNo int Axis long wdata VB Sub Nmc_DJerk ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal wdata As Long VB NET Sub Nmc_DJerk ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal wdata As Integer VC No int 0 lt 15 IcNo int IC 0 1 Axis int wdata long VB No Long 0 15 IcNo Long IC 0 1 Axis Long wdata Long VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer wdata Integer 44 VC Nmc_DJerk 8 0 AXIS_U 1000 8 IC0 U 1000 VB Call Nmc_DJerk 8 0 AXIS_U 1000 8 IC0 U 1000 Nmc_HomeSpd
45. 4 4 3 API Nmc_WriteReg1 wdata D7 D5 D3 D1 0 wdata D6 D4 D2 D0 X MCX314AL nIN3 nINO MCX314AL nIN3 gt nINO D6 D4 D2 D0 EM7 D7 D0 X EM7 D9 D8 X X Nmc_WriteReg2 wdata D2 1 Nmc_ExpMode EM6 D5 X 1 4 3 Z 4 EM7 D10 1 EM7 D15 D11 X DCC Nmc_Speed wdata 1 8 000 1 4 Nmc_HomeSpd wdata 1 8 000 2
46. COM USB E amp Y H kkJloil lo lt Cutu NewS ud PVO CO ROM IDE ATAYATAPI 9 US8 4 1 es 0 a COM UPT fp NOVA clectroncs USB to RS232C Comverter Virtusl COM Port COM6 9 2 4 LAN LAN Ethernet a DHCP 0 DHCP LAN PHY 1IP MAC 0 LAN b DHCP
47. TCP IP ping 192 168 1 11 gt Om 2 ff 9 Windows 3 Documents a LAN TaP gE Dt 1 jt IL a Realtek GBE Famiy Contro 2 gt Hp Realtek PCle GBE Family Cantraller G y Microsoft
48. DLL 1 3 4 API 13 3 3 2 VB6 0 VB6 0 Lib VB6 MR540_DLLbas MR540_DLL Declare Driver 32Driver MR540_DLL dll WindowsOS 32bit Driver 64Driver MR540 DLL dll WindowsOS 64bit LTIB VB6 MR540_DLL bas 7 MR540 Project bas MR540_DLL bas EES MR540 Po 7 LU
49. Nnc_ReadEvent RR3 MCX314AL RR3 OR Nmc_SetEvent Nmc_ResetEvent VC BOOL Nmc_ReadEvent int No int IcNo int Rr3X int Rr3Y int Rr3Z int Rr3U VB VB NET VC No int 0 15 IcNo int IC 0 1 Rr3X int X RR3 Rr3Y int Y
50. DLL 2 H PC IF OK PC PC USB LAN ON MR540_Tool e
51. SR MCX314AL nIN0 nIN1 1 2 MCX314AL 1 nIN0 Low Hi 2 nIN1 3 Z nIN2 Low Hi 2 7 4 7 2 7 DCC nDRIVE DCO Low Hi API MCX314AL nIN3 nINO MCX314AL n
52. VB If Nmc_GetCNextStatus 2 0 lt gt 0 Then Call MsgBox 2 IC0 Else Call MsgBox 2 IC0 End If Nmc_GetBpsc BP VC int Nmc_GetBpSc int No int IcNo VB Function Nmc_GetBpSc ByVal No As Long ByVal IcNo As Long As Long VB NET Function Nmc_GetBpSc ByVal No As Integer ByVal IcNo As Integer As Integer VC No int 0 lt 15 IcNo int IC 0 1 VB No Long 0 15 IcNo Long IC 0 1 VB NET No Integer 0 15 IcNo Integer IC 0 1 VC int VB Long VB NET
53. VC No int 0 15 IcNo int IC 0 1 Axis int wdata long VB No Long 0 15 IcNo Long IC 0 1 Axis Long wdata Long VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer wdata Integer VC Nmc_Center 5 0 AXIS_Y 1500 5 IC0 Y 1500 VB Call Nmc_Center 5 0 AXIS_Y 1500 5 IC0 Y 1500 4 1 Nmc_Lp VC void Nmc_Lp int No int IcNo int Axis long wdata VB Sub Nmc_Lp ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal wdata As Long VB NET Sub Nmc_Lp ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal wdata As Integer
54. 5 5 kernel82 b OK wy MR540_DLL qdl1 2 2 5DLL b a MR540_DLL lib MR540_DLL h MR540_DLL dll b Windows System32 Windows OS 32bit 32bit MR540_DLL dll Windows OS 64bit 64bit MR540_DLLdll Windows Vista Windows System32 DLL 2 5 DLL Microsoft DLL DLL
55. cmd int 00 H lt OE H 61 H 3 4 9 wdata long VB No Long 0 lt 15 IcNo Long IC 0 1 Axis Long cmd Long 00 H OE H 61 H 3 4 9 wdata Long VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer cmd Integer 00 H 0E H 61 H 3 4 9 wdata Integer VC Nmc_WriteData 1 0 AXIS_ALL 0x05 1000 1 IC0 05 H 1000 VB Call Nmc_WriteData 1 0 AXIS_ALL amp H05 1000 1 IC0 05 H 1000 55 Nmc_WriteData2
56. 60 H 64 H WR6_data Long EM6 SM6 WR7_data Long EM7 SM7 VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer cmd Integer 60 H 64 H WR6_data Integer EM6 SM6 WR7_data Integer EM7 SM7 VC Nmc_WriteData2 1 1 AXIS_X 0x60 0x5F00 0x0045 1 IC1 X ER6 5F00 H ER7 45 H VB Call Nmc_WriteData2 1 1 AXIS_X amp H60 amp H5F00 amp H0045 1 IC1 xX ER6 5F00 H ER7 45 H 56
57. nll Du Microsoft Visual C 6 0 Microsoft Visual C NET 2003 Microsoft Visual C 2005 Microsoft Visual C 2008 Microsoft Visual C 2013 Microsoft Visual Basic 6 0 Microsoft Visual Basic NET 2003 Microsoft Visual Basic 2005 Microsoft Visual Basic 2008 Microsoft Visual Basic 2013 3 2 08 MR540 MR580 Windows 8 1 7 Vista XP 32 64 Driver 32Driver MR540_DLL dll WindowsOS 32bit Driver 64Driver LIB VC MR540_DLL dll MR540_DLL h WindowsOS 64bit MR540_DLL VCO LIB VC 32LIB MR540_DLL lib MR540_DLL VC WindowsOS 32bit LIB VC 64LIB MR540_DLL lib MR540_DLL VC WindowsOS 64bit LIB VB6 MR540_DLL bas MR540_DLL Declare VB6 0 10 J
58. 8 USB es L T MbD_ USB USB USB COM LPT
59. Microsoft QoS TCP TP gt 5 WW ER M TCP IP 5 TP ee TP TP 0 IP Sy TP 192 168 1 10 7 U 255 255 255 0 r 0 192 168 1 1 DNS GE DNS P DNS 2
60. VC No int 0 lt 15 IcNo int IC 0 1 Axis int wdata long VB No Long 0 15 IcNo Long IC 0 1 Axis Long Wdata Long VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer wdata Integer VC Nmc_WriteReg1 0 1 AXIS_X 0x8000 0 IC1 X VB Call Nmc_WriteReg1 0 1 AXIS_X amp H8000 0 IC1 X 28 WR2 2 Nmc_WriteReg2 WR2 VC void Nmc_WriteReg2 int No int IcNo int Axis long wdata VB Sub Nmc_WriteReg2 ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal wdata As Long VB NET Sub Nmc_WriteReg2 ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer
61. VC int 3 4 10 2 VB Long 3 4 10 2 VB NET Integer 3 4 10 2 VC DATA_3BP pData3BP NULL int BufCnt 3 BP int DataCnt 83 BP int IpAxis pData3BP new DATA_3BP BufCnt Nmc_3BPReadEEPROM 0 2 pData3BP BufCnt amp DataCnt amp lpAxis 0 2 BP BufCnt VB Dim BufCnt As Long 3 BP Dim DataCnt As Long 3 BP Dim IpAxis As Long ReDim Data3BP BufCnt As DATA 3BP Fori 0 To BufCnt 1 Data3BP BufCnt Next Status Nmc_3BPReadEEPROM 0 2 pData3BP BufCnt DataCnt IpAxis 0 2 BP BufCnt 68 Nmc_2CiReadEEPROM 2
62. USB na Windows COM 1 Windows XP USB PC COM GIJUTSU HARD3 DVD CD ROM IDE ATA ATAPI USB Universal Serial Bus LPT1 COM1 7 COM OK NOVA e
63. API Nmc_SyncMode 1 SM6_data SM7_data 2 SM6_data SM7_data SM6_data 0 SM7_data 0 90 3 Y 15 000 Z X 320 000 Y Z X XIN3 X Y Z CPU
64. pData3CIP new DATA 3CIP ReadSegNum Nmc_3CipReadEEPROM 3 20 pData3CIP BufCnt amp DataCnt amp IpAxis amp SpdChgFlg 3 20 BufCnt 1 VB Dim BufCnt As Long 3 Dim DataCnt As Long 3 Dim IpAxis As Long Dim Spdchgflg ReDim Data3CIP BufCnt As DATA_3BP Fori 0 To BufCnt 1 Data3CIP BufCnt Next Status Nmc_3CipReadEEPROM 3 20 pData3CIP BufCnt DataCnt IpAxis SpdChgFlg 3 20 BufCnt Nmc_DeleteEEPROM BP VC int Nmc_DeleteEEPROM int No int DataNo VB Function Nmc_DeleteEEPROM ByVal No As Long ByVal DataNo As Long As Long
65. 151 0064 1 7 20 3F TEL 03 5738 3666 FAX 08 5788 3665 URL http www novaelec co p 96
66. NOVA electronics USB to RS232C Converter Virtual COM Port MO15 CC 0 NOVA electronics USB to RS232C Converter Virtual COM Port 8 GIJUTSU_HARD3 DVD CD ROM IDE ATA ATAPI H USB Universal Serial Bus swe
67. VC No int 0 15 IcNo int IC 0 1 Axis int wdata long VB No Long 0 15 IcNo Long IC 0 1 Axis Long wdata Long VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer wdata Integer VC Nmc_CompP 6 1 AXIS_Z 50000 6 IC1 Z COMP 50000 VB Call Nmc_CompP 6 1 AXIS_Z 50000 0 6 IC1 Z COMP 50000 Nmc_CompM COMP COMP VC void Nmc_CompM int No int IcNo int Axis long wdata VB Sub Nmc_CompM ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal wdata As Long VB NET Sub Nmc_CompM ByVal No As Integer ByVal IcNo As Integer ByVal Ax
68. E Q y H mm a Gusu NewS uD DVO CO ROM aiDE ATAATAPi 9 US8 MT 1 es lt FP COM LPT NOVA electronics U5B to RS232C Coverter Virtusl COM Port CON5 NOVA electroncs USB to RS232C Converter Virtual COM Port CON6 COM NOVA eleokoniss USB to RS292C Converter Virtual COM 6 OKI NO
69. IP PC IP DHCP IP 1 PC LAN AUTO MDIX MR540 MR580 IP DHCP IP 192 168 1 11 255 255 255 0 192 168 1 1 PC IP LAN 192 168 1 10 DHCP PC IP Windows XP gt
70. Nmo_ReadEp VC long Nmc_ReadEp int No int IcNo int Axis VB Function Nmc_ReadEp ByVal No As Long ByVal IcNo As Long ByVal Axis As Long As Long VB NET Function Nmc_ReadEp ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer As Integer VC No int 0 15 IcNo int IC 0 1 Axis int VB No Long 0 15 IcNo Long IC 0 1 Axis Long VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer VC long VB Long VB NET Integer 48 VC Data Nmc_ReadEp 1 0 AXIS_Y 1 IC0 Y
71. int DataCnt 2 int IpAxis BOOL SpdChgFlg pData2CIP new DATA 2OIP BufCntl Status Nmc_2CipReadEEPROM 2 10 pData2CIP BufCnt amp DataCnt amp lpAxis amp SpdChgFlg 2 10 BufCnt 69 VB Dim BufCnt As Long 2 Dim DataCnt As Long 2 Dim IpAxis As Long Dim Spdchgflg ReDim Data2CIP BufCnt As DATA 2BP Fori 0 To BufCnt 1 Data2CIP BufCnt Next Status Nmc_2CipReadEEPROM 2 10 pData2CIP BufCnt DataCnt IpAxis SpdChgFlg 2 10 BufCnt 70 ck 6 Nmc_3CiReadEEPROM 3 3
72. 6 hp pp 415 998 521 555 234 379 071 919 611 58 952 287 0 1 Jo0 5 NII Ii Y 2 Io in 0 1 80 2 5 p rr f 31 9 5 Ii hh n 0 hi D pn 23 24 25 26 27 _32 CMF 33 CCW 34 2 gt 35 3 gt B0000o lt 80mmmm lt 800 000 3 gt 5o0 gt 5m 3B 5 smo 3C 62 63 55 KEI 3D ElEm oa OF NOP
73. MR540_DLL dl b Windows System32 Windows OS 32bit 32bit MR540_DLL dll Windows OS 64bit 64bit MR540_DLL dll 3 4 API VB 14 3 3 3 VB NET2003 VB2005 VB VB NET2003 VB2005 Lib VB NET MR540 DLLvb MR540_DLL Declare Driver 32Driver MR540_DLL dll WindowsOS 32bit Driver 64Driver MR540 DLL dll WindowsOS 64bit VB N Lib VB NET2003 MR540_DLL vb vb MR540_DLL vb
74. IP_DATA CR 2BP_No BP1P BP1M BP2M CR 2BP_0001 Bplp Bp1m Bp2m CR 2BP_0002 Bplp Bp1m Bp2m CR IP_DATA 2BP_nnnn 2 BP nnnn BP 0 lt 9999 Bplp 1 BP 16 16 Bp1m 1 BP 16 16 Bp2p 2 BP 16 16 Bp2m 2 BP 16 16 85 IIP_DATA 2 1 d 3 IP_DATA CR i 3BP_No BP1P BP1M BP2P BP2M BP3P BP3M CR 3BP_0001 Bplp Bplm Bp2p Bp2m Bp3p Bp3m CR 3BP_0002 PR Bpim Bp2p Bp2m Bp3p Bp3m CR CR IP_DATA 3BP_nnnn 2 BP nnnn BP 0 9999 Bplp 1 BP 16 16 Bp1m 1 BP 16
75. 0 8000 0 1 4 6 EndP1 1 2 147 483 646 2 147 483 646 EndP2 2 2 147 483 646 2 147 483 646 Center1 1 2 147 483 646 2 147 483 646 Center2 2 2 147 483 646 2 147 483 646 b 3 IP_DATA CR 3CIP_No 1 2 3 CR 3CIP_0001 EndP1 EndP2 EndP3 Speed CR 3CIP_0002 EndP1 EndP2 EndP3 Speed CR CR IP_DATA 3CIP_nnnn 3 nnnn 0 lt 9999 EndP1 1 2 147 483 646 2 147 483 646 EndP2 2 2 147 483 646 2 147 483 646 EndP3 3 2 147 483 646 2 147 483 646 Speed 0 8000 0 2 c 2
76. ICO 4 H 16Bit EX CLl IC1 MR540 MR580 1C o 1C1 WR5 LL EX 1 386 BP 88 1C
77. VB NET No Integer 0 15 IcNo Integer 1IC 0 1 Axis Integer long RR2 2 VB Long RR2 2 VB NET Integer RR2 2 VC Data Nmc_ReadReg2 2 1 AXIS_Y 2 IC1 Y 2 VB Data Nmc_ReadReg2 2 1 AXIS_Y 2 IC1 Y 2 Nnc_ReadReg4 RR4 1 IC RR4 VC long Nmc_ReadReg4 int No int IcNo VB Function Nmc_ReadReg4 ByVal No As Long ByVal IcNo As Long As Long VB NET Function Nmc_ReadReg4 ByVal No As Integer ByVal IcNo As Integer As Integer VC No int 0 15 IcNo int IC 0 1 VB No Long 0 15
78. VC int 0 1 0 VB Long 0 1 0 VB NET Integer 0 1 0 VC Nmc_GetDriveStatus 2 0 AXIS_Y 0 AfxMessageBox 2 IC0 Y else AfxMessageBox 2 IC0 Y VB If Nmc_GetDriveStatus 2 0 AXIS _Y 0 Then Call MsgBox 2 IC0 Y Else Call MsgBos 2 IC0 Y End If 5 Nnc_OptionCheck 4 4 VC int Nmc_OptionCheck int No VB Function Nmc_OptionCheck ByVal No As Long As Long VB NET Function Nmc_OptionCheck ByVal No As Integer As I
79. BufCnt Long 3 DataCnt Long 3 IpAxis Long pSpdChgFlg Long VB NET No Integer 015 DataNo Integer 1 65535 pData3CIP DATA_3CIP 3 BufCnt Integer 3 DataCnt Integer 3 IpAxis Integer pSpdChgFlg Integer VC int 3 4 10 2 VB Long 3 4 10 2 VB NET Integer 3 4 10 2 VC DATA_3CIP pData3CIP NULL int BufCnt 3 int DataCnt 3 int IpAxis BOOL SpdChgFlg
80. COM LPT NOVG electronics USB to R523 LPTI COM1 1 4 rter Virtual COM Port COM 2 PC USB TER ME IX 8 A LlolNRII IoIEd USB a gt lt 1DE AIAATAPE nop gt lt gt 1 gt 4
81. 1 1sec 48 MCX314As AL 2 4 3 1 1 2 PC MR540 MR580 1 2
82. 5 6 MCX314AL 7 8 9 WR6 WR7 10 WR6 WR7 11 WR6 WR7 24 12 WR6 22 13 nDCC 14 2 Nmc_SyncMode 1 MCX3 14As AL 2 6 1
83. Nmc_ReadAccDec VC long Nmc_ReadAccDec int No int IcNo int Axis VB Function Nmc_ReadAccDec ByVal No As Long ByVal IcNo As Long ByVal Axis As Long As Long VB NET Function Nmc_ReadAccDec ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer As Integer VC No int 0 15 IcNo int IC 0 1 Axis int VB No Long 0 15 IcNo Long IC 0 1 Axis Long VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer 49 VC long VB Long VB NET Integer VC Data Nmc_ReadAccDec 1 0 AXIS_U 1 IC0 U VB Data Nmc_ReadAccDec 1 0 AXI
84. 2 3 VC void Nmc_HomeSpd int No int IcNo int Axis long wdata VB Sub Nmc_HomeSpd ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal wdata As Long VB NET Sub Nmc_HomeSpd ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal wdata As Integer VC No int 0 15 IcNo int IC 0 1 Axis int wdata long VB No Long 0 15 IcNo Long IC 0 1 Axis Long wdata Long VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer wdata Integer Vc Nmc_HomeSpd 8 1 AXIS_U 200 8 IC1 U 200 VB Call Nmc_HomeSpd 8 1 AXIS_U 200 8 IC1 U 200 45 3 4 6
85. 4 MCX314AL H MCX314As AL 2 5 1 1 H MCX314AL nIN0 nIN1 nIN2 nIN3 3 MC 1 MR540B MR580B X314AL 3 3V 24V 10K 512 SEC nDRIVE DCC 3 3V TLPzg1 3 9 A Z KA4F3P Nmc_WriteReg1 wdata D7 D5 D3 D1 0 wdata D6 D4 D2 D0 X 4 4 1 1
86. CIINT 1 X 2 Y Nmc_Range 3 0 AXIS_X 4000000 X 2 Nmc_Range 3 0 AXIS_Y 5656000 Y 2 Nmc_StartSpd 3 0 AXIS_X 500 SV 500 x 2 1000PPS Nmc_Speed 3 0 AXIS_X 500 V 500 x 2 1000PPS Nmc_Exec_Ip 3 0 20 No 20 VB WR5 3 ICO0 Call Nmc_WriteReg5 3 0 0x4104 CIINT 1 X 2 Y Call Nmc_Range 3 0 AXIS_X 4000000 X 2 Call Nmc_Range 3 0 AXIS_Y 5656000 Y 2 Call Nmc_StartSpd 3 0 AX1S_X 500 SV 500 x 2 1000PPS Call Nmc_Speed 3 0 AXIS_X 500 V 500 x 2 1000PPS Status Nmc_Exec_Ip 3 0 20 No 20 73 Nnc_Stop_lp BP
87. SM6 SM7_data Integer SM7 VC 1 IC0 X Y X Y E END Y Nmc_SyncMode 1 0 AXIS_X 0x2020 0 Nmc_SyncMode 1 0 AXIS_Y 0 0x0001 VB 1 IC0 X Y X Y E END Y Call Nmc_SyncMode 1 0 AXIS_X amp H2020 0 Nmc_SyncMode 1 0 AXIS_Y 0 amp H0001 4 3 4 7 N
88. 0 0 VC Status Nmc_CloseAlIO VB Status Nmc_CloseAll Nnc_WriteReg WR0 WR7 WR1 2 3 VC void Nmc_WriteReg int No int IcNo int RegNum long Dat VB Sub Nmc_WriteReg ByVal No As Long ByVal IcNo As Long ByVal RegNum As Long ByVal Dat As Long VB NET Sub Nmc_WriteReg ByVal No As Integer ByVal IcNo As Integer ByVal RegNum As Integer ByVal Dat As Integer VC No int 0 15 IcNo int IC 0 1 RegNum int MCX_WR0 MCX_WR7 Dat long VB No Long 0 lt 15 IcNo Long IC 0 1 RegNum Long MCX_WR0 MCX_WR7 Dat Long VB NET No Integer 0 15 IcNo Integer IC 0 1 RegNum Integer
89. 4 6 1 MR580 4 MR580 4 2 1 1msec BP MAX50kpps Nmc_Stop_Ip0 4 7 Nmc_StsRead_Ip MR540 IC
90. 48 3 4 7 2 Nmc_ReadEp 48 3 4 7 3 Nmc_ReadSpeed 49 3 4 7 4 Nmc_ReadAccDec 49 3 4 7 5 Nmc_ReadSyncBuff 50 3 48 a 3 4 8 1 Nmc_GetDriveStatus 51 3 4 8 2 Nmc_OptionCheck 4 52 3 4 9 53 3 4 9 1 Nmc_WriteRegSetAxis WR1 3 53 3 4 9 2 Nmc_ReadRegSetAxis RR1 2 54 3 4 9 3 Nmc_WriteData 00 H lt OE H 61 H 55 3 4 9 4 Nmc_WriteData2 60 H 64 H 56 3 4 9 5 Nmc_ReadData 10 H lt 14 H 57 3 4 10 58 3 4 10 1 Nmc_2BPWriteEEPROM 2 BP 58 3 4 10 2 Nmc_3BPWriteEEPROM 3 BP 60 3 4 10 3 Nmc_2CipWriteEEPROM
91. wdata Long VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer wdata Integer VC Nmc_StartSpd 3 0 AXIS_Y 100 3 IC0 Y 100 VB Call Nmc_StartSpd 3 0 AXIS_Y 100 3 IC0 Y 100 Nnc_Speed VC void Nmc_Speed int No int IcNo int Axis long wdata VB Sub Nmc_Speed ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal wdata As Long VB NET Sub Nmc_Speed ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal wdata As Integer VC No int 0 lt 15 IcNo int IC 0 1 Axis int wdata long VB No Long 0 lt 15 IcNo Long IC 0 1 Axis Long wdata Long VB NET No Integer
92. Nmc_ReadLpO 2 3 1 Nmc_ReadEp 7 Nmc_ReadSpeed 7 Nmc_ReadAccDec Nmc_ReadReg4 nHOME nECZ nALARM nINPOS 4 14 Nmc_ReadReg5 1 GND O Nmc_ReadEvent 2 5 2 7 4 5 4 13 Nmc_StsRead Ip BP
93. VC No int 0 15 IcNo int IC 0 1 UserThread LDPTHREAD_START_ROUTINE lpParameter LPVOID 1 VC BOOL TRUE FALSE VC Stetus Nmc_SetEvent 0 1 MC_EventFunc0 IpParam 0 IC1 Nmc_WriteReg1 0 0 AXIS_ALL 0x8000 ICO 25 Nmc_ResetEvent VC BOOL Nmc_ResetEvent int No int IcNo VB VB NET VC No int 0 lt 15 IcNo int IC 0 1 VC Status Nmc_ResetEvent 0 0 0 1IC0
94. VC void Nmc_AccOfst int No int IcNo int Axis long wdata VB Sub Nmc_AccOfst ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal wdata As Long VB NET Sub Nmc_AccOfst ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal wdata As Integer VC No int 0 15 IcNo int IC 0 1 Axis int wdata long VB No Long 0 lt 15 IcNo Long IC 0 1 Axis Long wdata Long VB NET No Integer 0 lt 15 IcNo Integer IC 0 1 Axis Integer wdata Integer VC Nmc_AccOfst 7 1 AXIS_U 20 7 IC1 U 20 VB Call Nmc_AccOfst 7 1 AXIS_U 20 7 IC1 U 20 Nmc_DJerk S
95. 1 79 4 3 MCX314AL MCX314AL MCX314As AL API MCX314AsAL 1 Nmc_ReadReg0 4 10 4 11 Nmc_ReadReg1 Nmc_GetDriveStatus Nmc_ReadReg2 4 12 EMG
96. EM7 VB No Long 0 15 IcNo Long IC 0 1 Axis Long EM6_data Long EM6 EM7_data Long EM7 VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer EM6_data Integer EM6 EM7_data Integer EM7 VC Nmc_ExpMode 0 1 AXIS_X 0x7700 0x0045 0 IC1 X EM6_data 3 EM7_data 1 2 4 Call Nmc_ExpMode 0 1 AXIS_X amp H7700 amp HO045 0 IC1 X EM6_data 3 EM7_data 1 2 4 46 Nnc_SyncMode MCX314AL
97. WR5 D0 D5 VC int 3 4 10 1 VB Long 3 4 10 1 VB NET Integer 3 4 10 1 VC 3 BP 3BP_XXX ini Datafile Open 3BP_XXX ini CFile imodeRead 3 BP BP Cnt pData3BP new DATA _3BP Cntl for int 0 i Cnt DATA_3BP Cnt Status Nmc_3BPWriteEEPROM 0 2 pData3BP 400 0x24 No 0 No 2 BP 400 0x24 1 00 X 2 01 Y 3 10 Z VB 7 3 BP 3BP_XXX ini ReDim Data3BP Cnt As DATA_3BP Fori 0 To Cnt 1 Data3BP Cnt Next 60 Status Nmc_3BPWriteEEPROM 0 1 pData3BP 400 amp H24 No 0 No 2 BP 400
98. 4 7 MCX314As AL 2 6 6 18 VC void Nmc_SyncMode int No int IcNo int Axis long SM6_data long SM7_data VB Sub Nmc_SyncMode ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal SM6_data As Long ByVal SM7_data As Long VB NET Sub Nmc_SyncMode ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal SM6_data As Integer ByVal SM7_data As Integer VC No int 0 15 IcNo int IC 0 1 Axis int SM6_data long SM6 SM7_data long SM7 VB No Long 0 15 IcNo Long IC 0 1 Axis Long SM6_data Long SM6 SM7_data Long SM7 VB NET No Integer 0 lt 15 IcNo Integer IC 0 1 Axis Integer SM6_data Integer
99. 1 VC define NCI_IFTYPE_USB 0x00 USB define NCI_IFTYPE_LAN 0x01 LAN VB6 0 Public Const NCI_IFTYPE_USB amp H0 USB Public Const NCI_IFTYPE_LAN amp H1 LAN VB NET2003 VB2005 Public Const NCI_IFTYPE_USB amp HOs USB Public Const NCI_IFTYPE_LAN amp H1s LAN 2 16 0 9 A B C D E F 1H API 10 10 0 9 10 11 12 13 14 15 3 IC MCX314AL 0 4 MCX314AL 1 MR540 1C 0 4 VC define AXIS_X 0x1 X define AXIS_Y 0x2 Y define AXIS_Z 0x4 Z define AXIS_U 0x8 define AXIS_ALL OxF VB6
100. 3 1IC MCX314AL 1C MCX814AL MR540 MCX314AL Nmc_Reset 8 MCX314AL MR580 4 Nmc_WriteReg1 Nmc_WriteReg2 Nmc_WriteReg3 H 1 EE
101. 6 16 Nmc_WriteReg4 MCX314AL WR4 0 1 2 9 8 4 7 Nmc_WriteReg1 4 14 Nmc_WriteReg2 4 3 Nmc_WriteReg2 2 2 4 5 1 API WR1 WR2 Nmc_WriteReg0 Nmc_WriteRegSetAxis WR4 Nmc_WriteReg0 Nmc_WriteData20
102. VC long VB Long VB NET Integer VC Data Nmc_ReadData 2 0 AXIS_X 0x10 2 IC0 X VB Data Nmc_ReadData 2 0 AXIS_X amp H10 2 IC0 X 3 4 9 MCX314As AL 5 6 H 00h 08h 10h 0O1h 09h 11h 02h 0Ah 12h 03h 0Bh COMP
103. define CMD_IP_CCW 0x33 CCW define CMD_IP_2BP 0x34 2 BP 3 define CMD_IP_3BP 0x35 3 BP 4 define CMD_BP_ENABLED 0x36 BP y 29 define CMD_BP_DISABLED 0x37 BP y 29 define CMD_BP_STACK 0x38 BP 22992 define CMD_BP_CLR 0x39 BP 7 27 7 define CMD_IP_1STEP 0x3A define CMD_IP_DEC_VALID 0x3B define CMD_IP_DEC_INVALID 0x3C define CMD_IP_INTRPT_CLR 0x3D 7 VB6 0 Public Const CMD_F_DRV_P amp H20 Public Const CMD_F_DRV_M amp H21 Public Const CMD_C_DRV_P amp H22 Public Const CMD_C_DRV_M amp H23 Public Const CMD_START_HOLD amp H24 17 Public Const CMD_START_FREE amp H25 7 Public Const CMD_STP_STS_CLR amp H25 7 222 7 Public Const CMD_STOP_DEC amp H26 Public Const CMD_STOP_SUDDEN amp H27 Public Const CMD_HOME_EXEC amp H62 Public Const CMD_DEVCTR_CLR amp H63 gt 92 7 Public Const CMD_SYNC_ACTIVE amp H65 Public Const CMD_NOP amp HOF NOP
104. 4 lt TI 4 2 4 3 4 4 4 5 4 6 4 7 88 4 8 4 9 ll MR540 MR580 MS MR540 MR580 Windows API Windows MR540 MR580 0S MR5407MR580 Windows 8 1 7 Vista XP 32 64 ml Du MR540 MR580 DLL
105. Sample B SampleB 2CIP_2ST CCW ini Sample_data SampleB VBSampleB exe Sample VB NET2003 Sample A Sample B SampleB 2CIP_2ST CCW ini Sample_data SampleB VBSampleB exe Sample VB2008 Sample VB2013 Sample A Sample B SampleB Sample_data 2CIP_2ST CCW ini SampleB VBSampleB exe Sample A Sample B SampleB 2CIP_2ST CCW ini Sample_data SampleB VBSampleB exe 1
106. 1 IC1 X VB Data Nmc_ReadSyncBuff 1 1 AXIS_X 1 IC1 X 50 3 4 8 Nnc_GetDriveStatus VC int Nmc_GetDriveStatus int No int IcNo int Axis VB Function Nmc_GetDriveStatus ByVal No As Long ByVal IcNo As Long ByVal Axis As Long As Long VB NET Function Nmc_GetDriveStatus ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer As Integer VC No int 0 15 IcNo int IC 0 1 Axis int VB No Long 0 15 IcNo Long IC 0 1 Axis Long VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer
107. WR5 D0 lt D3 SpdChgFlg BOOL TRUE FALSE VB No Long 0 lt 15 DataNo Long 1 65535 pData2CIP DATA 2CIP 2 Cnt Long 2 IpAxis Long 1 2 SpdChgFlg Long True False VB NET No Integer 0 15 DataNo Integer 1 lt 65535 pData2CIP DATA 2CIP 2 Cnt Integer 2 IpAxis Integer 1 2 SpdChgFlg Integer True False VC int
108. 0 15 IcNo Integer IC 0 1 Axis Integer wdata Double VB Call Nmc_Pulse 4 0 AXIS_U 10000 4 IC0 U 10000 Nmc_DecP VC VC void Nmc_DecP int No int IcNo int Axis ULONG wdata VB VB NET VC No int 0 15 IcNo int IC 0 1 Axis int wdata ULONG VC Nmc_DecP 4 1 AXIS_X 30000 4 IC1 X 30000 40 Nmc_DecP_VB VB VC VB Sub Nmc_DecP_VB ByVal N
109. 0O 1 Ss ENST ES SND DSND O QIQIQIQI5 O co g EE co OL OO O F EE co OO OO oooo EE olololo EE OO OO mi Oo mm ol ol ol o OO F 4 oooosgo EE ooooWo 1 EE 5 4 4 4 OO OO OO OO T olololo I 1 T OO h lt 1 T Fr olololo 1 1 T EE oooo lt 1 T 0000 F 3 4 mm OOQOQOOI OOIO I 1 a OO OO 1 ww olololo 1 1 Ll 1 1 3 1 oooo 1 1 Ll 1 soo oo Ll OoOOO oo OOQOOO Q QI QIQ oooo m Windows Microsoft Corporation
110. 1 gt es gt gt gt 9 gt gt gt COM UPT BB gt 3 gt 9 S
111. UC LE im _ lm mm om ph sm _ lm pF _ sp _ pr _ pr OFSTIB lt 1n 10 000 0 000 ee I 5 000 lillielied 1 111111111010100 gt 0000000000000000 gt BP1P WR2 BP1M WR3 BP2P WR3 BP2M WR5 BP3P WR65 BP3M WR7 ooo0000000000000 SC _36 BP 37 BP 38 BP 39 BP Q gt BP EX o HH ICO 4 IC
112. VC No int 0 lt 15 IcNo int IC 0 1 wdata long VB No Long 0 lt 15 IcNo Long IC 0 1 wdata Long VB NET No Integer 0 15 IcNo Integer IC 0 1 wdata Integer VC Nmc_WriteReg5 2 1 0x0024 2 IC1 X 2 Y 3 Z VB Call Nmc_WriteReg5 2 1 amp H0024 2 IC1 X 2 Y 3 Z 30 Nmc_WriteReg6 IC WR6 WR6 1 VC void Nmc_WriteReg6 int No int IcNo long wdata VB Sub Nmc_WriteReg6 ByVal No As Long ByVal IcNo As Long ByVal wdata As Long VB NET Sub Nmc_WriteReg6 ByVal No As Integer ByVal IcNo As Integer ByVal wdata As Integer VC No int 0 lt 15 IcNo int IC 0 1 wdata long VB No Lon
113. 0 15 DataNo Long 1 65535 pData2CIP DATA 2CIP 2 BufCnt Long 2 DataCnt Long 2 IpAxis Long pSpdChgFlg Long VB NET No Integer 0 lt 15 DataNo Integer 1 65535 pData2CIP DATA _2CIP 2 BufCnt Integer 2 DataCnt Integer 2 IpAxis Integer pSpdChgFlg Integer VC int 3 4 10 2 VB Long 3 4 10 2 VB NET Integer 3 4 10 2 VC DATA 2CIP pData2CIP NULL int BufCnt 2
114. 1 65535 pData2BP DATA_2BP 2 BP BufCnt Integer 2 BP DataCnt Integer 2 BP IpAxis Integer VC int 3 4 10 2 VB Long 3 4 10 2 VB NET Integer 3 4 10 2 VC DATA _2BP pData2BP NULL int BufCnt 2 BP int DataCnt 2 BP int IpAxis pData2BP new DATA _2BP BufCnt Status Nmc_2BPReadEEPROM 0 1 pData2BP BufCnt amp DataCnt amp lpAxis 0 BP BufCnt VB Dim BufCnt As Long 2 BP Dim DataCnt As Long 2 BP Dim IpAxis As Long ReDim Data2BP BufCnt As DATA 2BP Fori 0O To BufCnt 1 Data2BP BufCnt Next
115. MR540 Project MR54U Project 1 ST EE GE 5 P EB D F 12 MR540 DLL h MR54U_Project MR540_Project a res stdafxh targetverh Projects MR540_DLLlb MR54U_Projectaps MR540_Project cpp H MR540_Projecth MR540 Projectrc MR54U_Prajectycpraj MR540_Project vcproj XP32DD miyauser MR540_ProjectDlg cpp H MR540_ProjectDlgh ReadMe txt Resaurceh stdafx cpp MR540_DLLh
116. 1 Public Const MCX WR7 amp H7s 2 Public Const MCX_RR7 amp H7s 2 19 6 1IC MCX314AL MCX314AL VC define CMD_F_DRV P 0x20 17 define CMD_F_DRV_M 0x21 17 define CMD_C_DRV_P 0x22 define CMD_C_DRV_M 0x23 define CMD_START_HOLD 0x24 define CMD_START_FREE 0x25 7 define CMD_STP_STS_CLR 0x25 7 222 7 define CMD_STOP_DEC 0x26 77 define CMD_STOP_SUDDEN 0x27 define CMD_HOME_EXEGC 0x62 define CMD_DEVCTR_CLR 0x63 7 define CMD_SYNC_ACTIVE 0x65 define CMD_NOP 0xOF NOP define CMD_IP_2ST 0x30 2 define CMD_IP_3ST 0x31 3 define CMD_IP_CW 0x32 CW
117. 53 Nmc_ReadRegSetAxis RR1 RR2 RR1 RR2 VC long Nmc_ReadRegSetAxis int No int IcNo int Axis int RegNum VB Function Nmc_ReadRegSetAxis ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal RegNum As Long As Long VB NET Function Nmc_ReadRegSetAxis ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal RegNum As Integer As Integer VC No int 0 15 IcNo int IC 0 1 Axis int RegNum int VB No Long 0 15 IcNo Long IC 0 1 Axis Long RegNum Long VB NET No Integer 0 15 IcNo Integer 1IC 0 1 Axis Integer RegNum Integer
118. wdata long VB No Long 0 15 IcNo Long IC 0 1 Axis Long wdata Long VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer wdata Integer 36 VC Nmc_Jerk 0 1 AXIS_ALL 1000 0 IC1 1000 VB Call Nmc_Jerk 0 1 AXIS_ALL 1000 0 IC1 1000 Nmc_Acc VC Void Nmc_Acc int No int IcNo int Axis long wdata VB Sub Nmc_Acc ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal wdata As Long VB NET Sub Nmc_Acc ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal wdata As Integer VC No int 0 15 IcNo int IC 0 1 Axis int
119. 3 4 6 API Nmc_Command IP define CMD IP 2ST 0x30 2 define CMD_IP 3ST 0x31 3 define CMD IP CW 0x32 CW define CMD_IP CCW 0x33 CCW 4 3 i Nmc_GetCNextStatus API API Nmc_GetCNextStatus Nmc_Command_IP Nmc_Pulse Nmc_Center Nmc_WriteReg5 CINT
120. 7 Public Const CMD_STP_STS_CLR amp H25s 27 9 7 Public Const CMD_STOP_DEC amp H26s 17 Public Const CMD_STOP_SUDDEN amp H27s Public Const CMD_HOME_EXEC amp H62s Public Const CMD_DEVCTR_CLR amp H63s 22 7 Public Const CMD_SYNC_ACTIVE amp H65s Public Const CMD_NOP amp HOFs NOP Public Const CMD_IP_2ST amp H30s 2 7 Public Const CMD_IP_3ST amp H31s 3 Public Const CMD_IP_CW amp H32s CW Public Const CMD_IP_CCW amp H33s CCW Public Const CMD_IP_2BP amp H34s 2 BP Public Const CMD_IP_3BP amp H35s 3 BP Public Const CMD_BP_ENABLED amp H36s BP y 29 Public ConstCMD_BP_DISABLED amp H37s BP 29 Public Const CMD_BP_STACK amp H38s BP 92297 Public Const CMD_BP_CLR amp H39s BP 7 Public Const CMD_IP_1STEP amp H3As 2 Public Const CMD_IP_DEC_VALID amp H3Bs Public Const CMD_IP_DEC_INVALID amp H3Cs Public Const CM
121. NOVA electronics USB to RS232C Converter Virtual COM Port COMX X COM 2 3 USB NOwA slsctronics USB to RS232C Comyewrter virtusl COM Por F A H 5 a tu PE p lt DVD CD ROM b ca IDE ATA ATAP pF Jungo p gt gt gt gt s gt gt gt gt 2 COM LPT NOVA electronlcs U5B to RS232C Converter Virtual COM Port COM10 COM1 gt
122. VB Long RRO VB NET Integer RRO VC Data Nmc_ReadReg0 1 0 1 ICO VB Data Nmc_ReadReg0 1 0 1 ICO Nmc_ReadReg1 RR1 1 RR1 VC long Nmc_ReadReg1 int No int IcNo int Axis VB Function Nmc_ReadReg1 ByVal No As Long ByVal IcNo As Long ByVal Axis As Long As Long VB NET Function Nmc_ReadReg1 ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer As Integer VC No int 0 15 IcNo int IC 0 1 Axis int VB No Long 0 15 IcNo Long IG 0 1 Axis Long VB NET No Integer 0 15 IcNo Integer 1IC 0 1 Axis Integer
123. 0 15 IcNo Integer IC 0 1 Axis Integer wdata Integer VC Nmc_Speed 3 1 AXIS_Z 1000 3 IC1 Z 1000 VB Call Nmc_Speed 3 1 AXIS_Z 1000 3 IC1 Z 1000 Nmc_Pulse VC 32 32 VC void Nmc_Pulse int No int IcNo int Axis long wdata VB VB NET VC No int 0 15 IcNo int IC 0 1 Axis int wdata long
124. Nmc_2BPReadEEPROM 2 BP Nmc_3BPReadEEPROM 3 BP Nmc_2CipReadEEPROM 2 Nmc_3CipReadEEPROM 3 Nmc_DeleteEEPROM 4 3 9 N 1 2 2 API Nmc_WriteReg5 3 2 1 2 3 CIINT 2
125. WR5 D0 lt D3 VC int 3 4 10 1 VB Long 3 4 10 1 VB NET Integer 3 4 10 1 VC 2 BP 2BP_XXX ini Datafile Open 2BP_XXX ini CFile modeRead 2 BP BP Cnt pData2BP new DATA 2BP Cntl for int 0 i Cnt DATA _2BP Cnt Status Nmc_2BPWriteEEPROM 0 1 pData2BP 500 0x04 No 0 No 1 BP 500 0x04 1 00 X 2 01 Y VB a 2 BP 2BP_XXX ini Open 2BP_XXX ini For Input As 1 2 BP BP Cnt ReDim Data2BP Cnt As DATA_2BP Fori 0 To Cnt 1 Data2BP Cnt Next Status Nmc_2BPWriteEEPROM 0 1 pData2BP 500 amp H04 No 0
126. lt 1 KO AA jjy B AND gt PC USB_Driver 32bit USB_Driver 64bit ET 0 2 CD ROM MD OF C MR5XU Driver 32bit D ELP 0 lt gt wv y
127. 16 Bp2p 2 BP 16 16 Bp2m 2 BP 16 16 Bp3p 3 BP 16 16 Bp3m 3 BP 16 16 3 2 4Mbit 1 65535 25 000 API API Nmc_2BPWriteEEPROM 2 BP Nmc_3BPWriteEEPROM 3 BP Nmc_2CipWriteEEPROM 2 Nmc_3CipWriteEEPROM 3
128. API MR540_DLL h MR540_DLL lib MR540_DLL iib MR540_Project Cx Debug P Win32 MR540_DLL lib Er C C 0 DLL DL XML
129. 0x04 1 00 X 2 01 Y 3 10 Z 61 Nmc_2CipWriteEEPROM 2 2 VC int Nmc_2CipWriteEEPROM int No int DataNo DATA 2CIP pData2CIP int Cnt int IpAxis BOOL SpdChgFlg VB Function Nmc_2CipWriteEEPROM ByVal No As Long ByVal DataNo As Long ByRef pData2CIP As DATA 2CIP ByVal Cnt As Long ByVal IpAxis As Long ByVal SpdChgFlg As Long As Long VB NET Function Nmc_2CipWriteEEPROM ByVal No As Integer ByVal DataNo As IntegerByRef pData2CIP As DATA 2CIP ByVal Cnt As Integer ByVal IpAxis As Integer ByVal SpdChgFlg As Integer As Integer VC No int 0 15 DataNo int 1 65535 pData2CIP DATA 2CIP 2 Cnt int 2 lpAxis int 1 2
130. O 84 2 1 INI 1 1 CR Carriage Return a 2 IP_DATA CR 2CIP_No 2 1 2 1 2 CR 2CIP_0001 Command Speed EndP1 EndP2 Center1 Center2 CR 2CIP_0002 Command Speed EndP1 EndP2 Center1 Center2 CR IP_DATA 2CIP_nnnn 2 nnnn 0 9999 Command CMD_IP_2ST 2 CMDIP_CW CW CMD_IP_CCW CCW Speed
131. 0 15 IcNo Long IC 0 1 RegNum Long MCX_RR0 MCX_RR7 VB NET No Integer 0 lt 15 IcNo Integer IC 0 1 RegNum Integer MCX_RRO0 MCX_RR7 VC long VB Long VB NET Integer VC Data Nmc_ReadReg No 0 MCX_RR0 IC0 RR0 VB Data Nmc_ReadReg No 0 MCX_RR0 ICO0 RR0 Nmc_SetEvent 1 1 Nmc_ResetEvent VC BOOL Nmc_SetEvent int No int IlcNo LPTHREAD_START_ROUTINE UserThread LPVOID IpParameter VB VB NET
132. 0 15 IcNo int IC 0 1 Axis int wdata long VB No Long 0 15 IcNo Long IC 0 1 Axis Long wdata Long VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer wdata Integer VC Nmc_Ep 6 0 AXIS_ALL 0 6 IC0 0 VB Call Nmc_Ep 6 0 AXIS_ALL 0 6 IC0 0 42 Nme_CompP COMP COMP VC void Nmc_CompP int No int IcNo int Axis long wdata VB Sub Nmc_CompP ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal wdata As Long VB NET Sub Nmc_CompP ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal wdata As Integer
133. 3 Nmc_Pulse wdata 0 4 294 967 295 4 82 4 5 1 MR580 4 1 Nmc_WriteReg1 1 COMP COMP COMP
134. 2 62 3 4 10 4 Nmc_3CipWriteEEPROM 3 64 3 4 10 5 Nmc_2BPReadEEPROM 2 BP 66 3 4 10 6 Nmc_3BPReadEEPROM 3 BP 68 3 4 10 7 Nmc_2CipReadEEPROM 2 69 3 4 10 8 Nmc_3CipReadEEPROM 3 71 3 4 10 9 Nmc_DeleteEEPROM 72 3 4 10 10 Nmc_Exec_lp 73 3 4 10 11 Nmc_Stop_lp 74 3 4 10 12 Nmc_StsRead_lp 74 3 4 11 76 3 4 11 1 Nmc_Command IP 76 3 4 11 2 Nmc_GetCNextStatus 76 3 4 11 3 Nmc_GetBpSc BP 77 17
135. LIB VB NET2003 MR540_DLL vb MR540_DLL Declare VB NET2003 VB2005 J Tool Tool 32Tool MR540_Tool exe MR540 MR580 WindowsOS 32bit Tool IPTool 32IPTool MR540_IPTool exe WindowsOS 32bit Sample_data 10 Tool Tool 64Tool MR540_Tool exe MR540 MR580 WindowsOS 64bit Tool IPTool 64IPTool MR540_IPTool exe WindowsOS 64bit Sample_data
136. MR540_ProjectDlg cpp O res MR540_Projectaps le MR540_Project cpp IH MR540_Projecth MR540_Projectrc MR54U_Prajectycproj MR54H_ProjectDlg cpp MR540_ProjectDlg h ReadMe txt Resaurceh 6 stdafx cpp stdafxh H targetverh MR540 DLLh MR540 DLL lib MR540_Project veproj XP32D 43 KB 3 KB 1 KB 6 KB 6 KB 2 KB 4 KB 1 KB 5 KB 1 KB 1 KB 2 KB 2 KB 16 KB 32 KB APS C 0 Resaurce Scrint WC Project Visual Studin Proje 0 0 0 C 0 Object File Library 2012 12 17 10 04 2012 12 17 10 04 2012 12 17 10 04 2012 12 17 10 04 2012 12 17 10 04 2012 12 17 10 04 2012 12 17 10 05 2012 12 17 10 04 2012 12 17 10 04 2012 12 17 10 04 2012 12 17 10 04 2012 12 17 10 04 2012 12 17 10 04 2012 12 17 10 04 2012 12 11 9 47 2012 11 02 13 18 VC MR540_DLL h
137. VB Data Nmc_ReadEp 1 0 AXIS_Y 1 IC0 Y Nmc_ReadSpeed VC long Nmc_ ReadSpeed int No int IcNo int Axis VB Function Nmc_ ReadSpeed ByVal No As Long ByVal IcNo As Long ByVal Axis As Long As Long VB NET Function Nmc_ ReadSpeed ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer As Integer VC No int 0 15 IcNo int IC 0 1 Axis int VB No Long 0 15 IcNo Long IC 0 1 Axis Long VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer VC long VB Long VB NET Integer VC Data Nmc_ ReadSpeed 1 0 AXIS_Z 1 IC0 Z VB Data Nmc_ ReadSpeed 1 0 AXIS_Z 1 IC0 Z
138. 66 Status Nmc_2BPReadEEPROM 0 1 pData2BP BufCnt DataCnt IpAxis 0 1 BP BufCnt 3 4 10 2 NCLDONE NCLNOT NIT NCLNOT_OPEN NCLINV_ARG NCLRROC_IP NCLEEPROM_INV_TYPE NCLEEPROM_INV_DATA NCLEEPROM_NO_DATA NCLEEPROM_NO_BUF 67 Nmc_3BPReadEEPROM 3 BP 3 BP 8 i VC int Nmc_3BPReadEEPROM int No int DataNo DATA_3BP pData3BP int BufCnt int DataCnt int IpAxis VB Function Nmc_3BPReadEEPROM ByVal No As Long ByVal DataNo As Long ByRef pData3BP As DATA_3BP ByVal BufCnt As Long ByRef DataCnt As Long ByRef IpAxis As Long As Long VB NET Function Nmc_3BPReadEEPROM ByVal No As Integer ByVal DataNo As Integer ByRef pData3BP As DATA 3BP ByVal BufCnt As Integer ByRef DataCnt As Integer ByRef IpAxis As Integer As Integer
139. MCX_WR0 MCX_WR7 Dat Integer VC Nmc_WriteReg 1 0 MCX_WR0 0x8000 1 IC0 WR0 0x8000 VB Call Nmc_WriteReg 1 0 MCX_WR0 amp H8000 1 IC0 WR0 0x8000 24 RR1 2 Nnc_ReadReg RR0 gt RR7 VC long Nmc_ReadReg int No int IcNo int RegNum VB Function Nmc_ReadReg ByVal No As Long ByVal IcNo As Long ByVal RegNum As Long As Long VB NET Function Nmc_ReadReg ByVal No As Integer ByVal IcNo As Integer ByVal RegNum As Integer As Integer VC No int 0 15 IcNo int IC 0 1 RegNum int MCX_RR0 MCX_RR7 VB No Long
140. Nmce_Open Nmc_0pen No TRUE TRUE Nmc_SetEyent Nmc_SetEvent No IcNo MC_EventProc IpParam Nmc_WriteReg1 No IcNo AXIS_ALL 0x8000 Nmc_SetEvent Nmc_ReadEyvent Nmc_ResetRvent 3 Nmc_ReadEyvent OR 83 4 6
141. No 1 BP 500 0x04 1 00 X 2 01 Y 3 4 10 1 NCLDONE NCLNOT NIT NCLNOT_OPEN NCLINV_ARG NCLRROC_IP NCLEEPROM_NO_MEM NCLEEPROM_WRT_ERR NCLEEPROM_INV_DATA 50 Nnc_3BPWriteEEPROM 3 BP 3 BP VC Int Nmc_3BPWriteEEPROM int No int DataNo DATA_3BP pData3BP int Cnt int IpAxis VB Function Nmc_3BPWriteEEPROM ByVal No As Long ByVal DataNo As Long ByRef pData3BP As DATA_3BP ByVal Cnt As Long ByVal IpAxis As Long As Long VB NET Function Nmc_3BPWriteEEPROM ByVal No As Integer ByVal DataNo As Ingeger ByRef pData3BP As DATA 3BP ByVal Cnt As Integer ByVal IpAxis As Integer As Integer VC No int 0 15 DataNo i
142. TRUE FALSE VB No Long 0 15 IntrptFlg Long False VB VBNETNo integer 0 15 IntrptFlg Integer False VB VC BOOL TRUE FALSE VB Long O 0 VB NET Integer O 0 VC Status Nmc_Open 0 FALSE VB Status Nmc_Open 0 False 0 Nmc_Close VC BOOL Nmc_Close int No VB Function Nmc_Close ByVal No As Long As Long VB NET F
143. 0 D15 Di4 D13 Di2 Di11 Dio D3 D8 D7 DE D5 D4 D3 D2 Di Do SM6 AXIS3 AXIS2 AXIS1 CMD LPRD IN3DW IN3UP D END D STA PED P lt C P lt C PED XOlOol ESN SN ET ES EE ISOISCSTOTITOTOTI ES Ee ES ES ES SA EO ES FSD EON EN ES SA ZIGOIOTSG SN ES SN ES FST FSD ESD SN SN SN SM7 VLSET OPSET EPSET LPSET EPSAY LPSAY ISTOP SSTOP CDRY CDRY FDRY FDRY 95 8 MCX314AL RR0 1 2 4 5 1 2 1 2 100msec RR3 3 4 RR0 RR2 1 2 0 1 RR4 RR5 1 2 GND ON OFF Id 0 D14 D18 D15 D12 D1 D10 08 D8 D7 DE D5 D4 D3 D2 Di E BPSE1 BPSCI ZUNE2 ZONE1 CNEXT I DRY U ERR ERR Y ERR ERR mm rl Oo Oo 1 4
144. 3 Public Const MCX WR4 amp H4 Public Const MCX_RR4 amp H4 1 Public Const MCX WR5 amp H5 Public Const MCX_RR5 amp H5 2 Public Const MCX WR6 amp H6 1 Public Const MCX_RR6 amp H6 1 Public Const MCX_WR7 amp H7 2 Public Const MCX_RR7 amp H7 2 VB NET2003 VB2005 Public Const MCX_WRO amp HOs Public Const MCX_RRO amp HOs Public Const MCX_WR1 amp H1s 1 Public Const MCX_RR1 amp H1s 1 Public Const MCX_WR2 amp H2s 2 Public Const MCX_RR2 amp H2s 2 Public Const MCX WR3 amp H3s 3 Public Const MCX_RR3 amp H3s 3 Public Const MCX_WR4 amp H4s Public Const MCX_RR4 amp H4s 1 Public Const MCX_WR5 amp H5s Public Const MCX_RR5 amp H5s 2 Public Const MCX WR6 amp H6s 1 Public Const MCX_RR6 amp H6s
145. 3 3 3 3 1 VC VC 6 0 VC NET2003 VC 2005 VC 2008 VC 2013 VC WindowsOS 32bit LIB VC MR540 DLL h MR540_DLL LIB VC 32LIB MR540 DLL lib MR540_DLL Driver 32Driver MR540_DLL dll WindowsOS 64bit LIB VC MR540 DLL h MR540_DLL LIB VC 64LIB MR540 DLL lib MR540_DLL Driver 64Driver MR540_DLL dll VO 2008 LIB VC MR540_DLL ib MR540_DLL h 2 MR540_Project MR540_Project
146. 0 1 0 1 Axis Long cmd Long 3 4 5 VB NET No Integer 0 15 IcNo Integer 1C 0 1 0 1 Axis Integer cmd Integer 3 4 5 VC Nmc_Command 0 0 AXIS_X CMD_F_DRV_P 0 IC0 X VB Call Nmc_Command 0 0 AXIS_X CMD_F_DRV_P 0 IC0 X 27 3 4 3 Nmc_WriteReg0 WRO IC WRO VC Nmc_WriteReg0 0 0 0x120 VC void Nmc_WriteRegO int No int IcNo long wdata VB Sub Nmc_WriteRegO ByVal No As Long
147. VB NET No Integer 0 15 IcNo Integer IC 0 1 wdata Integer VC Nmc_WriteReg7 3 0 0x5678 3 ICO 2 5678h VB Call Nmc_WriteReg7 3 0 amp H5678 3 ICO 2 5678h 31 3 4 4 Nnc ReaqReg0 RRO IC RRO VC long Nmc_ReadRegO int No int IcNo VB Function Nmc_ReadRegO ByVal No As Long ByVal IcNo As Long As Long VB NET Function Nmc_ReadRegO ByVal No As Integer ByVal IcNo As Integer As Integer VC No int 0 lt 15 IcNo int IC 0 1 VB No Long 0 15 IcNo Long IC 0 1 VB NET No Integer 0 15 IcNo Integer 1IC 0 1 VC long RRO
148. 3 BPINT 2 3 Nmc_StartSpd Nmc_Speed pAxis 4 X Y Z NIS RR 16 6 2 1 2 3 1 2 3 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO BPINT CIINT SPD1 SPDO AX31 AX30 AX21 AX20 AX11 AX10 3 2 1 86
149. 3 4 10 1 VB Long 3 4 10 1 VB NET Integer 3 4 10 1 VC 2 2 2CIP_2ST CCW ini pData2CIP new DATA 2CIP Cntl for int 0 i Cnt DATA 2CIP Cnt Status Nmc_2CipWriteEEPROM 1 10 pData2CIP 8 0x04 FALSE No 1 No 10 8 0x04 1 00 X 2 01 Y FALSE 62 VB ReDim Data2CIP Cnt As DATA 2CIP Fori 0ToCnt 1 Data2CIP Cnt Next Status Nmoc_2CipWriteEEPROM 1 10 pData2CIP 8 amp H04 False No 1 No 10 8 0x04 1 00 X 2 01 Y FALSE 63 Nmc_3CipWriteEEPROM 3 3 VC
150. D15 Di4 D3 DE D1 Dio D3 D8 D7 D6 D5 D4 D3 2 D1 Do NR D END C STA C END PsC PeCt PeC PEE PULSE INSE IN8L IN2E IN2L INIE INIL INOE INOL I 1OHTOHTOIOISGHTOIOTOTOTOICGTOISTGC IST MR2 INP E INP L ALM E ALM L PIND1 PINDO PINMD DIR L FLS L PLSMD CMPSL HLMT HLMT LMTMD SLMT SLMT WR4 UUT2 UOUT1 UOUTO ZnUT2 zuT1 ZOUTO YOUT2 YOUT1 YOT0 XOUT RUT1 XOUTO OO 9 ES ES EON ES WR5 BPINT CIINT CHPLS SPD1 SPDO AX81 A80 AZ1 AZO AM11 AM10 oj oOT oG1OI 1 9 Oe ECI 94 MCX314AL WR1 WR5 1 2 3 6 0 1 E MCX314AL EM6 EM7 1C 0 D15 D14 D13 Di2 D11 D10 D3 D8 D7 D6 Ds D4 D3 D2 Di Do EM6 FL2 FL1 FL0 FE4 FE3 FEZ FE1 FE SMIDE HMINT RING TRI POINY EPINV EPCLR 7 MCX814AL SM6 SM7 0 1 IC
151. IcNo Long IC 0 1 VB NET No Integer 0 15 IcNo Integer 1IC 0 1 VC long RR4 1 0 1 4 3 VB Long RR4 1 VB NET Integer RR4 1 VC Data Nmc_ReadReg4 2 1 2 IC1 1 VB Data Nmc_ReadReg4 2 1 2 IC1 1 33 Nnc_ReadReg5 RR5 2 IC RR5 VC long Nmc_ReadReg5 int No int IcNo VB Function Nmc_ReadReg5 ByVal No As Long ByVal IcNo As Long As Long VB NET Function Nmc_ReadReg5 ByVal No As Integer ByVal IcNo As Integer As Integer VC No int 0 15 IcNo int IC 0 1 VB No Long 0
152. X 0 MR540_Project X Bm YF Es 1 AssemblyInfo vb Forml resx Formb MR540 DLLyb MR540_DLL dll b 2 2 5 DLL a Eg G Am VB vb resx xsdiKwsdl r a bin MR540_DLLvb bin MR540_DLL dll b C Windows System32 Windows OS 32bit 32bit MR540_DLL dll Windows OS 64bit 64bit MR540_DLL dll 3 4 API VB
153. X 10h X Y Z CPU X X WR6 7 gt P amp Z 10 000 Z WR6 gt V 4 9 C1 2 MCX314AL CS 8 Nmc_Open0 512 x sec El 100 7 sec 610 sec
154. 2 VC int Nmc_2CipReadEEPROM int No int DataNo DATA 2CIP pData2OIP int BufCnt int DataCnt int IpAxis BOOL pSpdChgFlg VB Function Nmc_2CIPReadEEPROM ByVal No As Long ByVal DataNo As Long ByRef pData2CIP As DATA 2CIP ByVal BufCnt As Long ByRef DataCnt As Long ByRef IpAxis As Long ByRef pSpdChgFlg As Long As Long VB NET Function Nmc_2CIPReadEEPROM ByVal No As Integer ByVal DataNo As Integer ByRef pData2CIP As DATA 2CIP ByVal BufCnt As Integer ByRef DataCnt As Integer pSpdChgFlg As Integer As Integer ByRef lpAxis As Integer ByRef VC No int 0 15 DataNo int 165535 pData2CIP DATA 2CIP 2 BufCnt int 2 DataCnt int 2 IpAxis int pSpdChgFlg BOOL TRUE FALSE VB No Long
155. 27 3 4 2 1 Nmc_Reset IC 27 3 4 2 2 Nmc_Command 27 3 4 3 28 3 4 3 1 Nmc_WriteReg0 WRO 28 3 4 3 2 Nmc_WriteReg1 WR1 1 28 3 4 3 3 Nmc_WriteReg2 WR2 2 29 3 4 3 4 Nmc_WriteReg3 WR3 3 29 3 4 3 5 Nmc_WriteReg4 WR4 30 3 4 3 6 Nmc_WriteReg5 WR5 30 3 4 3 7 Nmc_WriteReg6 WR6 1 31 3 4 3 8 Nmc_WriteReg7 WR7 2 31 3 4 4 32 3 4 4 1 Nmc_ReadReg0 RRO 32 3 4 4 2 Nmc_ReadReg1 RR 1 1 32 3 4 4 3 Nmc_ReadReg2 RR2 2 33 3 4 4 4 Nmc_ReadReg4 RR4 1 33 3 4 4 5 Nmc_ReadReg5 RR5 2 34 3 4 4 6 Nmc_ReadReg6 RR6 1 34 3 4 4 7 Nmc_ReadReg7 RR7 2 35 3 4 5
156. IcNo Long IC 0 1 VB NET No Integer 0 15 IcNo Integer 1IC 0 1 VC long RR6 1 VB Long RR6 1 VB NET Integer RR6 1 VC Data Nmc_ReadReg6 3 1 3 IC1 1 VB Data Nmc_ReadReg6 3 1 3 IC1 1 34 Nnc_ReadReg7 RR7 1 IC RR7 VC long Nmc_ReadReg7 int No int IcNo VB Function Nmc_ReadReg7 ByVal No As Long ByVal IcNo As Long As Long VB NET Function Nmc_ReadReg7 ByVal No As Integer ByVal IcNo As Integer As Integer VC No int 0 15 IcNo int IC 0 1 VB No Long 0 15 IcNo Long IC 0 1 VB NET No Integer 0 15
157. RR3 Rr3Z int Z RR3 Rr3U int U RR3 VC BOOL TRUE FALSE VC int Rr3X 2 Rr3Y 2 Rr3Z 2 Rr3U 2 Nmc_ReadEvent No 0 amp Rr3X 0 amp Rr3Y 0 amp Rr3Z 0 amp Rr3U 0 ICO0 RR3 Nmc_ReadEvent No 1 amp Rr3X 11 amp Rr3Y 11 amp Rr3Z 1 amp Rr3U 11 IC1 RR3 26 3 4 2 Nmc_Reset IC IC MCX314AL VC void Nmc_Reset int No int IcNo VB Sub Nmc_Reset ByVal No As Long ByVal IcNo As Long VB NET Sub Nmc_Reset ByVal No As Integer ByVal IcNo As Integer
158. VC long VB Long VB NET Integer VC Data Nmc_ReadRegSetAxis 0 1 AXIS_X MCX_RR1 0 IC1 X RR1 Data Nmc_ReadRegSetAxis 0 1 AXIS_X MCX_RR1 0 IC1 X RR1 VB 54 Nnc_WriteData VC void Nmc_WriteData int No int IcNo int Axis int cmd long wdata VB Sub Nmc_WriteData ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal cmd As Long ByVal wdata As Long VB NET Sub Nmc_WriteData ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal cmd As Integer ByVal wdata As Integer VC No int 0 15 IcNo int IC 0 1 Axis int
159. 0 15 DataNo int 1 65535 pData2BP DATA 2BP 2 BP Cnt int 2 BP IpAxis int 1 2 WR5 D0 lt D3 VB No Long 0 15 DataNo Long 1 65535 pData2BP DATA_2BP 2 BP Cnt Long 2 BP IpAxis Long 1 2 WR5 D0 lt D3 VB NET No Integer 0 15 DataNo Integer 1 65535 pData2BP DATA_2BP 2 BP Cnt Integer 2 BP IpAxis Integer 1 2
160. 15 IcNo Long IC 0 1 VB NET No Integer 0 15 IcNo Integer 1IC 0 1 long RR5 2 0 1 4 3 VB Long RR5 2 VB NET Integer RR5 2 VC Data Nmc_ReadReg5 3 0 3 ICO0 2 VB Data Nmc_ReadReg5 3 0 3 IC0 2 Nnc_ReadReg6 RR6 1 IC RR6 VC long Nmc_ReadReg6 int No int IcNo VB Function Nmc_ReadReg6 ByVal No As Long ByVal IcNo As Long As Long VB NET Function Nmc_ReadReg6 ByVal No As Integer ByVal IcNo As Integer As Integer VC No int 0 15 IcNo int IC 0 1 VB No Long 0 15
161. 36 3 4 5 1 Nmc_Range 36 3 4 5 2 Nmc_Jerk 36 3 4 5 3 Nmc_Acc 37 3 4 5 4 Nmc_Dec 38 3 4 5 5 Nmc_StartSpd 38 3 4 5 6 Nmc_Speed 39 3 4 5 7 Nmc_Pulse VC 39 3 4 5 8 Nmc_Pulse_VB VB 40 3 4 5 9 Nmc_DecP VC 40 3 4 5 10 Nmc_DecP_VB VB 41 3 4 5 11 Nmc_Center 41 3 4 5 12 Nmc_Lp 42 3 4 5 13 Nmc_Ep 42 3 4 5 14 Nmc_CompP COMP 43 3 4 5 15 Nmc_CompM COMP 43 3 4 5 16 Nmc_AccOfst 44 16 3 4 5 17 Nmc_DJerk 44 3 4 5 18 Nmc_HomeSpd 45 3 4 6 46 3 4 6 1 Nmc_ExpMode 46 3 4 6 2 Nmc_SyncMode 47 3 4 7 48 3 4 7 1 Nmc_ReadLp
162. VC No int 0 15 IcNo int IC 0 1 Axis int wdata long VB No Long 0 15 IcNo Long IC 0 1 Axis Long wdata Long VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer wdata Integer VC Nmc_Lp 5 1 AXIS_ALL 0 5 IC1 0 VB Call Nmc_Lp 5 1 AXIS_ALL 0 5 IC1 0 Nmc_Ep VC void Nmc_Ep int No int IcNo int Axis long wdata VB Sub Nmc_Ep ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal wdata As Long VB NET Sub Nmc_Ep ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal wdata As Integer VC No int
163. VC No int 0 15 IcNo int IC 0 1 VB No Long 0 15 IcNo Long IC 0 1 VB NET No Integer 0 15 IcNo Integer IC 0 1 VC Nmc_Reset 0 0 0 ICO0 VB Call Nmc_Reset 0 0 0 IC0 Nmc_Command IC WRO VC void Nmc_Command int No int IcNo int Axis int cmd VB Sub Nmc_Command ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal cmd As Long VB NET Sub Nmc_Command ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal cmd As Integer VC No int 0 15 IcNo int IC 0 1 Axis int cmd int 3 4 5 VB No Long 0 15 IcNo Long IC
164. wdata long VB No Long 0 15 IcNo Long IC 0 1 Axis Long wdata Long VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer wdata Integer VC Nmc_Acc 2 0 AXIS_X 100 2 IC0 X 100 VB Call Nmc_Acc 2 0 AXIS_X 100 2 IC0 X 100 37 Nmc_Dec VC void Nmc_Dec int No int IcNo int Axis long wdata VB Sub Nmc_Dec ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal wdata As Long VB NET Sub Nmc_Dec ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal wdata As Integer VC No int 0 15 IcNo int IC 0 1 Axis int wdata long VB No Long 0 15 IcNo Long
165. 0 1 Axis Long wdata Long VB NET No Integer 0 lt 15 IcNo Integer IC 0 1 Axis Integer wdata Integer VC Nmc_Range 0 1 AXIS_ALL 800000 0 IC1 800000 10 VB Call Nmc_Range 0 1 AXIS_ALL 800000 0 IC1 800000 10 Nmc_Jerk S VC void Nmc_Jerk int No int IcNo int Axis long wdata VB Sub Nmc_Jerk ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal wdata As Long VB NET Sub Nmc_Jerk ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal wdata As Integer VC No int 0 15 IcNo int IC 0 1 Axis int
166. 2013 MR540 MR580 MR540 MR580 MR540 MR580 MR540 MR580 IC IC MCX314AL PC n mn X Y Z U nLMT nLMT 2 2 3 2 BP 3 BP
167. 74 VC int NCLDONE NCLNOT_INIT NCLINV_ARG NCINOT OPEN VB Long VB NET Integer VC IP_ EXEC_STATUS IpBuf Status Nmc_StsRead_Ip 5 1 amp lpBuf 5 IC1 VB Dim IpBuf As IP EXEC_STATUS Status Nmc_StsRead_Ip 5 1 IpBuf 5 IC1 75 3 4 11 Nmc_Command_IP IC WRO Nmc_WriteReg5 Vc Nmc_WriteReg5 0 0 0x0004 Status Nmc_Command IP 0 0 CMD_IP_2ST 2 VC void Nmc_Command IP int No int IcNo int cmd VB Sub Nmc_Comman
168. As Long ByVal IcNo As Long As Long VB NET Function Nmc_GetCNextStatus ByVal No As Integer ByVal IcNo As Integer As Integer VC No int 015 IcNo int IC 0 1 VB No Long 0 lt 15 IcNo Long IC 0 1 VB NET No Integer 0 15 IcNo Integer IC 0 1 VC int 0 0 VB Long 0 0 VB NET Integer 0 0 6 VC if Nmc_ GetCNextStatus 2 0 0 AfxMessageBox 2 IC0 else AfxMessageBox 2 IC0
169. I USB USB2 0 Full Speed USB DC24V USB USB_Driver 32 0 PC 32bit 64 PC 64bit 1 PC 9 0 NOVA electronics USB to RS232C Converter Virtual COM Port CD
170. IC 0 1 Axis Long wdata Long VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer wdata Integer VC Nmc_Dec 2 1 AXIS_X 200 2 IC1 X 200 VB Call Nmc_Dec 2 1 AXIS_X 200 2 IC1 X 200 c Nmc_StartSpd 38 VC void Nmc_StartSpd int No int IcNo int Axis Iong wdata VB Sub Nmc_StartSpd ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal wdata As Long VB NET Sub Nmc_StartSpd ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal wdata As Integer VC No int 0 15 IcNo int IC 0 1 Axis int wdata long VB No Long 0 15 IcNo Long IC 0 1 Axis Long
171. IcNo Integer 1IC 0 1 long RR7 2 VB Long RR7 2 VB NET Integer RR7 2 VC Data Nmc_ReadReg7 3 1 3 IC1 2 VB Data Nmc_ReadReg7 3 1 3 IC1 2 35 3 4 5 Nnc Range VC void Nmc_Range int No int IcNo int Axis long wdata VB Sub Nmc_Range ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal wdata As Long VB NET Sub Nmc_Range ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal wdata As Integer VC No int 0 15 IcNo int IC 0 1 Axis int wdata long VB No Long 0 lt 15 IcNo Long IC
172. Integer VC Data Nmc_GetBpSc 2 1 2 IC0 BP VB Data Nmc_GetBpSc 2 1 2 IC0 BP 4 4 1 1 PC 1 Nme_Initialize DLL 1 PC LAN USB Nmc_FHinalize DLL 1 LAN USB API DLL
173. VB NET Function Nmc_DeleteEEPROM ByVal No As Inger ByVal DataNo As Integer As Integer VC No int 0 15 DataNo int 1 65535 0 VB No Long 0 15 DataNo Long 1 65535 0 VB NET No Integer 0 lt 15 DataNo Integer 1 65535 0 C int NCLDONE NCLINV_ARG NCLRROC_IP NCL NOT _INIT NCLEEPROM_INV_DATA NCLNOT_OPEN NCIEEPROM_NO_DATA VB Long VB NET Integer VC Status Nmc_DeleteEEPROM 0 20 0 No 20 VB Status Nmc_DeleteEEPROM 0 20 0 No 20 2 Nmc_Exec_lp BP
174. 0 Public Const AXIS_X amp H1 X Public Const AXIS_Y amp H2 Y Public Const AXIS_Z amp H4 Z Public Const AXIS_U amp H8 U Public Const AXIS_ALL amp HF VB NET2003 VB2005 Public Const AXIS_X amp H1s X Public Const AXIS_Y amp H2s Y Public Const AXIS_Z amp H4s Z Public Const AXIS_U amp H8s U Public Const AXIS_ALL amp HFs NN 7 Pe Es 7 ee 2 3 Ni Cay i ul 3 yt F ly 3 WG H OR X Y Z SL AXIS_X AXIS_Y AXIS_Z AXIS U X 1000 AXIS_ALL 1000 Nmc_Speed No IcNo AXIS_X 1000 1H Nmc_Speed No IcNo AXIS_X AXIS_Y AXIS_Z 1000 Nmc_Speed No IcNo AXIS_ALL 1000 18 5 1C MCX314AL MCX314AL VC define MCX_WRO 0x0000 d
175. 13h 04h 0Ch COMP 14h 05h oDh 06h OEh 61h 07h 57 3 4 10 Nmc 2BPWriteEEPROM 2 BP 58 2 BP VC int Nmc_2BPWriteEEPROM int No int DataNo DATA_2BP pData2BP int Cnt int IpAxis VB Function Nmc_2BPWriteEEPROM ByVal No As Long ByVal DataNo As Long ByRef pData2BP As DATA_2BP ByVal Cnt As Long ByVal IpAxis As Long As Long VB NET Function Nmc_2BPWriteEEPROM ByVal No As Integer ByVal DataNo As Ingeger ByRef pData2BP As DATA 2BP ByVal Cnt As Integer ByVal IpAxis As Integer As Integer VC No int
176. 5 DLL MR540_DLL qdl1 Windows OS 32bit 32bit MR540_DLL dll Windows OS 64bit 64bit MR540_DLL dl1l a exe b Windows System32 Windows Vista MR540_DLL dll CS b 9 8 NN System32 SN 2009 07 14 12 20 MR540_DLL dll Windows System32 1 i 2 O lt
177. ByVal IcNo As Long ByVal wdata As Long VB NET Sub Nmc_WriteRegO ByVal No As Integer ByVal IcNo As Integer ByVal wdata As Integer VC No int 0 15 IcNo int IC 0 1 wdata long VB No Long 0 15 IcNo Long IC 0 1 wdata Long VB NET No Integer 0 15 IcNo Integer IC 0 1 wdata Integer 0 IC0 X VB Call Nmc_WriteReg 0 0 amp H120 0 ICO X cc Nmc_WriteReg1 WR1 1 WR1 VC void Nmc_WriteReg1 int No int IcNo int Axis long wdata VB Sub Nmc_WriteReg1 ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal wdata As Long VB NET Sub Nmc_WriteReg1 ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal wdata As Integer
178. ByVal wdata As Integer VC No int 0 15 IcNo int IC 0 1 Axis int wdata long VB No Long 0 15 IcNo Long IC 0 1 Axis Long wdata Long VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer wdata Integer VC Nmc_WriteReg2 1 0 AXIS_Y 0x2000 1 IC0 Y ALARM VB Call Nmc_WriteReg2 1 0 AXIS_Y amp H20000 1 IC0 Y ALARM WR3 3 81 4 8 Nmc_WriteReg3 WR3 VC void Nmc_WriteReg3 int No int IcNo int Axis long wdata VB Sub Nmc_WriteReg3 ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal wdata As Long VB NET Sub Nmc_WriteReg3 ByVa
179. D_IP_INTRPT_CLR amp H3Ds 7 2 3 4 1 Nmcnitalize DLL DLL VC int Nmc_Initialize int InterfaceType VB Function Nmc_Initialize ByVal InterfaceType As Long As Long VB NET Function Nmc_Initialize ByVal InterfaceType As Integer As Integer VC InterfaceType int USB LAN VB InterfaceType Long USB LAN VB NET InterfaceType Integer USB LAN VC int NCLDONE NCI INV_ARG NOCI_ALREADY_INIT NCLINIT_ERR VB Long VB NET Integer VC Status Nmc_Initialize NCLIFTYPE_USB USB DLL VB Status Nmc_Initialize NCLIFTYPE_USB USB D
180. DataNo As Long ByRef pData2BP As DATA 2BP ByVal BufCnt As Long ByRef DataCnt As Long ByRef IpAxis As Long As Long VB NET Function Nmc_2BPReadEEPROM ByVal No As Integer ByVal DataNo As Integer ByRef pData2BP As DATA 2BP ByVal BufCnt As Integer ByRef DataCnt As Integer ByRef IpAxis As Integer As Integer VC No int 0 15 DataNo int 1 65535 pData2BP DATA_2BP 2 BP BufCnt int 2 BP DataCnt int 2 BP IpAxis int VB No Long 0 15 DataNo Long 1 65535 pData2BP DATA_2BP 2 BP BufCnt Long 2 BP DataCnt Long 2 BP IpAxis Long VB NET No Integer 0 15 DataNo Integer
181. IN3 gt nINO D6 D4 D2 D0 Nmc_ExpMode EM6 D5 X EM7 D7 D0 X EM7 D9 D8 X X EM7 D15 D11 X 1 4 3 Z 4 DCC Nmc_Speed wdata 1 8 000 1 4 Nmc_HomeSpd wdata 1 8 000 2 3 Nmc_Pulse wdata 0 4 294 967 295 4 81 2 nHOME 2
182. LL Nmc_Finalize DLL DLL VC int Nmc_ Finalize void VB Function Nmc_ Finalize As Long VB NET Function Nmc_ Finalize As Integer VC int NCLDONE NCLNOT INIT VB Long VC Status Nmc_ Finalize DLL VB Status Nmc_ Finalize DLL 22 Nnc_Open VC BOOL Nmc_Open int No BOOL IntrptFlg VB Function Nmc_Open ByVal No As Long ByVal IntrptFlg As Long As Long VB NET Function Nmc_Open ByVal No As Integer ByVal IntrptFlg As Integer As Integer VC No int 0 15 IntrptFlg BOOL
183. Read_lp VC int BP Nmc_StsRead_Ip int No int IcNo IP EXEC_STATUS pStatus VB Function Nmc_StsRead_Ip ByVal No As Long ByVal IcNo As Long ByRef pStatsus As IP EXEC_STATUS As Long VB NET Function Nmc_StsRead_Ip ByVal No As Integer ByVal IcNo As Integer ByRef pStatsus As IP_EXEC_STATUS As Integer VC No int 0 15 IcNo int IC 0 1 pStatus IP EXEC_STATUS No ICNo No VB No Long 0 15 IcNo Long IC 0 1 pStatsus IPEXEC_STATUS VB NET No Integer 0 15 IcNo Integer IC 0 1 pStatsus IPEXEC_STATUS
184. S_U 1 IC0 U 4 Nmc_ReadSyncBuff VC long Nmc_ReadSyncBuff int No int IcNo int Axis VB Function Nmc_ReadSyncBuff ByVal No As Long ByVal IcNo As Long ByVal Axis As Long As Long VB NET Function Nmc_ReadSyncBuff ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer As Integer VC No int 0 lt 15 IcNo int IC 0 1 Axis int VB No Long 0 15 IcNo Long IC 0 1 Axis Long VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer long VB Long VB NET Integer VC Data Nmc_ReadSyncBuff 1 1 AXIS_X
185. USB LAN MR540 MR580 2013 4 17 2014 3 20 2 2015 6 01 3 NOVA electronics 2013 4 17 2 2014 3 20 2 4 DHCP PC IP 2 5 Windows OS 64bit 2 6 Windows OS 64bit w 3 Windows OS 32bit 64bit API VB VB NET 3 2015 6 01 1 1 OS Windows 8 1 1 2 Microsoft Visual C 2013 Microsoft Visual Basic 2013 2 3 USB Windows 8 1 2 4 DHCP 3 Microsoft Visual C 2013 Microsoft Visual Basic
186. d_IP ByVal No As Long ByVal IcNo As Long ByVal cmd As Long VB NET Sub Nmc_Command_IP ByVal No As Integer ByVal IcNo As Integer ByVal cmd As Integer VC No int 0 15 IcNo int IC 0 1 cmd int 3 4 6 VB No Long 0 15 IcNo Long IC 0 1 cmd Long VB NET No Integer 0 15 IcNo Integer IC 0 1 cmd Integer 0 ICO X 2 Y VB Call Nmc_WriteReg5 0 0 0x0004 Status Nmc_Command IP 0 0 CMD IP_2ST 2 0 ICO X 2 Y Nmc_GetCNextStatus VC int Nmc_GetCNextStatus int No int IcNo VB Function Nmc_GetCNextStatus ByVal No
187. efine MCX_RRO 0x0000 define MCX_WR1 0x0001 1 define MCX_RR1 0x0001 1 define MCX_WR2 0x0002 2 define MCX_RR2 0x0002 2 define MCX_WR3 0x0003 3 define MCX_RR3 0x0003 3 define MCX_WR4 0x0004 define MCX_RR4 0x0004 1 define MCX_WR5 0x0005 define MCX_RR5 0x0005 2 define MCX_WR6 0x0006 1 define MCX_RR6 0x0006 1 define MCX_WR7 0x0007 2 define MCX_RR7 0x0007 2 VB6 0 Public Const MCX WRO amp HO Public Const MCX_RRO amp HO Public Const MCX_WR1 amp H1 1 Public Const MCX_RR1 amp H1 1 Public Const MCX WR2 amp H2 2 Public Const MCX_RR2 amp H2 2 Public Const MCX_WR3 amp H3 3 Public Const MCX_RR3 amp H3
188. g 0 lt 15 IcNo Long IC 0 1 wdata Long VB NET No Integer 0 15 IcNo Integer IC 0 1 wdata Integer VC Nmc_WriteReg6 3 0 0x1234 3 IC0 1 1234h VB Call Nmc_WriteReg6 3 0 amp H1234 3 IC0 1 1234h 3 4 3 8 Nmc_WriteReg7 WR7 2 IC WR7 VC void Nmc_WriteReg7 int No int IcNo long wdata VB Sub Nmc_WriteReg7 ByVal No As Long ByVal IcNo As Long ByVal wdata As Long VB NET Sub Nmc_WriteReg7 ByVal No As Integer ByVal IcNo As Integer ByVal wdata As Integer VC No int 0 lt 15 IcNo int IC 0 1 wdata long VB No Long 0 lt 15 IcNo Long IC 0 1 wdata Long
189. int Nmc_3CipWriteEEPROM int No int DataNo DATA_3CIP pData3CIP int Cnt int IpAxis BOOL SpdChgFlg VB Function Nmc_3CipWriteEEPROM ByVal No As Long ByVal DataNo As Long ByRef pData3CIP As DATA 3CIP ByVal Cnt As Long ByVal IpAxis As Long ByVal SpdChgFlg As Long As Long VB NET Function Nmc_3CipWriteEEPROM ByVal No As Integer ByVal DataNo As Integer ByRef pData3CIP As DATA 3CIP ByVal Cnt As Integer ByVal IpAxis As Integer ByVal SpdChgFlg As Integer As Integer VC No int 0 15 DataNo int 1 65535 pData3CIP DATA 3CIP 3 Cnt int 3 IpAxis int 1 2 3 WR5 D0 D5 SpdChgFlg BOOL TRUE FALSE VB No Long 0 15 DataNo Long 1 65535 pData3CIP DATA_3CIP 3
190. is As Integer ByVal wdata As Integer VC No int 0 15 IcNo int IC 0 1 Axis int wdata long VB No Long 0 15 IcNo Long IC 0 1 Axis Long wdata Long VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer wdata Integer VC Nmc_CompM 7 0 AXIS_Z 50000 7 IC0 Z COMP 50000 VB Call Nmc_CompM 7 0 AXIS_Z 50000 7 IC0 Z COMP 50000 43 Nmc_AccOfst 8
191. l No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal wdata As Integer VC No int 0 15 IcNo int IC 0 1 Axis int wdata long VB No Long 0 lt 15 IcNo Long IC 0 1 Axis Long wdata Long VB NET No Integer 015 IcNo Integer IC 0 1 Axis Integer wdata Integer VC Nmc_WriteReg3 1 1 AXIS_Y 0x0001 1 IC1 Y VB Call Nmc_WriteReg3 1 1 AXIS_Y amp H1 1 IC1 Y 209 Nnc_WriteReg4 WR4 IC WR4 VC void Nmc_WriteReg4 int No int IcNo long wdata VB Sub Nmc_W
192. lectronics USB to RS232C Converter Virtual COM Port CONM6 0 COM USB 5 0 WGIJUTSU HARD3 DVD CD ROM IDE ATA ATAPI USB Universal Serial Bus gt sw y COM LPT T NOVA electronics USB to RS232C Conyerter Virtual COM Port COM7 OPT 8 COM1 1 2 Windows 7 Windows 8 1 USB PC COM
193. ll Enter system32 gt gt cd c Windows system32 Enter OK MR540_DLL_dI DIIUnregisterServer MR540_DLL dII DLL OCX 2 6 DLL MR540_DLL dll a exe b Windows System32 a MR540_DLL dl1 bp Windows XP a Windows Vista
194. nc_ReadLp VC long Nmc_ReadLp int No int IcNo int Axis VB Function Nmc_ReadLp ByVal No As Long ByVal IcNo As Long ByVal Axis As Long As Long VB NET Function Nmc_ReadLp ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer As Integer VC No int 0 15 IcNo int IC 0 1 Axis int VB No Long 0 15 IcNo Long IC 0 1 Axis Long VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer VC long VB Long VB NET Integer VC Data Nmc_ReadLp 1 0 AXIS_X 1 IC0 X VB Data Nmc_ReadLp 1 0 AXIS_X 1 IC0 X
195. nt 1 65535 PData3BP DATA3BP 3 BP Cnt int 3 BP lpAxis int 1 2 3 WR5 D0 D5 VB No Long 0 15 DataNo Long 1 65535 PData3BP DATA3BP 3 BP Cnt Long 3 BP lpAxis Long 1 2 3 WR5 D0 D5 VB NET No Integer 0 15 DataNo Integer 1 65535 PData3BP DATA3BP 3 BP Cnt Integer 3 BP IpAxis Integer 1 2 3
196. nteger VC No int 0 15 VB No Long 0 15 VB NET No Integer 0 15 int 4 NMC_NO_IC 4 VB Long VB NET Integer VC Status Nmc_OptionCheck 4 4 4 VB Status Nmc_OptionCheck 4 4 4 52 3 4 9 Nmc_WriteRegSetAxis WR1WR3 WR1 WR3 VC void Nmc_WriteRegSetAxis int No int IcNo int Axis int RegNum long wdata VB Sub Nmc_WriteRegSetAxis ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal RegNum As Long ByVal wdata As Long VB NET Sub Nmc_WriteRegSetAxis ByVal No As Integer ByVal IcNo As Intege
197. o As Long ByVal IcNo As Long ByVal Axis As Long ByVal wdata As Double VB NET Sub Nmc_DecP_VB ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal wdata As Double VB No Long 0 15 IcNo Long IC 0 1 Axis Long wdata Double VB NET No Integer 0 15 IcNo Integer IC 0 1 Axis Integer wdata Double VB Call Nmc_DecP 4 1 AXIS_X 30000 4 IC1 X 30000 Nmc_Center VC void Nmc_Center int No int IcNo int Axis long wdata VB Sub Nmc_Center ByVal No As Long ByVal IcNo As Long ByVal Axis As Long ByVal wdata As Long VB NET Sub Nmc_Center ByVal No As Integer ByVal IcNo As Integer ByVal Axis As Integer ByVal wdata As Integer
198. r ByVal Axis As Integer ByVal RegNum As Integer ByVal wdata As Integer VC No int 0 15 IcNo int IC 0 1 Axis int RegNum int wdata long VB No Long 0 15 IcNo Long IC 0 1 Axis Long RegNum Long wData Long VB NET No Integer 0 15 IcNo Integer 1IC 0 1 Axis Integer RegNum Integer wData Inreger VC Nmc_WriteRegSetAxis 0 0 AXIS_ALL MCX_WR2 0x2000 0 IC0 WR2 ALARM 2000 H VB Call Nmc_WriteRegSetAxis 0 0 AXIS_ALL MCX WR2 amp H2000 0 IC0 WR2 ALARM 2000 H
199. riteReg4 ByVal No As Long ByVal IcNo As Long ByVal wdata As Long VB NET Sub Nmc_WriteReg4 ByVal No As Integer ByVal IcNo As Integer ByVal wdata As Integer VC No int 0 lt 15 IcNo int IC 0 1 wdata long VB No Long 0 lt 15 IcNo Long IC 0 1 wdata Long VB NET No Integer 0 15 IcNo Integer IC 0 1 wdata Integer VC Nmc_WriteReg4 2 0 0x0100 2 IC0 Z OUT0 ON VB Call Nmc_WriteReg4 2 0 amp H0100 2 IC0 Z OUT0 ON Nmc_WriteReg5 WR5 IC WR5 VC void Nmc_WriteReg5 int No int IcNo long wdata VB Sub Nmc_WriteReg5 ByVal No As Long ByVal IcNo As Long ByVal wdata As Long VB NET Sub Nmc_WriteReg5 ByVal No As Integer ByVal IcNo As Integer ByVal wdata As Integer
200. unction Nmc_Close ByVal No As Integer As Integer VC No int 0 lt 15 VB No Long 0 lt 15 VB NET No Integer 0 15 C BOOL TRUE FALSE VB Long O O VB NET Integer 0 0 VC Status Nmc_Close 0 0 VB Status Nmc_Close 0 8 0 23 Nnc_CloseAll VC BOOL Nmc CloseAlII void VB Function Nmc_CloseAIIO As Long VB NET Function Nmc_CloseAlI O As Integer VC BOOL TRUE FALSE VB Long O O VB NET Integer
201. xe 9 696 OK I F 1 DLL USB LAN DLL ear Ex TF 2 USB 3 4 LAN 5 6 7 A 8 DL 3 F OF J TF USB LAN 1 2 3 4 5 6 7 8 9 A B C D E F 92 3 2 MR540 MR580 Y X 0 MR540 MCX314AL 0 p ho hn nn

Download Pdf Manuals

image

Related Search

Related Contents

  SCENA LED 150 USER MANUAL REL 1.1 ENG  取扱説明書 - 低価格販売専門店  Lindy 39396 KVM switch  Kepler Scientific Workflows  Bedienungsanleitung D & GB  Specific Product Documentation    anzeige - VHS  User`s Manual  

Copyright © All rights reserved.
Failed to retrieve file