Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 12/16/2020 in Posts

  1. First off, if you're receiving 6 digits you'll need to link to an ML, not an MI. Try changing MI 285 to ML 0 in your variable definition block and see if that works. I've had trouble with the scan block doing the numeric receiving and translation in one operation. For testing, try changing your input variable to a straight longer-than-needed Stream type and see if you can grab the control characters as well. They may not be sending all six characters as weight. Here I've set up the block to receive a stream of any kind that hits the COM port up to 10 characters. The incoming data
    1 point
  2. Scan FB Protocol used for "read-in" not standard messages. Main problem is to find correct message format. If i can not find correct check sum method - i try to read-in message without it. It works.... Sended by another device message do not need to be scanned directly as it appear in manual. Only start of message must be correct (for separate message) and message length must not be longer then scanned variable - message can be written to buffer and it can be parsed by byte operation. But in this method some Silent period must be prepeared. (without it FB Protocol sometime
    1 point
  3. You can use info mode for test what PLC send to sensor and what sensor send to PLC. It is possible to find com port settings and see RX and TX buffer. Please try to load program and check this useful option. I use it for configure communication with not standard protocol device. If tx buffer is the same as on PC than RX from device must be the same
    1 point
  4. You're sending the request 10 times a second in rung 2 without waiting for the sensor to reply. I'd block the SEND block with a NC of MB 2 and reset MB 2 with a NO of MB 4. You'll also have to reset MB 4 yourself. It looks OK, but I'd follow Aus's recommendation and check it with a terminal program on your PC that is capable of displaying raw hex values such as Bray's Terminal. You'll need a USB to RS485 adapter as well for this. I'd go ahead and download it. You're not going to break anything. If you don't have a second COM port installed in your V130 you need to do that
    1 point
  5. One method is to "Port Forward" ports 3335 (for going online with the PLC), port 22 (for downloading from UniLogic) and port 8001 to the IP address of the PLC.
    1 point
  6. Hi I'm very new to Unitronics and Visilogic , I'm not a programmer and have limited experience in PLC, I'm a refrigeration tech and a business owner with strong back ground in control wiring, about 10 years ago I purchased a Siemens Logo PLC. down loaded the program and made my first program. I was probably up all night learning. After that I ended up with a contract to build a specialized refrigeration unit for a scientific cold lad with unique cooling specifications, as I could not find a controller that could meet the design specifications or out control system I purchased the V570 wi
    1 point
  7. I've said this before, but here it is again..... Don't do anything PLC wise until you've done lots of preliminary work using your PC. The best method to start with anything Modbus that you don't really know, is to use one of the various (free) modbus programs available to get your PC communicating correctly with the device. You then learn all the registers you want to use and how to go about it. Doing this via the PC is far, far easier than mucking around with the PLC trying to get an unfamiliar device to work. With that knowledge you then transfer the relevant details to the PLC,
    1 point
  8. Please post sensor nameplate or model. If sensor protocol is standard modbus - it is simple solution. If non standard protocol used - you must setup FB Protocol TX sender and RX scanner. In Visilogic you can find Example project with Communication configuration.
    1 point
  9. Check in sample programs under communications. I’m fairly certain one already exists there.
    1 point
  10. I think that perhaps my local mower shop is still building their website! cheers, Aus
    1 point
  11. Here's the terminal I use- https://sites.google.com/site/terminalbpp/ It's not pretty but all the settings are right up front. Plus you're going to need a USB to RS485 adapter to see the data on your PC Joe T.
    1 point
  12. I do not test this freeware but after start on my PC it offer send file with string to com port. https://www.aggsoft.com/com-port-emulator/download.htm One quastion about your application: is it possible to use analog input of PLC to read signal from sandard TLB analog output (0-10V or 4-20mA)? Vision offer 1time per scan analog signal mesurement and maybe you do not need above 10bit resolution. I see standard configuration: https://www.ebay.com/itm/TLB-load-cell-transmitter-amplifier-LAUMAS-RS485-4-20mA-0-10V-relay-outputs-/193479327670 Then - you do not
    1 point
  13. People are shocked when they find out what a terrible electrician I am.
    1 point
  14. Actually, there is a way to have a psuedo-popup window. It's done using a little-known and poorly documented system bit - SB 25 - "Do not draw display background". I used this for the PID tuning window on an oven project. I used a V1210. Here's the display with all the loops called "Setup" called from another screen. Pressing any one of the "Tune" buttons set a different bit in an array: I have code that watches for one of bits to go on and call this rung: You will notice that the description from Unitronics for this bit is flat-out wrong. The actual operatio
    1 point
  15. Surprisingly, people of about the same age in different parts of the world show the same habits and behavior. The same was demonstrated by my grandmother when she came to us after overcoming more than 2 km. However, she always thought of the reason why she came. One of these reasons is special to me. She said: I came to you because you will take me home by car. 🚗
    1 point
  16. It's very easy with the Schedule function block. I've attached the program from the UniLogic Example Projects collection, which is on the download page. I recommend everyone who plays with UniLogic download this as a reference. Joe T. UniStream_070_schedule.ulpr
    1 point
  17. Hi support team, scince UniLogic 1.17.58 it is possible to upload and download retained tags.(Also in UniApps it is possible to backup and resotre all retained tags to and from a DOK) I often use "user editable" parameters like timers or other values as retained tags. In case of an empty CPU battery all this settings would be lost (and of course the machine would not work correct). My solution at the moment is to save all retained values into a datatable and write this datatable to a file (DTI to file function). This workaround is not very comfortable. What I would prefer is a sol
    1 point
×
×
  • Create New...