HI,
Which Register must be set to negate PIO Inputs (36..51) or PIO Outputs (32..35) :?:
Without negation 24 V -> PIO = True
With negation 24 V -> PIO = False
Br,
Rainer
HI AJ,
With this register DPM_ARM_IO_DATA1 it is only possible to set default level of the PIO.
In above case we only see a High level , when 24 V is on PIO pin. But we want a Low level, when we 24 V is on PIO pin.
We are looking for HIGH or LOW active level mode :!: :mrgreen:
Br,
Rainer
Hilscher Gesellschaft fuer Systemautomation mbH
Hi Rainer,
I said you should start looking at register DPM_ARM_IO_DATA1 and then to the following.
BTW: I am not sure if the HIF interface can work in the requested mode.
Hilscher Gesellschaft fuer Systemautomation mbH
So, now I know it for sure.
The HIF can not invert the Inputs and Outputs.
The HIF can not invert the Inputs and Outputs.
and it is not designed to stand 24V levels! :shock:
Rainer, I really hope, that you used a voltage divider for detecting the 24V level!
24V is way beyond the absolute maximum ratings of the netX and will most likely fry the chip!
BTW i believe that inverting one or more Bits in C code is not exactly complicated. :D
Andreas Jacob
Hilscher Gesellschaft fuer Systemautomation mbH
Hi Rainer,
you are talking about the HIF-PIOs. In this case you should have a look to the DPM_ARM_IO_DATA1 and the following registers.