In this video we discuss and take a look at one of the cool features of the V2.8 Firmware for the Siemens S7-1500 Family of Programmable Logic Controllers.
The firmware contains a JSON-RPC Web API allowing you to connect to the web server of the PLC over HTTP and read and write from the control system using correctly formatted JSON strings.
00:00 Introduction, why a Web API in a PLC, and technology overview
02:31 Configuration of the Web API inside of TIA Portal
04:20 Testing the PLC Web API using Postman testing tool
07:00 Example dynamic graphs drawn using JavaScript XHR Requests to Web API
08:20 Wrapup
Check out the JSON-RPC spec here: www.jsonrpc.org/specification
Check out the supported PLC API function in the system manual: support.industry.siemens.com/...
5 авг 2024