Set up VR Milling to run .fnc from external RS232 commands
Posted: Mon 09 Nov , 2009 15:46 pm
VR Milling v2 and v5 has the ability to pick a .fnc program and run it from remote commands sent via an RS232 interface.
Setup the software by following the screenshots below:
Setup the 'CIM' comm port to match the other PC comms settings, eg Com 2: 9600 baud, even parity, 7 data bits, 1 stop bit
Then send $$MACHINE FROM testprogram.fnc
If the program is found and executed, then the text EXEC will be sent back via RS232
If you send $STATUS to the VR Milling PC, then it will return something like this:
R01D00M01 where the R01 means the program is running and M01 means the machine is connected and ready to run (ie, in auto mode)
R00 or M00 would mean the software is not ready to auto-run programs
Open a .fnc file in the correct directory 1st, so the software knows where to look for them and keep the software into Auto mode.
Setup the software by following the screenshots below:
Setup the 'CIM' comm port to match the other PC comms settings, eg Com 2: 9600 baud, even parity, 7 data bits, 1 stop bit
Then send $$MACHINE FROM testprogram.fnc
If the program is found and executed, then the text EXEC will be sent back via RS232
If you send $STATUS to the VR Milling PC, then it will return something like this:
R01D00M01 where the R01 means the program is running and M01 means the machine is connected and ready to run (ie, in auto mode)
R00 or M00 would mean the software is not ready to auto-run programs
Open a .fnc file in the correct directory 1st, so the software knows where to look for them and keep the software into Auto mode.