For this function:
public int GetAgBlockInfo(int BlockType, int BlockNumber, ref S7BlockInfo Block);
What is the parameter for BlockType if I would like to use this fc to read DB? I've tried: S7Consts.S7AreaDB, 132, 0x41, 65
For this function:
public int GetAgBlockInfo(int BlockType, int BlockNumber, ref S7BlockInfo Block);
What is the parameter for BlockType if I would like to use this fc to read DB? I've tried: S7Consts.S7AreaDB, 132, 0x41, 65
Copyright © 2021 Jogjafile Inc.
You can use DBRead method if you want to read any Data Block.
Firstly configure your device and data block: https://github.com/fbarresi/Sharp7/blob/master/README.md
Then you can read data block like this: