You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is only intended for those who might still be using this pycomm library with python 2.
It would be suggested that if you can then switch to using pycomm3 library: https://github.com/ottowayi/pycomm3
This library requires python 3 version 3.6.1 as the minimum.
The attached Tkinter app is actually modified version of the app found in the "examples" folder of pycomm3 project.
It will allow you to list tags and poll tag(s) for values.
There is a driver selector to switch between LogixDriver and SLCDriver.
Reading strings and BOOL arrays is not supported by this app (entering a BOOL array tag should fetch you its DINT values).
Only arrays seem to allow specifying the number of elements to read by adding '{x}' at the end of the tag.
Read all the comments inside the file itself.
To start this app, open command prompt and navigate to the folder where the attached pycomm_gui.py file will be and then use either of these commands (example for Windows):
python pycomm_gui.py
python -m pycomm_gui
C:\Python27\python.exe -m pycomm_gui
If you have your cpu in a slot other than 0 then find and edit cip_base.py file and change the value of 'cpu slot'.
Example folder location of this file in Windows: C:\Users\User\AppData\Roaming\Python\Python27\site-packages\pycomm\cip\
Here is the picture of this app. If you look at the list of tags you will notice an array that has '[x]' which only describes this tag as 1-dimensional array while 2 and 3 dimensional arrays will have '[x, y]' and '[x, y, z]' at the end.
The text was updated successfully, but these errors were encountered:
This is only intended for those who might still be using this pycomm library with python 2.
It would be suggested that if you can then switch to using pycomm3 library: https://github.com/ottowayi/pycomm3
This library requires python 3 version 3.6.1 as the minimum.
The attached Tkinter app is actually modified version of the app found in the "examples" folder of pycomm3 project.
It will allow you to list tags and poll tag(s) for values.
There is a driver selector to switch between LogixDriver and SLCDriver.
Reading strings and BOOL arrays is not supported by this app (entering a BOOL array tag should fetch you its DINT values).
Only arrays seem to allow specifying the number of elements to read by adding '{x}' at the end of the tag.
Read all the comments inside the file itself.
To start this app, open command prompt and navigate to the folder where the attached pycomm_gui.py file will be and then use either of these commands (example for Windows):
If you have your cpu in a slot other than 0 then find and edit cip_base.py file and change the value of 'cpu slot'.
Example folder location of this file in Windows: C:\Users\User\AppData\Roaming\Python\Python27\site-packages\pycomm\cip\
pycomm_gui.zip
Here is the picture of this app. If you look at the list of tags you will notice an array that has '[x]' which only describes this tag as 1-dimensional array while 2 and 3 dimensional arrays will have '[x, y]' and '[x, y, z]' at the end.
The text was updated successfully, but these errors were encountered: