Hello Guest it is April 25, 2024, 03:59:49 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 - qwertysimo

Pages: « 1 2
11
This problem has been discussed in warp9td forum and already fixed. Upgrade your ESS plugin from 206 to latest version.

12
Modbus / Re: Mach4 and modbus - help needed
« on: September 27, 2016, 01:41:11 AM »
BUMP

Another question - modbus function 0x10, write multiple registers. How to enter several integers in one command?
mc.mcRegSetValue( number hReg, number value )
How to specify "value" to represent several integers for multiple registers?

13
Modbus / Re: Mach4 and modbus - help needed
« on: September 21, 2016, 04:05:55 PM »
It does not help. I wrote that information in my first post already.
As a workaround, I do not use coils, I use only holding registers...

Another question - modbus function 0x10, write multiple registers. How to enter several integers in one command?
mc.mcRegSetValue( number hReg, number value )
How to specify "value" to represent several integers for multiple registers?

14
Modbus / Re: Mach4 and modbus - help needed
« on: September 21, 2016, 05:30:06 AM »
Can moderator move this topic to Modbus forum, please? Thanks.

15
Modbus / Mach4 and modbus - help needed
« on: September 21, 2016, 05:15:51 AM »
Hi,

please, can you help me with actual problem? While I can read (0x03) and write (0x06) holding register and I can read (0x01) coil, I cannot write coil (0x05). This is the code, a snippet from signal library definition, with some debug output:

Code: [Select]
[mc.OSIG_RUNNING_GCODE] = function( state )

    local hregTestCoil, rc = mc.mcRegGetHandle( inst, "modbus0/testCoil" );   -- THIS COMMAND IS FAILING
    mc.mcCntlSetLastError( inst, "testCoil handle: " .. tostring( hregTestCoil ) .. ", rc: " .. tostring( rc ) );

    local hregTestRegister, rc = mc.mcRegGetHandle( inst, "modbus0/testRegister" );
    mc.mcCntlSetLastError( inst, "testRegister handle: " .. tostring( hregTestRegister ) .. ", rc: " .. tostring( rc ) );

    if( state == 1) then
        mc.mcCntlSetLastError( inst, "signal changed to 1" );
        mc.mcRegSetValue( hregTestCoil, 1 );
        mc.mcRegSetValue( hregTestRegister, 101 );
    else
        mc.mcCntlSetLastError( inst, "signal changed to 0" );
        mc.mcRegSetValue( hregTestCoil, 0 );
        mc.mcRegSetValue( hregTestRegister, 100 );
    end
end,

Attempt to get handle for testCoil fails with return code of -27 which should mean MERROR_REG_NOT_FOUND. What is wrong?

Thanks.

16
Mach4 General Discussion / Re: Jog problem, stuck key symptom
« on: September 19, 2016, 04:44:54 AM »
I have not figured out actual reason for this, but it happens randomly for any of assigned keys.
Workaround for me is to restart Mach4. One restart usualy unstucks the keys...

17
Mach4 General Discussion / Re: Jog problem, stuck key symptom
« on: September 04, 2016, 05:59:15 PM »
There is no enabled mapping on Input Signals tab in Mach4 config. I have not touched the default Mach4Router profile...

18
Mach4 General Discussion / Jog problem, stuck key symptom
« on: September 04, 2016, 05:11:52 PM »
Hi,

I noticed that my actual machine ignores Page Down key press for "Z Jog-" function...

To troubleshoot (late night here), I loaded default Mach4Router profile, with Simulator and Keyboard Inputs plugins enabled.
When I display Keyboard Diagnostics window, I see (to my surprise) that Page Down key is pernamently lit green. (Arrow Right Shift as well.)
Page Down key is definitely not stuck and it works as expected outside Mach4!
What is interesting, when I press Page Down Shift or Page Down Ctrl, it is indicated correctly in diagnostics.
Restarting Mach4 neither PC did not help.

Can you advice please how to fix? Screen attached.

Thanks.


19
Yes, I found it, sure, thanks, but I have asked you about guide for setting up ESS, Mach4, VFD and C41 for on/off/speed/fwd/rev spindle control.

20
Next I am going to work on the Spindle will install the CNCPC C41 with relays for forward and reverse and you configure the ESS like an axis to send out a pulse stream for the speed that gets converted to a voltage by the C41 board and you configure the VFD to take speed command as 0-10V.  More to come hope to get this working in the next few days.

Hi,

is there any chance that you can provide detailed info on how to configure ESS and Mach4 for C41 like you provided screenshots for homing? Thanks.

Boris

Pages: « 1 2