Skip to content

VisualPLC/BlocklyPLC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockly Visual PLC Programming Language VPL:


parameter bareclient without PLC, port:301:


Note

Setup the dev environment:

  • OS: Windows

Beckhoff TwinCAT Shell XAE and XAR:

download Beckhoff TE1000-twincat-3-engineering:

install Beckhoff TwinCAT Shell or previously install visual studio 2017,2019 possible versions community, professional or enterprise and then install TE1000 TwinCAT Shell.

  • Docker: Linux, Raspberry. (VM - virtual machine)

Tip

open project TwinCAT TC3_BlocklyPLC.sln and download


Important

You have to decide in which software and programming languages ​​to develop the project, for example Node.js+express.js or python, etc...


Warning

first version:


$\textcolor{yellow}{Backend:}$

  • document REST API enpoints with Swagger
  • database sqlite export register programm or all programs
  • database sqlite import register programm or all programs
  • Blockly add Siemens PLC driver node-snap7...
  • Blockly motion TwinCAT with PLC.
  • Blockly motion TwinCAT direct without PLC.
  • connect port: 851
  • paralell process
  • add more Blocks
  • add Block read variable type number PLC and control, and logic
  • add logic_compare and block Read_variableNumber TwinCAT
  • write variable type float => write variable "GVL_Test.TestREAL" value number 12.5
  • write variable type string=> write variable "GVL_Test.TestSTRING" "hello"
  • add Block connect PLC Beckhoff TwinCAT, problem add block after block time 1seg.
  • TwinCAT connect port: 301 without PLC runtime, direct I/O
    • add parameter bareClient: true/false. By providing bareClient setting, the client connects to the router or target and nothing else. After that, the client can be used to read/write data. However, connection losses etc. need to be handled by the user.
  • Be able to observe the server log on the Backend or Logview file, winston, etc..

$\textcolor{yellow}{Frontend:}$


$\textcolor{yellow}{Projects\ Beckhoff\ TwinCAT:}$

  • add project : TC3_BlocklyPLC : Beckhoff TwinCAT without PLC direct port 301 with task.
  • add project : TC3_PLC_Motion : Beckhoff TwinCAT with PLC with motion PLCOpen.

$\textcolor{yellow}{Docker\ Hub:}$

  • first version Docker image.
  • Git actions create Docker Hub.

Caution

demo version