Fixed __SET_EXTERNAL_FB declaration in accessor.h, invoked when accessing EXTERNAL_BLOCK.VARIABLE. Macro was invoking __SET_VAR with wrong parameter count. Fixed corresponding code generator for ST. Seems similar codegen for IL is also broken, but fix would affect other (unknown) behviours -> didn't touch it.
IEC 61131-3 Annex F Examples (informative)
This directory contains example code take from:
Annex F of Draft 2nd edition of the IEC 61131-3 standard (1998)
"PROGRAMMABLE CONTROLLERS - PROGRAMMING LANGUAGES"