RMA
Member
This is probably one for Jesper or Daniel. I want to use FB126 to replace the FC125 that I used in an old project which is being used as the basis for a new project. The system comprises several identical modules but in most cases not all of them will be used so that some modules will be switched off. To avoid unneccessary errors I want to detect these modules at start-up and disable them using SFC12.
With FB125/FC125 this was pretty easy because the missing slaves are listed as Bits in 4 DWORDS starting at DBD52 in the IDB so it was only necessary to do an XOR to identify the missing modules.
Unfortunately the structure of DB126 is not visible (presumably because it's a protected block) and the help file gives the impression that it's priority is on maintenance or commissioning rather than fault detection at run time.
Whatever, at any rate I can't find anything in the help files which tells me what address to look at to find my missing modules.
Does anybody know if the structure (in the early part of the DB) is the same as FB125 or alternatively where I can find the structure of the IDB?
With FB125/FC125 this was pretty easy because the missing slaves are listed as Bits in 4 DWORDS starting at DBD52 in the IDB so it was only necessary to do an XOR to identify the missing modules.
Unfortunately the structure of DB126 is not visible (presumably because it's a protected block) and the help file gives the impression that it's priority is on maintenance or commissioning rather than fault detection at run time.
Whatever, at any rate I can't find anything in the help files which tells me what address to look at to find my missing modules.
Does anybody know if the structure (in the early part of the DB) is the same as FB125 or alternatively where I can find the structure of the IDB?