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 writes to TABLE 700 then that is the highest allocated. Check TSIZE it will be 701.
If the TABLE is using too much memory, then it can be deleted entirely with the terminal command NEW "TABLE". Then the process of allocating TABLE in a program can begin again.
TABLE is strored in Battery Backed non-volatile RAM.
Related Articles
MC_CONFIG vs Flash parameters
All Motion Coordinators store the IP_ADDRESS, IP_NETMASK and IP_GATEWAY in Flash memory. So there is usually no need to add them to the MC_CONFIG. There are some differences with other system parameters. MC4N-ECAT, MC4N-RTX, MC6N-ECAT, Flex-6 Nano ...
Set and Clear bits in TABLE values (Function)
Here are 2 functions to set and clear a bit in a given TABLE value. ' functions to set and clear bits in TABLE FUNCTION set_table_bit(index, bit AS INTEGER) DIM pattern AS INTEGER pattern = 1 << bit TABLE(index, TABLE(index) OR pattern) ENDFUNC ...
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 ...
How many TABLE values are saved to Flash in the MC6N?
The default is none (only VRs are stored; FLASH_DATA = 0) However 64000 will be stored when FLASH_DATA is set to 1 See the Trio BASIC help for FLASH_DATA.
A Trio BASIC Function Library for calculating min, max and average
The attached library has 10 functions; result = compare_2(v1, v2) preset_max(index, value) preset_min(index, value) compare_max(index, value) compare_min(index, value) value = read_max_register(index) value = read_min_register(index) And for the ...