andybdjuk

Members
  • Content Count

    75
  • Joined

  • Last visited

Community Reputation

0 Neutral

About andybdjuk

  • Rank
    Advanced Member
  • Birthday 05/26/1964

Profile Information

  • Gender
    Male
  • Location
    Kent, UK
  • Interests
    Micro generation with solar PV and Wind. Solar Hot water and tinkering with my house, Learning to use DF and Daqconnect
  1. Hi, maybe if you post on http://www.navitron.org.uk/forum/ and ask about the sunny boy data protocol the guys there can probably advise you. Once you know the protocol I'm sure the guy's from AzeoTech will help you read your data into DF and then maybe onto the net with DaqConnect as I do. Andy
  2. andybdjuk

    Simple write() help

    That's fantastic. Thanks for your time and support, I had been reading the manual and experimenting but alas... One other thing, I have my test channel sending a value to DaqConnect but it is Value[0] that is being sent & I need to send Value[28] and maybe at a later date others to DaqConnect from that channel. So what i done was create a 2nd test channel and just addvalue(mychannel[28])and that works fine BUT is there a simpler way of doing it rather than having to set up another channel? Thanks Andy
  3. andybdjuk

    Simple write() help

    Can you help me out with the next bit and that is to read the response that comes back as per the example in the OP. I only need to use the Nth byte of the string, put it in a channel so I can send the value to DaqConnect. I would like to do this every minute. Sorry that these are basic questions Andy
  4. andybdjuk

    Simple write() help

    Hi, Simple one I feel now i have worked out the correct CRC, if i put :- \x06\x0A\x81\x00\x00\x00\xFF\xFF\x34\xCE in the comm monitor I receive my data:- Tx (20:29:45.762): \x06\x0A \x81\x00\x00\x00\xFF\xFF\x34\xCE Rx (20:29:45.800): \x81\x4B\x00\x06\x00\x00\x00\x40\x00\x00\x40\x00\x13\x02\x00\x01\x00\x00\x00\x00\x06\x05\x00\x02\x14\x00\x0C\x10\x1C\x01\x01\x01\x00\x00\x00\x00\x00\xFF\xFF\xFF\xFF\x00\xD2\x00\x00\x07\x15\x1C\x07\x07\x00\x15\x07\x1E\x11\x12\x00\x11\x15\x00\x11\x08\x00\x15\x0A \x00\x10\x18\x00\x10\x18\x00\x10\x34\xF7 But when i try a quick sequence in a button device.thermo.write(\x06\x0A\x81\x00\x00\x00\xFF\xFF\x34\xCE) I have no luck, could you remind me of the correct syntax, i have looked at the manual........but...........umm Thanks Andy
  5. andybdjuk

    Help with reading a serial device

    hi, the xo thing was a typo. I found a com port spy program and the results are [20/10/2010 19:58:31] - Written data 01 0a 81 00 00 00 ff ff 2c 09 [20/10/2010 19:58:32] - Read data 81 4b 00 01 00 00 00 40 00 00 40 00 13 02 00 01 00 00 00 00 01 00 00 00 14 00 0c 15 1c 01 01 00 00 00 00 00 00 ff ff ff ff 00 be 00 01 03 13 3a 06 08 00 15 09 1e 10 10 1e 16 17 1e 11 09 00 15 16 00 10 18 00 10 18 00 10 7a 4d Another view showing the read request 01 0a 81 00 00 00 ff ff 2c 09 on the top line 2936 20/10/2010 20:23:56 IRP_MJ_WRITE UP STATUS_SUCCESS 01 0a 81 00 00 00 ff ff 2c 09 2937 20/10/2010 20:23:56 IRP_MJ_DEVICE_CONTROL (IOCTL_SERIAL_WAIT_ON_MASK) UP STATUS_SUCCESS 01 00 00 00 2938 20/10/2010 20:23:57 IRP_MJ_DEVICE_CONTROL (IOCTL_SERIAL_GET_COMMSTATUS) DOWN STATUS_SUCCESS 2939 20/10/2010 20:23:57 IRP_MJ_DEVICE_CONTROL (IOCTL_SERIAL_GET_COMMSTATUS) UP STATUS_SUCCESS 00 00 00 00 00 00 00 00 4b 00 00 00 00 00 00 00 00 00 00 00 2940 20/10/2010 20:23:57 IRP_MJ_READ DOWN STATUS_SUCCESS 2941 20/10/2010 20:23:57 IRP_MJ_READ UP STATUS_SUCCESS 81 4b 00 01 00 00 00 40 00 00 40 00 13 02 00 01 00 00 00 00 01 00 00 00 14 00 0c 15 1c 01 01 00 00 00 00 00 00 ff ff ff ff 00 be 00 01 03 14 17 1e 08 00 15 09 1e 10 10 1e 16 17 1e 11 09 00 15 16 00 10 18 00 10 18 00 10 d0 f1 2942 20/10/2010 20:23:57 IRP_MJ_DEVICE_CONTROL (IOCTL_SERIAL_WAIT_ON_MASK) DOWN STATUS_SUCCESS 2943 20/10/2010 20:23:57 IRP_MJ_DEVICE_CONTROL (IOCTL_SERIAL_WAIT_ON_MASK) UP STATUS_SUCCESS 01 00 00 00 2944 20/10/2010 20:23:57 IRP_MJ_DEVICE_CONTROL (IOCTL_SERIAL_GET_COMMSTATUS) DOWN STATUS_SUCCESS 2945 20/10/2010 20:23:57 IRP_MJ_DEVICE_CONTROL (IOCTL_SERIAL_GET_COMMSTATUS) UP STATUS_SUCCESS 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2946 20/10/2010 20:23:57 IRP_MJ_DEVICE_CONTROL (IOCTL_SERIAL_WAIT_ON_MASK) DOWN STATUS_SUCCESS 2947 20/10/2010 20:23:58 IRP_MJ_DEVICE_CONTROL (IOCTL_SERIAL_PURGE) DOWN STATUS_SUCCESS 05 00 00 00 2948 20/10/2010 20:23:58 IRP_MJ_DEVICE_CONTROL (IOCTL_SERIAL_PURGE) UP STATUS_SUCCESS 2949 20/10/2010 20:23:58 IRP_MJ_DEVICE_CONTROL (IOCTL_SERIAL_GET_COMMSTATUS) DOWN STATUS_SUCCESS 2950 20/10/2010 20:23:58 IRP_MJ_DEVICE_CONTROL (IOCTL_SERIAL_GET_COMMSTATUS) UP STATUS_SUCCESS 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Alas i still cant get DF to get this data, all the hardware is ok Is there any more pointers thanks Andy
  6. Hi, I have a new project to add to my house and can monitor with DaqConnect, I have installed central heating that is controlled Via a RS485 network. I have been told that if I fire 01 0A 81 00 00 00 FF FF 2C 09 I should get some data back, so I put \x01\x0A\x81\x0\x00\x00\xFF\xFF\x2C\x09 into device config monitor but I'm not getting anything back. All the hardware works as it runs under its own program. Am I missing something simple? Is there a way daqfactory can monitor what is being tx/rx via a port, what Im thinking is if i could monitor what the control program is sending out? Thanks Andy protocolv3system.pdf
  7. andybdjuk

    Page Capture daily file

    Hi I am running the script to capture my page but i want to save the capture under a different file name each day, can you help. The scrip I am running is:- private nexttime3 = floor(systime()/86400) * 86400 + 86400 while (1) waituntil(nexttime3) page.capture("Main_Page","C:\Documents and Settings\A Barrow\Desktop\Screen Dumps.jpg") nexttime3 += 86400 endwhile Thanks
  8. andybdjuk

    Relay control

    Sorry final question, regarding, device.mydevice.write("0711013" + chr(13) + chr(10)) The (0711013) bit..... what I need to send is, to channel 07 the value 1 and then the chr(13) + chr(10) Thanks
  9. andybdjuk

    Relay control

    Alas I need a little more help, can you give me a example of how I send 0711013 to the port I created and read back from that port. Thanks
  10. andybdjuk

    Relay control

    Thanks for the pointers, I set up a new device 168.192.1.10:102 with a NULL protocol ad as suggested and reading the manual I set for relay 1 to turn on with 0711013 and the relay turns on likewise 0701013 turns it off. My next question is how do I set up two channels to send the string to control the relays bear in mind I eventually want to do it via DaqConnect and also two channels to read the returned string with the status of the relays and inputs ie Rx (15:52:16.690): 48484848484848481310 I'm not sure what to put i the i/o and channel boxes as its not modbus Thanks as always Andy
  11. andybdjuk

    Relay control

    Hi regarding my last post, i can run the control box from a test program supplied but not from Daqfactory. I have set up a Device IP 168.192.0.10 port 102 Protocol ModbusRTU. I'm not sure what to set the I/O to i assume Force Coil. I called a channel Relay and set channel to 8 as discrided in the last page of the manual. In command line I set Relay to 071 to turn the relay on but just get time outs. can you give me some ideas on settings. Ultimately I want to be able to control the 2 relays from Daqconnect Andy
  12. Hi Would you be kind enough to give me some pointers on how to control a couple of relays on a Ethernet I/O module i want to control. I have attached the manual. Thanks for your help Andy edio100_manual.pdf
  13. andybdjuk

    Smoothing graphs in DaqConnect

    Thanks, I tried that but loose the trace on the graph, I searched for SMOOTH in the help section of DaqConnect but didn't find anything. Andy
  14. andybdjuk

    Smoothing graphs in DaqConnect

    Hi, What is the best way to smooth a graph in DaqConnect? I tried Mean(array) but to no avail. Andy
  15. andybdjuk

    Control Via Daqconnect/DacFactory

    Alas I have read all the help but as im a bit of an idiot i dont understand what i need to do. Maybe you could help me out a little more. Thanks Andy