Please help!!!

accurateeps

accurateeps
I have a Masso G3. Trying to control a relay with an output. After assigning an M62/M62 P1 to an output, I cannot get the M62 and M63 code to control any of the outputs using the MDI. All outputs show 5 v when I switch them to High but otherwise I am not able to control them. Please any help.
 

accurateeps

accurateeps
Hi Guy,



I have been there many times and it doesn't give any answers for when the output does not respond to commands.
 

breezy

Moderator
@accurateeps

If I understand your problem correctly, you have a TTL output wired to a TTL compatible relay and are trying to operate that relay via M62/63 commands in the MDI?

How are you formating the M62 command?

My reading of documentation is that "M62 P1" in the MDI should turn on the output pin assigned to P1 in the output list.

Regards,

Arie.
 

evermech

evermech
Hmm never would have guessed there would be a P command in there. But on the up side any of the outputs can be turned on or off at any time within the Gcode which could be very useful.

Guy
 

masso-support

MASSO Support
Staff member
Hi @accurateeps

Using the M62/M63 commands requires you to assign the output you want to use for M62/M63 and then from Gcode you can use the M62/M63 to control that output.

For example you can go into the F1 Screen and select output 5 and assign it as "M62/M63 P1 output"

From Gcode you can now use M62 P1 to turn in on and M63 P1 to turn it off.

Hope this helps

Cheers Peter
 

accurateeps

accurateeps
That does help thank you. Is there any way to accomplish this from the MDI on a single line?

G01 M62 P1 X1 M63 P1

I need to have the relay activated and then the machine travel a distance on an axis and then have the relay deactivate.

It isn't working with the way I have it written.
 

breezy

Moderator
@accurateeps

Don't know if this will work, but create a gcode file in the root directory with that command string in it and then call it from MDI with M98 sub routine call.

Regards,

Arie.
 
Top