Working with logiCAD. LOYTEC L-GATE 900, 902, 95X, L-INX 100, 101, 110, 111, 200, 201, 210, 211, 102, 103, 112, 113, 202, 203, 212, 213, 12X, 15X, 22X
Advertentie
Advertentie
L-INX/L-GATE User Manual 62 LOYTEC
Figure 41: IEC61131 Project Files.
To attach an IEC61131 program or a logiCAD project select the file/folder to attach. The selected data will be attached automatically the project. It can be restored to disk by pressing the Restore to Disk button. During the development process the attached data may change several times. To update the attached data, located on the before provided path, press the Refresh button.
Every time a logiCAD project is successfully compiled, the file MBRTCode.so, the compiled IEC61131 program, is copied to the public directory of the device resource for which the program was compiled. Select this file to attach it to the project of the
Configurator. Note that the time and date of the file indicates the time of the last code generation. If logiCAD is not able to build a new program, the old file will not be deleted.
The project will be scanned for device resources and the available devices will be listed in the dropdown box called Device Config. Select the desired device and press the button
Attach Program to automatically attach the correct MBRTCode.so file.
6.4 Working with logiCAD
This section provides all necessary background information how to use the L-INX with logiCAD. For using the L-INX with logiCAD, a predefined project template for the L-INX must be used. Hence, when creating a new project, select the project template “Project for
LINX-110”, see Figure 42. For additional information how to create, delete and manage
projects please refer to the logiCAD online help.
LOYTEC electronics GmbH
L-INX/L-GATE User Manual 63 LOYTEC
Figure 42: L-INX specific extensions
Figure 42 shows the standard project for the L-INX including all LINX-specific extensions
for logiCAD. It shows the structure window showing the project structure on the left, an empty working area top right and the Error-state viewer on the bottom right side.
The structure window offers interfaces to the following features:
1. The folder Functionplans holds all the program types created within logiCAD.
‘Plan_1’ is the default plan to start with.
2. The folder LOYTEC/LINX-110 represents the LINX-110 device. The folder
LOYTEC represents a configuration containing one LINX-110 resource; please refer to the logiCAD online help for details. To run a program, located in the folder
Functionplans, a program instance of the corresponding function plan must be created.
In the standard LINX-110 template a program instance of the ‘Plan_1’ is already defined. To be able to transfer IEC61131 variables from the L-INX device to the
IEC61131 program a global variables object within the LINX-110 folder is required,
see Section 6.4.1 for details.
3. LogiCAD operates on variable types standardized in the IEC61131 standard. Look for
“Elementary and Generic Data Types” within the logiCAD online help to get information about the available data types. For those L-INX devices, which are intended to operate on structured NVs, appropriate type definitions for the NVs are required. These definitions are inside the folder CEA-709_Types. Additional NVs must be converted to data types that can be processed by logiCAD. Therefore
Technology Converters are supplied with the L-INX project, which perform this
conversion. See Section 6.4.3 for details.
blocks are required. These blocks are located within the Loytec_Support directory.
All LINX-specific add-ons are provided using function blocks. Hence, in the following, all samples are based on designs using function blocks.
LOYTEC electronics GmbH
Downloaden
Advertentie