FOUNDATION Fieldbus

cancel
Showing results for 
Search instead for 
Did you mean: 

Lookout: change Fieldbus Function block mode

I am using Lookout Developer 4.5 along with NIFB PCMCIA Fieldbus card. I am able to access input data from a fieldbus device, but can not write outputs. I get an alarm that says the function block is in the wrong mode for writing.

What I think I need to do is set the Function block mode to manual to force these outputs.


Can this be done? How?


Thanks in advance."
0 Kudos
Message 1 of 2
(6,963 Views)
Yes, you are right, you have to set the block mode from AUTO to OOS (Out Of Service) before you write the changes.

To change the block mode, you need to access the parameter "MODE_BLK" of the function block you want to modify. The sub-parameters of it are:
.TARGET
.ACTUAL
.PERMITTED
.NORMAL
You need to set the "MODE_BLK.TARGET" from "AUTO" (value is 0x08) to "OOS"(value is 0x80), make the block mode changed to "OOS", then you can write the parameters of this function block.

If you can't write in Lookout, please try to run NI-FBUS Dialog Utility and write the parameter of Block Mode in Dialog Utility program.
Message 2 of 2
(6,963 Views)