Search the Community

Showing results for tags 'FX3U as Modbus slave'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 318 results

  1. I'm attempting to look at an offline PLC program to see device values (Ts, Ds, Ms). Is this even possible? Are device values saved when saving a program online? Program is for a Mitsubishi FX3U. Using GX Works2 v1.601B. Win10-Pro OS on the computer. I've an AB background (several decades), but only a couple weeks with Mitsu. Unfortunately, the person who originally wrote and maintained these programs isn't available. This is an easy process with AB, but I just hit walls in the Mitsu IDE. Can anybody help?
  2. KINCO PLC as MODBUS RTU slave

    Hello to everyone. I hope you are doing well. I'm trying to establish a communication between my PC and my KINCO PLC. The manual states it supports MODBUS RTU protocol, so I downloaded two different Modbus Master simulator I found out: Multiway from OMRON and qModMaster. None of them seem to work properly. I attached some pictures of the messages I get. https://ibb.co/f1mCSNt Multiway message https://ibb.co/bP5cX1t qModMaster message I include the configuration of the communication parameters. https://ibb.co/nMty8D9 PLC parameters https://ibb.co/6RTqVfC Multiway parameters https://ibb.co/N1XTccd qModMaster parameters According to the manual, in order to play the role of Modbus master with the PLC it's necessary to configure some instruction blocks (I'm programming in ladder). However, I could not find any block to configure as Modbus slave. I don't know what else I can do. I'm in trouble with this task. Am I making some mistake? Thanks for your attention.  Kind regards!
  3. Serial communication with KINCO PLC

    Hello to everyone. Nice to meet you all. I am programming a KINCO PLC model HP043-20DT using ladder on KINCO BUILDER. I need to establish a serial communication with my PC. The PLC has a RS485 port which I adapted it to USB to connect with my PC. The PLC allows, at least, two ways to establish serial communication: MODBUS or free-protocol. I've read the software manual and tried to reproduce the examples it provides using the instruction blocks for MODBUS (MBUSR and MBUSW) and free-protocol (XMT and RCV) communications. However, I could not receive the data on the PLC. I could effectively transmit data with XMT from the PLC to the PC and I could verify through a tool called Access Port. In relation to MODBUS, I am using a simulation tool called Multiway from OMRON, however, I get no response from the PLC. If any of you have some experience with this software or this device, I would like to ask you how could I solve the problem. Thank you for your attention. Kind regards.
  4. IEEE-754 Floating Point

    Hi, Is there a simple way to convert hex value of IEEE 754 to real value in gx works 3 Regards, Ramkumar  
  5. Hi everyone, I'm new here. Thank you all in advance for the help you can give me. I have one machine with PLC Omron NJ101-9000, and this is Server in the Modbus communication. In the attachments, you can find the function block I used to communicate with 1 client. This work OK and I don't have problems, but I need to communicate with 2 clients at the same time. This block only admits one connection at a time. How I can connect 2 at a time? If I create 2 of these blocks, does each client need to connect to a different port? Do I need "open" this port in PLC configuration?   Thanks!
  6. Hardware IQ-F connected via Modbus TCP on the NZ2FT-MT works Fine with normal IO. Now i want to run the NZ2FT-C24 with an modbus RTU protocol, i'm planning to make this. Anyone having an example for the NZ2FT-C24, what can help me?
  7. Hardware IQ-F connected via Modbus TCP on the NZ2FT-MT works Fine with normal IO. Now i want to run the NZ2FT-C24 with an modbus RTU protocol, i'm planning to make this. Anyone having an example for the NZ2FT-C24, what can help me?
  8. Hi. I have this project where we read out data from temp sensors and vaccuum stuff. We use Pfeiffer vaccum cpt 200 for the vaccuum, and we create a frame to send to the modbus unit to pull a value from example '306'. With all the current items we pull data, all the values are only updated every 5 seconds, is there a way to perhaps pull several frame/addresses in one request per device? Current codes we read, some are in sequence of each others, but more has a bit of gap like 00, 02, 306, 307, 398, 330 and so on.    
  9. I am trying to create a simple `Hello World` Modbus TCP/IP program using Twincat3 and virtual PLC (PLC running locally on my computer).   I have set up a LabVIEW Modbus TCP/IP master + slave program (both of which are working see screenshots below).  I can send data between LabVIEW's master and slave programs. And also read the data from Python script (so I know for sure they are all working).  Now I have tried to create a Twincat3 program to set some registers using Beckhoff example What I have tried:  - I have tried changing the ipAddr parameter to: 'localhost', '192.168.88.1', '192.168.88.126'  - Also I have tried the nUnitID set to: 0, 1, 16#FF (16#FF as specified by Beckhoff docs) This is my Beckhoff code:     PROGRAM MAIN     VAR         ipAddr         : STRING(15) := '192.168.88.1'; //Tried also 192.168.88.126 and 192.168.88.1 'localhost'         M0 AT %MB0     : ARRAY [0..3] OF WORD;         nValue         : ARRAY [0..3] OF WORD;         fbWriteRegs : FB_MBWriteRegs;         bWriteRegs     : BOOL;     END_VAR           IF NOT bWriteRegs THEN         nValue[0]                := nValue[0]+1;         nValue[1]                := nValue[1]+1;         nValue[2]                := nValue[2]+1;         nValue[3]                := nValue[3]+1;                  bWriteRegs                 := TRUE;                  fbWriteRegs.sIPAddr     := ipAddr;         fbWriteRegs.nTCPPort     := 502;         fbWriteRegs.nUnitID        := 16#FF;             //Tried setting this to 0,1 and it also and didnt work ...         fbWriteRegs.nQuantity     := 4;         fbWriteRegs.nMBAddr     := 16#3000;         //Tried: 16#3000, 0, 1         fbWriteRegs.cbLength     := SIZEOF(nValue);         fbWriteRegs.pSrcAddr     := ADR(nValue);         fbWriteRegs.tTimeout     := T#5S;         fbWriteRegs                (bExecute:=TRUE);     ELSE                  IF NOT fbWriteRegs.bBUSY THEN             bWriteRegs             :=FALSE;             fbWriteRegs            (bExecute:=FALSE);         END_IF                  fbWriteRegs                (bExecute:=FALSE);     END_IF  What should I change in my code in order to make this example work? Thank you in advance for any support!   Info about LabVIEW programs:  I am using the Modbus TCP Master / Slave examples  The IP address is set to localhost and the port to 502 (which should match the IP address in my Beckhoff code)  I am 100% sure it works because I have also tried connecting to this program via Python script. Picture of my LabVIEW programs:
  10. Hello, I am using Easymodbus library to Communicate with Modicon TM218 PLC. Reading and Writing of Holding Registers working fine. But coming to writing of single bit in data register i am facing Problem. Need to know how we find coil address of a data register. e.g I have to write bit 1 to MW70.1 address. How we do that. Right now i am reading complete MW70 Register and Manipulating it using bit manipulation techniques and again Writing using Write single Register Function. It's working but some times because of reading problem it writes some garbage values. At that time complete system effecting.    Please provide me any solution. Thanks in Advance. 
  11. Dear All, At the moment, I have project with PLC Delta and HMI Proface. I design HMI GP2500 by GP-PRO/PBIII ( V7.0). I see in List Device PLC of Software  not support PLC Delta.  Can you tell me how do you connect or Software HMI Proface ( Gp2500) support PLC Delta ? Thanks you very much.
  12. Hello, I'd like to ask for a technical confirmation on using MODBUS TCP in a M340 + Fiber Converter Card (BMXNRP0200C) or Switch (ADAM 6521) + Fiber Optic patch cords and cable topology to communicate with a SCADA system. The main objective is to provide a fiber optic connection point inside a control panel because it is located in a area prone to electrical interference. The protocol to be used would be MODBUS TCP. We have two simple topologies in mind but we are not sure if they are feasible. So i'm asking for a little support about it. Considering the attached simplified topologies (Drawing1.jpg), am I able to use MODBUS TCP to communicate a M340 with a SCADA workstation with no problem? I'm not sure if the protocol allows this kind of change on the physical medium like if it was pure Ethernet.    
  13. How to enable modbus in mitsubishi plc

    hello there, I have Mitsubishi FX3G 24m PLc which has an ethernet port for communication port. how to enable Modbus TCP/IP for data collection of sensor values and sending it to a 3rd party. If this has been answered pls link to the thread.
  14. Module Ethernet For FX3G

    Hi everyone, i'm just starting to learn plc mitsubishi. Today i got a problem about picking module plc. I want to communicate between FX3G and R04EN through ethernet. When i research it said only FX3U-ENET module can be connect to FX3G. But when i say it to seller, he said FX3U-ENET-L is a new update, and it can connect to FX3G @@!.  I don't know if what he said is true or not, can you guy give me some advice? The picture below is the documentation related to these 2 modules. Thank you very much and have a nice day. ^^!!
  15. FX 3U to Q CPU wireless Communication

    Hello experts, i want to connect 9 FX3U units with one  Q cpu base PLC unit over wifi, can you plz share the configuration details.
  16. FX3U to FX3U via wifi

    Good day fellow PLC ninjas! I have a question/ concern which I would love your opinions on. We have 3 FX3U PLC’s+ENET cards. Two of the 3 PLC’s move around in an EMS trolley. The other is a ‘base station’ with a GOT2000 connected via Ethernet. Base PLC IP = 192.168.1.11 HMI IP = 192.168.1.31 Carrier 1 IP = 192.168.1.61 Carrier 2 IP = 192.168.1.62 I have programmed the base PLC to use Active communication; we are using fixed buffer communication to send and receive data to/ from the Carriers. The carriers are set up as Fullpassive ‘slaves’. This part works well and the update time changes (using a counter in the base station) from 1s to 100ms (because it enters a different work station).  My issue is the following: using a network sniffer (WireShark), I pick up plenty of re-transmits and sequence number errors coming from the base PLC’s ENET card. This is troublesome and causes delays when the update time is required to be fast (100ms). I am sending and receiving 10 words of data. The wifi seems stable, and there is minimal noise in the area. The power has been turned down and the antennas used are suited well for the application. The antennas are at a similar height to minimize possible loss of signal. I have LOS (line-of-sight) to the carriers at all times; to at least one of the antennas (I am using 802.11n). Has anyone picked up issues or found settings which can be used for comms over wifi? I can easily do this using a S7-1200 Siemens PLC and have done so using 12x S7-1200 clients and 2 AP’s with 1 base PLC. I have also successfully done this using 8xFX3U client with a System Q base PLC. My suspicion is that the delay in reading and writing to/ from the BFM in the ENET card is causing this. I am not sure that if I change to a FX5U will help. The communication cards on the Mitsubishi PLC’s seem very limited. Does anyone have any technical details on the access times between the CPU and communications cards’ BFM? Help is as always, appreciated.
  17. Hello, Has anyone got an Omron PLC NX1P2-1140DT1 running with Modbus TCP/IP? I tried to reach Schneider several times, but there is "live" or email to discuss or get help, has to go to thru someone from Mexico then he will email to France. All of my attempts was lost, I can establish a "CONNECTION" but I can't READ the Coil - I got the error "Gateway Path Unavailable" (that means  "Used alongside gateways. Basically, this code means the gateway couldn’t allocate an internal path to process the request. Therefore, the gateway could probably be misconfigured or overloaded") My program is based on the MTCP_Client_NJ_E (Revision 2.3 date 23/07/2021 - JP Viskovic from France) I can read the coils using MODBUX Doctor (France) but I can't make work with Etherway. Any advice is welcome. Thanks   MTCP_Client_NJ.slr MTCP_Client_NJ_E.pdf
  18. If this has been asked and answered already, please point me in the right direction. I have a production line that uses Gefran Geflex temperature controllers on a Modbus and Machine Net communication system. The main control panel (MCP) is the master on the Modbus and communicates directly with 3 slave Geflex units (Group Leaders?) which then communicate with the others in that group via a Gefran Machine Net type interface (ribbon cable daisy chained from one unit to the next). The issue is twofold: These temperature controllers are slowly becoming harder to find AND they are a PITA to change out because they have to be put in place and then properly addressed using software on a laptop. This means more downtime waiting for someone who knows how to set these up to get there to do it say on a weekend/middle of the night type situation. (I do like my beauty sleep). I'm looking to replace these units with standard SSRs and control them with a PLC (P-2000 most likely). What I would need to be able to do is interface between the MCP and PLC in some way that the MCP still believes it is controlling 24 units (24 Modbus IDs) and have the PLC receive the reads and writes from the MCP and know which ID it was meant for in order to set the SV and respond with the PV and/or alarm codes as that ID. I hope that all makes sense. Basically I need a way for a PLC to act as if it were 24 separate Modbus slave units. Could I just use a separate HMI next to the MCP? Yes, but there are temperature dependent routines in the main operation of the line (extruder run inhibit, etc.) that requires the information reported back on the Modbus. I've looked into Modbus Gateways but the MGs I've found so far don't seem to be capable of assuming the role of 24 different slaves and interfacing with the PLC in a way that would allow the individual control.  Any ideas would be greatly appreciated.
  19. Hi every one. I have strange problem with Modbus communication in Citect 2018. I am communicating to the site switches through Modbus TCP protocol using MODNET driver and reading its sates. I am reading data from Input registers (registers addresses starts from 3x). In default, MODNET driver initializes communication trying conecting to holding register 40001 so I changed initialization in citect.ini to address 30001 because driver didn't want to establish connection because switches don't support holding registers. Now, connection to switches is working but only when page is open where I showing data from them. When I change the page, Citect loses communication and inform this showing alarm on HW alarm page. When I again open page where I show read data, communication back again. Where could be a problem? I will mention that I have more different Modbus TCP devices in project configured and with them don't have such problem. The only difference is that I am reading from holding registers and initialize parameter in citect.ini is not defined for them as for switches.
  20. Hello guys, I have an application with a Delta PLC (slave), Load cell module and Delta HMI.  The problem is that the Delta PLC has to report to the already existing platform of Siemens S7 PLC (Master) with Profibus. The Master (Siemens) writes and reads data from the Delta PLC. The question is, how can I set up the Profibus communication? Are there any documentations about the Memory Mapping, configuration etc. There are some modules for Profibus Slave from Delta but I cannot find any references or anything. Thanks in advance.
  21. Hello All, Please Help Me.. How I can to connect Omron CP1L-M + CP1W-Cif11 with Mitsubishi Inverter D700? Thank you. Omron modbus belum fix.cxp
  22. Analog input melsoft (fx3u)

    Hello, I am new to the programming of logic controllers. I have a Chinese FX3U 24 inputs and outputs with analog in and outputs. I am trying to teach myself the basics of the programming but I am stuck at the analog part.    what I am looking to do is create a program so that when a 12v battery bank voltage drops and rises it can trigger other outputs. I have a voltage divider which outputs 1/5 of the input.    Thanks for your help in advance.  Ben. 
  23. Hallo, i want to connect PLC Omron CP1E to indicator weighing scale with modbusRTU connection and i have a CP1W-CIF11 module to connect indicator with CP1E. ,but I have no experience in RTU modbus communication in the PLC. How do i start?   *i just need output: 1. Coil (Reference No = 0. Output bits) for input switch with address 3 (Tare). 2.Input Status (Reference No = 1) for output lamp with address 17 (stable) 3.Input register (Reference No = 3) to read data with address 5 (gross weight) 4. holding register (Reference No = 4) to write comparison data with address 17(over) page 85 - 94 in attachment     ad4402_manual.pdf
  24. Hi guys, this is my first topic on this forum. I need an help with modbus communication through NX1P2+CIF12 and slaves inverter. I have never used this board, so i need an example to understand. Thanks
  25. Has anyone successfully used a 1783-NATR for Modbus TCP communication between a ProSoft MNET card (in the ControlLogix rack) and a Modicon Quantum? ProSoft MNET:  10.x.y.z Modicon Quantum:  192.168.1.x There is one (1) ProSoft MNET and four (4) Modicon Quantum's. NOTE:  I know there are other devices that support this behavior...the NATR is the suggested standard hardware.  We are getting various responses from distribution and support.  ...I was hoping someone in the community could confirm.   Thanks for your time!