Dipsy Logic
Dipsy Logic
  • 8
  • 62 868
Python - How to Print Barcodes with DYMO Label Printer
This is an instructional video on how to do basic printing with Python and DYMO Label printers on Windows.
มุมมอง: 15 187

วีดีโอ

Micrologix 1100 - ANALOG SIGNALS and INPUTS
มุมมอง 10K4 ปีที่แล้ว
Micrologix 1100 - ANALOG SIGNALS and INPUTS
Python and Micrologix1100 Part2 - Sending SMS texts
มุมมอง 1.6K5 ปีที่แล้ว
How to use Python to send SMS texts based on values from a plc. Twilio www.twilio.com/ Twilio Python Library github.com/twilio/twilio-python/ Pycomm Python Library github.com/ruscito/pycomm
Python and Micrologix1100 Part1 - Setup and a Quick Program
มุมมอง 6K5 ปีที่แล้ว
Python 2.7.15 www.python.org/downloads/release/python-2715/ Git git-scm.com/downloads Installing virtualenv packaging.python.org/guides/installing-using-pip-and-virtual-environments/ Pycomm github.com/ruscito/pycomm
TIMER OFF DELAYS with SCENARIO
มุมมอง 1865 ปีที่แล้ว
TIMER OFF DELAYS with SCENARIO
BLINKING LIGHT with EXAMPLE
มุมมอง 20K5 ปีที่แล้ว
BLINKING LIGHT with EXAMPLE
HOW TO CONNECT TO MICROLOGIX via SERIAL CABLE
มุมมอง 4.8K5 ปีที่แล้ว
HOW TO CONNECT TO MICROLOGIX via SERIAL CABLE
WHAT IS RSLINX?
มุมมอง 5K5 ปีที่แล้ว
WHAT IS RSLINX?

ความคิดเห็น

  • @Nayenezgani
    @Nayenezgani 8 วันที่ผ่านมา

    I just stumbled across this video and it's been a massive help with a little project I've been working on, so thank you for uploading this. However I have one problem: This works great on my Windows system, but my coworker is an Apple user. Does this work on Apple systems as-is, and if not is there any way to adapt it to work on Apple?

    • @dipsylogic1715
      @dipsylogic1715 6 วันที่ผ่านมา

      @@Nayenezgani I haven’t the slightest idea brotha. I’m going to say it probably doesn’t work on Apple. If I remember correctly, this tutorial used some windows specific libraries

  • @vadiksadik4064
    @vadiksadik4064 15 วันที่ผ่านมา

    that is not working. Dispatch is reporting an error _GetGoodDispatch

  • @BenJohnson-c2m
    @BenJohnson-c2m 23 วันที่ผ่านมา

    Very interesting. Curious how you might deploy this in a container application - and run it from Azure. I'm assuming you can put the .label file in your package, and as long as all the end-clients install the same printer, it *should* work? :D Going to give it a shot in any case. Thanks for the video (4 years later)

  • @jgomez7535
    @jgomez7535 2 หลายเดือนก่อน

    Thanks for the info. I want to get a better understanding and troubleshoot comm’s issues myself instead of always calling our controls engineer 👍🏼

  • @Ken-lr5pd
    @Ken-lr5pd 2 หลายเดือนก่อน

    Could I perhaps just create the repeating light in main

  • @GenesisEspinosa-fl8vk
    @GenesisEspinosa-fl8vk 4 หลายเดือนก่อน

    thank you king this helped me out a ton #day1

  • @lennyzhang3405
    @lennyzhang3405 5 หลายเดือนก่อน

    Thanks a lot!

  • @nayrbsworld3048
    @nayrbsworld3048 6 หลายเดือนก่อน

    why did you use 10bit and not 16bit? also what is the capacity of micrologic 1100 16bit?

    • @marktracy586
      @marktracy586 13 วันที่ผ่านมา

      micrologix 1100 only supports 10-bit analog

  • @djschoon
    @djschoon 6 หลายเดือนก่อน

    Thank you! This was super helpful.

  • @nayrbsworld3048
    @nayrbsworld3048 7 หลายเดือนก่อน

    excellent explaination

  • @nafo3a714
    @nafo3a714 7 หลายเดือนก่อน

    Please forgive me , i downloaded the video on phone because TH-cam offer lower quality

    • @dipsylogic1715
      @dipsylogic1715 7 หลายเดือนก่อน

      You have been forgiven

    • @nafo3a714
      @nafo3a714 7 หลายเดือนก่อน

      @@dipsylogic1715 thanks

  • @jonmcmillan8570
    @jonmcmillan8570 8 หลายเดือนก่อน

    So how do you give the plc an ip without bootp?

  • @maximusthegreatest
    @maximusthegreatest ปีที่แล้ว

    This is great

  • @richknoll7152
    @richknoll7152 ปีที่แล้ว

    Great video. Not a lot of good content out there for ladder logic. I really appreciate the content and thorough explanation.

  • @engr.inigo.silva2000
    @engr.inigo.silva2000 ปีที่แล้ว

    Thank you so much!

  • @dougwirth390
    @dougwirth390 ปีที่แล้ว

    USE SYSTEM CLOCK VARIABLE ON THE SLC500

  • @YouToobeism
    @YouToobeism ปีที่แล้ว

    @Dipsy Logic, nice concise video on the difference between analog and digital inputs, clearly presented. One suggestion; when you say that hooking up an analog device featuring a current output of 4-20 ma would not work when using the Micrologix 1100's analog inputs (3:18), you are selling the product short. Simply attach a 500 ohm resistor (1/4 W) across the two outputs of a 4-20 ma device to create a voltage drop that may now be measured at the ML1100's analog inputs in the range of 2-10 VDC. Make it a 250 ohm resistor and the input will be in the range of 1-5 VDC.

  • @nelsoncorrection4015
    @nelsoncorrection4015 ปีที่แล้ว

    Love to see more educational videos like this

  • @daveyshmavey
    @daveyshmavey ปีที่แล้ว

    Old video, but very good. Thank you! I have a situation where I want a light to have 3 states. Off, Blinking, then solid. For example, Off, not ready. Something is put into position, then blinking, ready. Last would be enabling the process to start with a push button, then the light goes solid. A lot more to it than that, but that would cover it.... Again, thanks for the video!

  • @hcc8138
    @hcc8138 ปีที่แล้ว

    I got an error "No module named 'win32.api' "; can you help me to fix it? I am using Python 3.11 on Windows 10, Thank you

  • @mosoliman7992
    @mosoliman7992 ปีที่แล้ว

    is this possible to do with a brother printer?

  • @daviddemjan1916
    @daviddemjan1916 ปีที่แล้ว

    Hi! I would like to ask for some help. I was able to gather the informatiom from PLC control tag (RSLOGIX 5000) but not able to work with it. So if I want to handle that information in forexample in an If statement I won't be able to work with it. import time from PIL import Image from pycomm3 import LogixDriver from tkinter import * with LogixDriver('here my IP adress I removed it') as plc: valami = plc.read('valami') print(valami) if valami: print("works") else: print("Doesn't work") It always says its true even if i toggle the bit to False. It will never go to else branch. Thanks for help.

  • @andreyguilherme
    @andreyguilherme ปีที่แล้ว

    That’s such a nice application! I’m currently learning a way to use rasp pi reading tags from a compactlogix plc, process theses information using AI and write back the response on that plc!

  • @tonyz6672
    @tonyz6672 2 ปีที่แล้ว

    thanks for sharing!!😀

  • @franciscoochoa7166
    @franciscoochoa7166 2 ปีที่แล้ว

    Excellent

  • @Everynamestaken69
    @Everynamestaken69 2 ปีที่แล้ว

    Quick question, would the output to your light be the same if you had used the .TT (timer timing) bit for either timer? Is there any advantage to using the enable bit over the TT bit for an output? I’m new to PLC programming so just looking for any clarity on the issue…

    • @dipsylogic1715
      @dipsylogic1715 2 ปีที่แล้ว

      Honestly man, your best bet is to just try it 🤷🏻‍♂️ play around and see how the different bits act. I haven’t thought about this code in awhile and my brain isn’t in the mood to dive back into this stuff lol. It’s very possible the TT bit would work perfectly fine, but I think it would have to be a normally closed bit. Do you have access to rslogix? If not, I can pull out my laptop real quick and tell you what happens Remember, there’s a million and one different ways to do one specific thing. Some are good, some are bad, some are just a matter of preference/style. The simplest way to do what I did in the video is to actually use one single timer. Try it out!

  • @oneforall5615
    @oneforall5615 2 ปีที่แล้ว

    Thanks 👍

  • @ssg8654
    @ssg8654 2 ปีที่แล้ว

    Please continue making Rs logix videos with different problems, old videos are fire.

    • @ssg8654
      @ssg8654 2 ปีที่แล้ว

      Omg thnx for heart, i have a question.... How can we make a light blink 5 times and turn off and reset in rslogix 500

  • @michaelhogan2432
    @michaelhogan2432 3 ปีที่แล้ว

    Very cool !Do you have anything from this year ?

  • @lalitajit5252
    @lalitajit5252 3 ปีที่แล้ว

    Please send me a video how to interface analogue sensor (pressure transmitter) with Allen Bradley plc

  • @et.sachin
    @et.sachin 3 ปีที่แล้ว

    Excellent explanation! Please continue doing these type of videos

  • @2Muneeb
    @2Muneeb 3 ปีที่แล้ว

    Looking for this. Great... Waiting for next part....

  • @sanjaysingh-bf4um
    @sanjaysingh-bf4um 3 ปีที่แล้ว

    Poor quality videos

  • @santhoshpsk8681
    @santhoshpsk8681 3 ปีที่แล้ว

    expecting more plc with python projects

  • @martinesche6749
    @martinesche6749 3 ปีที่แล้ว

    Thank you very much! Great job!

  • @shobhanparthi
    @shobhanparthi 3 ปีที่แล้ว

    c = SlcDriver if c.open('192.168.20.4'): coun = c.read_tag('C5:0.ACC') print (coun) sleep(2) c.close() Getting error as C:\Users\SITI\Desktop>python main.py Traceback (most recent call last): File "C:\Users\SITI\Desktop\main.py", line 5, in <module> if c.open('192.168.20.4'): TypeError: open() missing 1 required positional argument: 'ip_address' Please Help !! pycomm 1.0.8 Python 3.9.0

  • @jasonovishekbiswas9735
    @jasonovishekbiswas9735 3 ปีที่แล้ว

    Hi. Can you please tell me how "B3:1/0" came? I'm trying with the micro850 simulator in CCW v12. But it doesn't have the tag. Please explain what "B3:1/0" actually mean. Thank you

    • @dipsylogic1715
      @dipsylogic1715 3 ปีที่แล้ว

      Pycomm doesn’t work on micro800’s. Only micrologix, slc, and contrologix. Try using the pylogix library.

    • @jasonovishekbiswas9735
      @jasonovishekbiswas9735 3 ปีที่แล้ว

      Thank you.

  • @fraganya
    @fraganya 3 ปีที่แล้ว

    Thanks a lot, this was quite useful!

  • @NoKnockaKnee
    @NoKnockaKnee 3 ปีที่แล้ว

    Can't believe there aren't more views or likes on this. Very helpful. Is there another application people are using besides RSLinx to connect to their PLCs? Is that why this has so few views?

    • @dipsylogic1715
      @dipsylogic1715 3 ปีที่แล้ว

      Thanks! RSLinx is for Allen Bradley PLC’s only. Will not work for other brands like Siemens and Omron, for example

  • @jadialicea
    @jadialicea 3 ปีที่แล้ว

    I have never seen an explanation as perfect as yours. Could you do a video but instead of voltage using current. Thanks

    • @dipsylogic1715
      @dipsylogic1715 3 ปีที่แล้ว

      Aw shucks. I’ll see what I can do!

    • @jadialicea
      @jadialicea 3 ปีที่แล้ว

      @@dipsylogic1715 I surely that you can do.

  • @zircoacontrolseng.3926
    @zircoacontrolseng.3926 4 ปีที่แล้ว

    Excellent, clear explanation. Thank you.

  • @dhanushkumart
    @dhanushkumart 4 ปีที่แล้ว

    Nice .and that 123456 is the decoded data of the barcode .expecting your next video

  • @shivajijamble6669
    @shivajijamble6669 4 ปีที่แล้ว

    from pycomm.ab_comm.clx import Driver as ClxDriver ModuleNotFoundError: No module named 'pycomm.ab_comm'

    • @dipsylogic1715
      @dipsylogic1715 4 ปีที่แล้ว

      In this video, I showed you how to clone the pycomm library and insert it into your python project. What I should have done was just use “pip install pycomm”. Installing it with pip is much easier. Try that in your terminal with your virtual environment activated

  • @4S-Media
    @4S-Media 4 ปีที่แล้ว

    Great video, can we do the same with ControLogix and CompactLogix?

    • @dipsylogic1715
      @dipsylogic1715 4 ปีที่แล้ว

      Yes you can! Pycomm works with contrologix as well. Also, there is another library called pylogix that works with contrologix and micro800’s.

  • @josephchristopherluttmannv9800
    @josephchristopherluttmannv9800 4 ปีที่แล้ว

    Great Video! Do you know if it is possible to print String data types also? I try to do the following: print c.read_tag('ST9:0') but got the following error: Error parsing the tag passed to read_tag(ST9:0,1) other data types like integers (N7:0) or bits (B3:0) work just fine

    • @dipsylogic1715
      @dipsylogic1715 4 ปีที่แล้ว

      I apologize for missing your comment. For whatever reason, you cannot. I know because I tried the same thing as you ;) what I did was actually convert each string char to binary and then extracted each binary value with python and convert it all back to a string

  • @lionking2424
    @lionking2424 4 ปีที่แล้ว

    How would I change this: print(c.write_tag('Counts', -26, 'INT')) ? ------To be able to write a value of 1 or 0 (Zero) to stop or start a motor, or to open or close a valve? Thank you in advance.

  • @lionking2424
    @lionking2424 4 ปีที่แล้ว

    I am an Electrical Engineer. I work with PLC daily. This video is great. Thank you for sharing the knowledge. So you actually do not have to be connected to a physical PLC to test this. You can test it from the program logix. Correct?

    • @dipsylogic1715
      @dipsylogic1715 4 ปีที่แล้ว

      With this setup you would need it connected. I have my computer connected to the PLC through Ethernet. The computer is what is running the python script that is continuously scanning the PLC. If you wanted a more compact solution, you would use a raspberry pi instead of a laptop.

  • @MrKevnn2
    @MrKevnn2 4 ปีที่แล้ว

    I just started building my own plc trainer and wasn’t sure the analog input. This helped me out a lot to understand how it works. Thank you ! Looking forward to more videos.

    • @dipsylogic1715
      @dipsylogic1715 4 ปีที่แล้ว

      Beautiful! Glad it helped. Hopefully I can get to uploading again soon.

  • @djlowformat
    @djlowformat 4 ปีที่แล้ว

    does this still apply for pycomm3 ?

    • @dipsylogic1715
      @dipsylogic1715 4 ปีที่แล้ว

      I didn’t even know there was a pycomm3!

    • @djlowformat
      @djlowformat 4 ปีที่แล้ว

      @@dipsylogic1715 github.com/ottowayi/pycomm3 is a fork to be compatible with python 3

    • @dipsylogic1715
      @dipsylogic1715 4 ปีที่แล้ว

      djlowformat ok actually I do remember talking to the guy who’s making this on reddit. From what I remember, he’s only making pycomm3 compatible with contrologix PLC’s. And not SLC/Micrologix. Double check me on that, but if that’s the case then this video would not apply at all to pycomm3

  • @aurkom
    @aurkom 4 ปีที่แล้ว

    Eagerly waiting for more videos from you!