Search the Community

Showing results for tags 'modbus ascii'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 279 results

  1. NX1P2 Modbus RTU Code and Write Up. View File This code is designed to implement Modbus RTU on an NX1P2 Controller using the NX1W-CIF11, NX1W-CIF12 or NX-CIF105 module (mounted to controller or EtherCAT coupler).  Created by an Omron Engineer. Submitter Michael Walsh Submitted 05/22/20 Category Tutorials and Quickstarts
  2. Version 2.12

    795 downloads

    This code is designed to implement Modbus RTU on an NX1P2 Controller using the NX1W-CIF11, NX1W-CIF12 or NX-CIF105 module (mounted to controller or EtherCAT coupler).  Created by an Omron Engineer.
  3. i am trying to communication my weintek HMI with Siemens Energy Meter PAC3200. I am using MODBUS TCP/IP Protocol but i am unable to read the data register of my energy meter. Somehow i got to read the 32bit data register but still unable to read the 64bit data register of my total KWHr Energy consumption. I have also attached the manual of my energy meter. Please guide how to read all the data registers of that energy meter. Please see the page 40 onwards for reference. The manual the about 7MB so i cannot attach the file. https://support.industry.siemens.com/cs/attachments/26504150/A5E01168664B-04_EN-US_122016_201612221316360495.pdf  
  4. Mitsubishi Fx5uc

    hello everyone, Im new with mitsubishi and  ive got a project with a Fx5uc but im stucked in communication protocol to communicate with a weintek HMI ive already tested easybuilder simulation with a modbus tcp ip symulator and it works but im completlely lost about mitsubishi, is there a way to communicate via Modbus TCP/IP? or which protocol would u recommend as i have to connect 2 drives as well. thank you in advance
  5. 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.     
  6. 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
  7. 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  
  8. 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
  9. 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
  10. Hello, I am trying to receive data from a scale via rs232. my setup; compact logix l18er with a 1734-rs232ascii point IO module to receive the data. I am receiving data from the scale, but I have very little understanding of ascii, so I do not know how to convert the data I am receiving to something use-able. any help on how to convert the data to something I can use or where to even start would be much appreciated. using a scientech ZSA 210 scale https://scientech-inc.com/media/downloadable/files/links/1/2/12222-d_rev-f_instruction_manual.pdf
  11. 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.
  12. 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.    
  13. 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
  14. 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.    
  15.  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.   
  16. 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!
  17. 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.. 
  18. Dear all; I can`t Write data configuration to CPU Q02HCPU.     
  19. 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.
  20. 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
  21. 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
  22. Version 1.0.0

    230 downloads

    This solution solves Modbus TCP Peer to Peer applications for CP1H / CP1L PLCs with CP1W-MODTCP61 adapter modules
  23. 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
  24. 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
  25. 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