Data: Difference between revisions

 
(3 intermediate revisions by the same user not shown)
Line 1:
''<small>This page details data structure and types used in the FANUC TP programs. For the use of data for directing program flow, see [[Registers]].</small>''
 
 
 
 
In all programming languages, information must be stored somewhere to be used in the future. FANUC's software handles data in variables known as "Registers". This is where numbers are stored to be used by programs to change how programs flow or operate, as well as to help in communications with the user or other devices.
 
There are many types of registers available in FANUC software, but the two types you will need to know for MH-142 are data "Registers" and "Position Registers"
Line 54 ⟶ 55:
|3
|Position Values - Cartesian
|}Positions (Not position registers) are functionally identical to position registers in that they contain 6 elements, but they are not global. They are unique in every program. For example, P[1] in one program contains different values than P[1] in another program.<br />
|}<br />
=== Registers ===
A register is listed as R[#] and contains a number. This is good for math equations, counters, single dimension data handling, and temporary storage of values to be used or communicated at a future time.