Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


hotwires last won the day on July 7 2019

hotwires had the most liked content!

1 Follower

About hotwires

  • Birthday 03/29/1981

Profile Information

  • Gender
  • Interests
    land mobile radio, amateur radio, flying single engine aircraft

Recent Profile Visitors

4,732 profile views

hotwires's Achievements


UniGuru (4/4)



  1. A related question. I have constructed a working AB Compact Logix Ethernet IP CIP PCCC driver usingTCP CLIENT connect, message composer, build message, copy to buffer, TCP TX, TCP RX, etc. It polls and receives two REALS from CPX and brings them into Unistream REAL’s. I use FSM pointer in decade steps. QUESTION is: does the program scan make a second pass before updating and executing the next finite state machine block? Example: rung “pointer” UINT8 = 10 (true) -> TCP TX -> STORE #20 to tag “pointer” UINT8. So the TCP TX happens in that scan. Next rung is: EQUAL tag “pointer” to #20 (true) -> TCP RX -> STORE #30 to tag “pointer” 8UINT Point is if a ladder scan advances the FSM pointer thru each rung in one scan, no waiting for data received bits or the like… does the scan only execute the first true FSM rung OR does it instantly update the pointer register (accumulator) and execute the next rung in the same scan. I am running a TCP error checking region at the top of a unilogic function, will it make a pass at the top and detect link lost between executing sequential subsequent rungs? Or does error checking logic need rungs between each FSM rung? Let’s say in this TCP communication driver.
  2. If you are still needing help, I'll look through my files and see if I can post a snippet (photo) of the logic I used to convert ASCII string from a gram scale to an integer for comparison to a tolerance (window) and give an output if weighed part is "bad". Back when I worked on this the help section was sparse and (even though I would consider myself an intermediate programmer ((on a scale of: novice, intermediate, advanced, and expert)) it took me a considerable amount of time to reach an efficient solution. See photo below for a start. The - sign will need a little addition logic. Let me know if you need help with that part.
  3. It’s using up all it’s retries on the offline device. The polling interval needs to be (at least) timeout time in mS multiplied by the number of retries.
  4. How does the UIS-8TC module handle Cold Junction Compensation for example on a type J thermocouple?
  5. IF you use AVAST antivirus THEN try activating “silent mode” (disable firewall if premium version). Remember the micro USB port on Unistream is an “internal USB to Ethernet chip”. Comms are ethernet and subject to firewalls.
  6. Checksum driven; THANK YOU for a quick and concise answer. That should work nicely. I stumbled through the process of fetching a file from PC (Filezilla) to SD via FTP Client on UniStream. I would suggest adding “checksum difference” to FTP help section. “If the files are different” is slightly ambiguitous. My assumption was “filename differences”, if it is indeed a checksum based update then files with the same name could be overwriten. POWERFUL feature, LOVE IT.
  7. @Saragani Message composer worked nicely. Now on to FTP client with dynamic filenames. How much can to tell me about the FTP COMPARE? What defines that the file is different for overwrite? File name? File size? Meta data? I found in help section. No clear definition of what "file is different" means. Assuming filename. Any more context clarity you could provide would be greatly appreciated. I want to develop my application to it's FULLEST potential. Clean, lean, and mean. Please and Thank You
  8. Now to construct a way to make the “/Media/Docs/“ and “.pdf” static and the “pdfFileName” dynamic all in one variable string. I only want to indirectly reference the actual filename portion. Below is what I have so far as a "reference by filename only" indirect path string builder. Is there a better way?
  9. Dan Logee suggested using “/Media/Docs/V1210.pdf” UPDATE: THE ABOVE SYNTAX WORKS ON SD CARD! MUST HAVE /Media/Docs/yourDocHere.pdf
  10. Has anyone had success with the new "indirect, External SD, path via tag feature? This functionality is pivotal to one of my upcoming projects. I am not having any luck getting it to work with SD card installed in Unistream (\Docs\example.pdf) . If I put sample file in root directory of DOK (USB flash drive) it will open file from filename in tag no issues. I have not tried root directory on SD card. Project direct puts them in "docs" folder. Help file show syntax when file is in subfolders however I have no success. Help, please and thank you.
  11. USB com to PC does override local com port, however the packet your scope is showing would indicate port is under MODBUS control. 1 stop bit is more common. Dude, your data presentation is totally awesome. "A problem well defined is a problem half solved". Vision is sending "datagram" out, high probability your VFD is not recognizing message to send an answer back. I take it polarity swap did nothing?
  12. I believe USB is converted to Ethernet inside the Unistream. Your firewall could be blocking it. I use Avast and have to put it in "silent mode" or add an exception for USB to Unistream to work.
  13. An oscilloscope across the data pair can be helpful in determining if anything is happening on the pair. I may be the odd man out on having a scope on hand, that said if you have access to one don't refrain from using it as a troubleshooting tool. The wire swap idea is worth a try. It is my understanding that "A" and "B" don't necessarily have a universal congruency to + and -
  14. Integrate audio into MP4 video player. Between VLC media player and Audacity (both free, open source, trusted media editors) you could merge MP3 into MP4, then video plays in sync with desired audio. Unistream is not an audio mixer, audio files have to play one at a time. I suspect a Video player launch would override sound player file "in progress". I recent spent a lot of time trying to perfect video and RTSP streaming widget on a USP156-B10. Support can give you specifics on CODECS, max frame rates, bit rates, etc. That's a dance they had with my recently.
  15. Ahh... if Joe T. can do it I so can I. Not saying it's because I'm smarter.... Just relentless and tenacious. Once I get my head around something, look out, it's like I'm running with scissors. lol plus there’s alway the “ask Joe” option if I get stuck.
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.