Change 2013 to 500 please.
Switch Lights_GF_bathroom “Bathroom” (GF_Lights) { fatekplc=“plc:M46” }
I dont understand well what to do with that…
fatekplc=“plc:xxx” where xxx is your X, Y, M, T, R… in your fatek lader
simple lader
|X1|----------[TOGG Y1]
X1 (contact) input, Y1 (coil) output in PLC
When You press switch connected to X1 then Y1 changes to the opposite state.
if the switch is to be virtual, change X1 to M1 (virtual contact) then your item will be:
Switch Lights_GF_bathroom “Bathroom” (GF_Lights) { fatekplc=“plc:M1” }
Here i put some exemples of Fatek lader what I use with openHAB.