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 ...
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
Trouble with table
In the MC2xx range of Motion Coordinators, the TABLE is dynamic and the memory shared with the programs. When you first use it, there is no table. TABLE is allocated when it is written tot. You can see the size with TSIZE parameter. If a program ...