HOME › Forums › Input/Output › EZIOxx › Docs for those of us w/o PLC?
-
AuthorPosts
-
AnonymousInactiveMarch 2, 2010 at 12:06 amPost count: 13
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!
AnonymousInactiveMarch 2, 2010 at 12:11 amPost count: 1001What 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.
AnonymousInactiveMarch 7, 2010 at 3:46 pmPost count: 13Yes, I have that. There are some issues with terminology, though, between pages 1 and 2.
AnonymousInactiveMarch 7, 2010 at 3:55 pmPost count: 1001I can clarify, what are the issues?
AnonymousInactiveMarch 9, 2010 at 2:39 amPost count: 13Oh, sure. Now I can’t put my finger on what was confusing me. 😳
AnonymousInactiveMarch 16, 2010 at 2:57 amPost count: 13I 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? 😉
AnonymousInactiveMarch 21, 2010 at 6:35 pmPost count: 13Bump.
AnonymousInactiveMarch 21, 2010 at 6:47 pmPost count: 1001The 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.
AnonymousInactiveMarch 21, 2010 at 9:04 pmPost count: 1001To 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.
AnonymousInactiveMarch 23, 2010 at 1:34 amPost count: 13Thanks.
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.
AnonymousInactiveMarch 23, 2010 at 2:14 amPost count: 1001Setting 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.
AnonymousInactiveMarch 25, 2010 at 11:58 amPost count: 13So, 0x12-0x19 contain the off/on and on/off levels?
0x12 LSB Off/On An1
0x13 MSB
0x14 LSB On/Off
0x15 MSB0x16 LSB Off/On An2
0x17 MSB
0x18 LSB On/Off
0x19 MSBTo write the values, I would just set the MSB, poke the values in, and update EEPROM?
AnonymousInactiveMarch 25, 2010 at 12:38 pmPost count: 1001The addresses for AN1 are OfftoOn 0x12 0x13 OntoOff 0x14 0x15
The addresses for AN2 are OfftoOn 0x16 0x17 OntoOff 0x18 0x19To 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 0x01AnonymousInactiveApril 1, 2010 at 11:26 amPost count: 13Thanks.
Confirming: Are the lower addresses LSB’s or MSB’s?
AnonymousInactiveApril 1, 2010 at 11:36 amPost count: 1001Low is LSB.
-
AuthorPosts
- You must be logged in to reply to this topic.