Giter Club home page Giter Club logo

phosphor7's People

Contributors

chaosben avatar dixi83 avatar fabrizioc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

phosphor7's Issues

S7-1200PLC Communication

Just a note on the 1200 PLC Series.

To use the PHP script with a 1200 PLC the DB should not be optimized.

Remove the Optimize DB tick on the DB Properties.

Apply to be Maintainer

hello @chaosben,

I would like to apply to be (one of the) new maintain(ers). I have hardware and even so now and then projects to apply this software.
Not sure how this works...

I anyone else would like to support me... feel free to apply as well!
BR Martijn

Problem to convert in float

require_once("../src/phosphor7.php");

$c = new TSnap7MicroClient();

$c->ConnectTo("10.11.6.2", 0, 0);

$buffer = "";
$c->DBRead(7, 48, 2, $buffer); // I want read value of energy
var_dump(bin2hex($buffer));
$c->Disconnect();
I have in output 477d but it is false ( because is not real)

Problem using PHP8.0

Connecting with Siemens LOGO OBA8 and PHP7.4, read and write examples works (/phosphor7/examples/ ).
Using PHP8.0 DBRead function return wrong values.
Any feedback with PHP8?

Length of S7 data type

Great job!
But in s7_phphelper::getS7_Int read 4 bytes. In S7-300 the Int data is 16 bit length, so I change in 2 bytes and it work fine.
Please check also s7_phphelper::getS7_DInt. DInt in S7-300 is 4 bytes.
Ciao.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.