MrPLC Member
  • Content count

  • Joined

  • Last visited

Community Reputation

131 Excellent


About kaare_t

  • Rank
    Propeller Head

Contact Methods

  • ICQ 0

Profile Information

  • Country Norway

Recent Profile Visitors

6182 profile views
  1. How configure RUN

    Did you put the physical switch on the PLC to "RUN"??? The input you are referring to is optional and should only be used if you by any chance want to deactivate the PLC with a physical input signal.
  2. @andre_teprom: It would be very helpful if you could share some more information regarding what you are looking for... The major PLC brands are more or less the same, some are more leaned towards future functions while others are more conservative. This has of course it's advantages and disadvantages. When it comes to pure processing power, or cycle time, the major brands are not that far apart. It would help us a lot if you would write a bit more about what you want to accomplish and how you wish to accomplish it. At this point we really don't know if you are using a small 8 input/8 output PLC, or if you're using 8k input / 8k output system - as you can imagine it's very fuzzy and hard for us to give you any kind of tips or advice. Also what is your biggest challenge, or importance?
  3. GXworks2 can't detect error

    Yeah: Initial is meant for initial processing only (like startup routines) Scan is meant for continously scanning (normal code) Fixed is meant for a predefined scantime (e.g. scan each 50ms with an interrupt to start) Standby is meant for... well... "Standby" (if you have a code that is standing by to take over if someting occurs) Most likely you'll want to use Scan.
  4. IEC Developer Ethernet Peer to Peer Comms

    Look into the already made function blocks from Mitsubishi for Fixed Buffer for the Q-series (made in GID7.04). Screenshot from their website. I think you'll have to dig a little regarding the QnAS though... As @collinsd70 writes; let us know how you get on
  5. GXworks2 can't detect error

    Double-post, thread available here: http://forums.mrplc.com/index.php?/topic/35887-gxworks2-cant-detect-error/
  6. GXworks2 can't detect error

    @deon1123: Drag and drop your POU name from POU tree into "Program Setting" (Execution program). Make sure it is listed somewhere under execution program to ensure the code is executed.
  7. Modbus

    Doble-post, answered here: http://forums.mrplc.com/index.php?/topic/35885-plc-as-modbus-slave/
  8. MES push or pull data?

    I always "collect" data from the sub-PLC's like you want to do. That way you have one "master" and one place to keep code. But it can depend: Do you also need to "push" data to the sub-PLC's from the MES-PLC (not just pull, but also push)? At which speed do you need this done (pushing data from sub-PLCs to MES-PLC can be a little bit faster than pulling) So if there is no need for both ways, and if speed is not critical then "obviously" go with your suggestion; collect data from the sub-PLC's. But a little more information would be helpful to pinpoint your exact needs. Bare in mind that the number of "sub-PLC connections" are limited to your license (at least in Europe). You might need to add device-licenses. And as a "killer-blow" for going with "collect": Always think DRY ("Don't repeat yourself") when developing any kind of code. I'm mentioning this because a setup where sub-PLC's send data to the MES-PLC involves the same code in all sub-PLC's (with regards to the comms). If you, now or in the future, find a bug in the code, you'll need to update the code on all sub-PLC's, while if you collect data you have "one" place for the source comms-code; the MES-PLC.
  9. GXWorks2- Difference POU and program settings

    I'm just posting a minor comment on this: It's correct like @Gambit writes that it doesn't matter because they are the same thing. I have absolutely no idea why Mitsu have decided to keep the Program and the Local Label in the Program Setting section like you describe, instead of keeping the POU as POU and Program Setting as Program Setting. It is confusing for many. GW2 is designed like this and I don't know why, but it would probably have been better to just link the programs with a label/headername of some sort instead of actually showing the program parts too under Program Setting. In any way it's a minor "problem", but still it is strange.
  10. Inconsistent MES-PLC connection

    @Paolo_911: You said you had the QJ71MES96. I believe that @NeilBDSSA is using the CCPU that is "modified" to a MES module by DeviceWise since he/she is referring to the Workbench. At least the software I used to configure the MES-IT (CCPU) is called "Workbench" while the software I used to configure the QJ71MES96 module is "just" a package from Mitsubishi. They are quite different modules, the QJ71MES96 is a module while the CCPU is basically a CPU with software. Please specify exactly which module you are using... I've attached two pictures, one of each unit. Tje QJ71MES96 has ONE network port, while the CCPU has two network ports. Please specify which one you have.  
  11. Inconsistent MES-PLC connection

    Thanks for the update @Paolo_911. Regarding separating the networks I simply meant that you should (I think) have two physically separated networks: 1 "special" for EthernetIP if you utilize their realtime stream, and 1 "general" network. You should have different cables and different switches and so on. The reason why I believe this is so is that EthernetIP can use multicast messaging between nodes which can cause very high network loads. To explain a bit more: Multicast messages is like yelling in a room, if you have 20 people yelling at the same time, no one can understand what anyone is yelling. Multicast is a node that generates network traffic that ALL ndoes receives (and processes to some extent). But I am NOT an Allen Bradley specialist, I'm only stating my limited experience with EthernetIP in a test network. I'm sure it depends on the configuration of the EthernetIP network/nodes. I'm just saying it can be a possible issue to look into if they share switches.
  12. Serial Modbus Comms

    I just noticed in your previous picture: Change both "Online change" and "Setting change" to "Enable". Regarding memory destination you are correct! But try changing to "Enable" first...
  13. Serial Modbus Comms

    Great! First of all, set "Sumcheck Code = None". You're sure that the slave device is using 8-E-1 bit settings?
  14. Serial Modbus Comms

    Hello and welcome! Did you setup the C24 card with "Predefined Protocol" (under Basic settings)? Default is MELSOFT protocol... Did you write the Predefined Protocol to the C24 module (in Predefined Protocol Support Function tool, select "Online->Write to module")?
  15. BMOV block1 block2 n using labels & arrays

    Hi and sorry for the late reply, got stuck with a job. Yeah, strings and (Mitsubishi) PLC's are not the best of friends... No, it does indeed start at "1" but for some (for me unknown) reason there is some overhead when using strings which causes the string to be "-1". Did you figure out how to do your code, or do you have further questions at the moment?