Use the search feature to view Kepware's repository of more than 500 Knowledge Base articles. Narrow your results or type your query into the search field below.

Alternatively, if you are unable to find a solution, we have an additional resource - our PTC eSupport Portal . If you are prompted to log into the eSupport Portal, you can use your My Kepware credentials. Need a My Kepware account? Create one here .

Search Solution Results By:
View All Solutions

Kepware Knowledge Base: Solution

Doing Complex Math on Several Pieces of Data Being Written to a PLC

Last Update: 11/7/2018

Because the server is a communications application and does not have scripting capabilities, users must read the data points into an application, do the math, and then write the result back to the device. For more information on doing this with VB, refer to Simple Math Example.

Note: As with all of Kepware's VB/VBA examples, the VB/VBA support is for connectivity to the server. These examples are for informational use only and are not a supported product.