Fields considered:
> S-function name
> S-function parameters P
Remarks:
>
The code generator will look for a file (in the model path) with the same name as the s-function name and a .plc extension. The contents of the file are included in the generated code. If the file does not exist, a template file will be written. The s-function behavior should be manually implemented in this file using the IEC 61131-3 Structured Text standard. In- and outputs are automatically setup.
Fields considered:
> M-file name
> Parameters P
Remarks:
>
The code generator will look for a file (in the model path) with the same name as the M-file name and a .plc extension. The contents of the file are included in the generated code. If the file does not exist, a template file will be written. The M-file behavior should be manually implemented in this file using the IEC 61131-3 Structured Text standard. In- and outputs are automatically setup.
Fields considered:
-
Remarks:
>
The built in M parser will try to translate the contained M function into an IEC 61131-3 Function Block.