Andrei Blagaila

MrPLC Member
  • Content count

    225
  • Joined

  • Last visited

Posts posted by Andrei Blagaila


  1. I use a Q50UDEH with a WinCPU or PPC on the older models. The WinCPU or PPC runs a c code that gathers info from the PLC and sends it to the host. I am interested in understanding how does it do that. I learned that the WinCPU or PPC has access to all the memory of the PLC. I just want to know if in the C code I want to call a variable M200 how do I do that. Does M200 have an address in the PLC that I can call. I assume it's a HEX address but i'm not sure. I cannot post parts of the code unfortunately :( Confidentiality clauses. I basically want to find out how the memory can be accessed from the outside. 


  2. I read in the manual that also there is a special memory SM51 and SM52 that warn you when your battery is low. I was thinking of adding a functionality to the HMI with a pop-up message when one of these turn on. (One turns on and stays on even if the battery level improves and one stays on only when the battery level is low). 


  3. I have a question. Take for example I have a SW that contains a lot of variables D, B, M etc... On the Rack I have a PPC that is used to collect data from the PLC (using C written software). In that communication software it has addressed written as hex (ex: 0xFF02). How can I tell what is that linked to in my PLC software? Is there a way? For example I have M200 in the software. How can I address it in the C software to read it's value (true or false), or for a word like D200 the same question. Is there a way? PLEASE HELP!!!


  4. So in my case it sends only the constant 0 to address H93 that I found is :

    DTR/DSR(ER/DR), DC control designation :

    • Transmission control (b0) 0: DTR/DSR control 1: DC code control

    • DC1/DC3 control (b8) 0: No control 1: Controlled

    • DC2/DC4 control (b9) 0: No control 1: Controlled

    I need to search a bit more to understand exactly which of these does it reset but I get the functionality now. Thank you so much.


  5. Ok. Hope I got it right (i can be a bit challenged to understand sometimes). On my RS232 module starting from address H93 till 16 bits after will be rewritten with 0 in this care. Did I understand correctly?


  6. So looking on my HW configuration i can tell that the module corresponding to U5 is a RS232 QJ71C24-R2. This means that starting from X/Y50 are points used to address this specific module. H93 is the particular address that will be written with 0 in this case. But the K1 part is not so clear. Either it's one word to be written or one bit of a word ?


  7. Working with a project that reads an RF-ID via RS232. I posted a lot of questions about this project because I'm new to Mitsubishi PLC's and it's hard to understand some of the commands from the help menu.  I'm hoping you can help me once again with the TO Function. I attached a photo. Can someone explain what is U5 for example and how the function works? Thank you so much

    1.jpg


  8. So I understood how to load a value in a double word. Now I want to to a WAND between this and a Hex value and write the result into another double word. How do I do that? 

    For example I load the value k68000 intro D0 and D1 usind DMOV K68000 D0. How do I write correctly (it keeps telling me the value i want to WAND exceeds the limit)?

    WAND H7FFFFF D0 and write it into D2 D3?

    Thank you


  9. I read the owner manual for the q50UDEH and I wanted to know exactly what it comes with. I am working on a project (already coded by someone else) that has produced with the HW and SW a lot of machines. The problem is i'm working blind, because I don't have the Hardware here to see exactly what is present on the CPU. I have to do a sort of manual for the clients where I recommend changing the battery every x years and so on. And I wanted to know what is standard and what is not. Thank you for your help. Now I understand the use of the memory card (if present) and that it comes with a battery if ordered from Mitsu.


  10. Does anyone know if the Q50UDEHCPU is supplied with a battery for saving the RAM memory in case of power down? Also i read that you can put a second battery to back-up the memory stored in the Memory Card in case of power down. Is this also supplied by Mitsubishi or does it need to be ordered separately?


  11. Hi guys,

    So on the same project i've bben posting a lot of my questions came up an interesting one. The HMI has a alarm Log and history window as you guys can see in the picture attached. My question is, where can I find and edit this ALM_CFC330 in GT designer? I have never worked in GT Designer 3 before and don't know the works of it. Please help.

    Thanks

    1.jpg


  12. I have another problem again but this time with EFCALL. So i have two PUI's. P0 and P2049. In P0 i call a pointer called P2050 as in the images. The problem is it goes into error again before I even force X1 to ON. Why is that? i'm trying again to simulate a functionality in my sofware.

    1.jpg

    2.jpg


  13. I'm not asking for an exact answer just some guidelines to help me narrow my search. I did not know that the WinCPU or PPC can fetch any data it wants from the PLC. That is usefull to know. I just have to understand how it does that at the moment in order to be able to modify it in the future.


  14. So I have a project already done with Q50UDEHCPU and it has SECS/GEM implemented in it already using ladder. I'm trying to understand exactly what happens here because at the moment it's all a blur. I have on the rack a WinCPU and on older models of the machine i have a PPC that runs a custom software written in C that takes data from the PLC and sends it to the host via Ethernet. I'm not sure what it communicates with on the host side because i'm doing a kind of reverse engineering on the software in order to understand it. But i'm stuck at the moment on this. Where do I store in the PLC the information that is sent to the PPC and then to the host? The CEIDs and SVID's for each CEID. Basically i send an event to the host when the machine passes from a state to another. I don' know if I explained well or not. I want to understand how it communicates. A basic principle involving also the variables where i store the information. Maybe an example. Thanks


  15. I'm interested in understanding how the PLC communicates with the Host. I'm guessing that there is some kind of shared memory where both PLC and host write. I'm using for example ladder diagram in GX Works 2. What kind of variables do I use for the communication part? B kind? I've been trying to study the Q50UDEHCPU (the one i'm using) and it's manual to understand where is it's shared memory and if that is the solution because as I wrote above, I'm new to SECS/GEM and don't quite understand how it's supposed to work with Mitsubishi.


    Thank you