All Activity

This stream auto-updates   

  1. Past Hour
  2. Today
  3. Wrong values on FX3U

    Check the How to use 2-phase 2-counting input counters C251 to C255 for 4-edge counting in the FXCPU Structured Programming Manual. It has to be continious on for the X00- X07 inputs to be used for counting, When it is not on the couter is off   
  4. Wrong values on FX3U

    Does the OUT_C_32 has to be used once with a pulse signal? Or continuous? Still wondering why D8340 seems to have a bug... does anyone know why?
  5. Modbus TCP

    Look like you have all the communication running right ? So you question is where you can find the status of simple PLC comms ?  
  6. I am a newbie when it comes to Ethernet/IP communication and Allen Bradley PLC setup. I have written a program in PLC to communicate with my device over Ethernet/IP communication. Communication is work fine for 1-2 hours, but later class 3 communication stops.  I captured wireshark log to debug the error. But on wireshark, I see the communication between IP address of PLC and PC port only. There is no device IP captured in wireshark.  My first question is - Is there any setting in PLC and wiresahrk to capture class 3 packets? Also, in wireshark, I see error packets "Embedded service error" when I connect two devices in line topology. When checked on Studio5000, Module shows ring fault status.  I am not sure why it took as ring topology, while my device is connected in line topology. I am not able to change it from ring to any other topology.  Can someone guide me here, how can I remove this ring fault? and what does this "Embedded service error" means? Thanks in advance!!!  
  7. Modbus TCP

    Good day all, i need advice for Modbus TCP configuration on mitsubishi iQ-R PLC. I have 4 PLC iQ-R R08P CPUs with the configuration as shown in the picture. PLC 1,2,3 communicate with the master PLC using simple CPU Read/Write communication. from the master PLC, all tags on PLC 1,2,3 are configured to be modbus TCP with the RJ71EN71 module. The problem I am facing is how do I get the communication status of each PLC to the master PLC with simple CPU communication. I want to display the communication results of each PLC as a tag on modbus TCP. Thank you very much
  8. Yesterday
  9. Arithmetic behavior causing a quick zero

    The instruction is explained on page JY997D55801-2EA of the e-manual viewer.   LabelExampl.gx3
  10. Arithmetic behavior causing a quick zero

    Ther is no code attached, However I'll make a quick example of the ladder code from the previous mail in label style.  
  11. Arithmetic behavior causing a quick zero

    Good morning. You did find it but the element dimensionis only 1. It should be 2. Also there is a easy way to cretae the correct label type. When using the instrcution just type an unknown vaiable name. Then it will prompt for a label declaration and the right type is alreayd pre selected.  
  12. Last week
  13. Omron NA5-NX1P2 - Password page

    Aah, I see now. So, I created a button labelled "LOG IN" and set the event as a "Click" and action as "Login()", so the Supervisor can change some parameters with his Level 5 access. And I created a "Log Out" button with the action set to "Logout()" for when he's done.  Thanks for the help guys! Much Appreciated.
  14. Arithmetic behavior causing a quick zero

    Also to your note about 16 or 32 bit results, if it were 32 output it should strongly affect my other arithmetics who rely on that device that may get unintentionally modified. But all my arithmetic results are accurate, just having this sweeping zero... But respecting your thoughts I did the following and I find this to be an acceptable solution. Originally I was using D100 as my buffer to do calculations before sending the final result to d121, for example, via the arithmetic output. If the arithmetic still outputs 32 bit then it captures D122 which is my next analog input result that I don't want to have messed with. So lets back up the buffer entry to D99 so it has D100 to claim making a 32bit buffer (because D101 is one of my raw analog input devices). I then have all arithmetics for all my analog input readings dump into that 32bit buffer, and then add a new MOV step to move just the D99 16bit info to D121. Attached is my new working code. This eliminate my sweeping zero issue. None of my calculations break past 16bits but it is apparent that the arithmetic is 32bit output despite the documentation saying 16bit and was 'capturing' or 'freezing' or 're-initializing' the 32bits to 0 before doing arithmetics, and my sweeping zero was the second byte of that 32 bits that I would see in my HMI. So had my calculations overflowed 16bits, it would probably had shown non-zero instead of a sweeping zero. I supposed my outputs were also always accurate because there was always 0 in the second byte of the arithmetic. If it were non-zero then my other arithmetics would feed in that value and go all bonkers. But zero kept them level headed.   I still, totally, ignored labels in this solution. If you have good documentation or youtube videos on applying labels that would be much appreciated. Otherwise I will keep doing what I know best which is all devices. I spent a good hour trying to figure out the labels but it was fighting me really bad.   Otherwise, thanks very much!! You helped a lot.
  15. Allen Bradley Explicit Messaging

    Does anyone still have that EDS file ?   I'm looking for it for 3 weeks now!
  16. Arithmetic behavior causing a quick zero

    I mean, I can get it to change errors doing various foolish combinations of data type and array sizes, but this is not too productive because I don't know what it is asking for. It eventually just says the data type doesn't work with the device. I have been looking around on youtube and am surprisingly not finding any explanations on setting up arithmetics with labels...
  17. NX1P2 conection a CJ2M

    If you map a BOOL[160] as you input variable in the NX1P2 you will automatically convert the 20 bytes into bits  
  18. Arithmetic behavior causing a quick zero

    I did find an Array Element option when configuring the label type, but that did not resolve the error adding a second element to the array.
  19. Arithmetic behavior causing a quick zero

    I am using labels now, but please be skeptical of my application of them. I have never used labels before. I get an error when I convert saying to specify an array label of '2' elements or more to the label being used. I attached an image. I'm fiddling with it to try to make it work unless you know what that's all about? The documentation doesn't seem to share what this error means. In C I would assume it just wants me to make an array of 2 elements like [a,b] but I don't know how to do that here. Nor do I understand why? This is a simple multiply operation. The two elements are D101 and AI_CALC_BUFF in this case. Should I also have the raw data from my analog module go into a label as well? The documentation hinted that labels are fussy with 'trigger' events, don't know if that includes my analog module... I'll fidget with that. What do you think?
  20. Omron NA5-NX1P2 - Password page

    Pending information I'm unaware of, the button with Level 5 security would be disabled before login. It would become enabled upon Login(). I do this with a separate button. Use a normal button then go to the Events and Actions tab and set the "Click" event to Login(). This will show the login prompt. You can additionally display the current logged on user via a Data Edit object. Set it for Text then use "_HMI_CurrentUserName" in the Expression.
  21. Wrong values on FX3U

     OUT_C_32  is needed to activate the high speed counter Dmov is for the values  
  22. MX OPC Could not connect to server

    I would get an IT person to help you collect a wireshark capture, to see how far the connection attempt packets get.  And therefore let you focus on where they stop.
  23. Wrong values on FX3U

    I know what the difference is between C250 and C251, but it's just different on this PLC. I'm going to try the OUT_C_32 instruction. What's the difference between this and DMOV? But the changing values based on which labels/devices are in the view sounds like a bug? I'm trying to display the D8340 and ACTUAL_DEPTH values on the HMI, but there it just stays 0.
  24. Wrong values on FX3U

    There is a difference between C250 and C251. 1-phase 2-count input & 2-phase 2-count input To activate the counter use OUT_C_32 instruction As for the monitoring keep in mind that the program is running much faster then you are monitoring.  So many scan have been processed which changed some values. Active open or closed is only what you programmed the depending on the value of the bit it will be filled blue. So a normally closed which bit is off will be blue filled p.s. For real production i would not use a clone !!!!!
  25. Arithmetic behavior causing a quick zero

    You should use labels than you would have gotten an error,  Some instructions Like multiplcation the result is 32 bit so it uses 2 Registers. So if you enter D120 (it's also D121) When you use labels you have to define the type so you would have gotten a notification when building the project
  26. MX OPC Could not connect to server

    @Gambit Yes, I'm pretty sure that I've already started the server. So now I don't really know what to do.
  27. Fx5UPLC

    You can flash it with SD card. Everything will be cleared to factory settings, including program, passwords and filtering.
  28. Accessing specific bits in a word.

    Figured it out. D100.a is the tenth bit. So... D100.A D100.B D100.C D100.D D100.E D100.F It's in hex for selecting which bit to access, but the device number is decimal. Kinda funny but makes sense.
  29. Accessing specific bits in a word.

    Hello, quick question, Using the syntax D100.1 as shown above works up to D100.9, but in GXworks3 D100.10 is a syntax error. These are 16 bit devices, how do we access the remaining bits like this?
  30. Load more activity