Jump to content
OMRON Forums

Active M code window


PEERPSI
 Share

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

I found this in the NC functions manual:

GetCoolantSelect

GetCoolantSelect()

Returns Collant select as a string. The return value can vary depending on the following:

If Collant Select = NC_COOLANT_MIST:

Return Val = 7;

If Collant Select = NC_COOLANT_FLOOD:

If Collant Select = NC_COOLANT_BOTH:

Return Val = 8;

default:

Return Val = 9;

Should the NC_COOLANT_* variables be in one of my *.h files? Should their status be set in the *.M file?

Link to comment
Share on other sites

@SET_ON(CS_STATUS3_M, CS_CLNT_FLOOD) ;<<<<<<<<<<<<<<<<<<<<< these are not used

@SET_ON(CS_STATUS3_M, CS_CLNT_MIST) ;<<<<<<<<<<<<<<<<<<<<<

 

for M07 substitute S_CLNT_M = SEL_CLNT_FLOOD

for M08 substiture S_CLNT_M = SEL_CLNT_MIST

for M09 substiture S_CLNT_M = SEL_CLNT_OFF

 

This solved my active M-Code issues.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...