Table 26: Variables - Job 1 - Danfoss TFX Installation And Operation Manual

Table of Contents

Advertisement

5.2.3.4 Jobs
Every time a CAN message is received, jobs are performed
after mapping and before logging.
In the J
tab, con gure the calculation operations you
OB S
need for your job.
For the example con guration, you need two jobs with
the function C
P
AL CULATE
ARAMETER
function, you perform calculation operations and overwrite
interface variables with calculated values.
JOB 1
With the rst job, you check whether the current speed is
above or below the threshold value. If one of these two
cases applies, the V
U8 T
OLATILE
to the value 1. This triggers logging of the CAN message.
1. Select the J
tab.
OB S
2. In the C
URRENT
FUN CTION OF SELE CTE D
function C
P
AL CULATE
ARAMETER
3. In the R
list, select the trigger
ESULT
4. Using the buttons in the
enter the calculation operations (A < (B – C)) or (D >
(E + F)).
5. Click on button A.
INFORMATION
If you click on a placeholder (e.g. A), this opens the window
I
O
I
NPUT
PERAN D
NFORMATION
OR OPEN A NEW OPERATION
You can nd the allocation of the variables for this example
in the table below.
6. Click on the variable in the list that you want to
allocate the placeholder to.
7. Click on the
button when you have entered the
NEW
calculation operations completely.
Allocate the following variables to the placeholders:
Table 26: Variables – Job 1
Variable
Type
Name/value
A
S32
volatile S32 engine speed new
B
S32
volatile S32 engine speed old
V
F
. With this
ALUE
UN CTION
variable should be set
RIGGER
J
list, select the
OB
V
F
.
ALUE
UN CTION
U 8 T
VOLATILE
RIGGER
M
area,
ATHEMATI CS AN D LOGI C
.
TFX INSTALLATION AND OPERATION MANUAL
C
U16
D
S32
E
S32
F
U16
The buttons for entering the calculation operations have the
following functions:
Buttons
Description
C = clear: deletes the entire calculation operation
CE = clear entry: only deletes the last symbol entered
Add variables to the calculation operation.
Click on the button to open a window. Assign xed
values, interface variables, or device variables to the
variables. After you have de ned a variable, the display
on the button jumps to the next variable.
The selected variables are listed under
O
PERAN DS
Basic calculation types (addition, subtraction,
multiplication, division)
and = logical AND link
.
If all linked operands are true or not equal to zero, the
result is operation 1. otherwise, the result is operation 0.
or = logical OR link
If one of the linked operands is true or not equal to
zero, the result is operation 1. otherwise, the result is
operation 0.
If both linked variables are full-number values (integers),
the link is made by bits.
Comparison signs (equal to, smaller than, greater than,
not equal to, smaller or equal to, and larger or equal to)
The result is 1 when the comparison is true.
The result is 0 when the comparison is not true.
Brackets
Buttons for calculation operations
The calculation formulas are evaluated from left to right.
Mathematical priority rules are not observed.
De ne the priority calculations in the formula using brackets.
JOB 2
In the second job, you replace the value of the variable
V
S 32 E
S
OLATILE
NGINE
V
S 32 E
S
OLATILE
NGINE
U 8 T
has the value 1.
VOLATILE
RIGGER
This updates the speed from which the deviation should
be detected.
8. Select the JOBS tab.
9. In the C
URRENT
FUN CTION OF SELE CTE D JO B
function C
AL CULATE
10. In the R
list, select the trigger
ESULT
S
.
PEE D OL D
11. Using the buttons in the
enter the calculation operations ((A <> B) * C) + ((D =
E) * F).
12. Click on button A.
6046279-001
Operation
non-volatile U16 threshold value
volatile S32 engine speed new
volatile S32 engine speed old
non-volatile U16 threshold value
L
IST OF
, including their values and types.
NOTICE
with the value of the variable
PEE D OL D
as soon as the variable
PEE D NEW
list, select the
P
V
F
.
ARAMETER
ALUE
UN CTION
V
S32 E
OLATILE
M
L
ATHEMATI CS AN D
OGI C
March 2020
NGINE
area,
27

Advertisement

Table of Contents
loading

This manual is also suitable for:

102ec77300a102ec77302a102ec77301a

Table of Contents