Search the Community

Showing results for tags 'FX3U as Modbus slave'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 319 results

  1. Hello every one. I have three FX3U plc needed to be communicate over a wireless network. I'm using serial adapter FX3U-485ADP. I got E-byte data trans reciver E-30 for wireless communication. Now need help to setup the whole thing. Previously the PLC's serial connectors were connected through a flexible bus but when the platforms are running fast there is interruption in the  communication. So we want those PLC's to be connected over wifi.  Thanks in Advance 
  2. Anyone know any free libary to communication with FX3u-enet-adp, please help me ? Note: I've used mx Component , it work very well but it is too expensive and I dont even know it can work in windows server 2012/2016 or not.  one more question, Is there otherway to make program run in other computer without install mx compoment, it is very huge to install in every client computer Thank for reading and sorry for my bad english  
  3. 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
  4. 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.
  5. 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.
  6. SCADA for FX3U

    Hello everyone.  I got factory full of FX3U plcs and right now is needed to make a SCADA for monitoring (and maybe provide some control) all of them. I dont know which SCADA product to choose. Which one have bettter compatibility with mitsubishi plcs/which one is cheaper/or maybe simpler in use.  Thank you in advance.
  7. 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.
  8. 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? 
  9. 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  
  10. FX3U PID Tuning

    Dear All i am trying to control pneumatic valve with level of tank. User set the desired level and pneumatic valve control the level in tank.. Tank level is 4-20ma signal. With empty tank it show value if 3 and if level is full it shows reading of 151. I am using FX3U PLC for this purpose. I tried to control it using PID function. I set Kp to 300 and Ti to 2sec derivative term is zero. With these set parameters system act just like a switch it turn on valve full open when PV(Level measured value) is less then SV(level set value) and turn the valve completely off when PV is greater then SV. Kindly help me to tune the system properly  Thanks  Bilal Khan
  11. 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
  12. Hello, I am quite a newbie in PLC programming. I am trying to add a PID control function into a ladder program of FX3U PLC that was made by the person before me who used GX developer. I have read the manual, but still not sure if I understand it correctly or not. Please help me with questions below: 1. For parameters [S3]+1, how do I set the bit value? My understanding is that I need to align the bits I want, and then convert to Decimal number to set it, is this correct? i.e. If I need bit to be 0100001, do I set the parameter to 33? 2. How do I know if I am doing backward or forward operation? I think what I am doing is feedback control loop, does this mean it is a backward operation? 3. If I set auto tuning bit (parameter [S3]+1 bit#4) to 1, will this make the the program to run auto tune everytime I start the PID? 4. For parameter [S3]+22, [S3]+23 and [S3]+24, the manual said it will be occupied. Does this mean it will be preset by the program which I shouldn't mess with them? But how do I set the output upper and lower limit in [S3]+22 and [S3]+23? Also, I couldn't find any example of PID parameter setting in the manual. Not sure if I missed any important section in the manual. So please point out to me if there is any example. I also attached the manual on the PID page just for a quick reference. Thank you in advance for the help. FX3U Programming PID.pdf
  13. 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.
  14. 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   
  15. fx3u ENET card, ip change

    hallo all again, is there some way to change external IP (target one) using ENET-502 card without reinit via sending 1 to BFM1600? I would really appreciate it (time savings) but from little what i know it seems impossible :(   thanks in advance
  16. FX3U and 2x 485adp-mb

    Hoping this is an easy one.... I have an FX3U-80 with 2x 485adp-mb cards on the side. The intention is for one to be a slave and the other a master to read from a slave.  I have successfully got CH2 (the outer card) working as a slave so no issues there. However I seem to be hitting a few speed bumps (OK, road blocks) with using CH1 as a Modbus master. The last time I did this was with an IEC program and Q series- so I could use the intelligent module setup window. This time I am using basic ladder and an FX3U. I only want to read about 6 registers from the salve device and can set its node address to whatever I like, but typically I'd use 2. Does anyone have an example code to hand they could pop up?  Here is what I've got so far in relation to the master..... pretty much taken from the "Modbus Serial Communication Edition" FX3 manual. Now there is a chance (admittedly a pretty good one) that I'm being thick as pig poop as I am not currently connected to an actual slave device, instead I have the port plugged into a 485 converter and have been using modscan32 on my laptop- this reads from my slave port perfectly.  I was hoping to see some or any comms/ flashing SD or RD lights this way. I will be hooking up to the actual device tomorrow so maybe it'll come to life.... or not?! Thanks in advance. If I manage to sort it myself in the meantime I will post up and hopefully highlight the solution/ issue.   
  17. 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. 
  18. 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  
  19. 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.
  20. 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 
  21. GOT FX3U connection

    Hello everyone. I need to make connection between plc fx3u and GOT panel (still not sure what model it will be) on distance between each other +-1km. Which connection should i use? Ethernet? 422? 485?
  22. Dear Engineers, Please hep me to send and read data in ML1400 through rS485 communication. Regards, Prasanna +918970424843
  23. 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.
  24. HMI and Weighing Indicator

    hallo, i have problem here. i want to connect HMI OMRON NB7W-TW00B to weighing indicator with Modbus RTU rs485. i use this link https://www.myomron.com/index.php?action=kb&article=1538 for wiring diagram for rs485. and the baudrate, databit, parity check and stop bit is same between HMI and weighing indicator. but the output in HMI is "[2] PLC No Response: 00-01-2" i think the problem is my rs485 connection. can you help me? thank you.
  25. Morning Guys, For my latest project I need to read a gas sensor via 485 from a Momentum PLC. I've been through the help files, but they seem to only raise more questions than they answer, they only seem to reference PLC -> PLC comms. I've had a play with the 'MBP_MSTR' & 'OUT_IN_MBUS' function blocks, but i can't seem to get anywhere, Has anyone got any examples of reading in data via 485, or can anyone lead me in the right direction?