A53 Z0 9 0020 L En Technical documentation
Chapter : Text file & PLC
INIT equations are only run once by the PLC when it is powered on. They won’t be run again until power
supply is switched OFF and ON again. INIT blocks are typically used to set the initialization values of
outputs, timers or counters associated to custom equations or custom parameters.
For further details on the programming language see §14.4.
14.3.6
Equation definition blocks
The beginning of these blocks is shown by the statements "{EQUATIONS L1}", "{EQUATIONS L2}",
depending on the level of access (1st level password or 2nd level password).
A user connected in level 0 (no password) cannot read equations from or transfer equations to the GENSYS
2.0.
A user connected in level 2 will get access to EQUATIONS L1 and EQUATIONS L2 blocks.
A user connected in level 1 will only get access to EQUATIONS L1 block.
The purpose of these blocks is to provide custom equations to the user. These equations are run every
100ms (PLC cycle time).
Non standard equations can be entered here to handle user defined features like thresholds, Input/Output
expansions, PID controls …
For further details on the programming language see §14.4.
Note: The L1 and L2 equations file size must not exceed 60Kbytes.
14.3.7
End of file
Every text file must end with the "{END OF FILE}" statement.
The module will not try to read data following that statement, so you can place your own comments here.
Note: It is strongly recommended not to add too many comments after the" End of File" statement because
the size of the file must not exceed 126Kbytes.
Warning:
This file is a text ONLY file. Do not use word processors (like Microsoft© Word) to edit this
file: it would include layout information and corrupt the file. Use text editors only (Notepad
for example).
The file should not exceed 126Kbytes. If you try to transmit a bigger file to a module, it will
be rejected.
Warning:
Power control and protections are disabled while the module is processing a file. When
you download or upload a file, you have to disconnect all connectors, except power supply.
You must be in manual mode, with engine stopped.
14.4
PLC programming language
It is strongly advised that you follow training before using custom PLC equations on a power plant. Contact
your local dealer for details on training sessions.
The PLC equations use a simple language with a small number of commands. The code is intrinsically linear,
each equation being executed one after the other (without any loop). Level 1 equations are executed first,