BeckhoffPLCSoapClient - SoapClient to communicate with BeckHoff PLC. Library made in PHP based on TcAdsWebService JavaScript Library.

Overview

beckhoffPLCSoapClient

SoapClient to communicate with BeckHoff PLC. Library made in PHP based on TcAdsWebService JavaScript Library.

Description

SoapClient to communicate with BeckHoff PLC. Library made in PHP based on TcAdsWebService JavaScript Library.

Getting Started

Dependencies

  • PHP >= 5

Installation

composer require mrferrys/beckhoffplcsoapclient

Usage

  • How to use it.
exec("GetFunctions")); $pHandler->getSymbolTable(); foreach($pHandler->symbolTable as $k=>$v){ echo "$k \n"; } echo "STARTING\n"; $pHandler->writeSymbolByName(".CLAS2_PARO_EMERGENCIA",true,"c"); sleep(5); $pHandler->writeSymbolByName(".CLAS2_PARO_EMERGENCIA",false,"c"); echo "DONE\n"; $pHandler= new plcHandler( "http://172.16.22.140/TcAdsWebService/TcAdsWebService.dll", "http://172.16.22.140/TcAdsWebService/TcAdsWebService.WSDL", "172.16.22.140.1.1", "801"); $pHandler->getSymbolTable(); foreach($pHandler->symbolTable as $k=>$v){ echo "$k \n"; }">
	use mrferrys\beckhoffplcsoapclient\plcHandler as plcHandler;

	$pHandler= new plcHandler(
        "http://172.16.23.102/TcAdsWebService/TcAdsWebService.dll",
        "http://172.16.23.102/TcAdsWebService/TcAdsWebService.WSDL",
        "5.21.99.2.1.1",
        "801");
    
    print_r($pHandler->exec("GetFunctions"));
    
    $pHandler->getSymbolTable();
    foreach($pHandler->symbolTable as $k=>$v){
        echo "$k \n";
    }
    echo "STARTING\n";
    $pHandler->writeSymbolByName(".CLAS2_PARO_EMERGENCIA",true,"c");
	
    sleep(5);
    
	$pHandler->writeSymbolByName(".CLAS2_PARO_EMERGENCIA",false,"c");
    echo "DONE\n";
  
   $pHandler= new plcHandler(  
        "http://172.16.22.140/TcAdsWebService/TcAdsWebService.dll",
        "http://172.16.22.140/TcAdsWebService/TcAdsWebService.WSDL",
        "172.16.22.140.1.1",
        "801");
  
    $pHandler->getSymbolTable();
    foreach($pHandler->symbolTable as $k=>$v){
        echo "$k \n";
    }

Authors

MrFerrys

Version History

  • 1.0.0
    • Initial Release (X.Y.Z MAJOR.MINOR.PATCH)

License

This project is licensed under the MiT License - see the LICENSE file for details

Acknowledgments

TcAdsWebService

You might also like...
A PHP library for communicating with the Twilio REST API and generating TwiML.

twilio-php The default branch name for this repository has been changed to main as of 07/27/2020. Documentation The documentation for the Twilio API c

A PHP library for the Campaign Monitor API

createsend A PHP library which implements the complete functionality of the Campaign Monitor API. Installation Composer If you use Composer, you can r

PHP 5.3+ library which helps you to interact with the DigitalOcean API

DigitalOcean The version 2 of the API will be available soon ! Please visit DigitalOceanV2 and contribute :) This PHP 5.3+ library helps you to intera

A versatile PHP Library for Google PageSpeed Insights

PhpInsights An easy-to-use API Wrapper for Googles PageSpeed Insights. The JSON response is mapped to objects for an headache-free usage. Installation

PHP library for the GitHub API v3

GitHub API v3 - PHP Library Currently under construction. Overview Provides access to GitHub API v3 via an Object Oriented PHP library. The goal of th

PHP library to use IOTA REST API to help node management and tangle queries

iota.php About PHP library to use IOTA REST API to help node management and tangle queries. Please be aware that this library is in an early developme

A Class Library enabling Asterisk ARI functionality for PHP

phpari A Class Library enabling Asterisk ARI functionality for PHP Dependencies These are the minimum requirements to have phpari installed on your se

NovaGram - An elegant, Object-Oriented, reliable PHP Telegram Bot Library
NovaGram - An elegant, Object-Oriented, reliable PHP Telegram Bot Library

An elegant, Object-Oriented, reliable PHP Telegram Bot Library Full Documentation • Public support group Examples • Features • Installation ?

PHP library for the ArvanCloud API

PHP ArvanCloud API PHP library for the ArvanCloud API. This package supports PHP 7.3+. For Laravel integration you can use mohammadv184/arvancloud-lar

Owner
null
Simple Curl based wrapper for Binance API for PHP scripts

Simple Curl based wrapper for Binance API for PHP scripts Feaures API support for SPOT data/trading FAPI/DAPI support for futures data/trading Curl-on

Mr Crypster 22 May 1, 2022
PHP Telegram Bot based on the official Telegram Bot API with iTelegram Class.

iTelegram PHP Telegram Bot based on the official Telegram Bot API Bots: An introduction for developers Bots are special Telegram accounts designed to

iNeoTeam | آی نئو 5 Nov 9, 2022
PHP Telegram Bot based on the official Telegram Bot API

PHP Telegram Bot based on the official Telegram Bot API

null 4 Dec 8, 2021
This is a RESTFUL API based PHP.

api-php This is a RESTFUL API made to speed up the development time of applications that use PHP as a base, in less than 5 minutes it is possible to o

Alisson Custodio 4 Oct 11, 2022
instagrambot ,it’s a console-based script created for autovoting (auto poll voting) and auto looking stories

instagrambot instagram bot for auto story view <3 instagrambot ,it’s a console-based script created for autovoting (auto poll voting) and auto looking

offasapalvin 1 Jan 19, 2022
Lightweight PHP library for WhatsApp API to send the whatsapp messages in PHP provided by ultramsg.com

Ultramsg.com WhatsApp API PHP SDK Lightweight PHP library for WhatsApp API to send the whatsappp messages in PHP provided by Ultramsg.com Installation

Ultramsg 117 Dec 26, 2022
Google-api-php-client - A PHP client library for accessing Google APIs

Google APIs Client Library for PHP Reference Docs https://googleapis.github.io/google-api-php-client/main/ License Apache 2.0 The Google API Client Li

Google APIs 8.4k Dec 30, 2022
Wise-php - This library is written to accommodate the wise API's use in php projects With Wise

Wise-php - This library is written to accommodate the wise API's use in php projects With Wise you can automate payments, connect your business tools, and create ways to manage your finances. You can also power your cross-border and domestic payouts.

Albert Xhani 15 Nov 17, 2022
A framework agnostic PHP library to build chat bots

BotMan If you want to learn how to create reusable PHP packages yourself, take a look at my upcoming PHP Package Development video course. About BotMa

BotMan 5.8k Jan 3, 2023
PHP library for the Stripe API.

Stripe PHP bindings The Stripe PHP library provides convenient access to the Stripe API from applications written in the PHP language. It includes a p

Stripe 3.3k Jan 5, 2023