News:

SMF - Just Installed!

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Thierry Lecomte

#1
General Discussion / Re: HEX code generator ?
May 15, 2019, 06:09:21 AM
To be more precise, HEX code generator supports a subset of the B0 language / with additional constraints. For example:

  • types limited to INTEGER types limited to uint8_, uint16_ and uint32_
  • single condition for IF THEN ELSE (meaning tests have to be nested), with testing operators in =, <, <=
  • local variables (clause VAR IN) have to be typed before used with the var: (var: type) substitution
  • no computation in operation call and test: computation has to be performed before the operation call / test
  • no operation call in initialisation
  • digital inputs/outputs take values in {IO_OFF, IO_ON}

but also provides some extensions with predifined operators (bitwise and arithmetic).
#2
General Discussion / Re: HEX code generator ?
May 14, 2019, 05:44:43 AM
The HEX code generator is for PIC32 programs (binary format). It is embedded in the Atelier CLEARSY Safety Platform in one of the two chains providing binaries (https://www.clearsy.com/en/our-tools/clearsy-safety-platform/).



This code generator is not (yet) part of the Atelier B.