Hello Guest it is March 28, 2024, 03:39:20 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - SomeBodyElse

Pages: 1 2 »
1
Mach4 General Discussion / Re: Mach4 VFD Spindle setup
« on: February 16, 2016, 05:28:25 PM »
I found some really helpful info,

Quote
The name is what you would like to name the register.. In Mach4 you refer to the registers by name not by number!

The rest of it is:
Slave ID
Register (we have all the tables so sometimes you need to drop the first number.. for example I am working on a Mitsubishi drive now and I had to remove the 40000 because we know it should be in table 4.

Here are some examples of how I read and write:

Function from my RB1 to jog the head up by setting the HeadJogDir and HeadJogOn:
Code:
function HeadUp()
    local inst= mc.mcGetInstance();
    --Get the hReg handle of the modbus analog register
    local HeadUp = mc.mcRegGetHandle(inst, "modbus0/HeadJogDir");
    local HeadOn = mc.mcRegGetHandle(inst, "modbus0/HeadJogOn");

    if (HeadUp ~= 0 and HeadOn ~= 0) then
        mc.mcRegSetValue(HeadUp, 0);
        mc.mcRegSetValue(HeadOn, 1);
    end
end

Reading the Hz from the inverter from the Hz register:
Code:
   local inst= mc.mcGetInstance();
    local Hz = 0;
    local HzReg = mc.mcRegGetHandle(inst, "modbus0/Hz");
    if (HzReg ~= 0) then
      Hz =  mc.mcRegGetValue(HzReg);
    end

You can also set it to be an input or an output on a register.. The register types are important.. you need to select the correct type (this is a modbus standard)
Hope that helps..
Brian

I think this kind of answers my questions for a little while at least, Ill post back if I get stuck again.

2
Mach4 General Discussion / Re: Mach4 VFD Spindle setup
« on: February 16, 2016, 01:22:33 PM »
Ok, I followed up with the distributor for TECO, and it looks like now I'm stuck with the Mach4 portion of this project:
I am not sure how to proceed with incomplete manuals.  I cant find documentation on this ModBus Plugin with Mach4.

Mach4 Scripting Manual.PDF
5.7 ModBus ....  Completely blank Chapter

Mach4 installation Manual.PDF
All Plugins included as Appendices.... Nothing for Modbus Plugin.

I have the registers now for the VFD that I need to write to, and I found the info for using LUA to script.

I need info for creating Modbus functions, what is the difference between:
Read Coils
Read Input Discreats
Read Input Registers
Read Holding Registers
Write Coils
Write Registers

Also, I need to know how to use one of these functions in LUA after i name it inside the MODBUS plug in.

This Is what I need to do:
For TECO 7300CV JNTHBCBA0002AC-u-
1. Control Start/Stop   Write to Register 101H, Bit 0
2. Control FWD/ REV   Write to Register 101H, Bit 1
3. Set the Frequency   Write to Register 102H
4. Read the Frequency  Read Register 124H
5. Monitor the drive for error codes Read Register 121H

3
Mach4 General Discussion / Re: Mach4 VFD Spindle setup
« on: February 16, 2016, 09:35:45 AM »
Perhaps post the make and model of the VFD.

DazTheGas

The VFD is Teco 7300CV from FactoryMation.com with the RS-232 interface card
http://www.factorymation.com/Products/7300CV_230V/CV-2002-H1.html
http://www.factorymation.com/Products/7300CV_Accessories/SIF-232.html

I have found info on making a brain for mach3 and some other stuff geared towards mach3, but it doesn't seem to make sense on mach4

4
Mach4 General Discussion / Mach4 VFD Spindle setup
« on: February 15, 2016, 03:37:01 PM »
I am completely lost, I have no idea what to do here, I have a VFD Spindle, which I think is serial or Modbus, is there a difference between serial and Modbus or are they the same?

I cant figure out how to set this up in Mach 4 have been fumbling around with this for about a week now.

5
Third party software and hardware support forums. / Teco 7300CV and Mach4
« on: February 11, 2016, 11:47:00 AM »
Hi,

I was wondering if anyone has found a way of making the VFD TECO 7300CV communicate with mach4
Its connected to my PC over a DB-9 cable, I believe RS-232.

I know the spindle works properly Everything works when I am running my old controller software on the PC, but not yet working in Mach4.

I attached the documents I could find on my VFD.  There is all this talk about 232 485 and Modbus and it has me a little confused.

The application is the MicroKinetics Express XL Mill, in case any one is curious.

6
HiCON Motion Controller / Re: Setting up Teco 7300CV VFD
« on: February 10, 2016, 03:24:53 PM »
Ok, I will try to figure out how to get it working over analog then, I was hoping there was a way inside mach 3 to continue using the spindle over serial.

7
HiCON Motion Controller / Setting up Teco 7300CV VFD
« on: February 09, 2016, 03:38:47 PM »
Hi,

I am a little confused, most of what I am reading is referring to an analog connection between the HICON board and The Teco 7300CV VFD.

I am changing from a different control software (millmaster) to Mach 4,
From a different Motion control board (mn400) to HICON Integra board

Currently the VFD is connected to PC over serial, not an analog wire.  When I switch to the hicon and Mach4 will the VFD still be controlled over serial, or do I need to get it working over analog?  Does one method have advantages over the other?  At first glance to me, the serial seems like the better control interface.  How do I set this up?  The VFD is already working well with the old setup.

8
I went to that automation technologies website, it looks like the best board they have (best I have seen yet) is the Hicon Integra.  Im gonna do some more searching and reading on it but I think that may be the board.

9
Ok, I will check those out and see what they have, I'll look for USB and Ethernet, thanks!

10
I was wondering if anyone had some suggestions on good motion cards, I have seen them in the $50-$400 range so far, not sure if there are better ones out there or not.  We don't mind spending $400 on a motion card, or more if there are even better cards.  I just have no idea how to even do a comparison on these, any suggestions on what's the hottest card out right now that works with Mach 3?  Any suggestions appreciated.

One more thing.  To me, our PC seems plenty fast enough for running a mill.  Do you see any problems with these specs?
Quote
The PC is an Intel Core2duo with 1GB Ram, WinXP SP3, no network, nothing else installed, no MP3's or anything of that sort.  PC is dedicated to this machine.

Pages: 1 2 »