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...
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...
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
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...
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?
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
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
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.