11/19/2020 5:23 PM | |
Joined: 9/3/2014 Last visit: 3/7/2024 Posts: 79 Rating:
|
Dear NTFS. I'm trying to do the same thing, but I want to do ti with manual mode without technological object. Do you know how can I do it?. Thanks in advance. Best Regards, ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 11/20/2020 09:32:49New subject after splitting |
|
11/19/2020 6:31 PM | |
Joined: 3/16/2015 Last visit: 10/10/2021 Posts: 1250 Rating:
|
|
11/19/2020 7:40 PM | |
Joined: 9/3/2014 Last visit: 3/7/2024 Posts: 79 Rating:
|
Dear Kal.A Thanks a lot. But when you set the TM module in manual mode, you can't use the FB1150, I'm working with the control interface 16 bytes and response interface 12 bytes, attached you can see. The idea y to load a value in the counter value after a power lost, I can use a technological object but in my project I have 5 TM Count 1x24vdc and I preffer don't spend cpu resources on this part of the program. So my question is how to load a value in the counter value. Thanks in advance. Best regards.
AttachmentTM_Count.pdf (140 Downloads) |
11/19/2020 7:44 PM | |
Joined: 3/16/2015 Last visit: 10/10/2021 Posts: 1250 Rating:
|
That was wrong, I completely forgot. It's a quite a bit more convoluted: Have a look at this example; the same procedure will apply a setting up TM count module regardless what it is connected to S7-1500,S7-1200 (via ET-200sp). Look at the example for "Back cupcakes" and focus on section 5.3 "Setting parameter using HWCN and data record 128" which will explain how to set up manual mode and create a DB for Control and Feedback interface; those are what you're going to use to access the values you want. Look in this example, just look at how they used GETIO_PART (and SETIO_PART) to handle Control and Feedback interfaces. Read the difference between using those interfaces and reading and writing datarecords. The structure and tags for the data records and interfaces can be copied from the example project to your project or better yet they have a library of data types that you can use. One of those day I will create and example project and a write up for this setup. |
This contribution was helpful to
1 thankful Users |
Follow us on