plc.myforum.ro Forum Index plc.myforum.ro
PLCs users www.plc.myforum.ro!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

API client with VBA in Microsoft Excel SCALANCE S615

 
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> ROSimatic
View previous topic :: View next topic  
Author Message
valz
Member 3
Member 3
valz

Joined: 26 Jul 2015
Posts: 771

PostPosted: 24/11/2021 16:28    Post subject: API client with VBA in Microsoft Excel SCALANCE S615 Reply with quote

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.
API client with VBA in Microsoft Excel SCALANCE S615 API client with VBA in Microsoft Excel SCALANCE S615
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.
API client with VBA in Microsoft Excel SCALANCE S615 API client with VBA in Microsoft Excel SCALANCE S615
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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> ROSimatic All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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