Search the Community

Showing results for tags 'modbus/tcp'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 240 results

  1. Hello everyone! I need your help.  I use the PLC: Q06UDEHCPU and the module: QJ71MB91. I programmed in the program GX Works 2 I instaled a library of "QJMB91ModbusSerial_V120 (FB - QJMB91ModbusSerialMaster)" and using it wrote temperature sensor interrogation program. The sensor is interrogated by the channel 2 and has the following switch settings:  Switch 1 - 0000; Switch 2 - 0000; Switch 3 - 0000; Switch 4 - 0A04; Switch 5 - 0000; which are specified by the PLC parameter in GX Works 2. I found an example of writing a program to install the switch settings in the user manual QJ71MB91 using ZP.UINIT instructions. I wrote a program to this exemple. Not prescribed bit address, which should be established when the program is executed (M0) (ZP.UINIT  "U4"  D0  M0). I wrote: ZP.UINIT  "U4"  D0  .  After executing ZP.UINIT instruction PLC stops working, blinking error, settings module is not install. How can I write a program to configure the Switch Setting?
  2. Serial/Modbus communication

    Greetings, I have L02CPU and LJ71C24 (for serial comm) and they act as a master. For slave I have some energy analyzer device. Device has a Half-duplex RS-485 serial interface (Modbus RTU protocol). Master only needs to read some data from slave. My question is: What protocol should I use for mentioned communication (MC, Predefined, Nonprocedural, Bidirectional)? I saw that if I use Predefined protocol I can select in Predefined Protocol Library, under the Manufacturer, Schneider Electric - MODBUS - 03: RD holding Registers. Is this OK for my type of communication? I will try to do some testing between LJ71C24 and QJ71MB91 (who will act as a slave), this or next week, but it would be helpful if someone can tell me correct protocol for my type of communication? P.s. I am using GX Works 2. Best regards, Luka
  3. Would any one help me on how to configure the Modbus plus proxy TCSEGDB23F4FA in transparent mode in order to read M340 PLC registers  to SCADA , via the Modbus plus proxy TCSEGDB23F4FA? I have set up the proxy to communicate with the M340 PLC and gave a Modbus plus node address to communicate to Modbus plus network but the Adroit SCADA device driver still not healthy in order to display the registers status on SCADA. M340 MB+ Proxy Module.pdf
  4. 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?    
  5. 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.     
  6. 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
  7. 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?    
  8. 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
  9. 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.      
  10. 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.
  11. 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/
  12. 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  
  13. 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
  14. 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
  15. 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    
  16. 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 
  17. 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
  18. 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
  19. 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 
  20. 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   
  21. 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>  
  22. 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
  23. 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
  24. 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
  25. Hi, i am start a aplication whith modbus for a simple comunication(read/write), some analogic imputs and outputs, whith, AB Micrologix 1500 LSP (1 com port Rs232) and whith a Omron PLC CP1L-L + CIF01 (rs232). I using CP1L like a master, but i try a lot of time and no read/ Write happens, just the recognition of Node (1) and the error code 88, no mather whith Function code i use. I use Modscan32 whith Micrologix 1500 and works fine, com settings are right to, i try 38k, 19,2k, and now 9,2k None stop bit 1, setting on CP1L are in serial Gateway. If i take the cable the reponse memory go to zero, so the communication is happen, just dont in right way. Is possible to use, RS232 whith CP1L, for Modbus communication right ? I already see PCMR code for modbus, but is to complex, for my aplication. No ofense. Someone can help me?