MOOC Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
SMF - Just Installed!
Home
Help
Search
Login
Register
MOOC Forum
»
General Category
»
General Discussion
»
HEX code generator ?
« previous
next »
Print
Pages: [
1
]
Author
Topic: HEX code generator ? (Read 5049 times)
Atelier B fan
Newbie
Posts: 1
HEX code generator ?
«
on:
May 13, 2019, 04:06:01 AM »
Hi,
In the lecture 2 (2'45), you mentionned an HEX code generator. Is it available right now with Atelier B ? How to use it ?
Logged
Thierry Lecomte
Newbie
Posts: 2
Re: HEX code generator ?
«
Reply #1 on:
May 14, 2019, 02: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.
Logged
Thierry Lecomte
Newbie
Posts: 2
Re: HEX code generator ?
«
Reply #2 on:
May 15, 2019, 03: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).
Logged
Print
Pages: [
1
]
« previous
next »
MOOC Forum
»
General Category
»
General Discussion
»
HEX code generator ?