adccommunitymod (AutomationDirect) asked a question.

Assigning sensor numbers to multiple zones. Pointers?

Created Date: July 21,2009

Created By: larawaym

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

I have a system which I would like to program for ultimate flexibility. Here's the rundown; Monitoring temperatures in four zones, with multiple sensors in each zone. I can use up to 16 sensors between the zones. One zone could have 2 sensors, while another may have 6, so I don't want to just program it as 4-per zone. I would like to number the sensors from 101-116, then be able to assign each sensor to a location. Here's a concept for the config screen: http://i32.tinypic.com/2s5xv8h.jpg In that example, there are 3 sensors in the first zone, 4 in the second, etc... If the sensor address = 0, I will have the display for that zone disappear (i have that part handled) I would imagine this is done with pointers of some sort. I know how i could do this with a huge amount of ladder, but i'd like to make it as efficient as possible. Any suggestions? Thanks in advance!


  • adccommunitymod (AutomationDirect)

    Created Date: July 21,2009

    Created by: larawaym

    I have a system which I would like to program for ultimate flexibility. Here's the rundown;

    Monitoring temperatures in four zones, with multiple sensors in each zone. I can use up to 16 sensors between the zones. One zone could have 2 sensors, while another may have 6, so I don't want to just program it as 4-per zone.

    I would like to number the sensors from 101-116, then be able to assign each sensor to a location. Here's a concept for the config screen: http://i32.tinypic.com/2s5xv8h.jpg

    In that example, there are 3 sensors in the first zone, 4 in the second, etc... If the sensor address = 0, I will have the display for that zone disappear (i have that part handled)

    I would imagine this is done with pointers of some sort. I know how i could do this with a huge amount of ladder, but i'd like to make it as efficient as possible. Any suggestions?

    Thanks in advance!

    Expand Post