Ekke

MrPLC Member
  • Content count

    29
  • Joined

  • Last visited

Everything posted by Ekke

  1. Hi! Tried to install GX Works 3 v1.053F, previous version was 1.040S. I got a BSOD when installing it, and now my GXW3 says version is 1.00A. Uninstall from Control panel says ”Other language product has already been installed. Please install GX Works3 again after uninstalling the installed product.”  and if I try to intall 1.053, it says the same thing. Any ideas what's "the correct way" to remove or repair this? Thanks!
  2. Connect to PLC through GOT HMI

    Aren't you missing Ethernet configuration for GOT in FX5? Here is my setup with GS panel:
  3. Hi, I'm trying to use RFID reader connected to FX5 via RS485, but it needs CRC to it's transmission protocol.  I know that GX Works 3 has CRC instruction, but the problem is that it uses CRC-16 and I need CRC-CCITT. Polynomials are CRC-16 "X16 + X15 + X2 + 1" vs "X16 + X12 + X5 + 1" for CRC-CCITT. Any idea if there is a easy / efficient way to implement this, or would it be easier to generate a table for CRCs? I think I will have something like 50-100 different messages... Thanks!
  4. How to calculate CRC? GX Works 3 / FX5

    I understand that it's slower than your method, but don't have the knowledge to get it to work with xmodem. I tried, but gave up since there was a simpler option. :) It seemed that I kinda got hang of it how it works on CRC16-modbus, how that "1001" bit sequence is "moved" with one position in all those M8-M15 with different hex-values (240-9000 and 2001)...  
  5. How to calculate CRC? GX Works 3 / FX5

    http://www.sunshine2k.de/articles/coding/crc/understanding_crc.html Read some info from there and decided to replicate that table routine with FB... Seems to be working at least some values:   Seems to take some ms to run, but at least it works. :)  
  6. How to calculate CRC? GX Works 3 / FX5

    That would be nice ;)
  7. How to calculate CRC? GX Works 3 / FX5

    Ok. thanks for the help! I will figure it out someday. :) CRC isn't that much in my interest, just have to calculate it since these RFIDs uses it. I think I could live without it in this project, but there isn't any way to turn it off..
  8. How to calculate CRC? GX Works 3 / FX5

    Sadly I can't and Google Translate didn't help that much either.. XMODEM didn't seem to be that much harder to you. :D Any change you could share that/those example(s) too? ;)
  9. How to calculate CRC? GX Works 3 / FX5

    Heh.. And since I don't have a clue how that works and why it uses H2001 and those other hexanumbes, I might just do it in ST.. :D    
  10. How to calculate CRC? GX Works 3 / FX5

    Ok, so D0 = 2 and D1 = H0012 & D2 = H0034 gives me K4M0 HC70C. And that crccalc.com gives  1234 = 0xC70C Seems to work, so maybe just need to figure out how to change that polynom.. :)    
  11. How to calculate CRC? GX Works 3 / FX5

    Well, found a demo and transfered your project to GX Works 3. Now if I input D1 = H0012 and D0 = 1, I get K4M0 = H4D3F running in FX5. And https://crccalc.com/ gives 0x4D3F for CRC-16/MODBUS when input is 12 / Hex. But didn't get any right results with anything above 1 for D0. Maybe I will figure it out some day, this was just a quick test. Thanks! :)
  12. How to calculate CRC? GX Works 3 / FX5

    It seems that I don't have GX Developer nor license to it, could you print that project to pdf or take screenshots from it? :)
  13. How to calculate CRC? GX Works 3 / FX5

    Hmm.. I have mainly used FBD but not for this kind of calculations. Not sure how that would be more effective to do without bit shifting since I think all examples I found have been done that way. :) I got those RFID readers today and configured them to RS485 bus so I can start testing. Well, not really releated to CRC-calculation but anyway.. :D
  14. How to calculate CRC? GX Works 3 / FX5

    Thanks! It seems that I need CRC16-XMODEM, really didn't know that there is so many of different algorithms. :) Have to dig a little deeper, seems that it's easiest to use ST-language.
  15. Positioning with FX5U and FX5-40SSC

    They should appear when you add  FX5-40SSC to Module Configuration.. I'm using FB-language and have these in Element Selection -> Module:
  16. Thanks, didn't know this kind of tool existed. It was a bit extreme solution, but worked after continuing to Step 2.. Got the 1.053F installed, now just need to install the rest.  
  17. Yeah, still don't have a clear picture what are "limitations" with this system, or what kind those are. And don't have "specs to start with" since don't know what would be needed in, let's say, 5 years from now. Just don't want a system, that is too limited in some way and speed isn't top priority in this system. But surely it can't be "too slow", just don't know how slow is ok, and when we will hit that limit if doing this type of TCP-open-communicate-close network... 
  18. Hi! We are thinking to build an "alert system" to our factory by using iQ-F FX5 PLCs and HMI screens in locations where needed. All connected via ethernet since we have wiring for that in many places already. Might not be the best option available, but these PLCs are pretty cheap, familiar, scalable (we don't know yet how many I/Os, analog inputs, temperature sensors etc. are needed) and small enough. The plan was to use maybe just 5 PLCs to start with and then add more when needed. I think we need one master PLC to communicate with HMIs to "hold everything together". :) But found some "problems": There seems to be a limitation on the number of input/output points and it's "up to 384 points" in remote points (according to FX5 Hardware User's Manual). But those "points" are for CC-Link/AnyWireASLINK, so I don't know if that "affects" ethernet systems too? CC-Link IE? But there is max. 8 stations/connections limit for one FX5 master... Can this (or these) be avoided by using iQ-R PLC as a master PLC? RJ71EN71 ethernet module says "128 connections (connections usable on a program)" (64/ethernet-port). And I didn't find that kind of limitation in input/output points with iQ-R...  Is there some other thoughts & limitations we should consider? When we will hit the roof with this kind of system? Thanks!
  19. Bit to word

    In GX Works 3 this is quite easy..? Pic attached..
  20. Well, had some time to put effort to this again, and it seems that you can use one connection to access multiple PLCs in TCP/IP... Tried with 3x FX5, one as a master and used only 1 connection in that.. this might be one part of the solution   
  21. Thanks for the input again. Well, not 100% sure what we "need" but it would be nice to have some "futureproof" so we don't run out of I/O (well, mainly inputs) in the future.  Idea was to gather inputs from different places and show alarms/info in the HMI screen(s). Not very critical system, but a way to get info faster and in more usable form to users. We have quite good coverage ethernet in the factory, so it would be nice to use it, not to wire a second network "parallel" to it. Closest thing I have found is RJ71EN71 and socket communications (TCP/IP or UDP/IP), it allows these: P1 connector No. 17-64 connection P2 connector No. 1-64 connection  That would be plenty, my guess it that we need maybe 20-30 to cover most of planned alarms/info. Just no idea about the speed etc. but I think it won't be a problem since we don't have "that time critical" things happening so few sec delay would be ok. I tried Brainboxes ED-008 8xDI/O "remote I/O" option and connected it (Modbus TCP/IP) to FX5, it seems to work ok so it might be one cheap option to add I/O to this system.. (140 eur / 8 inputs is quite cheap but it needs 24V too). I still haven't wrapped my head around this, what limitations there are in different systems etc. But I think you are right, CCLinkIE Field might be the best option, but it seems to be a little overkill and costs might be a problem... our business isn't that big and only few workers :)  
  22. Finally did some "research" with this and it seems there are quite big limitations with FX5 and/or IE Field Basic, I think this is what you referred as "Simple". If I have understood right, IE Basic can have 4096 remote inputs (RX) and max. 64 stations. But that 64 is 16 stations in 4 groups. iQ-R supports groups, but iQ-F (FX5) doesn't. So it's down to 16 stations. And that 4096 remote inputs is actually 4x1024 so inputs are down to 1024 too. That's not really that much and surely isn't "futureproof". (As a sidenote, with FX5 as a master, there can be only 6 stations and 384 inputs). And then there is that IE Field.. that needs own cabling, so it kinda isn't what we were looking for (idea was to use network we already have) and doubles cost of every FX5. I'm not sure if we can use some other "communication method" and use those 2x64 connections that iQ-R offers, I think that would be enough for a future too.
  23. FX5U - High-speed counter+encoder

    Post your code? Are you using high-speed processing instructions?
  24. Thanks for the reply. I think SLMP is ok, but haven't really checked other options...  That FX5-CCLIEF about doubles the price of FX5, so would like to use plain PLCs... :) Well, maybe we will just start with some FX5s and try to solve problems when they appear.. :P For now, it's only planned to have "one-way-connection" so FX5s are just inputs.. and I think this will be just auxilary system to get alarms where they are needed, some buzzer screaming in the factory hall doesn't "always" tell what's the problem and where. So not very critical system, but really helpful if we can get everything to work as expected.  
  25. GX Works 3 - Online Program Change fails

    Ok, nice to know..   I have 1.047Z and since I divided program to several Program Pous, it seems to work better now. Thanks for the help!