Function Summary

Mathematical Functions
Mathematical Functions

$FACOS

Arc cosine (degrees)

$FASIN

Arc sine (degrees)

$FATAN

Arc tangent (degrees)

$FATAN2

Arc tangent (degrees) given 2 arguments

$FCOS

Cosine (degrees)

$FEXP

Exponential

$FLN

Natural logarithm

$FLOG

Common logarithm

$FSIN

Sine (degrees)

$FSQRT

Square root

$FTAN

Tangent (degrees)

Numeric Functions
Numeric Functions

$FABS

Absolute value

$FCEIL

Round up to whole number

$FFLOOR

Round down to whole number

$FFRAC

Fractional portion

$FINT

Truncation to whole number

$FMAX

Largest value

$FMIN

Smallest value

$FMOD

Remainder

$FNINT

Nearest whole number

$FSIGN

Sign

Geometric Functions
Geometric Functions

$FGCYPT3

Create cylinder from 3 points

$FGLNXPL

Intersection point of line and plane

$FGLSXCY

Intersection point(s) of line segment and cylinder

$FGLSXSP

Intersection point(s) of line segment and sphere

$FGPLPT3

Plane constructed from 3 points

$FGPLPTN

Plane constructed from point and normal vector

$FGPTRPL

Projection of point onto plane

Vector Functions
Vector Functions

$FVADD

Vector addition

$FVANG

Angle (degrees) between two vectors

$FVCROSS

Vector cross product

$FVDOT

Vector dot product

$FVLEN

Vector length

$FVMULT

Vector multiplication

$FVNORM

Vector normalization

$FVROTN

Normalized vector rotation

$FVROTV

Rotation of a vector about an axis

$FVSUB

Vector subtraction

Matrix Functions
Matrix Functions

$FMX

Matrix creation

$FMXINV

Matrix inversion

$FMXMULT

Matrix multiplication

$FMXTRFP

Point transformation by matrix

$FMXTRFV

Vector transformation by matrix

$FMXTRSP

Matrix transposition

$FMXTYPE

Matrix type

Conditional Functions
Conditional Functions

$FCHOOSE

Selects and returns a value from a list of arguments

$FIF

Returns argument based on logical expression

$FISNUM

Test if numeric

$FISSEQ

Test if sequence

$FISSTR

Test if string

$FISWRD

Test if keyword

$FSWITCH

Returns argument of first true logical expression

Conversion Functions
Conversion Functions

$FATOF

Conversion string to real

$FCVINT

Conversion to whole number

$FCVREAL

Conversion to number

$FMAJOR

Conversion to major word (record)

$FMINOR

Conversion to minor word

Character and Sequence Functions
Character and Sequence Functions

$FCHAR

Conversion to character

$FDATE

Formatted date

$FEDIT

Edit string

$FELEM

Element of sequence

$FFIND

Index of a value in an array or sequence

$FICHAR

Conversion from character

$FINDEX

Index of a substring

$FLEN

Length of string or sequence

$FMATCH

Match string

$FSEQ

Create a sequence

$FSPLIT

Split a string by a regular expression

$FSUBSQ

Extract subsequence

$FSUBST

Extract substring

$FSWRIT

String formatting

$FTOLOWR

String conversion to lower case

$FTOUPER

String conversion to upper case

$FTRIM

Trim white space from both sides of a string

$FTRIML

Trim white space from the left side (front) of a string

$FTRIMR

Trim white space from the right side (end) of a string

Command Line Functions
Command Line Functions

$FARGC

Return count of arguments

$FARGV

Return argument value

$FPNAME

Return name portion of command line qualifier

$FPVALUE

Return value portion of command line qualifier

File and Directory Functions
File and Directory Functions

$FACCESS

Get file access information

$FBASNAM

Return file name portion of path string

$FCTIME

Convert numeric value to date and time string

$FDIRNAM

Return directory portion of path string

$FEOF

Test for end-of-file

$FGETCWD

Return current working directory

$FSETCWD

Set current working directory

$FSTAT

Get file status information

$FTMPFILE

Create temporary file

Control Emulator Functions
Control Emulator Functions

FCEADD

Add CODE and/or DATA to the block

FCEDAC

Associate a DATA identifier with a CODE group number

FCEGAC

Get active CODE from a code group

FCEGET

Get and remove CODE and/or DATA from the block

FCEGNCV

Get value of a CNC variable from the pre-processor

FCEPP

General pre-processor interface

FCERST

Selects the next NC program file for processing

FCESAC

Set active CODE of a code group

FCESEEK

Get CODE and/or DATA from the block

FCESNCV

Set value of a CNC variable in the pre-processor

FCETIMESYNC

Enable merging lathe or composite CE channel synchronization

FEOF

Test for end of MCD file

FGET

Scan forward in MCD for matching string

FGETR

Scan backward in MCD for matching string

DELMIA Functions
DELMIA Functions

FMSCHUCK

Clamp or unclamp a chuck device

FMSID

Get the component ID of a DELMIA axis

FMSIDN

Get the name of a component, given its ID

FMSIDT

Get the type of a component, given its ID

FMSMOVE

Move a model axis

Other Functions
Other Functions

$FAPPLY

Activate composite control emulator component

$FDIALOG

Activate a dialog

$FDIST

Distance between points

$FDK

Convert machine coordinates to workpiece coordinates

$FDOC

Generate custom documentation

$FERSEV

Severity of error number

$FERSTA

Status of error number

$FERTXT

Text of error number

$FGETDEF

Get DEF file symbol definition

$FGETENV

Get environment variable definition

$FIK

Convert workpiece coordinates to machine coordinates

$FKINCFG

Modify position and orientation of a rotary axis or tool axis

$FKINROT

Specify rotary axes used in RTCP IK calculations

$FMACID

Find matching macro id

$FMACSTA

Set or query enabled/disabled status of macro(s)

$FMRU…

Save or restore MRU (most recently used) information

$FPAUSE

Pause processing with optional message

$FREGFMT

Get $FSWRIT compatible format for register

$FREGPOS

Return a register index given a register descriptor

$FSORT

Sort records from file or elements of sequence

$FUNWIND

Reset rotary axis to modulo-360 value