Search the Community

Showing results for tags 'modbus rs485'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 282 results

  1. Modbus Addressing in Weintek HMI

    Modbus addressing in Weintek HMI to poll data from Temperature sensor through RS485. In my system i have connected Temperature sensor to I/O Scanner has output in terms of RS-485 which directly connected to COM3 Port pin. No. 6 (as Negative) & 9 (as Positive) of HMI (Model No: MT8071iE) and HMI connected to PC via ETHERNET. I want to read temp on HMI screen via MODBUS protocol. So, can you please provide me instruction about addressing of MODBUS register in Easy-Builder Software so can read data of corresponding register. Because when i do compile i got an error like " Device no Response". I hope i will get reply from your side as Fast as possible to overcome this problem. Thank you.
  2. Hello I have a scenario that's been bugging me for some time now. The scenario consists of a Micrologix 1400 that I need to control it's output from modbus/tcp. In detail what I really need is to be able to manipulate the O0:0 through modbus/tcp. The PLC would be the master and I would be the slave that triggers the connection to the master. I'm using a Modbus-Client on my PC and that should be the slave. Any idea as to how I can manage that? Currently I can send data to the master but everything is "stored" on B10 and I have no idea how I could write directly on O0. Thanks a bunch guys. PS: I'm borderline noob. 
  3. hy everyone.. I want to communication inverter SJ700 to hmi mitsubishi GS2017 for read an code error in interface HMI? is it possible to communication between them?
  4. Parity Error

    Any one  have any experience to due with Parity Error when RS485 input can't get? Below is the circuit trace i get. It shown me that Parity Error when input signal from my device. But some of the time I can get the input message completely. Sometime can't. Is there any way to solve it?  
  5. Hello everyone! Briefly introduction, I would like to communicate and test the following hardwares: 1- Omron CP1E (using an Option Port CP1W-CIF11) ; and 2- Arduino Nano using MAX485 RS485 transceiver. The CP1E will operate in "Modbus-RTU simple master" as illustrated in image 01. The arduino will be in slave mode address 1 and the library used is "SimpleModbus NG" ( https://github.com/angeloc/simplemodbusng/tree/master/SimpleModbusSlave ). Taking the sample in official manual ( https://industrial.omron.eu/en/services-support/technical-tools/downloads#cp1e ) , pages 248-253 in the "CP1E CPU Unit Software User's Manual" (Image 04) describes a sample communication to an "Inverter Slave". I want to use the Arduino Slave as the Inverter Slave just to be sure that all previous steps are correct. Therefore, I would like to know: 1- As illustrated in Image 02, Am I missing any resistors? 2- Should I connect the GND to the FG? 3- In this scenario, the DIP switch setup should be as illustrated in image 03? Only DIP4 is OFF. 4- Can I test it just forcing A641.00 and checking the DM Area Data, as shown in Image 05? The code used in it is the following: // Wiring: Arduino and MAX485 // RX0 - RO // TX1 - DI // D2 - DE/RE #include "SimpleModbusSlave.h" enum { REGISTER_0, REGISTER_1, REGISTER_2, REGISTER_3, REGISTER_4, REGISTER_5, REGISTER_6, REGISTER_7, REGISTER_8, TOTAL_REGS_SIZE }; unsigned int holdingRegs[TOTAL_REGS_SIZE] = { 0, 1, 2, 3, 4, 5, 6, 7, 8 }; void setup() { modbus_configure(&Serial, 9600, SERIAL_8N1, 1, 2, TOTAL_REGS_SIZE, holdingRegs); } void loop() { modbus_update(); }   Any answer can be helpful. Thank you for your time!   Regards, Jose.  
  6. I using easymodbus library to connect and read data from 3 PLCs CP1L but it run unstablely, sometime it disconnect and i cant re-connect PLC, it give error time out when i try to reconnect when it happen, i restart PLC and everything back to work. Someone please help me. I am new with modbus and omron
  7. i am new in plc programming . i know the basics difference between the rs232, rs422, rs485. but i am little bit confused in it. so i have the following question regarding these terms. 1.  can these protocols communicate with each other i mean rs232 can communicate with rs422 or rs485 and same. 2. my plc has port rs422  but i can connect it with my laptop serial port which is rs232 ? 3. what are the main important points that kept in mind during communication or cross communications.   any help will be greatly appreciated.
  8. Hi, I want to sent simply frame using FB mady by JPV from Omron France. It should send just frame  01030FA60002273C  to slave #1 When I check Multiway - it seems that frame is OK, but slave no reply. I checked different soft to monitor serial port and frame looks different - some bytes are sent twice.  I attached   screenshot and you can see the difference - Can you explain why it happened. Both frame I got when I set W30.0 in PLC and I saw just one blink LED Hmm I also attached screenshot from my serail port configuration. I tried also diiferent set of CP1W-CIF11 dip switches, but the same effect. Any clue??? thanks in advance                 
  9. MODBUS Newbie!

    Hi Guys just a quick one before I begin thinking about a new project using MODBUS RTU i want to have a MODBUS network over RS485 consisting of a HMI (Master) FX3G (Slave1) and a remote IO unit (Slave2)    obviously  i I know the master can request information and send commands to slaves, but can Slave1 send outputs/commands to Slave2? Or can only the master communicates to each slave? 
  10. Dematic PTL

    For the Dematic PTL (Push To Light) systems, does anyone have any information on the protocol used.  I'm assuming it's RS-485 based since the buttons use MAX1487 drivers. What I'm looking for is if anyone has a starting place to look at the handshaking or messaging.
  11. Hi, First as i know we can communication in MODBUS RTU as summary below 1.FX series, FX3U-485ADP-MB + ADPRW instruction  2.Q series, QJ71C24 <Serial interface module>+ Pre-defined protocol  3.Q series, QJ71MB91<Modbus interface module Three thing upper, i think it will ok   The question is  1> FX series, Cloud we use < Serial communication only not Modbus adapter> + RS instruction to do Modbus and How to do that.                              2>Can I write modbus rtu over RS-232 interface of the CPU module Q01UCPU and how
  12. Hi I have some problem about QJ71C24N with Modbus RTU Predefined Protocol. I have setting predefined protocol for QJ71C24N and use 485 wiring to modbus slave but when I start communication it returns CRC error then I use Circuit trace to check communication that result as in attachment that there are some echo back from send command mix with response command from slave device I think with these response cause crc error because there are some echo back in response data I have setting echo back to prohibit but result are same. How can I solve this problem?  
  13. Did fx3g 485bd supports modbus comn

    Did fx 3g485bd supports modbus communication.  And if yes,  by which instruction. I am using adprw. 
  14. hi there is a 1215c and a fatek B1 plc here. 1215c as master and fatek as slave. i want to read 10 16bit words from Fatek to 1215c and i use Modbus rtu 485. i have a problem with what comes from Fatek To 1215C. thx 2018-08-25_11-56-16.mp4
  15. Hello Everyone I have a problem to connect FX5U with Inverter Mitsubishi D700. ( no  respond from inverter) . I did read and following the manual. Could any one can help me?
  16. Please assist me with the following; regarding the ME96SSHA-MB Power meter data transition with Melsec-Q series PLC; We acquire to read various values on dedicated Modbus storage address registers at the simultaneous into a Melsec-Q series PLC via Modbus (TCP or RTU)  for calculation purposes. Naturally, since the reading of these variables are to provide accurate instantaneous results, it is a requirement that these values are to be read at one scan.   However, as can be seen below, there is a gap in address register range – of which, if all of these are scanned simultaneously, yields an exception error when read. This error is only avoided by scanning these data sets separately – which is not ideal for our application – since accuracy in calculations is imperative.
  17. Please assist me with the following; regarding the ME96SSHA-MB Power meter data transition with Melsec-Q series PLC; We acquire to read various values on dedicated Modbus storage address registers at the simultaneous into a Melsec-Q series PLC via Modbus (TCP or RTU)  for calculation purposes. Naturally, since the reading of these variables are to provide accurate instantaneous results, it is a requirement that these values are to be read at one scan.   However, as can be seen below, there is a gap in address register range – of which, if all of these are scanned simultaneously, yields an exception error when read. This error is only avoided by scanning these data sets separately – which is not ideal for our application – since accuracy in calculations is imperative.
  18. i am using a VSD Altivar71 and controlling it through serial MODBUS communication, the probllem is sometimes after stoping the motor the drives gives the "nst" fault which means according to the programming catalouge "freewheel stop" it doesn't do that all the time but it happens a lot and after uploading the code again to plc the problem is gone for a while before it happens again. i am sure that the fault is happening because if communication because when i controll the drive from hmi it never gives that fault, i checked the setting and tried different cables but it still gives "nst" and motor never moves, i found that in catalouge but i am not sure how to address the problem.
  19. 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? 
  20. 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  
  21. NX-105 Received Data

    Hello,  PLC: NX1P  Comm module: NX-CIF105   I am running a serial (RS485) network to control several motors. As a trigger for to read the serial port I am using the ( Ch1 Receive Data Exist) bit, which is an internal bit that's ideally should be energized when there's data in the Receive buffer. However, this bit isn't reliable at all. I am reaching out today to figure out if there's another way to trigger the receive command ( preferably without a delay)    thank you all  Cheers! 
  22. 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
  23. 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.
  24. Hello, I have managed to send output to a terminal using a serial channel.  I have not been able to send data from the terminal to the Mitsubishi PLC. I am not using terminating resistors but I have a slow baud rate of 4800.  I am just using regular wires (1.5mm square) .  I think the hardware is okay as I can see the output from the PLC on the screen. Attached is the code.  I just send from the terminal the character 22 every second, I hope this is not too incomplete to get some help.   The plan I guess later is to interface with LabVIEW probably using Modbus but I need to try to get this working first.     UL9.gx3
  25. 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