Docs for those of us w/o PLC? 2010-03-02T00:06:18+00:00

HOME Forums Input/Output EZIOxx Docs for those of us w/o PLC?

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • Anonymous
    Post count: 13
    #40248 |

    Does anything exist out there for setting parameters, i.e. groups, timers? I know that there were some programmatic hoops that needed to be jumped through with previous versions, but I have the latest-and-greatest now.

    Thanks!

    Anonymous
    Post count: 1001

    What devices are you trying to set those values in. If they are SHN products the Downloads section of the SHN web site has pdf files for each device family that contains the various Direct commands and/or memory map for the SHN devices.

    Anonymous
    Post count: 13

    Yes, I have that. There are some issues with terminology, though, between pages 1 and 2.

    Anonymous
    Post count: 1001

    I can clarify, what are the issues?

    Anonymous
    Post count: 13

    Oh, sure. Now I can’t put my finger on what was confusing me. 😳

    Anonymous
    Post count: 13

    I set up a pot on AN1 and shot in a 0x41 to the config port. I’m getting status updates every two seconds. Noise again?

    How do I read the input? Is it included in the 0x49 command, or, do I need to do the Set MSB-Peek shuffle? 😉

    Anonymous
    Post count: 13

    Bump.

    Anonymous
    Post count: 1001

    The Input states come back in the cmd2 field of the ACK to the 0x49 command. Sorry for the delay. I missed your post of the question.

    There are 2 trigger points for each of the analog inputs when running in analog mode. One for On to Off and one for Off to On. Change the trigger points to something other than the default 00 value.

    Anonymous
    Post count: 1001

    To read the analog value for AN1 you Set MSB to 00 and Peek 0x4C for the low order byte value and 0x4D for the high order byte value.

    Anonymous
    Post count: 13

    Thanks.

    So, I have to set the analog levels even if I don’t want to use them? I just want to occasionally read the value.

    Anonymous
    Post count: 1001

    Setting the analog trip points away from 00 should stop the status change messages you mentioned when the analog inputs were set to analog mode. Turning off the Broadcast Status Chg option should have the same affect. You can also set AN2 to something positive, like using a pullup resister to +5V so that the analog value is away from the default trip points. The analog trip points are not related to reading the actual analog values.

    Anonymous
    Post count: 13

    So, 0x12-0x19 contain the off/on and on/off levels?

    0x12 LSB Off/On An1
    0x13 MSB
    0x14 LSB On/Off
    0x15 MSB

    0x16 LSB Off/On An2
    0x17 MSB
    0x18 LSB On/Off
    0x19 MSB

    To write the values, I would just set the MSB, poke the values in, and update EEPROM?

    Anonymous
    Post count: 1001

    The addresses for AN1 are OfftoOn 0x12 0x13 OntoOff 0x14 0x15
    The addresses for AN2 are OfftoOn 0x16 0x17 OntoOff 0x18 0x19

    To change Analog 1 Trip Points – cmd1 cmd2 values
    Set MSB 0x28 0x00
    Peek 0x2B 0x12
    Poke 0x29 0xyy
    Peek 0x2B 0x13
    Poke 0x29 0xyy
    Peek 0x2B 0x14
    Poke 0x29 0xyy
    Peek 0x2B 0x15
    Poke 0x29 0xyy
    EZIO Control 0x4F 0x01

    Anonymous
    Post count: 13

    Thanks.

    Confirming: Are the lower addresses LSB’s or MSB’s?

    Anonymous
    Post count: 1001

    Low is LSB.

Viewing 15 posts - 1 through 15 (of 18 total)
  • You must be logged in to reply to this topic.