Hello Guest it is April 25, 2024, 05:29:40 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.


Topics - maziar

Pages: 1
1
Mach4 General Discussion / Mach4 support problem
« on: June 27, 2017, 11:33:06 AM »
Hi
i have 2 license for Mach4 (Hobby and Industrial)
I had one problem in script. i want to know cause of my problem is ESS or plugin, Mach4 software or my script.
then i send my problem in three forum : 1. Mach forum 2. Warp9TD forum 3. Mach support
but in
1. Mach support after answer one mail after long time tell Mach software not have any problem and stop my ticket before solve my problem
2. Warp9TD after some answers tell ESS and plugin not have any problem and you can help Mach support

i want to know do you have same problem for give support ?

Best Regard

2
Mach4 General Discussion / Mach4 Mcode script problem
« on: January 31, 2017, 02:06:42 AM »
Hi

I use Mach4 and ESS SmoothStepper .

I want read state of input port and according of state, output port state set.

I define Macro in Mach4 for this job. (m101)
 
BUT when i call my Macro in MDI and use start cycle button, my software hang in 2 state and i force restart it :

State 1 : input port state is 1 (occur hang)

State 2 : input port state is 0 (not hang) and after that i change state of it to 1 (occur hang)

My code :
Code: [Select]
function m101()
local inst = mc.mcGetInstance();
local inputi1 = mc.mcSignalGetHandle(inst,mc.ISIG_INPUT0);
local statei1 = mc.mcSignalGetState(inputi1);
local outputi3 = mc.mcSignalGetHandle(inst,mc.OSIG_OUTPUT3);
local outputi2 = mc.mcSignalGetHandle(inst,mc.OSIG_OUTPUT2);

 if (statei1 == 1) then
mc.mcSignalSetState(outputi3,true);
mc.mcSignalSetState(outputi2,false);
 else
mc.mcSignalSetState(outputi2,true);
mc.mcSignalSetState(outputi3,false);
 end
 
end
if (mc.mcInEditor() == 1) then
 m101()
end

Please help me for fix this problem.

3
Mach4 General Discussion / Screen Set update
« on: January 25, 2017, 08:25:10 AM »
Hi
i select default screen for my profile after that i update profile and save as it by new name.
when Mach4 upgrade, update default screens but how can i update my profile with new changes in default screen.

RGDS
Maziar

Pages: 1