List of all miscellaneous functions/instructions available in R3 programming language.
Legend: R = allowed use in Rules - T = allowed use in Tasks - I = Instruction - F = Function (thus has a return value) |
||||
---|---|---|---|---|
Keyword |
R |
T |
F/I |
Description |
R |
T |
F |
Checks if the mv_follow2() function can be executed |
|
R |
T |
F |
Checks if the mva_follow2() function can be executed |
|
R |
T |
F |
Checks if the mva_follow2_m() function can be executed |
|
command() |
R |
T |
F |
Executes a command (directive) |
dec() |
R |
T |
F |
Decreases a variable by a specified quantity |
R |
T |
F |
Calculates the difference between two 16-bit units and handles the roll-over |
|
R |
T |
F |
Calculates the difference between two 32-bit units and handles the roll-over |
|
diff() |
R |
T |
F |
Returns true if the value of the variable has changed |
fall() |
R |
T |
F |
Captures the falling edge of a condition |
R |
T |
F |
Captures the falling edge of a condition filtered |
|
R |
- |
F |
Low-pass filter on the variable |
|
R |
- |
F |
Low-pass filter on the variable that can be used in a for loop |
|
R |
- |
F |
Notch filter on the variable |
|
R |
- |
F |
Notch filter on the variable that can be used in a for loop |
|
- |
T |
F |
Gets information about the boards directly connected to the CPU |
|
R |
T |
F |
Gets the state of virtual output word |
|
in_range() |
R |
T |
F |
Returns the value in the specified range |
inc() |
R |
T |
F |
Increments a variable by a specified amount |
index_of() |
R |
T |
F |
Returns the index of the symbolic variable |
R |
T |
I |
Associates a symbolic with a text string |
|
R |
T |
F |
Calculates the time duration between two successive calls |
|
maximum() |
R |
T |
F |
Returns the higher of two values |
R |
T |
F |
Filters the speed of a master |
|
minimum() |
R |
T |
F |
Returns the smaller of two values |
R |
T |
F |
Returns normalized value between 0 and 1 |
|
R |
T |
F |
Captures the filtered rising and falling edges of a condition |
|
out_m() |
R |
T |
I |
Changes the state of the output channels |
par_even() |
R |
T |
F |
Function that returns true if the number of bits in 1 of the byte passed to it is even |
par_odd() |
R |
T |
F |
Function that returns true if the number of bits in 1 of the byte passed to it is odd |
R |
- |
F |
Applies inverse compensation in the management of the Planar Compensation Table |
|
R |
- |
F |
Applies direct compensation in the management of the Planar Compensation Table |
|
R |
T |
F |
Function to hardware capture the dimension of an axis |
|
R |
T |
F |
Support function to pos_capture_cmd() |
|
ramp() |
R |
T |
F |
Ramps the input variable toward a target value |
rise() |
R |
T |
F |
Captures the rising edge of a condition |
R |
T |
F |
Captures the rising edge of a condition filtered |
|
rtc_date() |
R |
T |
F |
Sets the date of the clock calender |
rtc_time() |
R |
T |
F |
Sets the time of the clock calender |
R |
T |
F |
Sets the state of virtual input word |
|
R |
T |
I |
Writes the software version of the application |
|
similar() |
R |
T |
F |
Compares two variables and determines if they are similar |
R |
T |
F |
Performs statistics on the specified variable |
|
R |
T |
F |
Saves the specified NVR in static memory |
|
R |
T |
F |
Saves the specified NVRR in static memory |
|
R |
T |
F |
Returns the time in microseconds since the motion control was turned on |
|
virt_io() |
- |
T |
F |
Defines a virtual input and output word zone |
R |
T |
F |
Writes a string to the 4*20 display |