5/17/2021 11:59 AM | |
Joined: 3/30/2020 Last visit: 6/7/2024 Posts: 4579 Rating: (950) |
Hello. The S7-1200 HSC that uses onboard inputs, Special instructions are used to control the HSC, as mentioned by Mr Marcjan on another topic. The system manual for the S7-1200 explains the HSC workings: Application example: |
Activities of this user is voluntary. There is no obligation or liability placed on this user. Though optional, your 'please' and 'thank you' is highly valued. |
|
This contribution was helpful to2 thankful Users |
5/18/2021 8:22 AM | |
Joined: 1/18/2020 Last visit: 7/2/2022 Posts: 53 Rating: (0) |
Thanks for all of your response, I appreciate it. I see that there's a lot to consider when using a high-speed counter and converting the program from s7-200 to s7-1200. No direct conversion for this. You must need to add OB40 (Hardware interrupts) You need to define HSC in S7-1200 Controller Properties. - Enable HSC - You need to determine the ff.: - Type of counting - Operating phase - Configure the Digital inputs I'm really not familiar with the high-speed counter-programming . I can interpret the basic program like SM0.0 of s7200 corresponds to "AlwaysOn" in s71200 / SM0.1 of s7200 corresponds to "FirstScan" in s71200. Can you have a look at my s7200 backup program? I really don't know where the HC0 address comes from and how to convert some of the special memory. Just change the extension file from .docx to .rar. Thanks in advance AttachmentSUL A (1).docx (369 Downloads) |
5/21/2021 7:49 AM | |
Joined: 4/22/2010 Last visit: 5/3/2024 Posts: 5697 Rating: (714)
|
Hello, In TIA you just have to place one block what can do the same. See S7-1200: Application Examples for High-Speed Counters (HSC) Regards, Marcjan |
Problem solved? |
|
This contribution was helpful to1 thankful Users |
Follow us on