Search the Community

Showing results for tags 'hmi with modbus communication'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 194 results

  1. Hi ! I have to Control and Read an Masss Flow Controller (MFC) MKS MF-1, I have give this one an IP Adress (10.46.103.75). How can I Control it over Modbus TCP? I found in GX Works 3 in Tool/Predifined Protocol Support function the Modbus Menue, but i have no Idea how to Config it, i have no Idea how Modbus works..... Have someone an Example for a Configuration? 
  2. Please find listed below the NModbus4 console code.  The DataStoreWrittenTo event is not firing when I do the write to PLC C0 relay coil.  Can anyone tell me how to get the event to fire?  using Modbus.Data; using Modbus.Device; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; namespace NModbus4ListenerDemo { class Program { #region "Properties" static TcpClient tcpClient = new TcpClient(); static ModbusIpMaster PLCModbusMaster = ModbusIpMaster.CreateIp(tcpClient); static string C0_RelayCoil_Address = "3073"; static ushort C0_RelayCoil_BitAddress = Convert.ToUInt16(Convert.ToInt16(C0_RelayCoil_Address) - 1); #endregion #region "Setup Listener" static IPAddress MiddlewareSlaveIPAddress = IPAddress.Parse("10.95.11.34"); static TcpListener MiddlewareSlaveTcpListener = new TcpListener(MiddlewareSlaveIPAddress, Convert.ToInt32("502")); static ModbusSlave middlewareslave = ModbusTcpSlave.CreateTcp(Convert.ToByte("255"), MiddlewareSlaveTcpListener); #endregion static void Main(string[] args) { string PLCMasterIPAddress = "10.95.11.32"; tcpClient.BeginConnect(PLCMasterIPAddress, 502, null, null); Thread.Sleep(100); #region "Set Relay Coit C0 to false" PLCModbusMaster.WriteSingleCoil(C0_RelayCoil_BitAddress, false); Thread.Sleep(50); bool[] C0_RelayCoil_BitValue = PLCModbusMaster.ReadCoils(C0_RelayCoil_BitAddress, 1); string C0RelayCoilBitValue = C0_RelayCoil_BitValue[0] ? "True" : "False"; Console.WriteLine("C0 Relay Coil = " + C0RelayCoilBitValue); Thread.Sleep(50); #endregion #region "Create DataStore and start listing" MiddlewareSlaveTcpListener.Start(); middlewareslave.DataStore = DataStoreFactory.CreateDefaultDataStore(); middlewareslave.DataStore.DataStoreWrittenTo += ModbusDataStore_DataStoreWrittenTo; middlewareslave.Listen(); Thread.Sleep(50); #endregion #region "Set Relay Coit C0 to false" PLCModbusMaster.WriteSingleCoil(C0_RelayCoil_BitAddress, true); Thread.Sleep(50); C0_RelayCoil_BitValue = PLCModbusMaster.ReadCoils(C0_RelayCoil_BitAddress, 1); C0RelayCoilBitValue = C0_RelayCoil_BitValue[0] ? "True" : "False"; Console.WriteLine("C0 Relay Coil = " + C0RelayCoilBitValue); Thread.Sleep(50); #endregion Console.ReadLine(); #region "ModbusDataStore_DataStoreWrittenTo" void ModbusDataStore_DataStoreWrittenTo(object sender, DataStoreEventArgs e) { Console.WriteLine("ModbusDataStore_DataStoreWrittenTo event fired!"); } #endregion } } } I've attached ladder logic screen shots showing the C0 relay coil being set on by the console application. The console application displaying the messages.  Note the absence of the "ModbusDataStore_DataStoreWrittenTo event fired!" message. WireShark showing the TCP Modbus traffic between the modbus master and slave over port 502.   The PLC NetEdit3 Modbus information Paul  
  3. CP1E-N30DT with Hyperterminal PC

    Dear Expert, i'm issue to do communication CP1E with PC via RS232. im try to use plc for sending information and receive by hyperterminal pc. after googling some information there have multiway to success. by the way until now cannot settle. please expert share completed setup that's work: 1. communication cable from PLC - PC (my information use pin (2,3,9 jumper 4&5) - (2,3,5 jumper 7&8) 2. sample program that works (im using TXD & RXD with memory D1000 to keep data) 3. connection cable to PC using MOXA Serial to USB converter. 4. plc serial setting (default: 9600,7,N,1,Host link) my target to give instruction to printer to start print. printer need ACSII code. if this communication success i'm will convert all data to ACSII by ACSII convert function.   thanks,
  4. Modbus TCP/IP iQ-R series

    Hi, I have R04CPU (iQ-R series) on one side and on the other side is QJ71MT91 (modbus tcp/ip module). Is it possible to make communication between them (QJ71MT91 is master and R04CPU is slave)? iQ-R series doesn't have Modbus TCP/IP module, but is it possible to set modbus tcp/ip on built-in ethernet port of R04CPU, and how? Best regards Luka
  5. Jiskoot modbus

    Does anyone have experience with a Jiskoot Insight controller? Im trying to establish communications between it and a MVI69-MCM. I have checked and rechecked all my settings. I am not sure what I am doing wrong. Thanks
  6. Hi everyone, I just want to layout the structure of the question. I have a GOT2000 (GT27* series) that I have hooked up and communicating with an Allen-Bradley PLC. I have established connection and can pull out certain tags values from the PLC program in RSLogix 5000. While I can read the tag values, I cannot modify them (in certain conditions).  So let say that I have a User-Defined Structure named "Smoke_Detector" and here are it's available members: Smoke_Detector:   - ALARM (BOOL)   - ON_TIME (DINT) * DINT in Allen-Bradley but Signed Binary 32   - Battery_Life (REAL)  My question is that while I can read and display the tag and its members through the following:   - LAMP for Smoke_Detector.ALARM   - Numerical Display for both Smoke_Detector.ON_TIME and Smoke_Detector.Battery_Life But when I tried to modify the values via a Bit Switch or Numerical Input, it does not operate on them.  However, if these tags are members are just standalone tags, meaning that they are not within a UDT in RSLogix 5000, then I can operate/ modify them just fine.  Here are the things that I have tried: * Making sure that the permission are set to Read/ Write in RSLogix 5000 * Making sure that the tag definition in GT Designer 3 follows the structure where @[channel]:[Network #]:[Station #]::[Tag instance and member (e.g Smoke_detector is the instance and Alarm is member] Any possible insight and input are appreciate! 
  7. Hi all !    I need a help about connection between mitsubishi GOT Simple series (gs2110) to kawasaki robot via crossed ethernet cable on tcp/ip protocol. I actually have a fx3g for main unit of my project, and also i have a kawasaki robot for slave unit. My purpose is basically to control both with HMI. I used RS422 between plc and got gs2112 and I want to use a crossed ethernet cable between robot and got but i did not communicate with ethernet even between pc and got. There is a manuel which I found on internet about GOT2000  Connection Manual (Microcomputers, MODBUS/Fieldbus Products, Peripherals) I think i need to work on  microcomputer connection (ethernet) subject, what do you think about that ? I need all advices and ideas which come from you.   [ROBOT]--------Ethernet--------[HMI]--------RS422--------[PLC] https://electrobit.ee/web/file_bank/Manuals/operaatorpaneelid/mitsubishi/GOT2000/GOT2000-connection-manual-ENG.pdf
  8. FX5U Modbus-TCP Server (Slave)

    Hello everybody. I need a solution for Modbus-TCP server on the PLC. With the FX3U it would work with the FX3U-ENET module. The internal interface of the FX5U should actually be able to work with the library of the FX3U (FX3GModbusTCPServer_GW2_V100) or not? Because a socket connection is now possible. I would be happy about suggestions. Dave
  9. Hello, I want control ATV320 inverter through MODBUS protocol. I found, that ATV312 inverter have IEC 61800-7 status chart. I attached picture. I want to ask, maybe ATV320 inverter have same IEC 61800-7 status chart and where need find it. Yesterday I try to find all evening, but don't successful. Somebody could help to me.
  10. Did fx3g 485bd supports modbus comn

    Did fx 3g485bd supports modbus communication.  And if yes,  by which instruction. I am using adprw. 
  11. Hello All, What are the methods to get the monitoring data from A series PLC? I know its not supported any more, interface modules are not available...,    So the basically,   If I want to write customer software (may be embedded) what is the protocol I need to follow? I am connected to CPU unit by the way, there is no other modules except few digital and analog interfaces on PLC. Thank you in advance for your direction, direction in any way would help!
  12. Hi guys,  I have been trying to sync up my RSLogix 5000 tag to GT Designer 3 (GTD3) objects but I noticed that GTD3 only recognize certain native data types from Allen Bradley Logix5572 Controller (Model 1756-L72).  In the documentation that I found, it show that certain AB Native Tags are transferable to GTD3 Data Type (See the attached file "AB Tags to GTD3 Tags" ) One of the User-Defined Data Type from the RSLogix 5000 that I am trying to sync to Text Display Object in GTD3 is called "UDT_MY_CLTR_INFO" here is it's hierarchy of inheritance from RSLogix 5000     Name                                                                     Force Mask                                                                                   Data Type MY_CLTR_INFO                                                     (...)                                                                                                 UDT_MY_CLTR_INFO      MY_CLTR_INFO.NAME                                                                                                                                           STRING           MY_CLTR_INFO.NAME.LENGTH                                                                                                                      DINT           MY_CLTR_INFO.NAME.DATA                                                                                                                           SINT[82]    In my exported tag which is a CSV file, it doesn't list the sub-classes MY_CLTR_INFO.NAME, MY_CLTR_INFO.NAME.LENGTH, and MY_CLTR_INFO.NAME.DATA, it would only list MY_CLTR_INFO.  How do I link up my "Text Display" Object in GTD3 with the tag "MY_CLTR_INFO.NAME" whose Data Type is STRING and GTD3 does not have a STRING Data Type?  I appreciate anyone that took their time to read my problem and any attempt to help me out. Thank you. 
  13. Leuze MSI430 Safety PLC help??

    Hi all, My Task: To control write to registers to my MSI430 safety PLC from Leuze Electronic using a HMI as a master. Protocol: Modbus TCP MSI430 (Modbus TCP - server/slave) Generic HMI (Modbus TCP - client/master) I'm reading Okay from the Register address 401101-40110 But I'm not able to write to the MSI PLC to address 402101-402109 Please see the attached images for gateway description for the device. Please advice/guide on how this could be done. I have tried using MBPoll and it says Illegal Data Address. Kind Regards NarkO Please find the below link for the manual   
  14. C200H communication issue

    Hi We got 2 laptops Laptop1 communicates with a CJ1M and a C200H PLC. No problem. Laptop 2 communicates only with  the CJ1M, Not with the C200H, Same program, same conditions. I also tried with "Direct online" but no succes How can I get laptop 2 also to communicate with the C200H? Thanks
  15. Hello,   I need to communicate a Datalogic Qw2120 ( with a USB connector  )  to a Modicon M251, it has a RJ45 Serial, i don´t know where to start , can anyone please give me a hand ? I would appreciate it very much.    
  16. Hello,   I need to communicate a Datalogic Qw2120 ( with a USB connector  )  to a Modicon M251, it has a RJ45 Serial, i don´t know where to start , can anyone please give me a hand ? I would appreciate it very much.
  17. Dear all, i have using nexgenie 1000 cpu for my new project. but i am not able to connect with codesys v2.3 . I have installed target file T1.4 and T2.4. trie with both. Now i have doubt with communication cable. I have used standard RS232 Cable with 5and 8 Pin short. Kindly suggest the correct one. Thanks in advance
  18. HI, I HAVE FX5UCPU connected to other devices through built in RS485 port , i have gone through ADPRW instruction .To configure Slave devices like other third party controller , is there any special instruction required. i need few sample programs for modbus data transfer. 
  19. Modbus/TCP PN communication

    Hello, I'm trying to make communication between a 315-2 PN/DP and MSA Gasgard XL. I want to read out 40010, and 40020 from GasGard, it works sometimes, but most of time the connection does'nt  build up.  The parameters i using are: Start address: 9 Lenght: 10 Recv_Time: 5s Conn_Time: 5S I did playing with Recv and Conn Time and it effected the rate of succesful connections, but it still drops too often. Also i tried to read only 9 and 19, but then it didn't read 19. Anyone knows how could i optimize the connection? Thanks  
  20. CP1E RS232 communication to my weighing

    hello, i want to connect CP1E to EK300i (weighing scale) with RS232 communication. i attach file of datasheet ek300i, wiring CP1E to ek300i and my cx programmer. if i push send data on ek300i, com LED indicator in CP1E is on. and i dont know why my cx programmer can't change data of memory with data from ek300i? what should i do?   ek300i.pdf CP1E to EK300i rs232 communication (belum dicoba).cxp CP1E to EK300i rs232 communication (belum dicoba).opt wiring rs232 ek300i to CP1E (belum dicoba).txt
  21. I'm looking at project with an OMRON NJ-101.  I was planning on using Modbus TCP/IP from the PLC to talk to a MOXA gateway (MB3170) which would then talk to about 7 different slaves over RS-485.  Looking at detail at the blocks that are supplied by OMRON (MTCP_NJ V1.3, available from https://www.myomron.com/index.php?action=kb&article=1245), I noticed that it doesn't send the slave ID, which will mean that it won't be able to talk to different slave ids through the one IP Address. I had a look through the actual code and it sends "FF" in place of the slave id.  In particular I was looking at the "MTCP_Client_Fn03" block. Is there another way to get the NJ101 to talk the full MODBUS TCP/IP protocol? Is it possible to edit the blocks provided by OMRON?  It seems to me that they are locked down. If I could edit it I could just add the functionality Thanks for your help in advance.
  22. Fx3ge to Fx3ge communication trough lan

    Hello, For my assignment, I need to control lights from 2 seperate locations. I have two FX3GE-24M plc's connected through a LAN network. The idea is that when input X004 gets high, relays Y000 to Y004 gets disabled. I'm trying to use the Fixed Buffer communication protocol.  Master IP address: 192.168.1.80 Slave IP address: 192.168.1.81 I'm using GX Works2 together with the FX configurator  I'm lost in all the different datasheets... Could someone point me to the direction on what settings i need to change using fx configurator and a basic program of communication?  Thanks in advance, Dennis
  23. Hello guys, i want to connect my CP1e-N30DT to modbus device like weighing scale, but i try to searching modbus with RTU but all of them use function block, i dont understand and i think my device cant use a function block.  Can you help me for connect CP1E to modbus device for get a holding register(4xxxx),input register(3xxxx), coil(0xxxx) and input status(1xxxx) with cx programmer? thank you 
  24. We have a Injection Molding Machine from Mitsubishi with a A2US-S30 CPU. I would like to establish a communication of this PLC with a  PC. The CPU has a 25 Pin Dsub connector. How can I achieve this? This is an old machine and we don't have any manual for this PLC. Somehow I could find an instructions manual on the internet but this manual does not contain information regarding PC communication or supported communication modules.  I have never worked with this Mitsubishi A series PLC. Please suggest a way to start and share any manual which I could refer to. Thanks!
  25. Greetings everyone, I have a Proface HMI(LT-4201TM Modular type DIO) connected to a siemens flow transmitter(MAG6000). Communication between these two devices is using modbus. The modbus register that im using to get the data/reading of a totalizer from siemens transmitter are 403022 and 403023. I managed to display the exact totalizer value from siemens transmitter on the Proface HMI screen. But I couldnt get the exact totalizer value at the ladder logic side, the value that i get at the ladder logic side seems like a raw value. For an example, the totalizer's value is 147083(real value), but at the ladder logic side the value for 403022=15598 and 403023=17316.   Can anyone guide me to solve this issue.   Thanks in advance.