adccommunitymod (AutomationDirect) asked a question.

showing a negative count for the quadature input

Created Date: January 26,2004

Created By: Kilowatt52

**** 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.****

on Our DL06 I 've got mode 20 active, and I'm displaying the count in a LCD box by call up V1174 whitch addresses the counter CT174 which is dedicated to the quadature inputs. but I would like to see the count up as a positive value and the down count as a negative value. any sugestion ???


  • adccommunitymod (AutomationDirect)

    Created Date: January 26,2004

    Created by: Kilowatt52

    on Our DL06 I 've got mode 20 active, and I'm displaying the count in a LCD box by call up V1174 whitch addresses the counter CT174 which is dedicated to the quadature inputs.

    but I would like to see the count up as a positive value and the down count as a negative value. any sugestion ???

  • adccommunitymod (AutomationDirect)

    Created Date: January 26,2004

    Created by: bcarlton

    You 're getting real close. You 've made great progress. The counter, CT174, keeps its accumulated count in 2 registers V1174 and V1175. You can view both as one number by specifying DOUBLE when viewing V1174. You'll see the highest number change to 8 or greater as the count flops over to negative. This is actually the top bit of the second register turning on. let's see what you can do with that.

    Expand Post