Search the Community

Showing results for tags 'now a software solution is available for your modbus (mb) needs in rockwell/allen-bradley control logix or compact logix (clgx) family processors instead of a traditional 3rd party hardware like prosoft mvi-56'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 733 results

  1. 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!
  2. 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?
  3. 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?
  4. First time posting. I'm upgrading an old Panelview Standard to a PanelView Plus on DH+ using a ProSoft gateway.    My question: I believe I do have comms established but I'm getting a host of errors  "Data Table N7:100 in SLC at 10.10.10.100 is too small or missing" It seems as though I'm getting the error for every data table in the old program. I used the import conversion on FT View Studio to replicate the screens and tags and so on. I am diligently doing my research trying to figure out what's going on but thought I'd throw this one into the great ether and see if anyone has an insights. 
  5. Hello Guys, I am using a nx102-9000 CPU and trying to communicate explicitly to a Telsonic Mag Generator. I have done this on a CJ2M & an Allen Bradley Processor successfully before but am struggling with sysmac. I will attach some screen shots of the AB message instruction because it is much more simple then the CJ2M (required pretty much a full function block made). If anyone wants to see the CJ2M block let me know. I am working right from the sysmac manual using the CIP OPEN, READ, SEND, & CLOSE. Once it is working I will write as well.  I am getting stuck right on the first part "CIP OPEN" I am using a route of '02\10.203.21.40' I am unsure what the 02\ means. I am just copying it from the example. The IP Is correct. Below is the picture of my 1C05 Error. Which in the manual is confusing because they have a 1C error and an 05 error separately.  Another question (once i can open a connection) is in the CIPRead the 'srcdat' I am not really sure what this is? Everything i've used before is an instance number, class, and attribute number (used in the CIPSend Logic From Allen Bradley MSG Instruction & Current Sysmac logic shown in pictures as well. Please let me know if you have any suggestions or need any additional information. Thanks, Kevin
  6. 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.    
  7. 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:
  8. 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. 
  9. Dear Experts In our plant, we have only one Allen Bradley PLC (Compact Logix L24ER) in one of our testing machines. We need to check online reason for error :LH Motor Negative overtravel Please let us know if it is possible to get communicating software RS Logix 5000 for trial Regards  
  10. 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.
  11. Hi everyone, To explain the problem a little bit: I have 2 systems that are equal, they have 1 PLC, 1 Inverter and 1 Servo Axis (Image01). The devices are connected via EtherCat. The thing here is tht in these systems the PLC and Servo Axis is the same but the inverter is different. My goal is to have the same project on both systems and depending on the inverter detected use the correct program. What worked: If I add the 2 Inverters and 2 Servo Axis on the project on different nodes (Image02), I can detect which is present using the variable _EC_EntrySlavTb[n]. My issue is that if I want to make more replicas of the systems using different inverters I will eventually hit the Axis Number limit for the PLC while in reality I am only using on Servo Axis at a time. What I wanted: I would like to be able to control 1 Servo Axis with 2 different inverters (only one active per PLC) (Image03). What I tried: The axis parameters can be set using a variable of the type _sAXIS_PARAM, however it seems that the option to change the axis basic settings is not available (Manual: NJ/NX-series Motion Control Instructions Reference Manual (W508) page 5-58) (Image04). The axis basic settings is where the definition of the output device plus control words are set (Image05). Is there a work around to solve this issue? I would really like to avoid having to manually change the output device for the Servo Axis every time I make an update on all the systems.   Best Regards, BR  
  12. Codesys

    Hello - I stumbled across some mention of Codesys and was curious if anyone here uses it. Pros/cons? prefer it over other programming software. Have it downloading currently (since you can download a free variation of the application) but it looks quite interesting. Also - what PLC hardware is programmed with it? Did not see that mentioned on their website when I was browsing through.
  13. 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.    
  14. Hello all, I have a L82 having ethernet connection with 3 HAAS CNCs and other ethernet device. The ethernet card EN2T is at 19% capacity. But my Controller MESSAGE CORE is at 100%. How do it get it down so that we can have faster and better communication ?    I have attached the picture of the Tasks:   
  15. NJT is looking to purchase industrial electronics in all conditions. Have a look at the website for more information: https://njtautomation.com/
  16. Hello, On our DCS we have a button that will open an RDP connection to our PLC server and open the .mer file connecting the DCS to the PanelView HMI. This is supposed to be used for troubleshooting purposes only, but that is not the case. Is there a way to prevent operators from operating the HMI through the RDP while still allowing them to have read only access?   Thanks, Michael
  17. 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.
  18. Dear friends.. I want HMI panel view 300 software.. Is this available in net or free of cost in web sites
  19. Hi Dears, I have 2 No. CPU 315-2PN/DP (6ES7 315-2EH14-0AB0) I want to use this CPUs for S7 300 Software Redundancy. I Have 2 CP342-5 too for IMs. I want to use profibus port of this CPU for synchronization. if this CPUs are suitable for software redundancy? or I can not use this CPU and I must to use CPU-315-2DP instead?   Thanks
  20. Zm-71se

    Is there anyone, have this software? Coukd you help me
  21. So we have a PLC project coming up and its our first one and understand and can execute most of the sequence without issue.  The part that is getting me is how to handle the following efficiently using studio 5000 and panel view.   AHU has to be able to run test cycles User selectable up to 250 steps in a test cycle User selectable temperature setpoint for each step User selectable humidity setpoint for each step User selectable time duration for each step   I thought about using arrays but as i understand the allen-bradley plcs to change the array size you have to go offline and then back online so you could not change it dynamically.  Was considering doind this with reading the dataset from an excel document the user would edit. The other option for me is to have a static arrays size and then based on the number of steps the user select have the routine only execute x ammount of steps, which is done easy enough.  Big thing is after the code portion is lined out is there a way to dynamically change the hmi graphics to only display certain steps for the user to edit, maybe by using an array of bits that are on and off for visibility and then having a GUI object be shown or hidden based on that bit?
  22. 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.
  23. simple motion cam curve

    Good afternoon, I have a problem in an application for a rotary knife, I'm using a MR-JE-B servo to make this movement, while my material is powered by an inverter connected to a modbus rs485 network, with a 5v encoder connected directly in motion. I'm having some problems and I think it's my cam curve. I have a very high refeneration, and the system doesn't obey the size of the length I want the cut. It always cuts the same size, regardless of the configuration I use, it always cuts to 245mm. Put some photos, how are my settings. Grateful in advance, if anyone can help me. Dover_roll_1-Motion-configuração_jog_manual.gx3
  24. Dear Colleagues,   I require some help with regards to setting up virtual machines, We have some ControlLogix 1756 PLCs scattered around site running on different version (v20, v21 & v32). My company requires all software installations on company computers to go through IT. Installing all these versions on single PC is really a pain (going through IT)  for new hires and for new PCs. I am trying to suggest using virtual machines for each version that can be shared/distributed among the engineers and also to give engineers some autonomy in the VM environment.    How do I go about this especially with respect to licensing without violating the terms of use both the operating system and the automation software?