Search results

  1. L

    Simple program to switch on relays

    Hi, I removed line ANDB RAM1 3 and the OP1 and OP2 are switching more or less 15min 15sec after the hour..
  2. L

    Simple program to switch on relays

    Administrator,   Why do you block my account
  3. L

    Simple program to switch on relays

    He does. oof. Thanks. Tomorrow I'll test it further and the other PLC codes as well. It's now 2 o' clock night time in my country.
  4. L

    Simple program to switch on relays

    Hi, I think I’ve found it. Instead of two different devices X10 2 0 and X10 2 1 I took two different receivers X10 2 0 and X10 1 0 Each receiver can forward a command to 16 different devices. It seems not possible to command two different devices through one receiver in PLC code although...
  5. L

    Simple program to switch on relays

    At the hour +16min   +31min    +46min....
  6. L

    Simple program to switch on relays

    OP1 and OP2 are switching alternating
  7. L

    Simple program to switch on relays

    Dear Lou, I changed the X10 code by an output. Just wait 15 minutes
  8. L

    Simple program to switch on relays

    I uploaded the test PLC code of Lou Apo. The controller refused the ON and OFF command in X10 line. When I changed it in 1 and 0 the code got accepted. For the moment I have only one X10 receiver listening to house code 2 and  device code 0 (not one with device code 1) I understand the...
  9. L

    Simple program to switch on relays

    Hi Lou Apo,   Thans for all your research   Tried to upload the routine but got an error: PLC error line20: invalid number of operands for opcode SET   Meanwhile my gui is uploaded so that the X10 commands accept variables  as VAR1
  10. L

    Simple program to switch on relays

    Still a problem: Both OP1 and OP2 stay high Both X10 2 0 and X10 2 1 stay high too
  11. L

    Simple program to switch on relays

    PM sent with coordinates
  12. L

    Simple program to switch on relays

    My firmware version is  v03.02.16c
  13. L

    Simple program to switch on relays

    OK Problem again: invalid X10 command operand  RAM2
  14. L

    Simple program to switch on relays

    Both conditions were fulfilled. I changed the hour into 13 and tried it again this afternoon ( in Belgium) and again both outputs 1 and 2 stay low and can't be changed by the ttl output control. Output 3 can be set high  by the controller. When I remove the PLC routine I'm able again to put the...
  15. L

    Simple program to switch on relays

    Thanks, Got a reply from the CAI controller that ROTL is an  invalid opcode
  16. L

    Simple program to switch on relays

    Hi, I have just uploaded this program in the CAI controller and OP1 and OP2 stay 0. I can’t even change them manually in the output control
  17. L

    Simple program to switch on relays

    Thanks, I tested it and it works. Seems quite simple. I changed RELAY1 into   RELAY1 X10 2 0 1 RET   and it triggers my X10 transceiver! And if I want to trigger my relay at 20:15?
  18. L

    Simple program to switch on relays

    I connected a 433 transmitter to TTL7 and TTL8 and I’m able to switch on an X10 transceiver (220V) module. But I would like to write a PLC program to trigger (time based) a X10 receiver module or two relays (arduino based) on TTL output port 1 and 2 
  19. L

    Simple program to switch on relays

    I connected a 433 transmitter to TTL7 and TTL8 and I’m able to switch on an X10 transceiver (220V) module. But I would like to write a PLC program to trigger (time based) a X10 receiver module or two relays (arduino based) on TTL output port 1 and 2 
  20. L

    Simple program to switch on relays

    I’m experimenting with my cai webcontroller. But I’m rather new on plc. I would like to switch on alternating two relays every hour for one hour from 20.00h until 6.00h in the morning (20.00h relay1 21.00h relay2…) If possible through X10. Could anyone give me a basic code to start with and...
Back
Top