126
Laser Scanners
RF627, RF627Smart [Revision 2.1.2] 20.09.2021
33. Annex 7. "C-script" smart block
33.1. General information
The “C-script” smart block is intended for editing and executing custom scripts in
the C-like language “rfc”. The script is validated before execution - in case of errors,
information about them will be displayed in the script editor console. Interaction with other
smart blocks is carried out using the input and output dynamically created ports. Ports are
addressed by name, which can be set via the port context menu or in the editor.
Existing restrictions:
-
the preprocessor is implemented with restrictions, the directives “#define”, “#if”,
“#ifdef”, “#else”, “#endif” should be used with caution;
-
declaration of functions is only supported by the ANSI standard;
-
function pointers are not supported;
-
the following declarations are ignored: static, extern, volatile, register and auto;
-
structures and unions must be declared globally, bit fields are not supported.
A special editor is provided for creating and editing script texts:
The editor window is divided into the following areas:
1. Inputs and outputs of the smart block with specifying the I/O data type and name.
The user can change the name, taking into account that only ASCII characters
are allowed and the length of the name should not exceed 60 characters.
2. List of data types supported by the script.
3. List of special methods. By clicking on a method, its prototype will be inserted
into the script editor.
4. Editor theme, script validation and execution.
Содержание RF627 Series
Страница 1: ...Certified according to ISO 9001 2015 LASER SCANNERS User s manual RF627 Series RF627Smart Series...
Страница 9: ...RF627 RF627Smart Revision 2 1 2 20 09 2021 Laser Scanners 9 Figure 2 Figure 3...
Страница 50: ...50 Laser Scanners RF627 RF627Smart Revision 2 1 2 20 09 2021...
Страница 97: ...RF627 RF627Smart Revision 2 1 2 20 09 2021 Laser Scanners 97...