- Script available parameters
-
Registered
Script available parameters
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.
Similar Threads:
-
-
Member
Re: Script available parameters
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.
-
Registered
Re: Script available parameters
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!
-
Member
Re: Script available parameters
M62 - Output
Usage:
M62 Q
- Q = value for all eight outputs
M62 P Q
- P = output number
- Q = zero for Off, otherwise On
Example
M62 P4 Q1 (turn output 4 on)
-
Registered
Re: Script available parameters
Thank you very much for your support!
-
Registered
Re: Script available parameters
Sorry, but one more question.
Is it possible to set PWM / frequency of the output via script?
Thank you very much
-
Member
Re: Script available parameters
M63 - Output PWM
Usage:
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%)
- Script available parameters
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules