Script available parameters

Results 1 to 7 of 7

Thread: Script available parameters

  1. #1
    Registered
    Join Date
    Jun 2017
    Location
    Slovakia
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default 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:


  2. #2
    Member PlanetCNC's Avatar
    Join Date
    Mar 2017
    Location
    Slovenia
    Posts
    1295
    Downloads
    0
    Uploads
    0

    Default 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.



  3. #3
    Registered
    Join Date
    Jun 2017
    Location
    Slovakia
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default 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!



  4. #4
    Member PlanetCNC's Avatar
    Join Date
    Mar 2017
    Location
    Slovenia
    Posts
    1295
    Downloads
    0
    Uploads
    0

    Default 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)




  5. #5
    Registered
    Join Date
    Jun 2017
    Location
    Slovakia
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default Re: Script available parameters

    Thank you very much for your support!



  6. #6
    Registered
    Join Date
    Jun 2017
    Location
    Slovakia
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default 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



  7. #7
    Member PlanetCNC's Avatar
    Join Date
    Mar 2017
    Location
    Slovenia
    Posts
    1295
    Downloads
    0
    Uploads
    0

    Default 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%)




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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Script available parameters

Script available parameters