Coder Social home page Coder Social logo

Problem with Micrologix1100 about pycomm HOT 12 CLOSED

ruscito avatar ruscito commented on July 26, 2024
Problem with Micrologix1100

from pycomm.

Comments (12)

ruscito avatar ruscito commented on July 26, 2024

Can you ping that IP address? Usually you get that error when address is not reachable

from pycomm.

A-Badkoubeh avatar A-Badkoubeh commented on July 26, 2024

That is what I am getting when I ping the IP address:
"PING 192.168.0.9 (192.168.0.9) 56(84) bytes of data."

from pycomm.

A-Badkoubeh avatar A-Badkoubeh commented on July 26, 2024

from pycomm.

ruscito avatar ruscito commented on July 26, 2024

That's the command you sent. What's the replay? You should see something like

Reply from 98.138.252.38: bytes=32 time=34ms TTL=52

from pycomm.

A-Badkoubeh avatar A-Badkoubeh commented on July 26, 2024

Sorry part of that didn't copied!!! Yes I am getting:
PING 192.168.0.9 (192.168.0.9) 56(84) bytes of data.
64 bytes from 192.168.0.9: icmp_seq=1 ttl=128 time=5.56 ms
64 bytes from 192.168.0.9: icmp_seq=2 ttl=128 time=1.82 ms
64 bytes from 192.168.0.9: icmp_seq=3 ttl=128 time=2.40 ms
64 bytes from 192.168.0.9: icmp_seq=4 ttl=128 time=1.35 ms
64 bytes from 192.168.0.9: icmp_seq=5 ttl=128 time=2.15 ms
64 bytes from 192.168.0.9: icmp_seq=6 ttl=128 time=0.799 ms
64 bytes from 192.168.0.9: icmp_seq=7 ttl=128 time=1.28 ms
64 bytes from 192.168.0.9: icmp_seq=8 ttl=128 time=1.25 ms
64 bytes from 192.168.0.9: icmp_seq=9 ttl=128 time=1.45 ms
64 bytes from 192.168.0.9: icmp_seq=10 ttl=128 time=2.32 ms
64 bytes from 192.168.0.9: icmp_seq=11 ttl=128 time=2.37 ms

from pycomm.

A-Badkoubeh avatar A-Badkoubeh commented on July 26, 2024

I fixed the problem with the Ip. Now I'm getting this error:
"Error parsing the tag passed to read_tag(N:1/5,1)"

from pycomm.

ruscito avatar ruscito commented on July 26, 2024

please review the examples provided that's not the right way to make the call. You should yuse something like

read_tag('N1:5',`` 1)

from pycomm.

A-Badkoubeh avatar A-Badkoubeh commented on July 26, 2024

from pycomm.

ruscito avatar ruscito commented on July 26, 2024

read_tag('N1:5',1)

from pycomm.

A-Badkoubeh avatar A-Badkoubeh commented on July 26, 2024

from pycomm.

ruscito avatar ruscito commented on July 26, 2024

no problem bud. It should be same for the write, just check the example from the main page. I think I covered all the possible option for pycomm. I'm out for now because is beer Friday :) Please close the issue if you have not more issues

ciao

from pycomm.

A-Badkoubeh avatar A-Badkoubeh commented on July 26, 2024

Works nicely! Thank you very much Agostion, ruscito.
The example from the main page covers all the possible options for Pycomm!
Cheers!

from pycomm.

Related Issues (20)

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.