This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

CanX UIO8 (8 Universal IO ports + LoRa) (0.2)
#1
Hi.

Why can i activate a port both as a input and a output at the same time?

   

BR
Kai-Roger
Reply
#2
(11.04.2019, 19:11)Kai-Roger Wrote: Hi.

Why can i activate a port both as a input and a output at the same time?



BR
Kai-Roger

it's not a bug, it's a feature))
when you will change value of output object, input value will change too. it's like real hardware status (not software) when you realy know that voltage on clamp is 24 v
Reply
#3
(11.04.2019, 19:16)AEK Wrote:
(11.04.2019, 19:11)Kai-Roger Wrote: Hi.

Why can i activate a port both as a input and a output at the same time?



BR
Kai-Roger

it's not a bug, it's a feature))
when you will change value of output object, input value will change too. it's like real hardware status (not software) when you realy know that voltage on clamp is 24 v

So what you say, is that when i use it as output, the input object will change if i short circut the output? And this is to tell me that the output has a faulty condition?
Reply
#4
(11.04.2019, 19:27)Kai-Roger Wrote:
(11.04.2019, 19:16)AEK Wrote:
(11.04.2019, 19:11)Kai-Roger Wrote: Hi.

Why can i activate a port both as a input and a output at the same time?



BR
Kai-Roger

it's not a bug, it's a feature))
when you will change value of output object, input value will change too. it's like real hardware status (not software) when you realy know that voltage on clamp is 24 v

So what you say, is that when i use it as output, the input object will change if i short circut the output? And this is to tell me that the output has a faulty condition?
sorry, my english is not well, so if I mistake Admin and Edgar will fix my words.
if you short circut the output and GND clamp this channel will go to fault mode. it will go to "off" state until you restart device by power supply. 

but with configuration on your screen if you will control relay you will have real status of output chanel, because input use other pins of device CPU
Reply
#5
(11.04.2019, 19:42)AEK Wrote: sorry, my english is not well, so if I mistake Admin and Edgar will fix my words.

if you short circut the output and GND clamp this channel will go to fault mode. it will go to "off" state until you restart device by power supply. 


but with configuration on your screen if you will control relay you will have real status of output chanel, because input use other pins of device CPU

So it is a better solution input as status object than just using the output status object of the output?
Reply
#6
(11.04.2019, 19:52)Kai-Roger Wrote:
(11.04.2019, 19:42)AEK Wrote: sorry, my english is not well, so if I mistake Admin and Edgar will fix my words.

if you short circut the output and GND clamp this channel will go to fault mode. it will go to "off" state until you restart device by power supply. 


but with configuration on your screen if you will control relay you will have real status of output chanel, because input use other pins of device CPU

So it is a better solution input as status object than just using the output status object of the output?
I think yes, but its better to wait Admin's opinionSmile
Reply


Forum Jump: