douyi

MrPLC Member
  • Content count

    12
  • Joined

  • Last visited

Community Reputation

0 Neutral

About douyi

  • Rank
    Sparky

Contact Methods

  • ICQ 0
  1. How to convert RSLogix program to S7?

    Yes! It's possible, but I know nothing about STL. Another problem is Tags. In RSLogix, there is no limit of 24Characters length of a Tag, but in S7, it does. So I have some different tag name of in RSLogix and S7 which is a big headache. Anyway, I've started type in already. Maybe next time I'll write a small program to convert it - maybe it's no use in the future, because the concept are very different of AB and Siemens. Once I started using STL, it will be never converted to LAD anymore. Furthermore, it has FC and FB on 200, 300 and 400 platforms and AB has combined one on Logix platform. So much difference make very hard to do that. I hope someday at least the Ladder logix itself has some very standard verson, such as the timer and counter instructions are exactly the same, all the bits are the same, so we only need to know one language, that's all! Thanks everyone again!
  2. What is OB2- OB9 ?

    Actually, what I did is insert a new object as an "Organization Block", and type in OB2 in the pop-up dialog and Simatic Manager generated it, I can open it, do whatever I want to do with it, but I don't know how the processor will do with that and I can't find any help from manuals or help files. As a professional, maybe you guys know that. Thanks.
  3. Question about Time Base

    Thanks! I tried to use an instance of IEC timer and it's successful. But on the other hand, I can't use SFB as a data type like what you did in the picture, how can I do that? another question is, is the instruction "--(P)--" as same as "one shot" in RSLogix? Thanks a lot.
  4. Question about Time Base

    Thanks. that IEC Timer and Counter is very similar to RSLogix version, because it's a SFB, so everytime I use that, I need to add an instant DB for that. I'm thinking if I can make a FC which include Timer or Counter function and a converter inside ( so I have exactly .DN, .TT and .EN bits ) and only one instant DB for that call. Is that possible? Thanks again and again.
  5. What is OB2- OB9 ?

    What is OB2 - OB9 ? Can I use them? How ? by the way, I can only find s5time, how can I use IEC timer? - in LAD ? Thanks in advance.
  6. Question about Time Base

    Thanks, but I checked with all the timer instructions, they all are s5time. Which one is the IEC timer? how to use that in LAD? Thanks again.
  7. Question about Time Base

    Hi guys, 1. I checked with Siemens manuals, it seems that S7 only support 10ms TimeBase or up. Is that correct? If it support 1ms TimeBase, how to setup? 2. I found it's possible to use another format as W#16#wxyz instead of S5T#aH_bM_cS_dMS (normal s5time format), but it doesn't work, why? 3. I use "MOVE" function to convert a DINT number to s5time, it successful, but what's how can I set timebase at that time? Thanks a lot.
  8. How to convert RSLogix program to S7?

    Understood. Tanks a lot! You gave me so much help, I really appreicate that.
  9. How to convert RSLogix program to S7?

    Thanks, JesperMP! There comes out another question. When I doing the symbols editing (Tags), I found I can do it either in "Symbol Table" or do it thru DB defination, and the advantage of the DB way is that it's more structive, so I can have more levels, such as "Machine.Part1.Sol1.ON" instead of one "Machine_Part1_Sol1_ON" tag. Which is the proper way or either way is OK ? Thanks in advance.
  10. How to convert RSLogix program to S7?

    By the way, I wanna discuss another issue. I know S7 have different style from AB, it recommand use FC, DB, etc forming reusable subroutines, and some of them is easier to write in STL (the reason I think is S5 only support STL, that means Siemens is good at that). Obviously, I have two ways to do that. One way is just retype all the logics from AB, rewrite Timer and Counter (or write customized Timer and Counter instructions using FC make it exactly same as AB functions). The second way is follow the S7 way, write a whole new program. Which is faster? which is easier? Thanks for help.
  11. How to convert RSLogix program to S7?

    Thank you guys. It seems I have to retype them all! Actually, I'm a new guy to S7 and don't have time to take a course, maybe I can get support from Siemens. But as long as S7 support all AB style logics, I can easily do it. Another question. RSLogix5000 V13 can export all to a ASCII based file, can S7 read them? ---Thanks in advance.
  12. Is there anyone knows how to convert RSLogix5000 program into Siemens S7? I have a project that have to use S7, but the original program we have is in RSLogix, it will be a lot of works if there is no converter. If there is no converter exist, does anyone knows a better way to do that? Thanks in advance. By the way, we use UDT to make it easier to copy and paste within RSLogix5000, is that possible to convert that as well? Thanks again.