dmroeder / pylogix

Read/Write data from Allen Bradley Compact/Control Logix PLC's
Apache License 2.0
599 stars 182 forks source link

I was trying to read data from PLC Micro Logics 1400(Allen Bradley) through Python and dump it to MS SQL, then "can only concatenate str (not "bytes") to str" this error occurred while reading data from PLC Micro Logics 1400. I will attach the python program which I am currently using. If anyone knows the solution for this kindly help me out with it. https://drive.google.com/file/d/1C-g4M5YhtsvvTCaDnz3jLhYuRg64E-8f/view?usp=sharing #165

Closed GaganIK22 closed 3 years ago

GaganIK22 commented 3 years ago

Preflight checks

Type of issue

Delete items that do not apply below.

Description of issue

Expected behavior

Actual behavior

Code

Please provide a minimal, reproducible example

Screenshots

Stacktrace

Versions

Include versions to

TheFern2 commented 3 years ago

Hi there @GaganIK22 four things just for your future reference:

1) The question should go into the body of the question, not the title. Look into other issues for how is supposed to be done. https://github.com/dmroeder/pylogix/issues

2) Always post code in the issue itself, not some third party service. So other people can benefit without having to download. Is also safer to see code here, than download some random file off the internet.

3) Preflight checks are there for a reason

4) Micrologix is not supported as stated in the readme. https://github.com/dmroeder/pylogix

GaganIK22 commented 3 years ago

Thank you.