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. Modbus fonction block error

    Hi everyone, first time posting here. I've got a problem with the Modbus MTCP-CP1L-Server fonction block. it worked fine for a good amount of time until i try to change an ethernet switch (not managed) on my network. at this moment the fonction block started to give me an error code (2211 ''unit is busy, can't execute''). So i put the old switch back again and I called Omron and they tell me to download Etherway and try to send some data to it but they can't do more. I did and BAM, it worked again. everything was fine for about a week and i was like, okay if etherway can ''solve my problem with the fonction block, i can put the new switch again, No I can't. It give me the same error, I try'd so many thing( put the old switch, everything that was possible in Etherway, change IP address, ethernet setting, reboot everything, connecting the unit direct to my PC. nothing can erase that error.  Unit is an CP1L-EM with built-in Ethernet port did someone had have the same problem, or have any idea that can help me ? thank. Sorry for my poor English, its not my first language.     
  2. FX3U as Modbus slave

    Hi I want to use FX3U as Modbus slave. I am using 485-ADP MB and successfully communicated as slave device. Now my master is able to access all my registers. But I want my Master to access only D1000 to D1100 registers. How can I do this? Please help me out. Thank You Joshua
  3. Modbus TCP

    Hi Dears I have 2 control systems. I want to connect to DCS with Modbus TCP ( as Slave ) first system is CP1H, with MODTC61 i can connect to DCS? second system is CS1D, which module can i use for modbus tcp slave? I have CS1D-ETN21D for connect to HMI, can i use this module for modbus tcp or I must use another module?   Best Regards  
  4. b&R 4PP015 Error

    I have a 4PP015.0420 panel with the led error that stays between green and red, and it doesn't work.The sequence of the LEDs at power:       Yellow   Red       Green   Red       Green   Green       Green   Green&RedAnd on the display :          Version    1.1          Status     400041000I think there is a Status Register that indicates the errors.How can I see it to know why the PLC is not put in RUN?Thank you in for your help.Sorry for my english
  5. floating point shift register

    hi all, i'm currently trying to shift register some data in the floating point (double word) format, just for an example i,m using a 0-20mA 0-40 bar pressure sensor to gather information from a can filler and want to log the data for lets say the previous 20 cans. i understand how the shift register works and can get it to work with single word just fine, im using floating point to make my life a bit easier by using sleepy wombat's scaling function block, i need decimal points as i will be expecting reading around 4.5 or so bar and expected to be within .2 tolerence this will then have to displayed on a HMI, which i assume will be easy enough
  6. Delta DVP12SE Modbus TCP Help

    I requested support on getting my DVP to talk to Factory IO for some cost-effective programming experience but the DVP is really poorly documented. The below wording and 2 pictures were all the support I got as I am not a business. The M codes are not listed in the ISPSoft help file and hard to track down, combined with things like "After the reception of the command is complete, bit8 in D1395 is ON" and then if I am reading input registers and holding coils but saving to a D word register how the heck do I convert the data into a useable boolean format for logic use??!! I have no been able to even get the DVP to read or write ANYTHING but I can use a modbus program to turn on the DVP's bits no problem so I know communication works. eg: F05 H500 will toggle coil Y0. The issue is when I try and use the DVP as the modbus client. From my laptop I can use these commands to modify Factory IO which is running as modbus server Slave ID 1: F02 H0000 H0009 (Read inputs 0 to 9) Tx: 00 02 00 00 00 06 01 02 00 00 00 0A, Rx: 00 02 00 00 00 05 01 02 02 C0 00 (In put 6 & 7 are on) F15 H0000 H0009 (force coils 0 to 9) Tx: 00 0F 00 00 00 09 01 0F 00 00 00 0A 02 00 00, Rx: 00 0F 00 00 00 06 01 0F 00 00 00 0A   But how the heck do I format the LD program to actually do those commands? IA PLC Modbus address_20160707.pdf SE-T001 Application Note Data Exchange SE PLC.pdf
  7. Omron rs485 communication

    I am using OMRON CJ2M-CPU15 with SCU41-V1 communication module I want to establish communication (rs485 modbus) between omron and Schneider device for reading out electrical parameters. How I can do this? I could not find any manuals and this is becoming very hard for me. I want simply to read few registers from Schneider. Where do I set unit number, starting register, ending register, number of data? I was recently using Siemens and Unitronix and started working with Omron recenlty. Do you have any examples or manuals for this? Thanks in advance
  8. Connect PLC to Kepserver

    I have Delta 12SA2 PLC it has RS232 port and I have connected it to kepserver (by Modbus serial) and then factory IO Now my problem is that when I connect my PLC to kepserver the RS232 port becomes busy with the kepserver and not available in the ISPSoft and therefore I could not demonstrate factory io and my logic in run mode in the isp soft together like you do in your videos. My PLC don't have ethernet port but is there an option in kepserver or any way by which i can use the same serial port of the PLC in isp soft run mode and kepserver+factory io together so that I can simultaneously show the logic running in isp soft and application working in factory io to my students. I googled a lot and found some softwares which make virtual serial ports for a given serial port but they don't work and soon hang Please help me I am in a great need of it. Thanks in advance.
  9. Hello, From modbus, Im reading a HEX variable in the data register D0, as it is a 32 bit variable, the second part is saved in D1, then I get: D0: BE62 D1: 31D7 The value that I should obtain in float is -0.2208932 as I obtained setting  BE6231D7 in online Hex to float converter and this agree with what I'm reading on the flowmeter.  The problem is that when I try to change the data type from channel to Real on CX programmer I obtain a different value, also the registers are not sort in the proper way, instead they are sort inversely 31D7BE62, and obviusly the obtained value is completely different. Also instead of Hex, I want to display the decimal, or floating value, is there a way to do this? I'll attach some captures.    
  10. Please could you assist with the software required to download data tables from 4 off DIRIS A10 Multifunction Meters into TM221CE40R Logic Controller via TMC2SL1 Comms Cartridge using Modbus Protocol over RS485. I have downloaded the Modbus tables from Socomec but not sure how to get these into the PLC. I would really appreciate your help in achieving this. I am using EcoStruxure Machine Expert - Basic to program the PLC & DAQ Factory Developer Release for my Touchscreen. Link to Socomec Modbus tables: https://www.socomec.com/files/live/sites/systemsite/files/SCP/6_gestion_energie/diris/diris_a10/DIRIS-A-10_COMMUNICATION-TABLE_2018-01_DCG01013_MULTI.html#General
  11. Hello, I have been so many days trying to comunicate the multiway software trought a serial usb converter with the SCU31 device, using a omron function block to read a holding register, but I can't achieved it. Now Im receiving some frames on multiway, but there is always some errors. I was wondering if somebody in here that have worked previously with modbus and omron can be able to help me in how to configure everything corectly to be able to read the value from multiway, on the plc, and where is this value saved.  I'll upload some captures to show what I have done till now.    
  12.  Hello, I have been reading some post on this forum about Modbus and omron, but it has been complicated for me communicate an Omron PLC and a computer just to test the Modbus communication. I have a PLC OMRON CJ2M-CPU32 20K  with a CJ1WSCU31-V1 that I want to communicate trough Modbus first with a computer just to test that is everything working ok.     How can I do that? How do I need to configure the units, switch? Nodes?   Im using multiway, and CX programmer, I already downloaded Macro Protocol to the PLC, but by now the only thing that I get is RD1 flashing when Modbus poll software is active on the computer, but this software says timeout, and don’t receive packets… I have used the easymodbus excel file to create the code to communicate the PLC, but as I see isn’t working.   Does somebody in here have got to connect a plc to the computer with this easy modbus file? How is the proper way to use it? Or there is a better way to use Modbus in Omron?   I’m really desperate.   
  13. Hello! I am new at programing PLCs. I am using TM241CE24R PLC with TM3AI4 analog input module. I can successfully read temperature from 4-20 mA sensor. I want to communicate with my PC (SCADA) via Modbus TCP. For testing purposes I am using CAS Modbus Scanner. I can read digital inputs, coils and holding registers successfully. Problem is that I can't read analog inputs (#300001 etc.).  I have nothing defined in GVL list. Is this causing problem? I also don't have any Modbus TCP Slave device in Ethernet_1. But how can be all the other registers read successfully?  Please take a look at screenshots below. Also check Error message from CAS Modbus Scanner. Where is problem? Please help. Thanks in advance!
  14. Modbus Addressing In Hmi Weintek

    HI all.  Am in some kind of trouble.. i have a sensor which has modbus RTU 485 . i want to connect it directly on weintek HMI ..    kindly help me out.. 
  15. Dear all; I can`t Write data configuration to CPU Q02HCPU.     
  16. FX3U-485ADP-MB Problem need help

    I have got a FX3U-16M and -32M PLC and trying to connect with Moxa NPort 5130A serial device server to work with a scada.  It seems that i dont get the modbus to communicate.  I have tried the 110 ohm, 330 ohm and open setting on the device.  I am making use of a 2 wire system. I have configured both the channel 1 and channel 2 of the PLC to work with MODBUS 485. i have written a program like follow M8411    ----------- Move H1087 D8400                  ----------- Move H1 D8401                  ----------- Move K2000 D8409                  ----------- Move K400 D8410                  ----------- Move K10 D8411                  ----------- Move K3 D8412                  ----------- Move H1 D8415                  ----------- Move K100 D8416 I just need to test if there is communication from these cards.  i have got 15 cards to test. Any other help will also be appreciated.
  17. hello I have been forced to replace a TWDLMDA20DRT with a Schneider TM221ME16R. the plc is a slave but I am having trouble getting the Modbus data exchange to work like it did with the old plc. I have setup the serial port to use Modbus etc etc and I played about with the read_var FB but this wasn't required in the old plc so im confused as to why I would need to use it on the replacement. I have come across another FB send receive message but again i'm not too sure if this is required.  the master plc uses the msg2 and exch2 command. I believe I am just missing something very simple here.   Lighting Panel - Old_PLC.twd Lighting Panel1 - Master -.twd Lighting Panel - Pillar5 -.smbp
  18. CIF11 Modbus Slave

    Hi dears  I have one CP1H CPU and CIF11 option port on it. CP1H will be slave and I want to use modbus slave function. (ABB is Master and CIF11 is slave) I check the logic with modbus poll and i didnt have any Receive from CIF11. I have some questions: 1- which terminal in CIF11 must be used? SDA+,SDA- or RDA+,RDA- ( I use Modbus RS485 two wire ) 2- I mounted CIF11 on port 2 and in setting of port 2 I Choose RS-232C in Mode, Stop bit=1, parity=none , Data bit=8. is there another settings? 3- I set CIF11 DIP switches ( ON,ON,ON,OFF,OFF,ON) is it OK? 4-I change 4,5 DIP Switches to ON in CP1H.   Thanks
  19. Version 1.0.0

    230 downloads

    This solution solves Modbus TCP Peer to Peer applications for CP1H / CP1L PLCs with CP1W-MODTCP61 adapter modules
  20. CP1 Modbus TCP Peer to Peer View File This solution solves Modbus TCP Peer to Peer applications for CP1H / CP1L PLCs with CP1W-MODTCP61 adapter modules Submitter PMCR Submitted 10/24/19 Category PLC Sample Code
  21. Modbus TCP with CP1H and CP1L from PM

    From @SamuelT Please, I want to know if you know how to communicate two plcs omron CP1H (master) and one CP1L (slave). The master CP1H will send 10 DM memories to slave CP1L. Now I have this configuration: CP1H MASTER PORT: CP1W-MODTCP61 MASTER IP: 10.150.1.5 SLOCK: 1, DIP SWITCH PLC # 4 = OFF CP1L SLAVE PORT: CP1W-MODTCP61 SLAVE IP: 10.150.1.1 SLOCK: 1, DIP SWITCH PLC # 4 = ON I use the modbus RTU function blocks, but the master PLC does not communicate or send the DM memory values to the slave PLC Thank you very much for your reply if you have any example program it helps me a lot MRTU_CP1L SLAVE.cxp MTCP CP1H_MASTER.cxp
  22. Has anyone connected a Swegon ventilation unit to QJ71MB91. At Swegon, Read Holding Registers is 03 and in GX 0500. 03 is not in GX. I can't make it work. modbuscomp.pdf
  23. Hi,  I have a problem with modbus communication. I set everything as shown in the pictures and I get a error 04. What is wrong ? program.bmp ustawienia.bmp
  24. RJ71C24

    Hi, I want to set communication between ABB CI853 Modbus Master module and Mitsubishi RJ71C24 module. I tried with predefined protocol (you need to set slave address, but ABB is master), also with non-procedural (with G_Output function block), but without success. I tried connect ABB with QJ71MB91, and it worked because you can then set slave address and a station number, and this can't be set with RJ71C24??? If someone had a similar problem, I'll be grateful for sharing a solution. Best regards
  25. Hi,   I'm pretty new to allen Bradley and wanted to know if there was a function that could help me out. I have a rotation sensor which feeds back to the PLC via a digital input, once every half second or second once machine is up to speed - I want to record the off time of this DI (how long it is off between pulses, essentially how long it takes for drum to rotate once). Is there some way to record this time and use this value for compare logic? any help would be greatly appreciated.   PLC: Micrologix 1400 series B RSLogix 500 version 11.00.00 (CPR 9)