Search the Community

Showing results for tags 'modbus addressing in weintek hmi modbus addressing in hmi to poll data from temperature sensor through rs485'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 425 results

  1. 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.
  2. 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
  3. 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?  
  4. Did fx3g 485bd supports modbus comn

    Did fx 3g485bd supports modbus communication.  And if yes,  by which instruction. I am using adprw. 
  5. Mitsubishi GX Developer

    Hello all ... i am a new plc user.. i am using D500 for taking value as it is a latched register.  i am taking value for a flow meter. i have two questions. 1. how totalizer is calculated from flow rate as my flow rate is in m3/h. 2. the value of register is gone upto 32000 approximately... i want that this value to go on.. i mean how 32 bit register is declared in plc .. a
  6. 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
  7. 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?
  8. 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.
  9. 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.
  10. 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.
  11. Hi Everyone..I'm having hard time to read Analog Sensor. I've try to read the manuals about expansion module, but still having hard time to understand it. My PLC is CP1E-N30DR-A connect with Expansion CP1W-MAD44 and I'm trying to connect with pressure sensor Omron E8F2-B10C that in a certain pressure will trigger to open a Digital Valve. is there something wrong with my setting for range? I do the setting in 4-20mA (0-5V) I attached my Program and Picture while running, the program is only for reading the pressure sensor. the result is  -600 to +600, is there a way to earn the actual result? I've tried Scaling and APR, But didn't understand, is there a guide/tutorial for it as well?   Cheers.. Albert TEST.cxp TEST.cxp
  12. 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? 
  13. Mitsubishi GX Works Bugs??

    Hello I have been using GX Works 3 for a while now and I have discovered a couple of things, maybe bugs. I have not had any training for the software or hardware so maybe I did something wrong. 1 Labels. If you sort a global label table into any order other than the unsorted order that appears by default you are unable to create, delete or edit any labels. Our Mitsubishi representative discovered that if you click on the column header between 'Data Type' and 'Class' the order does not change but now editing is available. This, it turns out is a really bad idea. It seems the position the label was in when it was created is preserved, I think this is the unsorted order you get by default. If you sort the list and then delete a label it is possible that the label that should be in that position is also deleted. I have attached a small project to demonstrate this. Open the Global Labels notice the order they were created. Now change the sort order, click on the column header I described earlier to make them editable and then delete the label in position 1. For a while I thought this was the only problem but recently there has been a number of instances where I have created a label, given it a carefully selected address only to discover that it is being overwritten by another variable. I have not been able to work out exactly what is going on but I believe it is connected to the sort order of the labels. Also if you sort the order and change an address, have you changed the address of another label? The only solution I have found is to keep label tables very short so they are managable without having to sort the order, that is probably good practice anyway 1 Axis software limits. I have been using a number of axes in pairs, in incremental mode as caterpillar feeders, using FX5U-40SSC simple motion modules. I had a problem that the axis synchronised to follow would suddenly stop moving, the customer was having to power down the machine and start again. This problem persisted for months with Mitsubishi scratching their heads unable to fathom it out and ultimately stating that the problem must be in my code somewhere. It was suggested by the customer that it may be getting to a software limit, I showed the customer that the software limit was disabled in the setup and it was confirmed by Mitsubishi that it was not the problem. guess what, it is a problem. Once the actual position reached the limit of the double word memory it would stop moving. The solution is the take the servos out of synchronisation in order to set the position (datum) to zero every cycle. Unfortunately the drives do not always re-synch on the first attempt so you have to keep trying till it does, this now causes slight variations in cycle times but it works. Andy EDIT: I have since been informed that to disable the software limits they must be set to zero. This implies that the Enable/Disable setting is invalid and the limits are defaulted to their respective max values. Surely a default to zero would be more appropriate.     Label Test.gx3
  14. 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  
  15. 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! 
  16. 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
  17. CP1L connected with scanner symbol DS-4308 reading 2D data matrix,  with RS-232 on board CP1W-CIF01 Hi all, need some help because I can't read the information. Let me explain, I have a PLC, " CP1L-L14DR-D " with a RS-232 option borad " CP1W-CIF01 " , a scanner Symbol DS-4308, and I'm trying to read a data matrix 2d barcode (I don't know if that matters). so I build a cable with the next configuration, (one side male and the other female) PORT CONFIG PIN OUT SCANNER CABLE RJ-50 TO RS-232 PINOUT Maybe I'm missing a connection? a bridge? power supply ? ground?   in the program, I only have this to check the communication,       When my reception flag complete (A392.06), my instruction RXD is going to execcute, reading in D1500 the data. if is any error in communication (A392.04) or overflow (A392.07), my port is going to restart (A526.00) (ignore w0.03) with the followign config: (9600, 7,2,E, RS-232C, End code: Received Bytes 3       and I'm reading only, data on D1500 and D1501, and the data makes no sense.   with the configuration of End Code: CR, LF,          can't make it work, I read nothing. and if I change the END CODE: Received bytes to 4,      don't work. and my flag A392.04 go to ON.   PLC HAS 4 PIN SWITCH, ALL ARE OFF The configuration on the scanner is setting to default and then config to RS-232 Standard.   So, what I'm missing?  bad connections? plc don't support? scanner config? program?      
  18. 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.
  19. Hello. How can I get bit addressing of defined variable in function block? For example: - I define variable type DUINT with name Double_VarI_INT. - I want to get or set one bit out of it (its double word). - If I use Double_VarI_INT.0 I got error. Best regards.
  20. 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!
  21. Hi guys....first post here. It's been about 6 years since I worked heavily with PLC's and automation, but I'm getting back into it. I was hoping you might be able to help me with an issue I've noticed at work.  Problem:  The sensor we use just reads if there's something there, or not. A make or break if you will. When boxes are pushed together and there is no gap between them it thinks there's a jam (after 6 seconds) even when the boxes are moving past (as they should).  A jam stops the conveyor belt requiring someone to physically move the boxes to clear the sensor and restart the equipment.   I'm trying to find a sensor that will see the distance changes from box to box (mounted on the side of the conveyor). Only when there is a true jam and the distance isn't changing will it send a jam signal.  I've tried researching sensors and have been overwhelmed by the endless possibilities and combinations (not all of which I understand).  We are currently using an Allen-Bradley 42EF-P2RJB-A2H It would be ideal to have a similar style plug, but it isn't a deal breaker.  Here's an idea of what I'm dealing with. (The actual conveyor the jams are occurring on is a decline belt, not a roller accumulator.) There are varying box sixes, but they are all packed together. Creating a gap between boxes or using metering belt is not an option here. Thank you for any help/guidance you can offer! -Steve
  22. 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
  23. Hi,  I'm new to TwinCAT 2 and i'm upgrading a long time design (hence the TwinCAT 2 reference), to read a more sensitive torque signal.  I'm using a Beckhoff CX1030 as my PLC Controller.  I needed to add 'homing' to my motor sequence and confirmed with Maxon, im using the function blocks correctly and in the correct sequence to establish my 'absolute zero'/'home' position.  The motor has an output to write to:  ControlWord, which tells the motor that the position it is sitting in is '0.'  My program compiles, it runs, it writes each function block, but it's not seeming to get back to the test run opMode, even though i tell it to and the function block performs the 'Write' function.  it's stuck at zero and not reading an analog input signal from my torque sensor.  so im getting an artificial torque reading through every test.   i think this is related to my tare motion.  I start the program, home the motor, get into profile velocity mode, tare my sensor, enter profile position mode, go back to position 0, then back to profile velocity mode, run a test, sample data, go back to 'home' or '0.'  I wonder 1st, is my variable not linked properly through the system manager?  2nd, i set a boolean variable to set the 4th bit to 1 in my control word write (setting the 4th bit high will set my current position to absolute zero), but did i not connect the program to the main sequence properly?  looking to read a valid signal again and see that my motor moves back to 'home' each time.  Do i not need to home the motor after the tare, since the tare nulls out the torque value after the tare? after this i need to program my sample period, instead of it being fixed, as it is currently written and then use my home position as my trigger to start sampling.... Beckhoff applications department is overloaded, currently and can't help and this is all beyond the knowledge of the general support line.  I've gotten fairly far, on my own, but of course, the project is under a time crunch.   Does anyone know twincat well enough to help guide me?
  24. I currently have certain amount of Recipe data located in form of Excel file on to a PC with static IP address. Is there a way to get that data inside the Nj501 without using an SQL server as I currently have NJ501-1300 which doesn't support SQL. I am okay to send data to the SD card I currently have on NJ PLC as it is easy to get data from SD card to the NJ501.  If there is any example code or a link that helps me create i would be helpful. Thanks in advance. FYI: I am currently using NB10 HMI with NJ PLC.
  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