![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I am trying to communicate with Galil DMC-1740 which is pnp. I am using vb and according to Galil ocx documentation the controller number should be between 1 and 16 so I am trying to do the following to open communication: Dim CtrlNum As Double JetCutter.DMCShell1.DMCController = 1 JetCutter.DMCShell1.DMCConnect = True JetCutter.DMCShell1.DMCCommand = "CNTRLNUM=" CtrlNum = Val(JetCutter.DMCShell1.DMCResponse) If CtrlNum <> 1 Then MsgBox "Controller Initialization Error, Controller #" & CtrlNum Else MsgBox "Controller Initialization OK, Controller #" & CtrlNum End If Every time I run the software the "Error" message comes up and shows controller #0 which is invalid value for DMCController Does anyone have any suggestions how to approach it? |
|
#2
| ||||
| ||||
| Can you communicate with the card using the Terminal program? Al.
__________________ “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#3
| |||
| |||
| Yes I can, I actually got it to work as controller 0, that what CNTRLNUM= returns in terminal. Just wonder why when - 0 is invalid value for dmcshell1.controller - why I cannot change the controller # using dmcshell1.controller My understanding was that I could choose controller number for this controller. Could it be because it is the older ISA version? Just think it might be good idea to understand this stuff for the future. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Galil 1740 installation problem | python01 | Controller Cards | 0 | 07-04-2008 11:02 AM |
| Need Help!- Galil Error L10 | toolmanwaz | CamSoft Products | 1 | 03-27-2008 11:11 AM |
| Yaskawa & Galil DMC 730 | ChiTownTech | Linear and Rotary Motion | 2 | 11-06-2006 10:41 PM |
| Galil Anyone | Al_The_Man | Servo Motors and Drives | 48 | 10-29-2006 02:52 PM |
| Sure Servo to Galil | Mountain | CamSoft Products | 7 | 07-05-2006 01:40 PM |