View Full Version : Script available parameters

01-01-2018, 09:37 AM
Hi,I'm trying to customise M-codes and I have few questions:1. Is there a complete list of parameters, and procedures that can be used in user scripts (assigned to M-code)?2. Is it possible to switch the outputs in the script?3. Can I check the status of the inputs through the script?M.

01-03-2018, 04:10 AM
1. There will be changes in next version so documentation is not current.
2. Yes, this is possible
3. This is also possible.

Documentation will be published together with new version. Just few weeks.

01-03-2018, 05:07 AM
Sorry to bother you, but we have some deadlines here...
Could you please send me example of how to set outputs in the current version?

Thank you very much in advance!

01-03-2018, 07:20 AM
M62 - Output

M62 Q
- Q = value for all eight outputs

M62 P Q
- P = output number
- Q = zero for Off, otherwise On

M62 P4 Q1 (turn output 4 on)

01-03-2018, 08:46 AM
Thank you very much for your support!

01-03-2018, 08:52 AM
Sorry, but one more question.
Is it possible to set PWM / frequency of the output via script?
Thank you very much

01-03-2018, 09:01 AM
M63 - Output PWM

M63 P Q <E>
- P = output number
- Q = frequency
- E(optional) = duty cycle (0% - 100%)

M63 P R
- P = output number
- R = RC servo motor position (0% -100%)