
Chapter 7 PAC Language Configuration Elements
7-5
[ 1 ] Global Variable
A global variable name is expressed with an alphabet letter (I, F, D, S, V, P, J,
T, IO)that expresses the type with an integer expression added after the letter.
Only an I/O variable has 2 letters (IO).
For example, F0001, F1, and F[1] all express the same single precision real
type variable.
Since variable names are reserved by the system, they can be used without
declaration. The following types can be used for global variables.
• Type I: integer type (range: -2147483648 ~ + 2147483647)
Example) I0001, I1, I[1]
• Type F: single precision real type (-3.402823E + 38 ~ 3.402823E + 38)
Example) F0001, F1, F[1]
• Type D: double precision real type
(-1.79769313486231D + 308 ~1.79769313486231D + 308)
Example) D0001, D1, D[1]
• Type S: character string type (Maximum 247 characters)
Example) S0001, S1, S[1]
• Type V: vector type (X, Y, Z)
Example) V0001, V1, V[1]
• Type P: position type (X, Y, Z, RX, RY, RZ, FIG) (6 axes )
Example) P0001, P1, P[1]
• Type J: joint type (J1, J2, J3, J4, J5, J6) (6 axes )
Example) J0001, J1, J[1]
• Type T: homogeneous transformation type
(Px, Py, Pz, Ox, Oy, Oz, Ax, Ay, Az, FIG)
Example) T0001, T1, T[1]
• Type IO: I/O type
Example) IO0001, IO1, IO[1]
NOTE: Types V, P, J, and T are not available with vision equipment µVision-
21.
Comentarios a estos manuales