Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: machiner on August 11, 2016, 09:43:25 AM

Title: Serial Plugin Questions
Post by: machiner on August 11, 2016, 09:43:25 AM
I was delighted to see the new serial plugin.
However i cannot find any docs or examples on its use.
--------------------------------------------------------------------------------------------
i found this update description on the PDMX website

        - - - Build 4.2.0.2914 - 02 March 2016 - - -

7) Added plugin to allow send and receive from RS-232 serial port.

8) Convert LUA environment to use dynamic runtime to support loadable
   LUA modules. LUA RS232, LFS file system, LUA Sockets with TCP modules  now provided.

Where could i find Docs and more importantly , some examples of its use
any info greatly appreciated.
Title: Re: Serial Plugin Questions
Post by: bob_at_pmdx on August 11, 2016, 05:33:49 PM
FWIW - There is a sample program here, which shows how to use some of the functions:

         C:\Mach4Hobby\Modules\luars232-Example.lua

If you so a web search for "luar232" there are other examples of usage, but an actual API document wasn't obvious.

Bob
Title: Re: Serial Plugin Questions
Post by: machiner on August 11, 2016, 07:30:40 PM
Thank You !