
TU RS485/ETH serie
CD Automation srl
24
Add
Calculates the sum of two values
Calculates the sum between an Internal Register and a constant or between two Internal Registers.
Variables:
Source A
Constant or Internal Register relative to the first operator.
Source B
Constant or Internal Register relative to the second operator.
Dest
Internal Register wherein the result is written.
Sub
Calculates the difference of two values
Calculates the difference between an Internal Register and a constant or between two Internal Registers.
Variables:
Source A
Constant or Internal Register relative to the first operator.
Source B
Constant or Internal Register relative to the second operator.
Dest
Internal Register wherein the result is written.
Mult
Calculates the multiplication of two values
Calculates the multiplication between an Internal Register and a constant or between two Internal Registers.
Variables:
Source A
Constant or Internal Register relative to the first operator.
Source B
constant or Internal Register relative to the second operator.
Dest
Internal Register wherein the result is written.
Rotate L
Rotates to left the bits of a Register.
Executes the rotation of a Register to left: all of the bits are shifted of N positions to left. At each shift the least
significant bit receives the value of the most significant bit.
Variables:
Source
Internal Register containing the value
N
Number of shift to execute.
Dest
Internal Register wherein the result is written.
Rotate R
Rotates to right the bits of a Register.
Executes the rotation of a Register to right: all of the bits are shifted of N positions to right. At each shift the
most significant bit receives the value of the least significant bit.
Variables:
Source
Internal Register containing the value.
N
Number of shift to execute.
Dest
Internal Register wherein the result is written.