Jump to content
OMRON Forums

Script language macros


JeffLowe
 Share

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

We make use of the macros in the Turbo PMAC:

@ON, @OFF, @SET_ON, @SET_OFF, @START_TIMER, @TIMER_RUNNING and so on. Is this functionality available in the PowerPMAC script language either directly, or as a VS add-on?

 

 

We do not have these macros. You can always use #define and make these macros in the script language.

 

Thanks,

Atul

 

Link to comment
Share on other sites

We make use of the macros in the Turbo PMAC:

@ON, @OFF, @SET_ON, @SET_OFF, @START_TIMER, @TIMER_RUNNING and so on. Is this functionality available in the PowerPMAC script language either directly, or as a VS add-on?

 

 

We do not have these macros. You can always use #define and make these macros in the script language.

 

Thanks,

Atul

 

Is there a way to pass parameters to #define functions?

 

 

Link to comment
Share on other sites

Does something like this work in the script language?

 

#define RADTODEG(x) ((x) * 57.29578)

 

 

 

 

We make use of the macros in the Turbo PMAC:

@ON, @OFF, @SET_ON, @SET_OFF, @START_TIMER, @TIMER_RUNNING and so on. Is this functionality available in the PowerPMAC script language either directly, or as a VS add-on?

 

 

We do not have these macros. You can always use #define and make these macros in the script language.

 

Thanks,

Atul

 

Is there a way to pass parameters to #define functions?

 

 

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...