Machsupport Forum
Third party software and hardware support forums. => CS-Lab => Topic started by: danilo93 on April 10, 2018, 02:25:01 PM
-
Hi guys,
I would need advice:
I have an IP / A and two input output modules that work with mach4.
the inputs do not have any kind of problem and they work correctly but I can not make the outputs work:
I mapped the outputs from 1 to 7 in mach 4 with the respective 1/7 of csmio in.0.
through M function the mach 4 out is active on a regular basis but the physical relay in csmio in / out does not activate.
Do you have any advice for me?
sorry for my bad english
Thanks in advance to everyone
-
I've attached two screen of mach, hope someone can help me.
thank you
Danilo
-
Have you set the Canbus switches correctly on the I/O module? I haven't used these modules, so am not sure how they interact with Mach4.
Allan
-
Hi,
it seems that CSLabs are not really interested. This post is a fortnight old and they haven't even bothered to acknowledge it.
They have a good reputation for support with Mach3 related enquires but apparently not for Mach4.
Craig
-
they really aren't doing a good job these days i think they have internal problems.
that being said did you change your active low settings might help i haven't tried it yet myself
and have you emailed them directly they do respond eventually.
-
I sent an email to cas-lab and they said they would solve it soon.
In fact, my controller performed an automatic firmware update on April 18th.
I did not check if that problem was solved because I had already solved using other outputs, I will check as soon as possible.
thank you
-
Hello Danilo,
Recently new user of mach4 and CS-lab system, I discover the same problem than you speak about.
Did you solve it ? I'm surpised to have the problem for more than one year ...
I solved it for the moment by desactivating the mapping in the controle table, and doing the "mapping" using pmc ladder programm.
In a rung, you put a contact which is the soft output, and then a coil which is the cs lab output. The problem is this is very long time to do the programm, and not easy to have a clear overview of the mapping.
Regards
-
Hello,
Have you tried to turn an output on via lua scripting. I had an problem with setting the outputs high via m codes aswell and send them an email. They said to try it in the m6 toolchange macro. for example i tried this:
local inst = mc.mcGetInstance()
io = mc.mcIoGetHandle(inst, "CSMIO-IP/Out.1");
mc.mcIoSetState(io, 1);
just paste this on top of the m6 macro.
I experienced that if you want to control the output you don't assign it in the mach4 config. So if you type output 1 in the string to control the output. output 1 on the csmio will be set high nog output 1 inside the mach4 config. So there is no need to assign the output inside mach4 config if you want to use it inside an script.
Hope this helps and that I was clear.