10.12.2012 Views

SIMPLORER User Manual V6.0 - FER-a

SIMPLORER User Manual V6.0 - FER-a

SIMPLORER User Manual V6.0 - FER-a

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8<br />

258 Using Signal Characteristics<br />

Event Triggered Calculation<br />

>>Basics>Signal Characteristics>General Parameters<br />

The macro block provides the values of two variables, calculated when two independent<br />

events (conditions) come true, and connecting them by an mathematical operation. Please<br />

note: The first event (condition) has to become true before the second. The first event (condition),<br />

must be true for beginning of timing; the second for end.<br />

VAL_IN1 = x( EVENT1)<br />

if EVENT1=TRUE<br />

VAL_IN2 = x( EVENT2)<br />

if EVENT2=TRUE<br />

VAL =<br />

f( x( EVENT1)<br />

, x( EVENT2)<br />

, VARIABLES)<br />

Dialog Settings<br />

«Input Signal»<br />

Enter a quantity name used in your model sheet in the text box to define the input signal<br />

(RLOAD.I, STEP.VAL, STATE.ST, VAR) or use the pin to connect a quantity. Please note: You<br />

cannot use conservative nodes from circuits as input signal (N0002, GND).<br />

� � «Use Pin»<br />

If the box is checked, the input signal is defined by the quantity connected to the pin, otherwise<br />

the value in the text box is used.<br />

«Event1»«Event2»<br />

Logical parameter type. Enter a numerical value, a variable, an expression in the text box.<br />

The expression is interpreted as TRUE if the provided value is '1'. Otherwise the value is<br />

FALSE. The expression must be compliant to the SML syntax rules. See also “Equations, Expressions,<br />

and Variables” on page 32.<br />

«Formula»<br />

Enter a mathematical expression in the text box. The expression must be compliant to the<br />

SML syntax rules. If you want to use the values at the event 1 and 2, you have to enter their<br />

qualifiers: Name.VAL_IN1 and Name.VAL_IN2. The value of the operation is provided as output<br />

when EVENT2 becomes true. See also “Qualifier of Parameters” on page 29.<br />

Component Parameters<br />

Description [Unit] Parameter Name Data Type<br />

Input Signal 1 for Measurement 1 INPUT1 real<br />

Input Signal 2 for Measurement 2 INPUT2 real<br />

Event 1 for Measurement 1 EVENT1 real<br />

Event 2 for Measurement 2 EVENT2 real<br />

Component Outputs<br />

Description [Unit] Parameter Name Data Type<br />

Input Signal 1 at Event 1 VAL_IN1 real<br />

Input Signal 2 at Event 2 VAL_IN2 real<br />

Calculation Result VAL real

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!