Posted: Friday Dec 5th, 2014 08:13 am |
|
1st Post |
nightmare.bk
Member
Joined: | Sunday Jun 8th, 2014 |
Location: | |
Posts: | 10 |
Status: |
Offline
|
back to top
|
Hi all,
I have a question:
I have a device which has output signal 0-5V: 0V ~ OFF status, 5V ~ ON status.
I don’t want to a relay to change this analog signal to digital signal.
Now I’m using CP9000-LOG to read analog input 0-5V ~ 0-256. Flag status ~ ON/OFF status. And I will always check this value to update status of device.
Response CheckStatus:
If value analog input > 200 then Do Set Flag
Else Do Clear Flag
Do CheckStatus after 2s using Timer
It’s ok. But I have a trouble: I don’t know how I can trigger this response when system startup (Analog Inputs don’t have On Off Response). When system startup, this response can not automatically work. So that, I can not read status of device.
Can you suggest for me about this problem? And have other way to change this analog signal to digital signal (not use relay) and always update status of device?
Thanks!
|
Posted: Friday Dec 5th, 2014 11:00 am |
|
2nd Post |
slychiu
Administrator
Joined: | Saturday Apr 29th, 2006 |
Location: | Singapore |
Posts: | 5495 |
Status: |
Offline
|
back to top
|
If you want to connect an analog voltage to an Input and want to detect if the logic is 1 or 0 without going through a relay, I suggest you program the zone type as Digiital N/C.
Comfort analog input range is actually 0 to 3V. 5V input will be clamped to 3V
Set the zone shunt as NO EOL resistor with the shunt closer to the terminal block, so that the built in series resistor will limit the voltage to 3v
if the voltage is close to 0 v, it will be detected as Off
If the voltage is above 1.5 V it will be detected as On
Thus you can use the on and off response
|
Posted: Friday Dec 5th, 2014 05:03 pm |
|
3rd Post |
nightmare.bk
Member
Joined: | Sunday Jun 8th, 2014 |
Location: | |
Posts: | 10 |
Status: |
Offline
|
back to top
|
Thanks for your help
|
|