2/8/2020 7:38 PM | |
Joined: 3/27/2017 Last visit: 7/11/2024 Posts: 54 Rating: (0) |
|
2/8/2020 7:38 PM | |
Joined: 3/27/2017 Last visit: 7/11/2024 Posts: 54 Rating: (0) |
|
2/9/2020 6:10 PM | |
Joined: 3/16/2015 Last visit: 10/10/2021 Posts: 1250 Rating: (173) |
OK so here's what I understand ( really guessing): You have an s7-1500 with ET200SP and TM Count 1x24 and have it configured as a technology object. And DQ0 is connected to a drive/motor. How DQ0 behaves depends on a few settings; some can be modified in user program and some can not and can only be set in Hardware configuration. For example, and that's how I used it, you can have DQ0 remain turned on after it is set (After set command from CPU until comparison value) and then it turns off when the counter reaches the comparison value you configured. To make those configurations you need to click on the configuration icon in the HSC instructions and go to Behavior of DQ0. You can also get to configuration from the project tree under technology objects. To put your mind at ease just put a test tag in the Hardware Interrupt to make sure that the interrupt is being triggered at the comparison value. These modules are quite complex in my view and you will need to do quite a bit of reading of the module manual and this manual. There are a couple of examples out there to also look at. . |
Follow us on