Hello!
Taking a stab at setting up girder (noob) to control a Lynxmotion ssc-32 servo controller.
Heres what works:
Dedicated lynxmotion sequencer software. I am able to control the servors as expected so I know everything is setup right.
So I load a serial port monitor to capture the commands the sequencer sends to the DB9 port and controller.
For example:
If I want to move servo 1 to a certain position, the command would be #1P1600T100 Which means: #1 is servo 1 P = position of servo gears and T = time 1000 being a second.
Here is the exact port capture of a 2 step command to set the servo positions:
IRP_MJ_WRITE DOWN TRUE 0x0 23 30 50 31 34 30 31 23 31 50 32 32 34 36 54 31 30 30 30 0D #0P1401#1P2246T1000.
IRP_MJ_WRITE UP TRUE 0x0 23 30 50 31 34 30 31 23 31 50 32 32 34 36 54 31 30 30 30 0D #0P1401#1P2246T1000.
IRP_MJ_DEVICE_CONTROL (IOCTL_SERIAL_WAIT_ON_MASK: Wait for event)UP TRUE 0x0 04 00 00 00 ....
IRP_MJ_DEVICE_CONTROL (IOCTL_SERIAL_WAIT_ON_MASK: Wait for event)DOWN FALSE 0x0
IRP_MJ_WRITE DOWN TRUE 0x0 23 30 50 31 34 30 31 23 31 50 31 37 39 36 54 31 30 30 30 0D #0P1401#1P1796T1000.
IRP_MJ_WRITE UP TRUE 0x0 23 30 50 31 34 30 31 23 31 50 31 37 39 36 54 31 30 30 30 0D #0P1401#1P1796T1000.
IRP_MJ_DEVICE_CONTROL (IOCTL_SERIAL_WAIT_ON_MASK: Wait for event)UP TRUE 0x0 04 00 00 00 ....
IRP_MJ_DEVICE_CONTROL (IOCTL_SERIAL_WAIT_ON_MASK: Wait for event)DOWN FALSE 0x0
How do I generate a lua file and use that as a serial device in the plugin section and then add the serial send commands?
Im sure Im missing some sort of info to help with the answer so please let me know what you need to know so I can know