Jump to content

Search the Community

Showing results for tags 'modbus'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Our Community
    • Come on in!
  • News and Announcements
    • Latest Release! UniLogic Spring 2020--Loadcell, BACnet IP Server and more!
    • VisiLogic:9.8.64 - Link to mobile app, Ladder: 2x the Space!
    • New!!! ***** U90 Ladder*****
  • UniStream HMI + PLC Programmable Controllers & UniLogic Software
    • UniStream: Hardware
    • UniLogic Software
    • UniLogic UDFBs
    • Industry 4.0, IioT, MQTT, OPC UA
  • Vision, Samba, Jazz and M90 PLC + HMIs & Software
    • Vision & Samba PLC + HMI Controllers & VisiLogic Software
    • Jazz, M91 PLCs and U90Ladder
  • Software Utilities
    • SD Card Suite
    • Remote Operator
    • Remote Access
    • DataXport and DataXls
    • UniDownloader
    • UniOPC
    • UniDDE
  • Utilities for .net and Visual Studio
    • Unitronics PCOM Protocol
    • COM Object ActiveX .dll
    • .NET driver
  • Project Design
    • ...I have a project...what hardware do I need?
  • User Application Stories
    • Just finished a great project?
  • Tips and Tricks
    • Best Programming Practices
    • Tips and Tricks
  • Job Board
    • Projects seeking Programmers
    • Programmers seeking Projects
  • General Discussion
    • We're Listening...
    • The Lounge
  • News and Announcements Copy

Blogs

  • Unitronics' Blog: PLCs, HMIs and more
  • Saragani's Blog
  • Simon's Blog
  • Ash Neilson's Blog
  • Joe Tauser's Blog
  • Unitronics en Español
  • Powered by AMPS
  • Alldrives UK's Blog
  • Unitronics, Howman Style
  • PLCNewbie's Blog
  • Telestar Automation Blog
  • Webinars Collection
  • Tim's Corner
  • Blog
  • TELESTAR (Italian)
  • i4 Automation
  • i4 Automation (UK)
  • Unistream UDFB's

Categories

  • From Headquarters: Sample Applications
    • From Headquarters: VisiLogic
    • From Unitronics: U90 Ladder applications
  • User-submitted Applications
    • From Users: VisiLogic applications
    • From Users: U90 Applications

Categories

  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 124 results

  1. When I checked my project I notice error on my RS485 CPU COM port it says "Both Slaves have been set to the same communication protocol. Slave1 may be set to TCP/IP, while Slave2 is set to RS485." Does it mean UniLogic RS485 can access only one slave device ?? So if I have more than one modbus slave I have to connect second slave through TCP/IP connection ?? What happens when I have 21 devices ?? I am really screwed if there are this kind of limitation.
  2. My requirement is to connect & operate 6 HMI individually (Without mirroring) with PLC and the 6 HMI screens should view from computer remotely. I Hope to do it with Mqtt protocol or via Modbus. Please can someone help me to try this cos I have done only one project using Unistream PLC with Mqtt protocol previously. Please see the attached draft design of the project.
  3. Good day All Im wondering if someone will be able to assist me with the following. we have a few in house built machinery that runs off Arduino Controllers. We needing to link it up to a Unistream HMI to Display the Data. I know it can be done via Modbus. Im just needing some help with the initial Modbus from Arduino to Unistream setup Please Assist where you can
  4. Hello to all, I am working on a new system where a Unistream B5 TR22 is a Modbus TCP master to 11 Samba PLC's Nothing to exciting but my biggest problem is a lack of knowledge. This is only my second project with a unistream PLC, with the first being a very straight forward ladder program without anything special. i do have a few years of experience with visilogic so that side is not a problem. What i already figured out is how to make the set-up on the master and slave side. the thing i don't get is addressing between the devices. In visilogic i could literally select which mb,mi,ml i wanted to read or write. Now i don't see that option. how does addressing work between these devices? At the moment i am still waiting on the unistream plc to arrive, so that i can try some stuff out, butt before it arrives i would like to make a little headway before that. kind regard's Leon Mötter
  5. hi all I try to connect more then one master to my slave(PLC v130) with MODBUS TCP , the masters need to work simultaneously. can someone send my example how to do it?
  6. Hello, I have a school project where i was tasked to read an MI from a Slave PLC as a Master PLC. I've tried using the help fuction, but i havent seemed to make it work. Thanks in advance
  7. I'm using a V130 and I'm trying to comunicate to clearscada via a sierra wireless modem, my V130 is the slave and I can't find the address for ML's. the addresses shown in help doesn't work.
  8. Hi, I'm new to the RS485 communication protocol. I am trying to communicate with a Siemens SINAMICS V20 VFD with the Unitronics Unistream PLC ( USP-070-B10) The VFD leads to a 3 phase motor I set up the baud rate to 9600, data bit to 8, parity list to none, and stop bit to 1 In addition I set up a remote slave in COM1 of Masters drop down, in MODBUS In the slave configuration I made a coil named "motor" that writes to address 40 every 100 ms I spoke with a Siemens Technician about the driver settings, and could not find a setting to "ECHO" bits to the driver I was told I need to set a transmit telegram The is there an FC03 for "read holding register" or a way to "Echo" data to 40,100 (MODBUS)? Any sort of references or suggestions for setting up communication? Thank you, Wynn Ni
  9. Hey guys, I wish you could help me with this one... I'm currently doing a project using a pump that communicates by Modbus RTU to my US7-B5-TR22. The serial communication and code is done by USB. I'm aware that you recommend to use a Prolific USB to serial converter, I have a FTDI one that worked perfectly in an other configuration but still modbus using serial by USB. Now I can't understand why on my new configuration it fails. I "sniffed" the communication between the PLC and my pump using my computer and a serial terminal, the request of the PLC and response of the pump are correctly sent. The problem is that the PLC doesn't seem to receive or decode well the response because every sessions in my remote slave are failed. Thanks in advance for your help, I attach a piece of code for you to have a look of what I've done. Cheers, Louis test.ulpr
  10. Hello, I am struggling to understand Visilogic's MODBUS tools. Say I would like to turn a light on and off from the master PLC, while the output is attached to the slave PLC. What would be the best function block to do this? I keep using the FB #5 and I will get the bits set high, but then they will stay high. I am practicing so I can use PTO utilities to control steppers instead of lights. First, I need assistance in understanding why things like MODBUS FB (5) sets and doesn't reset. The attachments are just HMI lights telling you if you get the commands from the Master PLC. (You get them only if the 2 bits begin in RESET using the online mode) Otherwise, O5 in the picture is the LED I am trying to turn off and on from the master. Thank you! MASTER MODBUS TEST.vlp SLAVE MODBUS TEST.vlp
  11. Hi all, I use US5-B10-TR22 to read data from Modbus slaves. Technical documentation of slaves gives such information (see attached picture). Could someone tell if in US5 is the same byte order (didn't find that information). As for now everything looks OK, but I'm afraid that there could be a problem when there will be large numbers accumulated. Thank you in advance.
  12. Good evening, all, I have a project where UniStream US5 controller with RS485 port is used to read data from 8 electricity meters. These are exactly the same model and parameters quantity and type also the same. I thought about making a struct for one meter with all variables needed and then copy and change struct name so I don't have to enter each of these variables for each meter. But there's no way to copy struct in UniLogic. Maybe someone of you has done something like this and can share some advice? One more thing: since no special logic needed, I'm planning to use PLC Communication Modbus Master's dialog to add slaves, enter all required data variable (about 50 each meter) and use toggle bit for each of the meter. I wonder if it's the best way to do this, because I need to read about 50 variables from each of slaves. Your thoughts about this would be highly appreciated. Thank you in advance.
  13. Is it possible to have MODBUS TCP (Ethernet) via the CPU Ethernet? I have two separate networks I'm using. My PLC needs to get data from a DCS via MODBUS on a 172.17.100.xxx network and a computer needs to get the MODBUS data from the Unitronics PLC via a 172.16.100.xxx network. Can I do this or do I need to find another solution?
  14. Hello to all. I am working on a project in which I will only get PLC data to an external control system, we will do it in MODBUS. Everything works correctly, but I find two problems: The addressing mapping is 1: 1 accessible from MODBUS, so they could read any record. The same is reproduced in writing, so that accidentally (or not) they could overwrite important values of my program. Could we limit the reading to a certain number of records? Could we limit the writing? Thanks in advance!
  15. Hi I have invested a lot of time without succes to comunicate a US7-B10-RA28(+ module UAC-CX-01RS4) with a ultrasonic device( modbus RS485 ). I want to read holding registers (40001 to 40016). The manufacturer of device recommend to read the holding register (03) ( 40001 to 40016), I did this with unilogic software but without succes¡ In Global Tags show: Modbus Slave Status: 3 Could help me ? I do not Know What is the error?
  16. I use a PLC (US5-B10-TR22) and communicate with a smart meter throw MODBUS TCP/IP. The registers of this smart meter store values as 'single'-precision floating-point variables. Throw the UniLogic is not possible read 'single' values and I did not find a way to do this conversion.. How can I solve this issue? Charalambos
  17. Hello. My Unilogic USP-104_B10 needs to receive information tags from a different PLC (Schneider M340) via modbus I think, and im not sure how to do that. I was wondering if anybody could help me with this or explain what I need to do in order for the PLC's to communicate so I can reiceve tags and inputs/outputs from the M340. I have setup the panel ethernet configuration ip , but now I need to know where to set the M340s IP and if I need a Master Slave function for this to work. Anybody who wants to help a newbie out? Thanks. -Steffen, Norway
  18. Hello, I'm trying to poll some values from Laumas weight transmitter - and I'm kind of stuck. I've tried to read some addresses according to the Laumas manual, but the power-up value in the receiving variable is never overwritten. I get modbus status as -11, which I don't know what means. THe setup: It should be reading all the time if set up as periodic and the active bit is set ? The values when running: Anybody with any hints for me? Thanks, Bjarni
  19. Dear all, We communicate 10 nodes through rs485 communication in v700 port 1..the problem is if my one divice is failture means other 9 nodes getting delayed..kindly provide solution RegArds Mohamed
  20. Hello, I'm just starting my first project with UniStream/UniLogic and I have the PLC hooked to a PC via Modbus, PLC as Slave. I haven't found a way to sync the clock in PLC with the PC clock. Is there a way to set the PLC clock via the Modbus ? Thanks, Bjarni
  21. Hi I'm new to PLC operations, and I was hoping I could get some help getting started with MODBUS communications. I have a PLC/HMI running UniLogic and Festo CMMO which I am trying to run over MODBUS TCP. I have added the remote slave, and downloaded the program onto the PLC. However, I haven't been able to get any proof of the connection. I have added registers (3 and 17) based on reads to tags (INT16), but they all display as 0. I have also tried displaying the value of slave.sessions, but it also shows 0 which leads me to believe it has not even tried to start the connection yet. I feel like I'm missing some critical first step or debugging process? I would appreciate any help or point in the right direction. I'm using the controller linked below and trying to follow the MODBUS instructions starting on pg 27. https://www.festo.com/net/SupportPortal/Files/425129/CMMO-ST-LK-SY_2015-07a_8043621g1.pdf Cheers Russ
  22. Dear colleagues. I hope you are doing fine. I have 5 power meters in a RS485 bus communicating through Modbus RTU with one Unistream which is acting as master. 3 of them are from the same brand and model. They are all ok, connecting and communicating. The registers are 32 bit length (treated as INT32 in the Unilogic). So far everything is good. For the other 2, from different manufacturer, It seems I am receiving the data in a strange way because the data is not coherent. It seems I am receiving the words or bytes inverted. if I use a external Modbus client in my laptot, I can see the value correctly displayed as a FLOAT32 ABCD and it matches with the actual value (12.3, 24.1, 48.3 volts... etc). In contrast, with the PLC I see gigantic values. I tried to use the swap byte funcions but couldn't get it. I don't know whether there is a way to compose a REAL from two INT... Does anybody ever had similar problems/solutions? I am kind of desperate. Thank you and best regards.
  23. Hi Would like to get some assistance on the following, im using a US5/7-B5-TR22 with a UAC-CX-01RS4 for rs485 comms Im talking to a single UV lamp ballast, I carnt seem to get any comms working, the ballast has LED indicators for when comms in working/ fault and also transmit and receive LED,s, I have got these on once then haven't managed to get them to come back, Im thinking its a software issue as I used some software off the internet "simply Modbus master" and could send commands and receive reply's, I have had this working before with a similar ballast talking re485 using a samba PLC, but the customer wants to transition to unistream, I have attached a copy of a project I have been using to just try get the comms working, and also the document supplied with the ballast, specifying the registers to use 3kW Lamp Driver modbus rev13 100813.pdf Test Ballast project.ulpr
  24. Hello, I just have a small problem, and I keep on asking some simple stuff, because I'm new to Unitronics, and programming PLCs. I have a JZ20-J-UA24, and I want to read from it, and write via labview. This requires a modbus configuration. I looked at the sample modbus configuration on that unitronics supplies with U90 ladder, and some modbus forums on unitronics, but didn't clearly understand what to do next. So suppose I want to read on labview the temperature measured via a KTC connected to the PLC's analog input channel 1 displaying its value at the level of MI 19, how can I do that? And can someone explain the configuration of the PLC because I didn't get alot what's going on, or how even to read the IP of the PLC.
  25. Hi, I'm using a Samba 3.5 with ethernet card to send data to scada system. With test purposes I'm trying to send a discrete input MB 0 in response to the read digital input command (0x02) with the following instruction: But in the test software (Simply Modbus TCP Client) I can't see the value of MB0. Trying to find the answer, I tested sending the MI10 value in response to read holding registers command, but It doesn't work neither. I'm using the modbus TCP initial setup from the examples and the webinars, and I can see the connection in the Samba, but I can't send the data. I don't know if I'm missing something, this is my very first time with Unitronics modbus TCP. I really appreciate any help or suggestion to put me in the right way. Regards
×
×
  • Create New...