Descargar Imprimir esta página

MSG Equipment MS005 Manual De Usuario página 46

Publicidad

Idiomas disponibles
  • MX

Idiomas disponibles

  • MEXICANO, página 153
English
Test bench MS005/MS005A
Another example:
#sOutputText="Starting
OutputText and assign the value "Starting operation" as text.
With numeric types, you can also perform standard mathematical operations (addition,
subtraction, multiplication, division). For example:
#fNormalCurrent=10
#fCurrent=13.7
#fCurrent=#fCurrent - #fNormalCurrent
Here, we declared two numeric variables and assigned the difference of one of them to the
other.
There are also several built-in variables (constants) in the language;
#iAlternatorCurrent
#iAlternatorVoltage
#bMotorDirection
– the name of the test bench;
#sTesterName
#sAlternatorNumber
#sAtlernatorType
– current time;
#sCurrentTime
- current date;
#sCurrentDate
#fPulleyDiameter
– the name of the company conducting the test (set in the settings);
#sDiagnosedBy
– contacts (set in the settings);
#sContacts
– information on whether the "S" terminal is used: 0 – off, 1 - on;
#sIsSense
– information on whether the "15" terminal is used: 0 – off, 1 - on;
#sIsIgnition
#sInputPinType
The
conditional construct directs the program's flow down one of the possible paths
if-else
depending on a condition. It checks the truth of the condition and, if true, executes a block of
instructions. In its simplest form, the
If(condition)
Else
End If
Let's consider an example of using this operator:
If(#sIsSense="True")
#sIsSense="False"
46
– current of the selected alternator;
– current of the selected alternator;
– motor direction for rotation;
– the article number of the selected alternator from the database;
– the type of the alternator;
– the diameter of the selected alternator's pulley;
– the type of the "FR" terminal.
1.2. Conditional statement
if construct
operation". Here, we declare a string value named
has the following abbreviated form:

Publicidad

loading

Productos relacionados para MSG Equipment MS005

Este manual también es adecuado para:

Ms005a