Produkte » Produkte
Beispiel-Scripts
Kategorie: Math
| Convert_PrintfANSI_C | |
|---|---|
Use this command if you like to change its data format. It is possible to convert 3 bytes ASCII to a binary word value or vice versa.
All known conversion types are usable either for source and for destination, so data conversion is possible from every data representation to another.
|
| example_ASCII_IP | |
|---|---|
This script demonstrates the conversion of a buffer containing an IP-address as an ASCII-String into an Long variable.
This long variable could be used whereever an IP-address is necessary.
|
| example_CalcChecksum | |
|---|---|
This command calculates a checksum with the given method for a number of bytes in the device's memory.
The variable source is a buffer containing the data the checksum should be calculated for. Destination is a word variable which holds the checksum after the routine finishes with return code OK. The number of characters is a variable which holds the number of bytes the checksum should be calculated for. Checksum method defines which method should be used for calculation.
|
| example_Calculate | |
|---|---|
This command is used for assigning the result of a mathematical or logical operation of exactly two operators to a given variable.
|
| example_Convert | |
|---|---|
Use this command if you like to change its data format. It is possible to convert 3 bytes ASCII to a binary word value or vice versa.
All known conversion types are usable either for source and for destination, so data conversion is possible from every data representation to another.
|
| example_float_math | |
|---|---|
This command is used for calculating floating values.
|
| example_math_conv_ASCII_Dyn | |
|---|---|
Use this command if you like to change its data format. It is possible to convert 3 bytes ASCII to a binary word value or vice versa.
All known conversion types are usable either for source and for destination, so data conversion is possible from every data representation to another.
|
| example_math_conv_float_real | |
|---|---|
Use this command if you like to change its data format. It is possible to convert 3 bytes ASCII to a binary word value or vice versa.
All known conversion types are usable either for source and for destination, so data conversion is possible from every data representation to another.
|
| example_Printf_ANSI_C | |
|---|---|
Convert a long or float value into a "printf" string from the standard ANSI_C compiler
|
| SignedIntToFloat | |
|---|---|
Convert a signed word value into float.
|