Moving CAM CSV/Text File to TABLE or VR's location
The example attached is a Trio basic program that will extract the numerical
values of each text file line and move the values into a TABLE or VR array.
The program moves the data from the controllers on board memory but can
be adjusted to move data from the SD card if required.
Related Articles
Create a cam
Piecewise curve generation. The piesewise curve uses 5th degree polynomial interpolation between positions. The 5th degree polynomial has 6 unknowns so in order to solve it we need 6 data values. For a profile consisting of 2 points these are Point 1 ...
AN-409 Saving VR from MC206x to MC4N
When converting from some of the older controller like MC2xx series, the VR(s) from the project have to be transferred to the new controller for the program to work. In this document, it explains how to copy over these VR(s) from MC206x to MC4N This ...
Using ADDax too add a 200mS sine wave to a motion.
The simplest sine generator is the MOVECIRC. It controls 2 axes but each axis is doing a sine or cosine. BASE(0,10) ' put the second axis up out of the way. MOVECIRC(0,0,10,0,0) ' do a sine of amplitude 10 Use the SPEED parameter to set the ...
FILE command for Rename file
To rename a file on the SD card use the FILE "REN " function. It was not documented in the Help with Motion Perfect 5.2 but will be included in the MP version 5.3 release. Typical syntax is FILE "REN" "test_file.txt" "test.txt"
MC4N-E vs MC6N-E
I Need more than 4096 VR’s in my application. How many VR’s are there in a MC6N-E ? You can find the answer in the online speicifations table here: MC6N-ECAT Specifications