openplc_go
Experimental server in golang
openplc_go

New web server for openplc written in go

Features

Download & Run

# download eg for linux-amd64
wget https://openplcproject.gitlab.io/openplc_go/downloads/openplc-server-linux-amd64
# make it executable
chmod +x ./openplc_server-linux-amd64
# Run the server
# -w path to workspace where stuff is stored (required)
# -o path to OpenPLC_v3/ git checkout (required)
# -a address, defaults to 127.0.0.1:8080
# -d enable debug
./openplc_server-linux-amd64 -w ~/my_openplc_stuff -o ~/OpenPLC_v3
# Hit a browser at address -a config
http://localhost:8080

NOTE:

URL's & End Points

ApiDocs

Development

NOTE: golang 1.11+ is required with the new "modules"

Structure

git clone gitlab.com/openplcproject/openplc_go
cd openplc_go
go mod download
go run cmd/openplc_server.main.go -w /dir/myspace -o /path/to/OpenPLC_v3

R+D