Appendix B - function blocks
open the menu on the left:
select a category:
Table B.1 lists all AXER controller function blocks that can be used in Simultus. For a general description of the function blocks operation, see section 3.1.7.
Table B.1. Function block list.
ID |
Name |
Group |
Description |
Icon |
PLC |
SIM |
1 |
AND |
LOGIC |
Function that performs the operation of a multi-input AND gate |
|
+ |
+ |
2 |
OR |
LOGIC |
Function that performs the operation of a multi-input OR gate |
|
+ |
+ |
3 |
NOT |
LOGIC |
Function that performs the operation of the NOT gate |
|
+ |
+ |
4 |
NAND |
LOGIC |
Function that performs the operation of the NAND gate |
|
+ |
+ |
5 |
XOR |
LOGIC |
Function that performs the operation of the XOR gate |
|
+ |
+ |
6 |
NOR |
LOGIC |
Function that performs the operation of the NOR gate |
|
+ |
+ |
7 |
SR |
LOGIC |
Function that performs the operation of the SR trigger |
|
+ |
+ |
8 |
TOGG |
LOGIC |
Function that performs the operation of the "flip-flop" circuit |
|
+ |
+ |
9 |
PULSE |
LOGIC |
Function that reacts to the change of the signal state |
|
+ |
+ |
10 |
PLUP |
LOGIC |
Function that reacts to the signal's rising edge |
|
+ |
+ |
11 |
PLDWN |
LOGIC |
Function that reacts to the signal's falling edge |
|
+ |
+ |
12 |
CONTACT |
LOGIC |
Function that performs the operation of a normally open contact |
|
+ |
+ |
13 |
CONTACTUP |
LOGIC |
Function that performs the operation of the contact reacting to the rising edge |
|
+ |
+ |
14 |
CONTACTD |
LOGIC |
Function that performs the operation of the contact reacting to the falling edge |
|
+ |
+ |
15 |
NCCONTACT |
LOGIC |
Function that performs the operation of a normally closed contact |
|
+ |
+ |
16 |
STP |
LOGIC |
Function for executing sequence programs |
|
+ |
+ |
17 |
SET |
LOGIC |
Function that performs the operation of the coil that stores the state of a variable |
|
+ |
+ |
18 |
RST |
LOGIC |
Function that performs the operation of the coil resetting the variable state |
|
+ |
+ |
19 |
SETZ |
LOGIC |
Function that performs the operation of the coil that remembers the state of variables for subsequent 'n' devices |
|
+ |
+ |
20 |
RSTZ |
LOGIC |
Function that performs the operation of the variable resetting coil for subsequent 'n' devices |
|
+ |
+ |
26 |
SWITCH_B |
LOGIC |
Function that performs the operation of a multi-position switch |
|
+ |
+ |
27 |
SWITCH_I |
LOGIC |
Function that sends an integer value from one selected input to the output |
|
+ |
+ |
28 |
SWITCH_R |
LOGIC |
Function that outputs a floating-point value from one selected input to an output |
|
+ |
+ |
29 |
RS |
LOGIC |
Function that performs the operation of the RS trigger |
|
+ |
+ |
31 |
DELAY |
TIMERS AND COUNTERS |
Signal change delay function |
|
+ |
+ |
32 |
TIMER |
TIMERS AND COUNTERS |
Signal delay function |
|
+ |
+ |
33 |
HOLDT |
TIMERS AND COUNTERS |
Signal delay function with current state memory |
|
+ |
+ |
34 |
COUNT |
TIMERS AND COUNTERS |
Pulse counting function |
|
+ |
+ |
35 |
UDCTR |
TIMERS AND COUNTERS |
Pulse counting function with the option of decrementation |
|
+ |
+ |
36 |
DELAY_B |
TIMERS AND COUNTERS |
Signal change delay function with external change of the timer value |
|
+ |
+ |
37 |
TIMER_B |
TIMERS AND COUNTERS |
Signal delay function with external change of the timer value |
|
+ |
+ |
38 |
HOLDT_B |
TIMERS AND COUNTERS |
Signal delay function with external change of timer value and memory of the current state |
|
+ |
+ |
39 |
COUNT_B |
TIMERS AND COUNTERS |
Pulse counting function with external change of the counter value |
|
+ |
+ |
40 |
UDCTR_B |
TIMERS AND COUNTERS |
Pulse counting function with external change of counter value and option of decrementation |
|
+ |
+ |
41 |
TIME |
TIMERS AND COUNTERS |
Counting clock function in hh-mm-ss format |
|
+ |
+ |
45 |
TIMESET |
TIMERS AND COUNTERS |
Function that sets the time in the clock |
|
+ |
+ |
46 |
DATE |
TIMERS AND COUNTERS |
Function that returns a date |
|
+ |
+ |
49 |
DATESET |
TIMERS AND COUNTERS |
Function that sets the date |
|
+ |
+ |
50 |
MINSEC |
TIMERS AND COUNTERS |
Function that converts time from hours, minutes and seconds to minutes and seconds |
|
+ |
+ |
51 |
WEEK_DAY_CMP |
TIMERS AND COUNTERS |
Function that propagates the signal on selected days of the week |
|
+ |
+ |
61 |
MUL |
MATH |
Function that multiplies two numbers |
|
+ |
+ |
62 |
DIV |
MATH |
Function that divides two numbers |
|
+ |
+ |
63 |
ADD |
MATH |
Function that adds two numbers |
|
+ |
+ |
64 |
SUB |
MATH |
Function that subtracts of two numbers |
|
+ |
+ |
65 |
MULR |
MATH |
Function that multiplies two numbers |
|
+ |
+ |
66 |
DIVR |
MATH |
Function that divides two numbers |
|
+ |
+ |
67 |
ADDR |
MATH |
Function that adds two numbers |
|
+ |
+ |
68 |
SUBR |
MATH |
Function that subtracts of two numbers |
|
+ |
+ |
69 |
MIN |
MATH |
Function that returns the minimum value |
|
+ |
+ |
70 |
MAX |
MATH |
Function that returns the maximum value |
|
+ |
+ |
71 |
MEAN |
MATH |
Function that returns an average value |
|
+ |
+ |
72 |
GAIN |
MATH |
Function that performs multiplication by a constant |
|
+ |
+ |
73 |
ABS |
MATH |
Function that returns the absolute value of a number |
|
+ |
+ |
74 |
SIGN |
MATH |
Function that returns the sign of the actual value |
|
+ |
+ |
75 |
SQRT |
MATH |
Function that returns the square root of the absolute value of the input |
|
+ |
+ |
76 |
SQR |
MATH |
Function that returns a second power value from an input value |
|
+ |
+ |
77 |
POWER |
MATH |
Function that returns the power value of the input value with an exponent as a natural number |
|
+ |
+ |
78 |
LINEAR_FUNC |
MATH |
Function that returns the value of a linear function |
|
+ |
+ |
79 |
SQUARE_FUNC |
MATH |
Function that returns the value of a square function |
|
+ |
+ |
80 |
INC |
MATH |
Register increment function |
|
+ |
+ |
81 |
DEC |
MATH |
Register decrement function |
|
+ |
+ |
82 |
CMP |
MATH |
Function that compares two values of real variables |
|
+ |
+ |
83 |
ZCMP |
MATH |
Function that compares an input value to a set range |
|
+ |
+ |
84 |
SIN |
MATH |
Trigonometric sine function |
|
+ |
+ |
85 |
COS |
MATH |
Trigonometric cosine function |
|
+ |
+ |
86 |
TG |
MATH |
Trigonometric tangent function |
|
+ |
+ |
87 |
CTG |
MATH |
Trigonometric cotangent function |
|
+ |
+ |
88 |
ARCSIN |
MATH |
Trigonometric arc sine function |
|
+ |
+ |
89 |
ARCCOS |
MATH |
Trigonometric arccosine function |
|
+ |
+ |
90 |
ARCTG |
MATH |
Trigonometric arctangent function |
|
+ |
+ |
91 |
ARCCTG |
MATH |
Trigonometric arcus cotangent function |
|
+ |
+ |
92 |
INTEGRATOR |
MATH |
Function that integrates the input signal |
|
+ |
+ |
93 |
DERIVATIVE |
MATH |
Input signal derivative function |
|
+ |
+ |
94 |
PID |
MATH |
Function that performs the operation of the PID controller |
|
+ |
+ |
96 |
LIMITS |
MATH |
Function limiting the output value by upper and lower limits |
|
+ |
+ |
97 |
MINLIMIT |
MATH |
Function limiting the output value by a lower limit |
|
+ |
+ |
98 |
MAXLIMIT |
MATH |
Function limiting the output value by the upper limit |
|
+ |
+ |
111 |
WRITE_R |
I/O |
Function that writes values to a register with a specified number |
|
+ |
+ |
112 |
R |
I/O |
Function that reads a value from a register with a specified number |
|
+ |
+ |
113 |
WRITE_M |
I/O |
Function that writes values to a marker with a specified number |
|
+ |
+ |
114 |
M |
I/O |
Function that reads a value from a marker with a specified number |
|
+ |
+ |
115 |
X |
I/O |
Function that reads values from the physical input with a specified number |
|
+ |
|
116 |
Y |
I/O |
Function that writes values to the output with a specified number |
|
+ |
|
117 |
XCHG |
I/O |
Function that changes registry values |
|
+ |
+ |
118 |
MOVEREG |
I/O |
Function that copies registry value |
|
+ |
+ |
119 |
ANALOG_IN |
I/O |
Function that reads the value of an analog input with a specific number |
|
+ |
|
120 |
ANALOG_OUT |
I/O |
Function that writes the values to the analog output with the specified number |
|
+ |
|
121 |
CONST |
I/O |
Function that returns a constant real value |
|
+ |
+ |
122 |
BOOLCONST |
I/O |
Function that returns a constant value of the bool type |
|
+ |
+ |
124 |
PROCEDURE |
I/O |
Function that performs a procedure consisting of text commands |
|
+ |
+ |
125 |
REALTOINT |
DATA CONVERSION |
Function that converts a real value to an integer |
|
+ |
+ |
126 |
INTTOREAL |
DATA CONVERSION |
Function that converts an integer to a real value |
|
+ |
+ |
127 |
BOOLTOINT |
DATA CONVERSION |
Function that performs a bool-to-integer conversion |
|
+ |
+ |
128 |
INTTOBOOL |
DATA CONVERSION |
Function that performs an integer-to-bool conversion |
|
+ |
+ |
129 |
BITTOINT8 |
DATA CONVERSION |
Function that converts 8 bits to an integer value |
|
+ |
+ |
130 |
INTTOBIT |
DATA CONVERSION |
Function that converts an integer value to binary |
|
+ |
+ |
131 |
COIL |
I/O |
Function that performs the operation of a normally open coil |
|
+ |
+ |
132 |
COILNC |
I/O |
Function that performs the operation of a normally closed coil |
|
+ |
+ |
146 |
V_AXIS |
MOTION |
Function that reads the current motion parameters for a given virtual axis |
|
+ |
|
147 |
MOTOR_OUT |
MOTION |
Function that transmits the signal of the set speed of the servo drive to the analog output |
|
+ |
|
148 |
ENCODER_IN |
MOTION |
Function that reads the counter value of the selected encoder |
|
+ |
|
149 |
POSCONTROLLER |
MOTION |
Function that regulates the position of the servo drive |
|
+ |
|
150 |
STEP_DIR |
MOTION |
Step motor control function |
|
+ |
|
169 |
SCOPE |
I/O |
Function for sampling and saving the input signal waveforms |
|
+ |
+ |
173 |
GC_READ_LINE |
MOTION |
Function that reads a selected line from the G-Code file from the SD card or from the RAM memory |
|
+ |
|
174 |
GC_EXE_LINE |
MOTION |
Function that executes the last line of G-code read by the GC_READ_LINE block |
|
+ |
|
175 |
GC_USER_G_CODE |
MOTION |
Function that executes the user's G-code |
|
+ |
|
176 |
GC_MOVE_PREP |
MOTION |
Function that prepares the motion parameters for the current G-code related to the motion |
|
+ |
|
178 |
VECTOR |
MOTION |
Function that performs a motion with linear interpolation between 2 or 3 axes |
|
+ |
|
179 |
CIRCLE |
MOTION |
Function that performs a motion with circular interpolation between 2 axes |
|
+ |
|
183 |
ROBOT_EDU_KIN |
DEVICES |
Function that calculates simple kinematics of an educational robot |
|
+ |
+ |
184 |
ROBOT_EDU_INV_KIN |
DEVICES |
Function that calculates inverse kinematics of an educational robot |
|
+ |
+ |
185 |
TRANS_XYZ |
MOTION |
Function that performs a point shift in the Cartesian coordinate system |
|
+ |
+ |
186 |
ROT_X |
MOTION |
Function that rotates a point on the X axis in the Cartesian coordinate system |
|
+ |
+ |
187 |
ROT_Y |
MOTION |
Function that rotates a point on the Y axis in the Cartesian coordinate system |
|
+ |
+ |
188 |
ROT_Z |
MOTION |
Function that rotates a point on the Z axis in the Cartesian coordinate system |
|
+ |
+ |
189 |
MATRIX_TO_EULER |
DATA CONVERSION |
Function that calculates the Euler angles from the elements of the transformation matrix |
|
+ |
+ |
190 |
EULER_TO_MATRIX |
DATA CONVERSION |
Function that calculates the elements of a transformation matrix based on Euler's angles |
|
+ |
+ |
191 |
RAD_TO_DEG |
DATA CONVERSION |
Function that converts angle measures from radians to degrees |
|
+ |
+ |
192 |
DEG_TO_RAD |
DATA CONVERSION |
Function that converts angle measures from degrees to radians |
|
+ |
+ |
193 |
MODBUS_MASTER |
I/O |
Function that exchanges the indicated registers by means of the modbus protocol with the selected slave device on the RS485 bus |
|
+ |
|
194 |
MODBUS_SLAVE |
I/O |
Function that exchanges the indicated registers or markers by means of the modbus protocol with the master device on the RS485 bus |
|
+ |
|
195 |
MATRIX_START |
MOTION |
Function that creates a coordinate system at a selected point in space |
|
+ |
+ |
196 |
MODBUS_MASTER_B |
I/O |
Function that exchanges the indicated registers by means of the modbus protocol with the selected slave device on the RS485 bus |
|
+ |
|
197 |
MODBUS_SLAVE_B |
I/O |
Function that exchanges the indicated registers or markers by means of the modbus protocol with the master device on the RS485 bus |
|
+ |
|
500 |
VECTOR_T |
MOTION |
Linear interpolation block (VECTOR), trapezoidal characteristic |
|
+ |
|
10002 |
4S2A |
PLC |
PLC controller simulator |
|
|
+ |
10003 |
ROBOT_EDU |
DEVICES |
Educational robot visualization function |
|
|
+ |
10004 |
GAME_PAD |
I/O |
Function that retrieves data from the game pad |
|
|
+ |
10005 |
SLIDER |
I/O |
Function that performs the slider operation with the possibility of changing the value during the simulation |
|
|
+ |
10006 |
MOMENTARY_BUTTON |
I/O |
Function that performs the operation of the monostable button with the possibility of changing the value during the simulation |
|
|
+ |
10007 |
SWITCH_BUTTON |
I/O |
button block - switch with the possibility of changing the value during the simulation |
|
|
+ |
The function blocks are divided into groups (Fig. B.1.). Each group is located on a different tab of the Function Block Toolbox.