Please enable JavaScript to view this site.

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

_else

R

T

I

Flow control instruction

_if

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

alarm_reset()

R

T

F

Reset an alarm

alarm_reset_par()

R

T

F

Reset an alarm by also specifying the parameter

alarm_set()

R

T

F

Set an alarm

and

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

aux

R

-

I

Start block AUX in the RULE

axes

R

-

I

Definition of axes involved in the RULE (constant)

axes_m

R

-

I

Definition of axes involved in hte RULE (mask)

axio_robj()

R

T

F

Function to read objects on fieldbus axioline

axio_wobj()

R

T

F

Function to write objects to axioline fieldbus

b0() / b0()

R

T

F/I

Reads/writes byte 0 of the argument

b1() / b1()

R

T

F/I

Reads/writes byte 1 of the argument

b2() / b2()

R

T

F/I

Reads/writes byte 2 of the argument

b3() / b3()

R

T

F/I

Read/write byte 3 of the argument

b4() / b4()

R

T

F/I

Read/write byte 4 of the argument

b5() / b5()

R

T

F/I

Read/write byte 5 of the argument

b6() / b6()

R

T

F/I

Read/Write byte 6 of the topic

b7() / b7()

R

T

F/I

Reads/writes byte 7 of the argument

bcc_get_double()

R

T

F

Reads a double from a BCC_MSGUSER structure

bcc_get_float()

R

T

F

Reads a float from a BCC_MSGUSER structure

bcc_get_i16()

R

T

F

Reads an i16 from a BCC_MSGUSER structure

bcc_get_i32()

R

T

F

Reads an i32 from a BCC_MSGUSER structure

bcc_get_i8()

R

T

F

Reads an i8 from a BCC_MSGUSER structure

bcc_get_string()

R

T

F

Reads a string from a BCC_MSGUSER structure

bcc_get_tcp_clients_info()

R

T

F

Reads an i32 from a STRU_BCC_TCP_CLIENT structure.

bcc_get_u16()

R

T

F

Reads a u16 from a BCC_MSGUSER structure

bcc_get_u32()

R

T

F

Reads a u32 from a BCC_MSGUSER structure

bcc_get_u8()

R

T

F

Reads a u8 from a BCC_MSGUSER structure

bcc_h_setup()

R

T

F

Prepares the structure for the response

bcc_receive()

R

T

F

Receives a BCC3 packet

bcc_reply_ack()

R

T

F

Sends positive response to received message

bcc_reply_msg()

R

T

F

Sends response to message received

bcc_reply_nack()

R

T

F

Sends negative response to message received

bcc_send()

R

T

F

Sends a BCC3 packet

bcc_set_double

R

T

I

Writes a double into a BCC_MSGUSER structure

bcc_set_float

R

T

I

Writes a float into a BCC_MSGUSER structure

bcc_set_i16

R

T

I

Writes an i16 into a BCC_MSGUSER structure

bcc_set_i32

R

T

I

Writes an i32 in a BCC_MSGUSER structure.

bcc_set_i8

R

T

I

Writes an i8 into a BCC_MSGUSER structure.

bcc_set_string

R

T

I

Writes a string to a BCC_MSGUSER structure

bcc_set_u16

R

T

I

Writes a u16 into a BCC_MSGUSER structure

bcc_set_u32

R

T

I

Writes a u32 in a BCC_MSGUSER structure

bcc_set_u8

R

T

I

Writes a u8 into a BCC_MSGUSER structure.

bit_mask_add

-

-

I

Adds an hexadecimal value to a variable of type INT

bit_mask_remove

-

-

I

Subtracts an hexadecimal value from a variable of type INT

bit_mask_set

-

-

I

Initializes a variable of type INT to an hexadecimal value

break

R

T

I

Exits a selection block

call

R

T

I

Call of a subprogram

case

R

T

I

SELECT construct

check_mv_follow2()

R

T

F

Controls whether the function mv_follow2() can be executed

check_mva_follow2()

R

T

F

Controls whether the function mva_follow2() can be executed

check_mva_follow2_m()

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

co_statusword()

R

T

F

Returns the contents of the status word of the indicated workstation

co_asw_sdo()

R

T

F

Returns the response to the previous function co_send_sdo()

co_controlword_state()

R

T

F

Function to make transitions in the DS 402 state machine

co_controlword_om()

R

T

F

Function to write some bits of the controlword

co_get_ws_diagno()

R

T

F

Function to read status information from the indicated workstation

co_par_download()

-

T

F

Function to load parameters to the drive by reading them from control CF

co_par_upload()

-

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

co_send_sdo()

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)

cond_val

R

T

I

Simplified IF-THEN-ELSE construct

continue

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

Deprecated. Use crc16_be() / crc16_le()

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

ct_cv() / ct_cv()

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

ct_pv() / ct_pv()

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

default

R

T

I

SELECT construct

delta_enc16()

R

T

F

Calculates the difference of two 16-bit quantities by handling the unwrapping

delta_enc32()

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

do

R

T

I

DO cycle

dw0() / dw0()

R

T

F/I

Reads/writes Dword 0 of the argument

dw1() / dw1()

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)

dwell

-

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)

dwle2mbef()

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)

dwle2mlef()

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)

dwmbe2lef()

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)

ecat_dev_on_off()

-

T

F

Enables/disables a device on EtherCAT line

ecat_get_state()

R

T

F

Reads the status of the EtherCAT line

ecat_probe()

-

T

F

Reads the information of a device on EtherCAT line

ecat_set_state()

R

T

F

Imposes the state of the EtherCAT line

else

R

T

I

IF block alternative choice

end_aux

R

-

I

End block AUX

end_for

R

T

I

End FOR cycle

end_fun

R

T

I

End function

end_motion

R

-

I

End block MOTION

end_ref

R

-

I

End block REF

end_rule

R

-

I

End rule

end_select

R

T

I

End SELECT construct

end_while

R

T

I

End WHILE construct

end_do_while

R

T

I

End DO construct

endif

R

T

I

End IF construct

exl_lam()

R

T

F

Show included/excluded logical axes of a powerset

excl_lam

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

excl_pam

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

f_read_table()

-

T

F

Reads from flash an ascii file and loads the values in it into variables

f_read_table_s()

-

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

fall_filt()

R

T

F

Captures the falling edge of a condition filtered

fill_mem

R

T

I

Allows an area of memory to be initialized

filter_lp()

R

-

F

Low-pass filter on variable

filter_lp_st()

R

-

F

Low-pass filter on the variable that can be used in a for loop

filter_notch()

R

-

F

Notch filter on the variable

filter_notch_st()

R

-

F

Low-pass filter on the variable usable in a for loop

first_time()

R

-

F

Run only the first time the rule is activated

for

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

get_float()

R

T

F

Read a float (x32) from a buffer at a specified offset

get_hw_info

-

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

get_virt_ow()

R

T

F

Read the real state of virtual outputs

goto

R

T

I

Label jump instruction

group

R

T

I

Activate the rule executors

gv_create()

-

T

F

Create a new global variable. Create the information in memory and, if necessary, in retentive memory

gv_datatype()

R

T

F

Get the type of a global variable

gv_datatype_byname()

R

T

F

Get the type of a global variable

gv_destroy()

-

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

gv_flags_byname()

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

gv_read_partial()

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

gv_size_byname()

R

T

F

Get the size of a global variable defined by name

gv_unlink()

R

T

F

Remove the interface connection to a global variable

gv_unlock()

R

T

F

Unlock global variable access-access is then allowed by all interfaces

gv_update_file()

-

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

gv_write_partial()

R

T

F

Partially update the value of the global variable with the value of the associated local variable via the interface

if

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

inf_report

R

T

I

Enable inserting a piece of information into the report

int_after

R

T

I

Enable asynchronous delayed rule on event

int_inp

R

T

I

Enable asynchronous rule on interrupting input variation

int_timer

R

T

I

Enable asynchronous rule on fixed frequency

ipaddr_to_str()

R

T

F

Convert a numeric value to a string containing the IP

is_alarm_present()

R

T

F

Check the presence of the alarm and parameter in the stack

is_alarm_par_present()

R

T

F

Verify the presence of the alarm in the stack

is_forced()

R

T

F

Verify forced IO

lit

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

loop_time()

R

T

F

Calculate the time duration between two successive calls

master_filter()

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

mbc_mask_write_reg()

-

T

F

Write registers with mask

mbc_mask_write_reg_s()

-

T

F

Write registers with mask via support structure

mbc_read_coils()

-

T

F

Read coils

mbc_read_coils_s()

-

T

F

Read coils with support structure

mbc_read_discr_inp()

-

T

F

Read discrete inputs

mbc_read_discr_inp_s()

-

T

F

Read discrete inputs with support structure

mbc_read_hold_reg()

-

T

F

Read holding registers

mbc_read_hold_reg_s()

-

T

F

Reading holding registers with support structure

mbc_read_inp_reg()

-

T

F

Reading input registers

mbc_read_inp_reg_s()

-

T

F

Read input registers with holding structure

mbc_write_coils()

-

T

F

Write coils

mbc_write_coils_s()

-

T

F

Write coils using support structure

mbc_write_multiple_coils()

-

T

F

Write coils using Modbus function code of multiple corresponding writes

mbc_write_multiple_coils_s()

-

T

F

Write coils via support structure using Modbus function code of multiple corresponding writes

mbc_write_multiple_regs()

-

T

F

Write registers using Modbus function code of multiple corresponding writes

mbc_write_multiple_regs_s()

-

T

F

Write registers via backing structure using Modbus function code of multiple corresponding writes

mbc_write_reg()

-

T

F

Write registers

mbc_write_reg_s()

-

T

F

Write registers via support structure

mbcu_mask_write_reg()

-

T

F

Write registers with mask by specifying the unitID

mbcu_read_coils()

-

T

F

Read coils by specifying the unitID

mbcu_read_discr_inp()

-

T

F

Read discrete inputs specifying the unitID

mbcu_read_hold_reg()

-

T

F

Read holding registers specifying the unitID

mbcu_read_inp_reg()

-

T

F

Read input registers specifying the unitID

mbcu_write_coils()

-

T

F

Write coils by specifying the unitID

mbcu_write_multiple_coils()

-

T

F

Write coils specifying the unitID using Modbus function code of the corresponding multiple writes

mbcu_write_multiple_regs()

-

T

F

Write registers specifying the unitID using Modbus function code of the corresponding multiple writes

mbcu_write_reg()

-

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

mot_append()

R

T

F

Function for MOT (multiple output table) management

mot_clear()

R

T

F

Function for MOT management (multiple output table)

mot_create()

R

T

F

Function for MOT handling (multiple output table)

mot_delete()

R

T

F

Function for MOT management (multiple output table)

mot_get()

R

T

F

Function for MOT management (multiple output table)

mot_remove()

R

T

F

Function for MOT management (multiple output table)

motion

R

-

I

Start block motion within a rule

move_byte

R

T

I

Copy a memory zone

move_mem

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

mt_dis

-

T

I

Enable the execution of a task (time-sharing)

mt_en

-

T

I

Disables the execution of a task (time-sharing)

mt_rr_flag

-

T

I

Send an infinite OB into execution (loop)

mt_wait

-

T

I

Put a TASK on hold

mv_cam()

R

-

F

Execute a cubic cam for traits a,b,c)

mv_crimper()

R

-

F

Crimper function for flow-pack

mv_follow()

R

-

F

Cut on the fly (follow2 recommended)

mv_follow2()

R

-

F

Cut on the fly (master and slave not associated with an axis)

mv_mot_exec()

R

T

F

Interpolation function using MOT table (multiple output table)

mv_phase_adj()

R

-

F

Phase correction between two axes

mv_phase_adj2()

R

-

F

Phase correction between two axes

mv_ramp()

R

-

F

Deprecated. Use ramp()

mv_reach_target()

R

-

F

Hooking between two axes

mv_sine_cam()

R

-

F

Run a cam (y as a function of x)

mv_synchro()

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

mv_to_cjv()

R

-

F

Movement toward a target with controlled jerk

mv_to_cjv_info()

R

T

F

Support function to mv_to_cjv()

mv_to_vel()

R

-

F

Movement toward a target with a specified final velocity

mv_tracking()

R

-

F

Deprecated. Use tracking()

mva_follow2()

R

-

F

Cut on the fly (only slave associated with an axis)

mva_follow2_m()

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)

mva_open_loop()

R

-

F

Ring opening

mva_to_n()

R

-

F

Movement to a target with multiple axes

mva_to_n_cj()

R

-

F

Movement toward a target with multiple axes

mva_to_n_v()

R

-

F

Movement toward a target with multiple axes also already in motion

mva_zc()

R

-

F

Homing movement

normalize()

R

T

F

Returns normalized value between 0 and 1

not

R

T

I

Logic operator not

onoff_filt()

R

T

F

Captures the filtered rising and falling edges of a condition

or

R

T

I

Logic operator or

order

R

T

I

Set the order of execution of rule executors

out_m

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

planar_comp_ip()

R

-

F

Function that applies direct position compensation table

planar_comp_cp()

R

-

F

Function that applies the inverse position compensation table

pos_capture_cmd()

R

T

F

Function to hardware capture the dimension of an axis

pos_capture_sts()

R

T

F

Support function to hardware capture the height of an axis

pow()

R

T

F

Power elevation

ps_exclude_lax()

R

T

F

Exclude the logical axes of a powerset

ps_exclude_pax()

R

T

F

Exclude the physical axes of a powerset

ps_reinclude_lax()

R

T

F

Include the logical axes of a powerset

ps_reinclude_pax()

R

T

F

Include the physical axes of a powerset

ps_power_enable()

R

T

F

Powerset (power management) -Enable the power of the powerset

ps_channel_enable()

R

T

F

Powerset (power management) -Enable the axes of the power set

ps_channel_reset_fault()

R

T

F

Power set (power management) -Send an alarm reset command

ps_drive_reset()

R

T

F

Powerset (power management) -Send a drive reset command

ps_status()

R

T

F

Powerset (power management) -Render information about the status of the power set

ps_channel_enabled()

R

T

F

Powerset (power management) -Render information about the enabled axes of a power set

ps_channel_fault()

R

T

F

Powerset (power management) -Render information about the faulted axes of a power set

qwbe2le

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)

qwbedwx2le

R

T

I

Convert dword exchange big endian qword (x64) to little endian qword (x64)

qwbedwx2lef()

R

T

F

Convert dword exchange big endian qword (x64) to little endian real (x64)

qwle2be

R

T

I

Convert little endian qword (x64) to big endian qword (x64)

qwle2bedwx

R

T

I

Convert little endian qword (x64) to dword exchange big endian qword (x64)

qwle2bedwxf

R

T

I

Convert little endian real (x64) to dword exchange big endian real (x64)

qwle2bef

R

T

I

Convert little endian real (x64) to big endian qword (x64)

qwle2mbe

R

T

I

Convert little endian qword (x64) to middle big endian qword (x64)

qwle2mbedwx

R

T

I

Convert little endian qword (x64) to dword exchange middle big endian qword (x64)

qwle2mbedwxf

R

T

I

Convert little endian real (x64) to dword exchange middle big endian qword (x64)

qwle2mbef

R

T

I

Convert little endian real (x64) to middle big endian qword (x64)

qwmbe2le

R

T

I

Convert middle big endian qword (x64) to little endian qword (x64)

qwmbe2lef()

R

T

F

Convert middle big endian qword (x64) to little endian real (x64)

qwmbedwx2le

R

T

I

Convert dword exchange middle big endian qword (x64) to little endian qword (x64)

qwmbedwx2lef()

R

T

F

Convert dword exchange middle big endian qword (x64) to little endian real (x64)

r_and

R

T

I

And logical bit to bit

r_not

R

T

I

Not logical bit to bit

r_or

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_xor

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)

random_value()

R

T

F

Render a random number (real)

range()

R

T

F

Render TRUE if the variable is in range

range_adj()

R

T

F

Scaling of a variable

rbit()

R

T

F

Reset of bits in an integer variable

ref

R

-

I

Start Block Reference within a rule

ref_prologue()

R

-

I

Special Rule

release()

R

T

F

Release forced IO

restart_point

-

T

I

Program breakpoint in case of live modification

return

R

T

I

Stop a function

rise()

R

T

F

Catch the rising edge of a condition

rise_filt()

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

rule

R

-

I

Rule definition

rule_epilogue

R

-

I

Special rule

rule_freq

R

T

I

Sample interval definition

rule_init

R

-

I

Initialization rule (runs only at power on)

rule_periodic

R

T

I

Run a rule at set frequency (low priority)

rule_prologue

R

-

I

Special Rule

safe_appl_ack()

R

T

F

Set the value of the Application Acknowledge of a safety island

safe_appl_diag()

R

T

F

Returns the status of the Application Diagnostics of a safety island.

safe_diag()

R

T

F

Return the diagnostic log of the desired satellite

safe_diag_reset()

R

T

F

Send a Diagnostic Reset to the selected satellite

safe_enab_out()

R

T

F

Set the value of the selected island's output enable register

safe_oper_ack()

R

T

F

Impose an Operation Acknowledge on the selected satellite

safe_prj_info()

-

T

F

Enable information regarding a safety project

safe_sts()

R

T

F

Return the input/output safety status of the selected satellite

sb0() / sb0()

R

T

F/I

Return byte 0 of the argument with sign extension

sb1() / sb1()

R

T

F/I

Return byte 1 of the argument with sign extension

sb2() / sb2()

R

T

F/I

Return byte 2 of the argument with sign extension

sb3() / sb3()

R

T

F/I

Return byte 3 of the argument with sign extension

sb4() / sb4()

R

T

F/I

Return byte 4 of the argument with sign extension

sb5() / sb5()

R

T

F/I

Return byte 5 of the argument with sign extension

sb6() / sb6()

R

T

F/I

Return byte 6 of the argument with sign extension

sb7() / sb7()

R

T

F/I

Return byte 7 of the argument with sign extension

sbit()

R

T

F

Set of bits in an integer variable

sdw0() / sdw0()

R

T

F/I

Return/write the dword 0 of the argument with sign extension

sdw1() / sdw1()

R

T

F/I

Return/write the argument's dword 1 with sign extension

search()

R

T

F

Reserved

select

R

T

I

Select end_select construct

ser_485_tx_sts()

R

T

F

Function that renders the status of the last transmission made on the specified device

ser_bcc_h_init()

R

T

F

Initialize the serial for BCC3 communication between controls

ser_bin_in()

R

T

F

Function to read a specified number of characters from the specified device

ser_bin_out()

R

T

F

Send characters over the serial channel

ser_bin_ready()

R

T

F

Report whether there are characters on the serial channel

ser_buff_free()

R

T

F

Number of free Bytes on TX buffer

ser_buff_queue()

R

T

F

Number of occupied Bytes on TX buffer

ser_con

R

T

I

Set the parameters of the serial channel

ser_flush()

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

ser_r_sts()

R

T

F

Read the status word from the serial

ser_ready()

R

T

F

Report the presence of a terminated string on the serial

ser_w_sts()

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

set_float()

R

T

I

Write a float (x32) from a buffer to a specified offset

set_kinematics()

R

-

F

Impose kinematic quantities simultaneously

set_real()

R

T

I

Write a real (x64) from a buffer at a specified offset

set_version()

R

T

I

Let you write the software version of the application

set_virtual_iw()

R

T

F

Set the real state of the virtual inputs

shift_left()

R

T

F

Shift one bit to the left of the specified memory area

shift_right()

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

statistics()

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

str_compact()

R

T

F

Compact spaces

str_equal()

R

T

F

Compare two strings

str_find()

R

T

F

Search within a string

str_format()

R

T

F

Format the string (sprintf)

str_i()

R

T

F

Convert an integer numeric value to AscII

str_insert()

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

str_replace()

R

T

F

Substitute within a string

str_val()

R

T

F

Render, in numeric format, a value contained in a string

str_to_ipaddr()

R

T

F

Convert a string containing the IP to a numeric value

store_nvr_nopf()

R

T

F

Save the specified NVRs in static memory

store_nvrr_nopf()

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

sum16_mem()

R

T

F

Return the sum of n elements of an array of U16

sum32_mem()

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

sw0() / sw0()

R

T

F/I

Return/write the word 0 of the argument with the sign extension

sw1() / sw1()

R

T

F/I

Return/write the word 1 of the argument with the sign extension

sw2() / sw2()

R

T

F/I

Return/write the word 2 of the argument with the sign extension

sw3() / sw3()

R

T

F/I

Return/write the word 3 of the argument with the sign extension

tan()

R

T

F

Tangent

terminator

R

T

I

Insert a terminator

time_micro()

R

T

F

Return the time in microseconds since the axis control was turned on

tm_et() / tm_et()

R

T

F/I

Read/set the timer time

tm_int()

R

T

I

Integral timer

tm_pt() / tm_pt()

R

T

F/I

Read/set the timer preset

tm_pt2() / tm_pt2()

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

udp_open_client()

R

T

F

Open an udp client connection

udp_open_server()

R

T

F

Open an udp server connection

udp_close()

R

T

F

Close an udp connection

udp_send()

R

T

F

Send an udp data packet

udp_send_to()

R

T

F

Send an udp data packet

udp_recv()

R

T

F

Receive an udp data packet

udp_recv_from()

R

T

F

Receive an udp data packet

udp_send_notify()

R

T

F

Send an udp data packet with notification

udp_recv_notify()

R

T

F

Receive an udp data packet with notification

virt_io()

-

T

F

Define a virtual I/O area

w0() / w0()

R

T

F/I

Read/write word 0 of the topic

w1() / w1()

R

T

F/I

Read/write word 1 of the topic

w2() / w2()

R

T

F/I

Read/write word 2 of the topic

w3() / w3()

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

while

R

T

I

While end_while construct

write_dis()

R

T

F

Write a string to the 4*20 display

xor

R

T

I

Logical or exclusive operator

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC