adccommunitymod (AutomationDirect) asked a question.

analog inputs in d06

Created Date: July 09,2008

Created By: JWG

**** 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 am using two F0-08ADH-1 cards in a D0-06DD1-D unit. I am monitoring 12 sensors reading fluidlevel in 12 separate tubes. the sensors are reading 4mA at the lowest level and 20A at the highest level. I am wanting to see this range on a C-More 15 touch screen. In February I used one card and a similar D05 unit to monitor 8 tubes. At that time I had outside help doing the programming and we used the i-boxs. Now I was told by tech support that this won't work,am using 16 bit and the i-boxes are set up for 12. (I copied the original program and added the second card and set up for th 4 additonal sensors). I have tried to use the ladder logis as shown in the manual but I only get a steady reading. I plugged a multimeter into the sensor circuit and it reads the 4 to 20 range. my ladder looks like: FIRST RUNG LD K800 OUT V700 LDA O2000 OUT V701 SECOND RUNG LD K100 OUT V3000 LD K65535 OUT V3002 THIRD RUNG LD V2000 MUL V3000 DIV V3002 OUT V2100 I only did enough to test the first sensor. what am i missing or doing wrong?


  • adccommunitymod (AutomationDirect)

    Created Date: July 09,2008

    Created by: KPrice

    JWG, check your instructions and the descriptions for each instruction. Your instruction, such as LD, MUL, DIV, OUT, are 4-digit BCD instructions. To use 5-digit BCD numbers, such as 65535, you need to use the Double instructions. These instructions can handle numbers larger than the 4-digit BCD, up to 8-digit BCD. I got caught on this many times, especially with the MUL. The MUL only uses the lower 16 bits of the accumulator. I go through and do each calculation by hand, and verify that the calculation and result are within the instructions limitations. The result of a calcualtion can use all 32-bits of the accumulator, but if the final result, the number you want to OUT, is larger than 4-digit BCD, then you need to use the double instructions. Hope this helps.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: July 10,2008

    Created by: JWG

    I deleted all but the first rung and have the last rung as end.

    I am still not getting any movement on my display on the c-more. I have it set to monitor v2000 for channel one.

    What should I have my scale set for on the c-more?

    I have the data type as

    BCD int 16. reading v2000.

    I have the scale option checked and setthe point 1 plc value a 4 and the display value as 0, the point 2 plc value is 5535 (which is what hte data shows on the directsoft program for v2000) and the display set at 25.

    what is wrong????

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: July 10,2008

    Created by: FACTSTech

    The module is 16 bit 0-65535 (v2000/2001- 32 bit)

    Set scaling tab: V2000

    BCD Integer 32 and display 0 - 25 PSI? PLC 0 - 65535

  • adccommunitymod (AutomationDirect)

    Created Date: July 09,2008

    Created by: JWG

    I am using two F0-08ADH-1 cards in a D0-06DD1-D unit. I am monitoring 12 sensors reading fluidlevel in 12 separate tubes. the sensors are reading 4mA at the lowest level and 20A at the highest level. I am wanting to see this range on a C-More 15 touch screen. In February I used one card and a similar D05 unit to monitor 8 tubes. At that time I had outside help doing the programming and we used the i-boxs. Now I was told by tech support that this won't work,am using 16 bit and the i-boxes are set up for 12. (I copied the original program and added the second card and set up for th 4 additonal sensors).

    I have tried to use the ladder logis as shown in the manual but I only get a steady reading. I plugged a multimeter into the sensor circuit and it reads the 4 to 20 range.

    my ladder looks like: FIRST RUNG

    LD

    K800

    OUT

    V700

    LDA

    O2000

    OUT

    V701

    SECOND RUNG

    LD

    K100

    OUT V3000

    LD

    K65535

    OUT

    V3002

    THIRD RUNG

    LD

    V2000

    MUL

    V3000

    DIV

    V3002

    OUT

    V2100

    I only did enough to test the first sensor.

    what am i missing or doing wrong?

    Expand Post