kaare_t

MrPLC Member
  • Content count

    2306
  • Joined

  • Last visited

Everything posted by kaare_t

  1. QJ71C24N Module connect with Q00J cpu to handle printer

    Which PLC software are you using? You'll need the protocol spec for the printer, then write the protocol in the PLC software and send/receive data on the RS232 ports of the C24 card. You should check out the manual for the C24 card which explains in detail the instructions and buffer memories needed to communicate with peripheral devices.
  2. Logical NOT not working

    [NOT] works fine in GX Works2. Is the PLC in RUN? Are you sure that the output variables (M2010, M2011, Y121, Y122) here are not used anywhere else so that they are reset later in the sequence?
  3. Bit Transfer

    First: It's very hard to help if you cannot explain what the purpose is. Why do you want to do exactly this? Second: To solve your problem, use a combination of the answers you have already received, and the easiest is probably @Gambit's bit notation when you only have two or three bits. If not, then again please explain what you want to accomplish then it's easier to help you with the most elegant solution.
  4. MOV Addresses

    No problem @gclshortt! It was just a minor error
  5. MOV Addresses

    Not exactly correct: L devices do not have hexadecimal addressing, but decimal. In addition it starts at L11 (not L0), so the correct will be L11 to L22 (12 devices). @Automator59: Your instruction regarding MOV H3FF K3L11 will translate to the following: H3FF (0011 1111 1111) into L11 to L22, which again means that L11 to L20 will be forced high, while L21 to L22 will be forced low. To explain a bit more, in addition to gclshortt's great picture: K3 means 3 multiplied by 4 bits (12 bits), into L11 and up (to L22), while H3FF is simply a hexadecimal constant (hex 3FF).
  6. Upload Program Option

    OK, figured it out: The "problem" is that when we are using Project Type = Structured Project, you need to select the checkbox "Download Symbolic Data". This is not very good in my opinion since Symbolic Data takes up quite much space in the storage memory (no problem with the runtime RAM, but there is a limitation on how much data can be stored in the storage memory). Hopefully you have enough space, one alternative can be to purchase a memory cassette and download only the symbolic information there... Anyway, just select "Download Symbolic Data" and you can upload it anytime again. Note that you can then upload the original project with structured code (instead of the old IL way).
  7. Upload Program Option

    I've just tested with the latest version: I'm starting to wonder if it's a bug in GW2. I cannot upload any programs at all only parameters and devices etc. I will do some more testing and post results, please inform us if you make it work @NgoHoang!
  8. Upload Program Option

    Most likely because you haven't written a program to the PLC yet. The "Read" function checks for files in the CPU before giving you any options...
  9. FX3U to Q002H

    No problem
  10. ST Language (Timer)

    No problem For the Q-series, you can press F1 to open help, and search for function blocks there. Or are you looking for something special?
  11. ST Language (Timer)

    You need to first move a value into e.g. D0, then do a "INT_TO_TIME" conversion (search up the instruction) to convert the value into TIME format. The output of this instruction must be assigned a variablename. Then you use that variablename into the PT input of the TON. You start by converting D0 to a TIME format (which is in ms), and then use this variable in the TON. Something like this will work (syntax not checked): ..... timeInMs:=INT_TO_TIME(D0); MY_TON(IN:=TRUE,PT:=timeInMs); .....
  12. FX3U to Q002H

    Hello, and welcome! The DECMP instruction does not exist in the Q-series, but you can get around this by simply writing your own comparison. The DECMP is easy, it has two REAL inputs for comparison. It has an array of three BIT outputs which indicates "Below", "Equal" or "Above". So in your case, if "Basis_1" is above "Basis_Min" then "B_Error" (bit 0) will go high. If they are equal, "B_Error" (bit1) will go high, if below then "B_Error" (bit2) will go high. Here's a screenshot of the exact same function:  
  13. Send Data From PC to PLC by Ethernet

    No problem, glad it's working
  14. Mitsubishi E600

    @CJ2M2016: Are you providing these software packages listed in the website (http://www.isansanat.ir/portfolios/mitsubishi/mitsubishi-electric/) free of charge? Please note that publishing and/or sharing installation codes and software packages that are supposed to be paid for is not allowed in this forum, and you will get warnings/banned for doing so.
  15. HMI not recognized via PC

    No idea! You can do some trivial tests (not exactly bullet-proof, but a simple test) by measuring throughput of the pins between USB2.0 <-> Mini-B by using a multimeter or similar.
  16. Send Data From PC to PLC by Ethernet

    First of all, sorry for my late reply to this topic. Hercules looks like a nice tool and I am sure it is fine for testing, I just wondered what all the "*" means. I don't have any special tools anymore, so just keep using what you're familiar with. Regarding the frame format, I did some investigation and it looks like you must use 3E frame when using the built-in Ethernet port of the CPU (the built-in port simply does not support 4E). I honestly wasn't aware of this limitation in the built-in Ethernet port. When that is said, you don't have to change anything in the PLC, just rewrite your requests and you should receive correct responses.
  17. HMI not recognized via PC

    You're referring to GX Works3. Which software have you installed? Do you have the GT Works3 software, and if so which version?
  18. Great work! Thanks!
  19. Encoder pulses from FR-A800 on GOT2000

    Simply search for the "definition" in GOT Device Search (see picture). You can search up parameters etc. etc. by searching with "Definition" in GT Designer: You want to use a display, Pr369 I have not tested with this encoder parameter before, but it should work - give a feedback P.S. You don't need to assign 19 to pr52 to be able to show the encoder pulses in the GOT. The GOT can read directly from the parameters without assigning anything to the PU monitor.
  20. Q Series Q00UCPU attached with ethernet module

    Yeah, and at the same time please post a picture of your configuration under "Network Parameter -> Ethernet / ..."
  21. Q Series Q00UCPU attached with ethernet module

    As far as I know, everything should be good. What is the problem?
  22. step 1304 too big can't upload medoc to plc

    What was the code developed with originally? What version of medoc do you have?
  23. It could be that there was an issue with Transparent Mode function. Were you online with PLC software of any kind via the HMI (like programming software, SCADA, other HMIs or similar) when you tried to download the HMI project? There are some things that could cause issues when using Transparent Mode since Transparent Mode "occupies" the connection. This could be a "lock-out" as you suggest. Glad you got it working.
  24. Send Data From PC to PLC by Ethernet

    Here's a screenshot from the manual, from the message section. As you can see your CPU interprets your request as a valid request, but your are probably requesting the wrong areas. Also, as mentioned your subheader looks funny. Take a look at the screenshot try again, and post the results. Also, again: What does the asterix in your 'Hercules' software indicate?
  25. GX works 2 - Special Relay (SM_ _ _) for a 0.5sec Pulse

    I cannot remember that there was a 0.5sec clock in any Mitsubishi PLC. But if you need a pulse every 0.5sec, you can use PLS/PLF on the 1sec clock (which alternates 0.5sec ON/OFF). Here's something straight from my head (not correctly code-formatted, but you'll understand the functionality): SM412 -> PLS M0 SM412 -> PLF M1 M0 OR M1 -> M2 This will make M2 pulsate every 0.5sec.