5/17/2018 8:31 PM | |
Joined: 3/14/2008 Last visit: 6/6/2024 Posts: 2070 Rating: (928)
|
Can you explain your question a bit more. I don't quite understand what you mean. |
If I could help you, you can use the RATE button. Thank you. |
|
5/28/2018 2:50 PM | |
Joined: 3/14/2008 Last visit: 6/6/2024 Posts: 2070 Rating: (928)
|
Can you point out which is line 116? You have copy pasta a partial code, so I don't know what line 116 is. What the code does, it reads in attribute: "Type" which is set in the block icon. When it matches the block types which are in the code (like CountOh), then it sets a Boolean which is used in this script further down the line. If you have created a custom block, you need to take a look which Boolean must be set. I don't have the exact script at hand, but I know that CountOh uses another data format than TimeTrig (DINT vs REAL I believe). So you have to take a look at your custom block which format it must be and then you have to integrate the block type you use in this script.
|
If I could help you, you can use the RATE button. Thank you. |
|
Follow us on