pjkundert / cpppo

Communications Protocol Python Parser and Originator -- EtherNet/IP CIP
https://hardconsulting.com/products/6-cpppo-enip-api
Other
340 stars 112 forks source link

Hoe to Change TAG Name and Value #69

Open shangarnithi opened 5 years ago

shangarnithi commented 5 years ago

Hi all @pjkundert

am trying to experiment Etherip. when i try the sample code .

python -m cpppo.server.enip.poll_example or python -m cpppo.server.enip.poll In Another terminal ############################################## python -m cpppo.server.enip.poll_test

Am getting the following response Fri Feb 22 11:13:44 2019: Motor Velocity == [789.010009765625] Fri Feb 22 11:13:44 2019: Output Current == [123.44999694824219] Fri Feb 22 11:13:45 2019: Motor Velocity == [789.010009765625] Fri Feb 22 11:13:45 2019: Output Current == [123.44999694824219] Fri Feb 22 11:13:46 2019: Motor Velocity == [789.010009765625] Fri Feb 22 11:13:46 2019: Output Current == [123.44999694824219]

If i want to change the tag name (eg Motor Velocity - > motor temp) or its value where can i change ?

Thanks in advance