Structured text / SCL for use instead of Json or Javascript

Hey All

I was thinking about it is possible there are a converting node or something. So i can use Structured text/ SCL known from PLC's. So i can continue use that language instead of learn javascript or Json.

Anyone else there are working as plc engineer
and have that issued?

Marcus

Unfortunately, there is no such parser/transpiler for ST --> JS.

You could make one but ironically you'd have to learn JavaScript :slight_smile:

Truth is Marcus, JavaScript is far richer and far more capable than ST and not that difficult to get to grips with.

Note also, you can do A LOT without touching JavaScript.

To get the most from node-red (without learning JavaScript) this is the approach i would recommend...

  • Get to grips with what is a string, JSON, object (this will become apparent in time - but trust me on this one)
    image

    • JSON is a string.
    • The good thing about JSON is it can be converted to an object
    • Objects permit you to do things like this...
      0tQCrNfssU
  • Watch this playlist: Node-RED Essentials. The videos are done by the developers of node-red. They're nice & short and to the point. You will understand a whole lot more in about 1 hour. A small investment for a lot of gain.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.