X20AP3131 Input value Issue

Hi everybody,

i’ve installed on a machine a X20AP3131 to monitoring its power consumption, but an input value (AenergyT) don’t give me back the read-out value and i’m not able to find an explanation.

I attach a screen to explain better what i mean.

any suggestions?

Hi,
what I don’t see in the screenshot is the “ControlOutput” register, which you’ll need.
https://help.br-automation.com/#/en/6/hardware%2Fx20ap31x1%2Fx20ap31x1_sw%2F22_gesamtwirkarbeit_komb.html
and
https://help.br-automation.com/#/en/6/hardware%2Fx20ap31x1%2Fx20ap31x1_sw%2F23_gesamtblindarbeit_komb.html
both state, that they need explicit activation for permanent or manual reading:

image

B&R Online Help

Hope that helps

thank you so much for your answer.

I’ll find and check that register.

Best regards.

Hi

not really hard to find:
https://help.br-automation.com/#/en/6/hardware%2Fx20ap31x1%2Fx20ap31x1_sw%2Fregisterubersicht_-_standard.html
From there, knowing that the bits are actually having their own names …


… one can observe that they are actually already present in the IOmapping:

So for a first test you can force the value of “EnabEnergy” to TRUE in monitor mode and see if your RenergyT now changes. After that, create a new variable, map it there and set the bit there

BR

Hi @mtwzinga

Were you able to figure out how to add the ControlOutput register and get your program working correctly?