List of all functions/instructions available in R3.
Legend: R = allowed use in Rules - T = allowed use in Tasks - I = Instruction - F = Function (has a return value) |
||||
---|---|---|---|---|
Keyword |
R |
T |
F/I |
Description |
R |
T |
I |
Flow control instruction |
|
R |
T |
I |
Flow control instruction |
|
abs() |
R |
T |
F |
Absolute value of a quantity |
abs_mod() |
R |
T |
F |
Remainder of division |
acos() |
R |
T |
F |
Arcocosine |
ah_cmd() |
R |
T |
F |
Commands for alarm history |
ah_get_d() |
R |
T |
F |
Commands for alarm history |
ah_get_s() |
R |
T |
F |
Commands for alarm history |
ah_info() |
R |
T |
F |
Commands for alarm history |
ah_log() |
R |
T |
F |
Commands for alarm history |
al2am() |
R |
T |
F |
Returns AM info related to a specific alarm |
R |
T |
F |
Reset an alarm |
|
R |
T |
F |
Reset an alarm by also specifying the parameter |
|
R |
T |
F |
Set an alarm |
|
R |
T |
I |
AND logic operator |
|
asin() |
R |
T |
F |
Arcosine |
atan() |
R |
T |
F |
Arcotangent of a value |
atan2() |
R |
T |
F |
Arcotangent of a ratio |
R |
- |
I |
Start block AUX in the RULE |
|
R |
- |
I |
Definition of axes involved in the RULE (constant) |
|
R |
- |
I |
Definition of axes involved in hte RULE (mask) |
|
R |
T |
F |
Function to read objects on fieldbus axioline |
|
R |
T |
F |
Function to write objects to axioline fieldbus |
|
R |
T |
F/I |
Reads/writes byte 0 of the argument |
|
R |
T |
F/I |
Reads/writes byte 1 of the argument |
|
R |
T |
F/I |
Reads/writes byte 2 of the argument |
|
R |
T |
F/I |
Read/write byte 3 of the argument |
|
R |
T |
F/I |
Read/write byte 4 of the argument |
|
R |
T |
F/I |
Read/write byte 5 of the argument |
|
R |
T |
F/I |
Read/Write byte 6 of the topic |
|
R |
T |
F/I |
Reads/writes byte 7 of the argument |
|
R |
T |
F |
Reads a double from a BCC_MSGUSER structure |
|
R |
T |
F |
Reads a float from a BCC_MSGUSER structure |
|
R |
T |
F |
Reads an i16 from a BCC_MSGUSER structure |
|
R |
T |
F |
Reads an i32 from a BCC_MSGUSER structure |
|
R |
T |
F |
Reads an i8 from a BCC_MSGUSER structure |
|
R |
T |
F |
Reads a string from a BCC_MSGUSER structure |
|
R |
T |
F |
Reads an i32 from a STRU_BCC_TCP_CLIENT structure. |
|
R |
T |
F |
Reads a u16 from a BCC_MSGUSER structure |
|
R |
T |
F |
Reads a u32 from a BCC_MSGUSER structure |
|
R |
T |
F |
Reads a u8 from a BCC_MSGUSER structure |
|
R |
T |
F |
Prepares the structure for the response |
|
R |
T |
F |
Receives a BCC3 packet |
|
R |
T |
F |
Sends positive response to received message |
|
R |
T |
F |
Sends response to message received |
|
R |
T |
F |
Sends negative response to message received |
|
bcc_send() |
R |
T |
F |
Sends a BCC3 packet |
R |
T |
I |
Writes a double into a BCC_MSGUSER structure |
|
R |
T |
I |
Writes a float into a BCC_MSGUSER structure |
|
R |
T |
I |
Writes an i16 into a BCC_MSGUSER structure |
|
R |
T |
I |
Writes an i32 in a BCC_MSGUSER structure. |
|
R |
T |
I |
Writes an i8 into a BCC_MSGUSER structure. |
|
R |
T |
I |
Writes a string to a BCC_MSGUSER structure |
|
R |
T |
I |
Writes a u16 into a BCC_MSGUSER structure |
|
R |
T |
I |
Writes a u32 in a BCC_MSGUSER structure |
|
R |
T |
I |
Writes a u8 into a BCC_MSGUSER structure. |
|
- |
- |
I |
Adds an hexadecimal value to a variable of type INT |
|
- |
- |
I |
Subtracts an hexadecimal value from a variable of type INT |
|
- |
- |
I |
Initializes a variable of type INT to an hexadecimal value |
|
R |
T |
I |
Exits a selection block |
|
R |
T |
I |
Call of a subprogram |
|
R |
T |
I |
SELECT construct |
|
R |
T |
F |
Controls whether the function mv_follow2() can be executed |
|
R |
T |
F |
Controls whether the function mva_follow2() can be executed |
|
R |
T |
F |
Controls whether the function mva_follow2_m() can be executed |
|
cnet_diag() |
R |
T |
F |
CNET synchronous communication functions. Reserved |
cnet_get_time_sync() |
R |
T |
F |
CNET synchronous communication functions. Reserved |
cnet_receive() |
R |
T |
F |
CNET synchronous communication functions. Reserved |
cnet_receive_status() |
R |
T |
F |
CNET synchronous communication functions. Reserved |
cnet_rq_sync() |
R |
T |
F |
CNET synchronous communication functions. Reserved |
cnet_send() |
R |
T |
F |
CNET synchronous communication functions. Reserved |
cnet_status() |
R |
T |
F |
CNET synchronous communication functions. Reserved |
R |
T |
F |
Returns the contents of the status word of the indicated workstation |
|
R |
T |
F |
Returns the response to the previous function co_send_sdo() |
|
R |
T |
F |
Function to make transitions in the DS 402 state machine |
|
R |
T |
F |
Function to write some bits of the controlword |
|
R |
T |
F |
Function to read status information from the indicated workstation |
|
- |
T |
F |
Function to load parameters to the drive by reading them from control CF |
|
- |
T |
F |
Function to save to a file in CF the parameters by reading them from drive |
|
co_rerr() |
R |
T |
F |
Returns error information of the indicated workstation |
co_rnmt() |
R |
T |
F |
Function to make the NMT operating mode of the indicated workstation |
co_robj() |
R |
T |
F |
Function to read objects on fieldbus |
co_rpdo() |
R |
T |
F |
Reads a PDO |
R |
T |
F |
Sends an SDO (Service Data Object) message |
|
co_sync() |
R |
T |
F |
Enables/disables Sync messages on CANbus |
co_wnmt() |
R |
T |
F |
Imposes the NMT status of the indicated workstation |
co_wobj() |
R |
T |
F |
Function to write objects to fieldbus |
co_wpdo() |
R |
T |
F |
Sends a PDO |
coe_robj() |
R |
T |
F |
Function to read objects on fieldbus COE |
coe_wobj() |
R |
T |
F |
Function to write objects to fieldbus COE |
command() |
R |
T |
F |
Executes a command (directive) |
R |
T |
I |
Simplified IF-THEN-ELSE construct |
|
R |
T |
I |
FOR-WHILE construct |
|
cos() |
R |
T |
F |
Cosine |
crc16() |
R |
T |
F |
Deprecated. Use crc16_be() |
crc16_ero() |
R |
T |
F |
Deprecated. Use crc16_le() |
crc16_init() |
R |
T |
F |
|
crc16_be() |
R |
T |
F |
Functions for CRC calculation |
crc16_le() |
R |
T |
F |
Functions for calculating CRC |
ct_cd() |
R |
T |
I |
Counter down (decremental) |
ct_cdr() |
R |
T |
I |
Counter down ring |
ct_cu() |
R |
T |
I |
Counter up (incremental) |
ct_cur() |
R |
T |
I |
Counter up ring |
R |
T |
F/I |
Counter current value |
|
ct_load() |
R |
T |
I |
Load the CP (preset value) into the CV (current value) of the counter |
R |
T |
F/I |
Counter preset value |
|
ct_qd() |
R |
T |
F |
Counter down outcome |
ct_qu() |
R |
T |
F |
Counter up outcome |
ct_reset() |
R |
T |
I |
Counter CV reset |
dec() |
R |
T |
F |
Decreases the variable |
R |
T |
I |
SELECT construct |
|
R |
T |
F |
Calculates the difference of two 16-bit quantities by handling the unwrapping |
|
R |
T |
F |
Calculates the difference of two 32-bit quantities by handling the unwrapping |
|
diff() |
R |
T |
F |
Returns true if the value of the variable has changed |
R |
T |
I |
DO cycle |
|
R |
T |
F/I |
Reads/writes Dword 0 of the argument |
|
R |
T |
F/I |
Reads/writes Dword 1 of the argument |
|
dwbe2le() |
R |
T |
F |
Converts big endian dword (x32) to little endian dword (x32) |
dwbe2lef() |
R |
T |
F |
Converts big endian dword (x32) to little endian float (x32) |
dwbe2mbe() |
R |
T |
F |
Converts big endian dword (x32) to middle big endian dword (x32) |
dwbe2mle() |
R |
T |
F |
Converts big endian dword (x32) to middle little endian dword (x32) |
- |
T |
I |
Stops TASK for n seconds |
|
dwle2be() |
R |
T |
F |
Converts little endian dword (x32) to big endian wdord (x32) |
dwle2bef() |
R |
T |
F |
Converts little endian float (4 bytes) to big endian dword (U32) |
dwle2mbe() |
R |
T |
F |
Converts little endian dword (x32) to middle big endian dword (x32) |
R |
T |
F |
Converts little endian float (4 bytes) to middle big endian dword (U32) |
|
dwle2mle() |
R |
T |
F |
Converts little endian dword (x32) to middle little endian dword (x32) |
R |
T |
F |
Converts little endian float (4 bytes) to middle little endian dword (U32) |
|
dwmbe2be() |
R |
T |
F |
Converts middle big endian dword (x32) to big endian dword (x32) |
dwmbe2le() |
R |
T |
F |
Converts middle big endian dword (x32) to little endian dword (x32) |
R |
T |
F |
Converts middle big endian (U32) to little endian float (4 bytes) |
|
dwmle2be() |
R |
T |
F |
Converts middle little endian dword (x32) to big endian dword (x32) |
- |
T |
F |
Enables/disables a device on EtherCAT line |
|
R |
T |
F |
Reads the status of the EtherCAT line |
|
- |
T |
F |
Reads the information of a device on EtherCAT line |
|
R |
T |
F |
Imposes the state of the EtherCAT line |
|
R |
T |
I |
IF block alternative choice |
|
R |
- |
I |
End block AUX |
|
R |
T |
I |
End FOR cycle |
|
R |
T |
I |
End function |
|
R |
- |
I |
End block MOTION |
|
R |
- |
I |
End block REF |
|
R |
- |
I |
End rule |
|
R |
T |
I |
End SELECT construct |
|
R |
T |
I |
End WHILE construct |
|
R |
T |
I |
End DO construct |
|
R |
T |
I |
End IF construct |
|
exl_lam() |
R |
T |
F |
Show included/excluded logical axes of a powerset |
R |
T |
I |
Include/exclude the logical axes of a powerset |
|
excl_pam() |
R |
T |
F |
Show the included/excluded physical axes of a powerset |
R |
T |
I |
Includes/excludes the physical axes of a powerset |
|
f_avail() |
- |
T |
F |
Memory available on flash |
f_close() |
- |
T |
F |
Close a file opened in flash |
f_copy() |
- |
T |
F |
Copy a file present on the flash |
f_del() |
- |
T |
F |
Delete a file on the flash |
f_dir() |
- |
T |
F |
Information about files in the flash |
f_gets() |
- |
T |
F |
Read from a file in the flash opened in text mode |
f_mkdir() |
- |
T |
F |
Create a new directory in flash |
f_open() |
- |
T |
F |
Open a file on flash |
f_puts() |
- |
T |
F |
Write a file in the flash opened in text mode |
f_read() |
- |
T |
F |
Reads a file in the flash opened in binary mode |
- |
T |
F |
Reads from flash an ascii file and loads the values in it into variables |
|
- |
t |
F |
Reads from flash an ascii file and loads the values in it into variables (checks for overflow from the buffer) |
|
f_rename() |
- |
T |
F |
Renames a file on the flash |
f_seek() |
- |
T |
F |
Moves the pointer inside a file on the flash |
f_write() |
- |
T |
F |
Writes to a file on the flash opened in binary mode |
f_format() |
- |
T |
F |
Formatting flash partitions |
fall() |
R |
T |
F |
Captures the falling edge of a condition |
R |
T |
F |
Captures the falling edge of a condition filtered |
|
R |
T |
I |
Allows an area of memory to be initialized |
|
R |
- |
F |
Low-pass filter on 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 |
Low-pass filter on the variable usable in a for loop |
|
R |
- |
F |
Run only the first time the rule is activated |
|
R |
T |
I |
FOR loop |
|
force() |
R |
T |
F |
Force IO |
fract() |
R |
T |
F |
Return fractional part of the argument |
function() |
R |
T |
I |
Function (subroutine) |
get_u8() |
R |
T |
F |
Read a byte (u8) from a buffer at a specified offset |
get_i8() |
R |
T |
F |
Read a byte (i8) from a buffer at a specified offset |
get_u16() |
R |
T |
F |
Read a word (u16) from a buffer at a specified offset |
get_i16() |
R |
T |
F |
Read a word (i16) from a buffer at a specified offset |
get_u32() |
R |
T |
F |
Read a dword (u32) from a buffer at a specified offset |
get_i32() |
R |
T |
F |
Read a dword (i32) from a buffer at a specified offset |
get_u64() |
R |
T |
I |
Read a qword (u64) from a buffer at a specified offset |
get_i64() |
R |
T |
I |
Read a qword (i64) from a buffer at a specified offset |
R |
T |
F |
Read a float (x32) from a buffer at a specified offset |
|
- |
T |
F |
Get information about cards directly connected to the CPU |
|
get_real() |
R |
T |
F |
Read a real (x64) from a buffer at a specified offset |
R |
T |
F |
Read the real state of virtual outputs |
|
R |
T |
I |
Label jump instruction |
|
R |
T |
I |
Activate the rule executors |
|
- |
T |
F |
Create a new global variable. Create the information in memory and, if necessary, in retentive memory |
|
R |
T |
F |
Get the type of a global variable |
|
R |
T |
F |
Get the type of a global variable |
|
- |
T |
F |
Remove a global variable. Delete the configuration file and memory space |
|
gv_exist() |
R |
T |
F |
Check whether the specified string matches a defined global variable |
gv_flags() |
R |
T |
F |
Get the flag associated with a global variable |
R |
T |
F |
Get the flag associated with a global variable |
|
gv_link() |
R |
T |
F |
Link to an existing global variable. Create an interface to a GV |
gv_lock() |
R |
T |
F |
Block access of the global variable - access is not allowed by any other interface |
gv_name() |
R |
T |
F |
Get the name of a global variable |
gv_read() |
R |
T |
F |
Update the datum of the associated local variable via the interface, reading from the GV |
R |
T |
F |
Partially update the datum of the associated local variable via the interface, reading from the GV |
|
gv_size() |
R |
T |
F |
Get the size of a global variable |
R |
T |
F |
Get the size of a global variable defined by name |
|
R |
T |
F |
Remove the interface connection to a global variable |
|
R |
T |
F |
Unlock global variable access-access is then allowed by all interfaces |
|
- |
T |
F |
Update the information in the configuration file |
|
gv_write() |
R |
T |
F |
Update the value of the global variable with the value of the associated local variable via the interface |
R |
T |
F |
Partially update the value of the global variable with the value of the associated local variable via the interface |
|
R |
T |
I |
IF construct |
|
in_range() |
R |
T |
F |
Return the value in the given range |
inc() |
R |
T |
F |
Increment the variable |
index_of() |
R |
T |
F |
Return the index of the symbolic variable |
R |
T |
I |
Enable inserting a piece of information into the report |
|
R |
T |
I |
Enable asynchronous delayed rule on event |
|
R |
T |
I |
Enable asynchronous rule on interrupting input variation |
|
R |
T |
I |
Enable asynchronous rule on fixed frequency |
|
R |
T |
F |
Convert a numeric value to a string containing the IP |
|
R |
T |
F |
Check the presence of the alarm and parameter in the stack |
|
R |
T |
F |
Verify the presence of the alarm in the stack |
|
R |
T |
F |
Verify forced IO |
|
R |
T |
I |
Associate a symbolic with a text string |
|
log() |
R |
T |
F |
Return the natural logarithm of the argument |
log10() |
R |
T |
F |
Return the base10 logarithm of the argument |
R |
T |
F |
Calculate the time duration between two successive calls |
|
R |
T |
F |
Filter the speed of a master |
|
maximum() |
R |
T |
F |
Return the larger of two values |
mbc_init() |
- |
T |
F |
Initialize Modbus/TCP client |
- |
T |
F |
Write registers with mask |
|
- |
T |
F |
Write registers with mask via support structure |
|
- |
T |
F |
Read coils |
|
- |
T |
F |
Read coils with support structure |
|
- |
T |
F |
Read discrete inputs |
|
- |
T |
F |
Read discrete inputs with support structure |
|
- |
T |
F |
Read holding registers |
|
- |
T |
F |
Reading holding registers with support structure |
|
- |
T |
F |
Reading input registers |
|
- |
T |
F |
Read input registers with holding structure |
|
- |
T |
F |
Write coils |
|
- |
T |
F |
Write coils using support structure |
|
- |
T |
F |
Write coils using Modbus function code of multiple corresponding writes |
|
- |
T |
F |
Write coils via support structure using Modbus function code of multiple corresponding writes |
|
- |
T |
F |
Write registers using Modbus function code of multiple corresponding writes |
|
- |
T |
F |
Write registers via backing structure using Modbus function code of multiple corresponding writes |
|
- |
T |
F |
Write registers |
|
- |
T |
F |
Write registers via support structure |
|
- |
T |
F |
Write registers with mask by specifying the unitID |
|
- |
T |
F |
Read coils by specifying the unitID |
|
- |
T |
F |
Read discrete inputs specifying the unitID |
|
- |
T |
F |
Read holding registers specifying the unitID |
|
- |
T |
F |
Read input registers specifying the unitID |
|
- |
T |
F |
Write coils by specifying the unitID |
|
- |
T |
F |
Write coils specifying the unitID using Modbus function code of the corresponding multiple writes |
|
- |
T |
F |
Write registers specifying the unitID using Modbus function code of the corresponding multiple writes |
|
- |
T |
F |
Write registers specifying the unitID |
|
minimum() |
R |
T |
F |
Returns the smaller of two values |
mod() |
R |
T |
F |
Function that renders the remainder of the division between numeric variables |
R |
T |
F |
Function for MOT (multiple output table) management |
|
R |
T |
F |
Function for MOT management (multiple output table) |
|
R |
T |
F |
Function for MOT handling (multiple output table) |
|
R |
T |
F |
Function for MOT management (multiple output table) |
|
mot_get() |
R |
T |
F |
Function for MOT management (multiple output table) |
R |
T |
F |
Function for MOT management (multiple output table) |
|
R |
- |
I |
Start block motion within a rule |
|
R |
T |
I |
Copy a memory zone |
|
R |
T |
I |
Copy a memory zone |
|
mt_ats() |
R |
T |
F |
Atomic test of a variable |
mt_ats2() |
R |
T |
F |
Atomic test of a variable |
- |
T |
I |
Enable the execution of a task (time-sharing) |
|
- |
T |
I |
Disables the execution of a task (time-sharing) |
|
- |
T |
I |
Send an infinite OB into execution (loop) |
|
- |
T |
I |
Put a TASK on hold |
|
mv_cam() |
R |
- |
F |
Execute a cubic cam for traits a,b,c) |
R |
- |
F |
Crimper function for flow-pack |
|
R |
- |
F |
Cut on the fly (follow2 recommended) |
|
R |
- |
F |
Cut on the fly (master and slave not associated with an axis) |
|
R |
T |
F |
Interpolation function using MOT table (multiple output table) |
|
R |
- |
F |
Phase correction between two axes |
|
R |
- |
F |
Phase correction between two axes |
|
mv_ramp() |
R |
- |
F |
Deprecated. Use ramp() |
R |
- |
F |
Hooking between two axes |
|
R |
- |
F |
Run a cam (y as a function of x) |
|
R |
- |
F |
Hooking between two axes |
|
mv_table() |
R |
- |
F |
Performs a Cam for points |
mv_to() |
R |
- |
F |
Movement toward a target |
mv_to_cj() |
R |
- |
F |
Movement toward a target with controlled jerk |
R |
- |
F |
Movement toward a target with controlled jerk |
|
R |
T |
F |
Support function to mv_to_cjv() |
|
R |
- |
F |
Movement toward a target with a specified final velocity |
|
R |
- |
F |
Deprecated. Use tracking() |
|
R |
- |
F |
Cut on the fly (only slave associated with an axis) |
|
R |
- |
F |
Cut on the fly (master and slave associated with an axis) |
|
mva_jog() |
R |
- |
F |
JOG movement (manual) |
mva_jog2() |
R |
- |
F |
JOG movement (manual) |
R |
- |
F |
Ring opening |
|
mva_to_n() |
R |
- |
F |
Movement to a target with multiple axes |
R |
- |
F |
Movement toward a target with multiple axes |
|
R |
- |
F |
Movement toward a target with multiple axes also already in motion |
|
mva_zc() |
R |
- |
F |
Homing movement |
R |
T |
F |
Returns normalized value between 0 and 1 |
|
R |
T |
I |
Logic operator not |
|
R |
T |
F |
Captures the filtered rising and falling edges of a condition |
|
R |
T |
I |
Logic operator or |
|
R |
T |
I |
Set the order of execution of rule executors |
|
R |
T |
I |
Change the state of the output channels |
|
par_even() |
R |
T |
F |
Function that makes true if the number of bits in 1 of the byte passed to it is even |
par_odd() |
R |
T |
F |
Function that makes true if the number of bits in 1 of the byte passed to it is odd |
R |
- |
F |
Function that applies direct position compensation table |
|
R |
- |
F |
Function that applies the inverse position compensation table |
|
R |
T |
F |
Function to hardware capture the dimension of an axis |
|
R |
T |
F |
Support function to hardware capture the height of an axis |
|
pow() |
R |
T |
F |
Power elevation |
R |
T |
F |
Exclude the logical axes of a powerset |
|
R |
T |
F |
Exclude the physical axes of a powerset |
|
R |
T |
F |
Include the logical axes of a powerset |
|
R |
T |
F |
Include the physical axes of a powerset |
|
R |
T |
F |
Powerset (power management) -Enable the power of the powerset |
|
R |
T |
F |
Powerset (power management) -Enable the axes of the power set |
|
R |
T |
F |
Power set (power management) -Send an alarm reset command |
|
R |
T |
F |
Powerset (power management) -Send a drive reset command |
|
R |
T |
F |
Powerset (power management) -Render information about the status of the power set |
|
R |
T |
F |
Powerset (power management) -Render information about the enabled axes of a power set |
|
R |
T |
F |
Powerset (power management) -Render information about the faulted axes of a power set |
|
R |
T |
I |
Convert big endian qword (x64) to little endian qword (x64) |
|
qwbe2lef() |
R |
T |
F |
Convert big endian qword (x64) to little endian real (x64) |
R |
T |
I |
Convert dword exchange big endian qword (x64) to little endian qword (x64) |
|
R |
T |
F |
Convert dword exchange big endian qword (x64) to little endian real (x64) |
|
R |
T |
I |
Convert little endian qword (x64) to big endian qword (x64) |
|
R |
T |
I |
Convert little endian qword (x64) to dword exchange big endian qword (x64) |
|
R |
T |
I |
Convert little endian real (x64) to dword exchange big endian real (x64) |
|
R |
T |
I |
Convert little endian real (x64) to big endian qword (x64) |
|
R |
T |
I |
Convert little endian qword (x64) to middle big endian qword (x64) |
|
R |
T |
I |
Convert little endian qword (x64) to dword exchange middle big endian qword (x64) |
|
R |
T |
I |
Convert little endian real (x64) to dword exchange middle big endian qword (x64) |
|
R |
T |
I |
Convert little endian real (x64) to middle big endian qword (x64) |
|
R |
T |
I |
Convert middle big endian qword (x64) to little endian qword (x64) |
|
R |
T |
F |
Convert middle big endian qword (x64) to little endian real (x64) |
|
R |
T |
I |
Convert dword exchange middle big endian qword (x64) to little endian qword (x64) |
|
R |
T |
F |
Convert dword exchange middle big endian qword (x64) to little endian real (x64) |
|
R |
T |
I |
And logical bit to bit |
|
R |
T |
I |
Not logical bit to bit |
|
R |
T |
I |
Or logical bit to bit |
|
r_rol() |
R |
T |
F |
Left-hand rotation of the specified number of bits |
r_ror() |
R |
T |
F |
Rotation to the right of the specified number of bits |
r_shl() |
R |
T |
F |
Shift left of the specified number of bits |
r_shr() |
R |
T |
F |
Shift to the right of the specified number of bits |
R |
T |
I |
Or exclusive bit to bit |
|
r2m16() |
R |
T |
F |
Real to U16 conversion |
r2m32() |
R |
T |
F |
Real to U32 conversion |
r2m8() |
R |
T |
F |
Real to U8 conversion |
ramp() |
R |
T |
F |
Ramp the magnitude to a target value |
rand32() |
R |
T |
F |
Render a random number (i16) |
random() |
R |
T |
F |
Render a random number (i32) |
R |
T |
F |
Render a random number (real) |
|
range() |
R |
T |
F |
Render TRUE if the variable is in range |
R |
T |
F |
Scaling of a variable |
|
rbit() |
R |
T |
F |
Reset of bits in an integer variable |
R |
- |
I |
Start Block Reference within a rule |
|
R |
- |
I |
Special Rule |
|
release() |
R |
T |
F |
Release forced IO |
- |
T |
I |
Program breakpoint in case of live modification |
|
R |
T |
I |
Stop a function |
|
rise() |
R |
T |
F |
Catch the rising edge of a condition |
R |
T |
F |
Capture the rising edge of a condition filtered |
|
round() |
R |
T |
F |
Make the nearest integer |
rtc_date() |
R |
T |
F |
Set the date of the clock calendar |
rtc_time() |
R |
T |
F |
Set the time of the clock calendar |
R |
- |
I |
Rule definition |
|
R |
- |
I |
Special rule |
|
R |
T |
I |
Sample interval definition |
|
R |
- |
I |
Initialization rule (runs only at power on) |
|
R |
T |
I |
Run a rule at set frequency (low priority) |
|
R |
- |
I |
Special Rule |
|
R |
T |
F |
Set the value of the Application Acknowledge of a safety island |
|
R |
T |
F |
Returns the status of the Application Diagnostics of a safety island. |
|
R |
T |
F |
Return the diagnostic log of the desired satellite |
|
R |
T |
F |
Send a Diagnostic Reset to the selected satellite |
|
R |
T |
F |
Set the value of the selected island's output enable register |
|
R |
T |
F |
Impose an Operation Acknowledge on the selected satellite |
|
- |
T |
F |
Enable information regarding a safety project |
|
safe_sts() |
R |
T |
F |
Return the input/output safety status of the selected satellite |
R |
T |
F/I |
Return byte 0 of the argument with sign extension |
|
R |
T |
F/I |
Return byte 1 of the argument with sign extension |
|
R |
T |
F/I |
Return byte 2 of the argument with sign extension |
|
R |
T |
F/I |
Return byte 3 of the argument with sign extension |
|
R |
T |
F/I |
Return byte 4 of the argument with sign extension |
|
R |
T |
F/I |
Return byte 5 of the argument with sign extension |
|
R |
T |
F/I |
Return byte 6 of the argument with sign extension |
|
R |
T |
F/I |
Return byte 7 of the argument with sign extension |
|
sbit() |
R |
T |
F |
Set of bits in an integer variable |
R |
T |
F/I |
Return/write the dword 0 of the argument with sign extension |
|
R |
T |
F/I |
Return/write the argument's dword 1 with sign extension |
|
search() |
R |
T |
F |
Reserved |
R |
T |
I |
Select end_select construct |
|
R |
T |
F |
Function that renders the status of the last transmission made on the specified device |
|
R |
T |
F |
Initialize the serial for BCC3 communication between controls |
|
R |
T |
F |
Function to read a specified number of characters from the specified device |
|
R |
T |
F |
Send characters over the serial channel |
|
R |
T |
F |
Report whether there are characters on the serial channel |
|
R |
T |
F |
Number of free Bytes on TX buffer |
|
R |
T |
F |
Number of occupied Bytes on TX buffer |
|
R |
T |
I |
Set the parameters of the serial channel |
|
R |
T |
F |
Clean all data in the TX and RX buffers of the specified serial |
|
ser_in() |
R |
T |
F |
Receive the terminated string from serial |
ser_mod() |
R |
T |
F |
Set the working mode of the specified serial channel |
ser_out() |
R |
T |
F |
Send the terminated string to the serial |
R |
T |
F |
Read the status word from the serial |
|
R |
T |
F |
Report the presence of a terminated string on the serial |
|
R |
T |
I |
Set the status word of the serial |
|
set_i8() |
R |
T |
I |
Write a byte (i8) from a buffer at a specified offset |
set_u8() |
R |
T |
I |
Write a byte (u8) from a buffer at a specified offset |
set_i16() |
R |
T |
I |
Write a word (i16) from a buffer at a specified offset |
set_u16() |
R |
T |
I |
Write a word (u16) from a buffer at a specified offset |
set_i32() |
R |
T |
I |
Write a dword (i32) from a buffer at a specified offset |
set_u32() |
R |
T |
I |
Write a dword (u32) from a buffer at a specified offset |
set_i64() |
R |
T |
I |
Write a qword (i64) from a buffer at a specified offset |
set_u64() |
R |
T |
I |
Write a qword (u64) from a buffer at a specified offset |
R |
T |
I |
Write a float (x32) from a buffer to a specified offset |
|
R |
- |
F |
Impose kinematic quantities simultaneously |
|
set_real() |
R |
T |
I |
Write a real (x64) from a buffer at a specified offset |
R |
T |
I |
Let you write the software version of the application |
|
R |
T |
F |
Set the real state of the virtual inputs |
|
R |
T |
F |
Shift one bit to the left of the specified memory area |
|
R |
T |
F |
Shift one bit to the right of the indicated memory area |
|
shl() |
R |
T |
F |
Logical shift to the left |
shr() |
R |
T |
F |
Logical shift to the right |
sign() |
R |
T |
F |
Return the sign of the variable |
similar() |
R |
T |
F |
Compare two variables and determines if they are similar |
sin() |
R |
T |
F |
Sine |
sizeof() |
R |
T |
F |
Return the size of the variable |
soe_ridn() |
R |
T |
F |
Function to read parameters on SOE fieldbus |
soe_widn() |
R |
T |
F |
Function to write parameters to fieldbus SOE |
sqrt() |
R |
T |
F |
Perform square root |
R |
T |
F |
Perform statistics on the indicated variable |
|
str_asc() |
R |
T |
F |
Convert a character to a number |
str_chr() |
R |
T |
F |
Convert a number to a character |
R |
T |
F |
Compact spaces |
|
R |
T |
F |
Compare two strings |
|
str_find() |
R |
T |
F |
Search within a string |
R |
T |
F |
Format the string (sprintf) |
|
str_i() |
R |
T |
F |
Convert an integer numeric value to AscII |
R |
T |
F |
Insert within a string |
|
str_len() |
R |
T |
F |
Calculate the length of the string |
str_mid() |
R |
T |
F |
Take in the string |
str_r() |
R |
T |
F |
Convert a real numeric value to AscII |
R |
T |
F |
Substitute within a string |
|
str_val() |
R |
T |
F |
Render, in numeric format, a value contained in a string |
R |
T |
F |
Convert a string containing the IP to a numeric value |
|
R |
T |
F |
Save the specified NVRs in static memory |
|
R |
T |
F |
Save the NVRs specified in static memory |
|
sum8_mem() |
R |
T |
F |
Return the sum of n elements of a U8 array |
R |
T |
F |
Return the sum of n elements of an array of U16 |
|
R |
T |
F |
Return the sum of n elements of an array of U32 |
|
sumr_mem() |
R |
T |
F |
Return the sum of n elements of an array of real |
R |
T |
F/I |
Return/write the word 0 of the argument with the sign extension |
|
R |
T |
F/I |
Return/write the word 1 of the argument with the sign extension |
|
R |
T |
F/I |
Return/write the word 2 of the argument with the sign extension |
|
R |
T |
F/I |
Return/write the word 3 of the argument with the sign extension |
|
tan() |
R |
T |
F |
Tangent |
R |
T |
I |
Insert a terminator |
|
R |
T |
F |
Return the time in microseconds since the axis control was turned on |
|
R |
T |
F/I |
Read/set the timer time |
|
tm_int() |
R |
T |
I |
Integral timer |
R |
T |
F/I |
Read/set the timer preset |
|
R |
T |
F/I |
Read/set the second timer preset (timer square) |
|
tm_q() |
R |
T |
F |
Timer output (coil) |
tm_reset() |
R |
T |
I |
Reset the timer time (integral timer) |
tm_sqw() |
R |
T |
I |
Timer square wave |
tm_of() |
R |
T |
I |
Timer OFF |
tm_on() |
R |
T |
I |
Timer ON |
tm_tp() |
R |
T |
I |
Timer pulse |
tobcd() |
R |
T |
F |
Convert the value from binary to BCD |
tobin() |
R |
T |
F |
Convert value from BCD to binary |
todeg() |
R |
T |
F |
Convert value from radians to degrees |
tolower() |
R |
T |
F |
Convert one character to lower case |
torad() |
R |
T |
F |
Convert value from degrees to radians |
toupper() |
R |
T |
F |
Convert a character to uppercase |
tracking() |
R |
T |
F |
Bring the controlled magnitude to the specified target |
trunc() |
R |
T |
F |
Return the integer part of the argument |
R |
T |
F |
Open an udp client connection |
|
R |
T |
F |
Open an udp server connection |
|
R |
T |
F |
Close an udp connection |
|
udp_send() |
R |
T |
F |
Send an udp data packet |
R |
T |
F |
Send an udp data packet |
|
udp_recv() |
R |
T |
F |
Receive an udp data packet |
R |
T |
F |
Receive an udp data packet |
|
R |
T |
F |
Send an udp data packet with notification |
|
R |
T |
F |
Receive an udp data packet with notification |
|
virt_io() |
- |
T |
F |
Define a virtual I/O area |
R |
T |
F/I |
Read/write word 0 of the topic |
|
R |
T |
F/I |
Read/write word 1 of the topic |
|
R |
T |
F/I |
Read/write word 2 of the topic |
|
R |
T |
F/I |
Read/write word 3 of the topic |
|
wbe2le() |
R |
T |
F |
Convert big endian word (x16 or x32) to little endian word (x16) |
wle2be() |
R |
T |
F |
Convert little endian word (x16 or x32) to big endian word (x16) |
wbit() |
R |
T |
F |
Set/Reset bits to an integer variable |
R |
T |
I |
While end_while construct |
|
R |
T |
F |
Write a string to the 4*20 display |
|
R |
T |
I |
Logical or exclusive operator |