Search the Community

Showing results for tags 'modbus slave holding register not updating'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 266 results

  1. Hey Guys,i'm working on implementing the master side of a custom serial master-slave protocol between a B&R PLC and an electronic card.As part of the data i'm sending and receiving is used to close various loops(e.g. cascaded temperature control where the temperature sensors and actuators are connected to the electronic card) , but other data is not as usefull (e.g. various data used for display or at specific times), i believe i will also need to implement some sort of priority mechanism.my first question is - based on your experience - how would the general master side SW architecture look like? (for example - the send side of mine is comprised of 3 tasks all running under the same cycle - lower level task in charge of opening the port, sending the data etc, a mid level task in charge of creating the packet based on command from upper level, giving commands to lower level and using status from it to continue and finally - an upper level task in charge of deciding which messages to send).my second question is - how would you implement the priority mechanism?thanks
  2. Hello.   I have a question regarding NB series display. The comunication is made through RS232 / RS485 comunication. I would like to use NB display as MODBUS MASTER and SLAVE aplication. - Display would work as MADBUS-MOSTER to talk to plc controllers. (Working through COM2 - RS485) - Secondly, Display would work as MODBUS-SLAVE to talk with (SCADA). (Working – Registers LW, LB))   What I have trouble with, is: - I would like to change variable in the PLC - for example : Regime_PUMP (address: 0x0001). - Regime_PUMP variable should be settable from all three devices PLC <-> DISPLAY <-> SCADA So: - If I change Regime_PUMP through PLC it should refresh also on DISPLAY and SCADA. - If I change Regime_PUMP through DISPLAY it should refresh also on PLC and SCADA. - If I change Regime_PUMP through SCADA it should refresh also on DISPLAY and PLC.   Does anybody have an example for NB series of display to do this?   Best regards.
  3. Dear Forum, I am working at a Gas Processing Plant which is running Emerson Delta Distributed Control System (DCS). The Control System is communicating with over 24 3rd party Packages in the field over Modbus TCP/IP using its VIM Module. We have implemented redundant communication with most of the packages so we have a primary switch and a secondary switch. We are facing a communication issue regarding an Over Head Compressor (using Rockwell Allen Bradley PLC) and Instrument Air Compressor by CAPS Australia running XE Controller (Dedicated Controller). The issue is that when the Over Head Compressor is plugged into the VIM Network (Network in which all 24 3rd Party Packages are plugged), the Instrument Air Compressor **stops communicating**. We can't even ping the compressor. At times the Instrument Air Compressor does reply but with TTL of over 30ms. When OVHD Compressor is plugged out, Instrument Air Compressor resumes communication. I have attached wire shark capture of the network with and without over head compressor. When the OVHD Compressor is plugged in, the capture shows heavy traffic being generated by its PLC (IP address 192.168.1.60). Another physical observation is that before the OVHD Compressor is plugged in the VIM Network, the NTRON Switch (Ethernet Switch) in OVHD Compressor panel shows static lights, unlike lights of a normal healthy network. When the OVHD Compressor is plugged into the VIM Network, all the lights of switches in VIM Network which were blinking previously also become static. Do the static lights mean that the network is being choked due to heavy traffic? Below are links for the Capture, IP Scheme and Architecture of Over Head Compressor. https://www.dropbox.com/sh/ar7ss8zzoo96g37/AAADguRpUDtdOnmN3xQX-Wlpa?dl=0 Please also note that OVHD Compressor is using following IPs 192.168.1.59  PLC (Internal PLC IP) 192.168.1.60  PLC (Internal PLC IP) 192.168.1.61  HMI (Internal PLC IP) 192.168.1.62  RedLion device for DCS Communication I would really appreciate if anyone would help me trouble shoot this issue.     
  4. The following is a post that was recently done. I thought that I would share... We will program a sequencer controlling seven cylinders that can be taught. The cylinders can be operator programmed from the AdvancedHMI screen. You will be able to select what cylinders to activate at each step and program in 500 steps. Our PLC will be the Do-More from Automation Direct. We will be using AdvancedHMI to communicate Modbus TCP to the Automation Direct Do-More Designer Software Simulator.  The following is the sequence of operation: Watch on YouTube: https://www.youtube.com/watch?v=In_W5SyWWBU The following is the explaination of the code: Watch on YouTube: https://www.youtube.com/watch?v=n63sXqUkjN8 To see the set by set development and the code visit our website. http://accautomation.ca/building-a-plc-program-that-you-can-be-proud-of-part-6/ Let me know what you think. Thank you, Garry http://www.accautomation.ca
  5. Dear colleagues, is it possible to operate two working Modbus units on one PLC (FX3u)? For example, one as serial Master with FX3U-485ADP-MB and another TCP Server with FX3u-ENET-p502?    
  6. Deploying An AdvancedHMI Project Here is our latest post on deploying an AdvancedHMI project on the industrial floor. Here are a few thing we cover: Hardware - Fanless Computer - Monitor - USP - uninterrruptable power supply Software - Turn Off windows update - Security - Set permissions - Limit internet use - AdvancedHMI - remove ControlBox, Miximize Screen Size, Topmost property Here is part of the post... Deploying an AdvancedHMI project on the industrial floor sounds like an easy task, but there are a few things that you should consider. The HMI (Human Machine Interface) user interface will run on a computer. The industrial environment is one in which temperature, dust, electrical noise, etc. are always present. This can also be combined with workers wanting to play with the new computer. We will look briefly at the hardware and software items that will make your install more reliable and user friendly in the field. Read the rest of the post... Let me know what you think. Thank you, Garry www.accautomation.ca
  7. Hello there. I have connected wireless module (master) to Vijeo Citect 7.4 using RS-485 to USB converter. My slave modules are supplied power from gird/generator and the master module is supplies from a UPS.    I'm reading Modbus registers of slaves modules data via wireless master. Every time we have a power failure from grid, I get #BAD from all slave addresses. The generator kicks off within 30 sec. That is the slaves are off for 30 sec. Even after the slaves are powered on, SCADA does not poll data from it until I restart the SCADA.    My current MODBUS parameters are:   Inittype = 3, TimeOut = 3000, WatchTime = 10, Retry = 2. Could you please assist me on which parameters to change in .ini so that SCADA reads Modbus registers of slave for more than 30 sec.   I tried increasing TimeOut to 30000 but it couldn't solve the problem. I would appreciate if some one could help me out.   Thanak you in advance.      
  8. Version 1.0.0

    302 downloads

    This is a short bit of sample code using Socket Service function blocks to read and write data from / to a V680S RFID tag using the Modbus TCP (-ETN) version of the V680S.
  9. Here is a recent post that I would like to share. Using Visual Basic 2015 we will log three holding registers from the PLC along with time and date into a Microsoft Access Database. We will log every minute into the database with the information that we collect from the PLC via Modbus TCP (Ethernet). All code will be done and shown so you can implement this in your application with different parameters. The information collected in the database can then be distributed or analyzed in the future. Visual Basic 2015 will be used with the EasyModbusTCP client/server library for .net. We will communicate to an Automation Direct – Do-More PLC. Using the free simulation software of the PLC Designer Software, we will retrieve three values of the Modbus Holding Registers using Modbus TCP. Once we have this information out of the programmable logic controller it will be placed in a Microsoft Access (2010) Database. This will be done by using a SQL command to insert the data. Read the rest of the post... Let me know what you think, Thank you Garry http://accautomation.ca/
  10. Hi all,    Its the first time in this forum and need help about slc05/05 processor and modbus RS485. We need to link one slc05/05 with 5 power analysers and 3 vfd all with rs485 modbus rtu ports, as i now the slc05/05 have RS232 that suports Modbus, can we put an converter RS232 to RS485 and put slc05/05 to read write the power analyser's and vfd's. There are any sample / step by step tuturial with modbus and slc05/05 ?   Best regards, Jorge Cruz  
  11. CP1E MODBUS Maximum Slave

    Hello everyone, so I noticed in Omron's CP1E manual, there are no certain info on maximum number of Modbus Slaves that can be attached, however the PLC itself able to connect to slave number 1 - 247 I have read from common MODBUS specs, that 32 slaves are the limit for most MODBUS connections. However there are also statements that with proper design (1/8 transceivers) that we can extend number of connected slaves to 256. Anyone have experience or info about this with Omron PLC? Thanks in advance
  12. PAROCK1 for HMI/SCADA View File Now a software solution is available for your Modbus (MB) needs in Rockwell/Allen-Bradley Control Logix or Compact Logix (Clgx) family processors, instead of a traditional 3rd party hardware like Prosoft MVI-56, Molex SST-SR4-CLX-RLL etc.  It is an Add-on instruction (AOI) for PLC/PAC firmware v16 or later, (other solutions are available for pre v16 systems).  For hardware interface, use PLC’s channel 0 (serial) or TCP/IP Interface module(s) to have as many MB TCP/IP devices or serial devices.  (Some limits apply based on system configurations, Comm. settings depending on HW used.) Connect any MB Client/Master or Server/Slave device(s) to your CLgx PLC, including flow computers, analyzers, VFDs, Power Monitors, Level gauges, Smart I/O, etc.  All the MB public/native function codes are supported.  32-Bit integers/floats as single entity are supported with byte and word level swapping. A separate utility automates the data mapping to your PLC logic.  Features -Serial Master (BASIC required Option); TCP; Slave; Redundancy; More than 5000 accumulative registers; MB CFC (Custom/Private Function Code) Support; Data mapping too – Between PAROCK1 & your PLC logic; Packaged with Rockwell; TCP/IP Interface Module; Volume Discounts; Annual Support Requirements -Rockwell/AB-CLgx processor with v16 or later.  Contact PCI for earlier versions. -If using CPU’s Chan0, you cannot use Chan0 for any other user mode activity. You can use it for non-user mode activities -TCP/IP Interface Modules from Rockwell/AB supported, are: -1756-EN2xx ControlLogix® Ethernet/IP communication modules, firmware revision 5.007 or later -1756-EWEB ControlLogix Ethernet/IP web server module, firmware revision 4.006 or later -1768-EWEB CompactLogix Ethernet/IP web server module, firmware revision 1.002 or later -1769-L30ER, 1769-L30ERM, 1769-L30ER-NSE, 1769-L33ER, 1769-L33ERM, and 1769-L36ERM CompactLogix controllers, firmware revision 20.011 or later -1769-L24ER-QB1B, 1769-L24ER-QBFC1B, 1769-L27ERM-QBFC1B CompactLogix controllers, firmware revision 20.011 or later -1769-L16ER, 1769-L18ER, 1769-L18ERM CompactLogix controllers, firmware revision 20.011 or later Other Related Services/Items -Custom PLC Add-on instructions building -PLC upgrades, troubleshooting, applications -PC Windows, iOS5, Linux, Mobile devices Comm. Drivers -Custom development, Technology Transfer Services  -Other Non-AB communication drivers for serial or TCP  -Full control system integration, training, architecture design This driver can be conviniently used with Visual Studio in development of complete large scale complex HMI/SCADA Systems. It can be used to perform advanced reporting MES, analytics, IoT, Big data type apps. One example is available to download here For More Info Overview of Parijat Drivers: Click here  Additional supporting Info about Parijat Drivers:Click here Complete Related Driver options: Click here     Submitter Scadadoctor Submitted 03/10/16 Category Other PLC Demo Software
  13. Version 1.0.0

    69 downloads

     Overview: The Modbus Master or Client provides an easy and reliable way to connect Modbus Ethernet or serial Protocol Compliant devices with applications, including HMI, SCADA, Historian, MES, ERP and countless custom applications. This driver supports all Schneider Electric (modicon) PLC’s and all other devices which use Modbus as a protocol. Open to support future models for this series of PLCs. Features Modbus/TCP Client or serial Master for communication with Modbus Slaves (Via standard PC serial ports, USB adapters; RTU and ASCII encapsulation in TCP/IP as well as Modbus TCP) Supports all Schneider Electric (Modicon) PLC’s or any other device which use any flavor of Modbus. Supports DANIELS/ENRON Modbus extensions. Can read up to 128 Words of Input / Holding registers or 2000 Bits of Discrete Coils / Input coils in one transaction. Performance –500mhz Pentium–10 words: 15msecs–100 words: 35msecs (avg) Full implementation of Class 0 and Class 1 Modbus functions as well as a subset of the most commonly used Class 2 functions This driver can be conviniently used with Visual Studio in development of complete large scale complex HMI/SCADA Systems. It can be used to perform advanced reporting MES, analytics, IoT, Big data type apps. One example is available to download here For More Info Overview of Parijat Drivers: Click here  Additional supporting Info about Parijat Drivers: Click here Complete Related Driver options: Click here    
  14. 502 port error

    Hi  i am trying to connect to omron plc (cj2m ) using modbus tcp/ip , by using the port 502 i  get an error saying that the port can't be reached is there any method to fix that or change the port number ?   thank you 
  15. Excel Add-in for Modbus/TCP Data Logging

    Version 3.11.2.0

    421 downloads

    ASComm Excel Add-in is a simple to use, non-programmatic way to populate Excel 2007 - 2021 (version 16) spreadsheets with data from PLCs, instrumentation, and other process hardware. ASComm Excel Add-in uses built-in drivers for Modbus/TCP and Modbus RTU/ASCII communications. No OPC, DDE, external drivers, or programming required
  16. View File Excel Add-in for Modbus/TCP Data Logging 3.6.8 ASComm Excel Add-in is a simple to use, non-programmatic way to populate Excel 2007 - 2016 spreadsheets with data from PLCs, instrumentation, and other process hardware. ASComm Excel Add-in uses built-in drivers for Modbus/TCP and Modbus RTU/ASCII communications. No OPC, DDE, external drivers, or programming required Submitter Automated Solutions Submitted 03/01/16 Category Demo Software
  17. port 502 error

    Hi  i am trying to connect to omron plc (cj2m ) from my pc  using modbus tcp/ip in c# , by using the port 502 i  get an error saying that the port can't be reached is there any method to fix that or change the port number ?   thank you 
  18. Hello, I am new to the connected components workbench software. I am working with an AB panelview component Hmi and would like to create numeric buttons to load integers into user variables in a schnieder LMD servo motor. The motor uses Modbus TCP to communicate. It appears that if I click on the numeric buttons properties there is a "Write Tag" of which you can use some default tags or create a new one. I am assuming that I need to create a new one with the motor's addressing but I'm not quite sure how to accomplish this. Any help would be much appreciated!!! Thanks, Steve   
  19. Converting DI to Ascii code

    Dear experts, i'm in learning curve to understanding converting DI to Ascii code. i'm attach here my solution that i'm think should be no problem. may i'm know how to send special symbol plc to printer. communication using modbus TCP. Printer format was: JDU |HEAD1|HEAD2|HEAD3|HEAD4| <CR>  
  20. IR register operation

    Hello, Can I add an offset value to IR register? for example, MOVR D0, IR0 and I have an offset value stored in D1, for example, &100, could I add the offset of D1 into IR0, to get IR0 pointing to D100? I know I can just do MOVR D100, IR0, but for purpose of versatility, I want an offset to be added in such a way. Thanks in advance. Xing
  21. FX3U-ENET and Modbus

    Hi There i have heard from our local mitsubishi dealer, that there is a Fx3U-ENET module which also supports Modbus TCP. so i ordered one, because i am planning to do a Project using a atv71 FU and a Codesys PLC, so the plan is, that these 3 Devices are able to communicate together over Modbus. has anyone done something similar before? what do i need to setup in FX-Configurator EN, and how can i send modbus commands through that module. i am using GX-Works 2 and have a Structured project. any help would be appreciated. thank you jason
  22. hai, im newbie in PLC, anyone can help me to connect PLC LS, expansion XBL c41a to servo L7S through modbus protocol? thanx and best regard
  23. How To Implement Modbus TCP Protocol Using VBA with Excel We will use Visual Basic for Applications (VBA) to communicate to a PLC using Modbus TCP protocol. Reading ten registers in the PLC and displaying a bar graph in Excel. Previously we have used VB6 to communicate Modbus TCP. The following steps will be done:1.Explain Modbus TCP protocol2.Install OstroSoft Winsock Component– Winsock API Calls for communication on network3.Develop the Excel and VBA application (Microsoft Excel 2010)4.Communicate to the PLC and sample code (Do-More Simulator)Read the rest of the post... How To Implement Modbus TCP Protocol Using VBA with Excel Here is a blog post that I thought was good to share. Let me know what you think. Garry http://www.accautomation.ca
  24. Hi, I have AB Micro820 PLC (2080-LC20-20QBB) which, acc. to the specs, can be both Ethernet/IP master and slave. I need it to be a master(scanner) and communicate with a KEYENCE DL-EP1 module, which is Ethernet/IP slave(adapter), but don't see any way to make that happen. How do you declare/configure Ethernet/IP slaves in Connected Components Workbench and how do you add slaves to your CCW project? I have an EDS file for the slave, but what to do with it? I imported it (have no idea where) with the EDS hardware installation tool which reported all was OK, but do not see the slave anywhere in the CCW. I only see in the Device Toolbox > Discover, but the only available option there is to remove it :) Thanks for any suggestions. Peter