How to correct wrong digital signals for PLCs in BLX using: “Unpack Single Bit and set State program”.¶
BLX cannot handle when digital signals are sharing the same word on a datablock like this example:
Feeder 1 run/stop: 12.250.0
Feeder 2 run/stop: 12.250.1
Feeder 3 run/stop: 12.250.2
It should instead be like this:
Feeder 1 run/stop: 12.250.0
Feeder 2 run/stop: 12.251.0
Feeder 3 run/stop: 12.252.0
If it isn’t possible to get this setup from the Site automation then there is the option to use the calculator program: UnpackSingleBitandSetState
It can be found here:
cph-file18-p\flsadata\External\FLSA-H\Project\QCX SW Production Files\V8\Libraries> and standards - Temporary
Get the solution: UnpackSingleBitandSetState.
Import is as a solution.
Open Calculator and find it on the program list (see image #1)
Now go to: Point Editor
And go to for instance Feeder 1:
And select: create new point (see on image #2)
Now for instance for a feeder run/stop signal (STS) create the following point (Image #3)
Now set Bit as a constant and to:
0
Value: set as:
As link. Now select the point that needs to be read from in this case: Feeder 1.RunState (see Image #4)
So for instance for a feeder 1 in BLX it will end up looking like this:
There are BitPick signals for each digital points that are sharing the same word on the datablock.
Not these new points have to be entered the BLX configuration:
Now check in the Tag Value Browser that the new points have the right operating state.