 |
plc.myforum.ro PLCs users www.plc.myforum.ro!
|
| View previous topic :: View next topic |
| Author |
Message |
valz Member 3


Joined: 26 Jul 2015 Posts: 771
|
Posted: 24/11/2021 16:28 Post subject: API client with VBA in Microsoft Excel SCALANCE S615 |
|
|
API client with VBA in Microsoft Excel for connecting a SCALANCE S615 to SINEMA RC Server
https://support.industry.siemens.com/cs/document/109801976/
SINEMA RC Server provides you with the HTTP(S)-based API (application programming interface) via which you can configure the SINEMA RC Server Web Based Management (WBM). In this case, SINEMA RC Server is the API server that responds to the API requests from the API client.
The communication between API server and API client is based on standard HTTP(S) requests and responses.
The API client sends HTTP methods and URI (uniform resource identifier) to create an API request. The API server responds by sending the data which it can provide according to the request in JSON format.
The figure below shows the principle of API communication.
Fig. 1
Solution
In this application example, an API client is implemented in Microsoft Excel with Visual Basic for Applications (VBA) that executes the following tasks to establish a VPN connection between SINEMA RC Server and a SCALANCE S615.
Configure the SINEMA RC Server Web Based Management (WBM) to connect a SCALANCE 615.
Generate CLI file which configures the SCALANCE S615 so that it can connect with SINEMA RC Server.
Fig. 2
[img]Documentation and Project[/img]
A description of how the API client works and how it is used can be found in the following documentation.
https://support.industry.siemens.com/cs/attachments/109801976/109801976_MSExcel_API_Client_en.pdf
https://support.industry.siemens.com/cs/attachments/109801976/109801976_API-Client.zip
[url=http://www.girlshare.ro/3770135635.2]109801976_API-Client.zip[/url]
[url=http://www.girlshare.ro/3770135636.3]109801976_MSExcel_API_Client_en.pdf[/url]
[url=http://www.girlshare.ro/3770135637.4]GS_SINEMA-RC-API-Server_76.pdf[/url] |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro
|