Moog ACV with CANopen bus interface
7 Servo valve functions
Data logger
B99224-DV018-D-211, Rev. A, October 2018
252
7.16.2 Event handler examples
The following three simple examples explain the event handler behavior. For many event handler tasks, buffer
parameters are needed. The parameters with the short names varu[…], vars[…], dumu[…] and dums[…] are
reserved for these tasks.
Chapter "6.10 Free to use parameters", page 122
Example 1:
varu32[1]=varu32[1]+1;splset=varu32[1]*5
• Calculations are processed every main task cycle (no condition).
• Increase varu32[1] by one.
• Calculates the spool position setpoint value as five times the varu32[1] variable.
Example 2:
splval>10000?splset=0:(splval<1000?splset=11000)
• Two separate events in one expression using a semicolon as separator.
• Spool setpoint value is only changed if the spool position actual value meets the condition splval greater
10000 or smaller 1000.
Example 3:
Expression 1 <EventExpression_1> (0x2901):
prsval>10000?ctlmod=4;evtena[0]=0;evtena[1]=1
Expression 2 <EventExpression_2> (0x2902):
posset<1000?ctlmod=9;evtena[0]=1;evtena[1]=0
• Expressions can disable themselves and activate other expressions.
• Expression 1 activates pressure control.
• Expression 2 activates spool position control.
• evtena[0] enables event expression 1, evtena[1] enables event expression 2, etc.
Example 4:
Combination of example 1 and example 2:
splval>10000?splset=0:(splval<1000?splset=11000)' varu32[1]=varu32[1]+1
• If-then-else in combination with permanently expression.
• Two separate events in one expression using a semicolon as separator.
- Spool setpoint value is only changed if the spool position actual value meets the condition splval
greater 10000 or smaller 1000.
• Terminate If-then-else-if condition with '.
• Additional expression which is executed permanently to increase varu32[1] by one.
7.17 Data logger
The data logger is a four channel oscilloscope to trace the parameters inside the servo valve. The parameters
which are monitored can be chosen. The trigger condition, pre trigger, trigger level, slopes and scaling can be
set. The servo valve contains a 2 Kbytes volatile data memory which can be used to sample the data. The
data can be downloaded at any time.