
3.FP FUNCTIONS B-66244EN/03
- 216 -
FP FUNCTIONS
3.1 FP FUNCTION INTERFACE
This section explains the functions that can be set in the function field
of FANUC PICTURE (Windows).
• FP functions are set in the function name fields of FANUC
PICTURE property page dialog boxes. See each function
reference item presented below for function names and data types.
Note that function names are case-sensitive.
The return value of each function is indicated in the control
display area. If a function results in an error, as many asterisks (*)
or E's as they can fit to the screen are displayed.
• Setting a function name with arguments
When "[Format/with arguments]" is indicated in the function
reference below, arguments must be given. When setting a
FANUC PICTURE function name, enclose an argument in
brackets [ ]. When giving more than one argument, use "_" to
separate them from each other. Do not insert any blank.
Example)
Reading a parameter
rdparam[1422_1_8]
• Path specification for multipath control units
If a multipath control unit is used, "_(path-number)" can be
appended to an argument specification to specify the data for the
desired path. For functions without arguments, the "_"
specification is not required. Specify "1" for the data for path 1,
"2" for the data for path 2, and "5" for the loader axis path.
Example)
absolute[3_2]: Reads the absolute value of the third axis of
path 2.
actf[2]: Reads the actual feedrate of path 2.
In the absence of a path number specification, the path number set
with the path number setting function is assumed.
In [Functions] below, those functions that accept a path
specification are indicated by underlining their function names.
The function without the path specification in the [Functions] list
is as follows.
1.35 setpath Writing a path number (for multipath systems)
1.39 getpath Reading a path number (for multipath systems)
1.45 rdopmsg Reading operator's message
1.51 rdmemsize Reading amount of D-RAM memory use