Repository navigation
read variable in a function block #305
|
Hello Everyone, Thank you! |
Answered by
jialiang-yin
Jul 27, 2021
Replies: 2 comments
|
I have figured out, that the variables inside a function block(DB) will be mapped to a data block. |
0 replies
Answer selected by
gijzelaerr
|
Closing as resolved -- the original poster found the answer: variables inside function blocks are mapped to instance data blocks and can be read using db_read() the same way as global data blocks. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have figured out, that the variables inside a function block(DB) will be mapped to a data block.
Then the variables will be saved, for later usage. So it would be same way to read the variable as the global data block.