Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

New to Lookout and PLC's

Just learning Ladder logic and Lookout with some sucess. I can link LED's to PLC I/O but can not figure out how to controll I/O. When I try to link switch to either a Input, output, or internal relay(CO), Lookout reports "data member not writeable". Whats my problem. (Direct Logic DL205 PLC)
0 Kudos
Message 1 of 7
(3,713 Views)


If that's the error you're getting, then you're trying to write to an Input-Only datamember (register).

When making connections with Control Objects like Switches and Pots and PushButtons, you need to pick those datamembers (registers in PLC) which are of type Output or Input-and-Output. One easy way is to check for the Datamembers' types in Lookout's Online help for that particular driver Object. The other being consulting the PLC documentation.

Hope this helps.

Regards,

Khalid 🙂


Message 2 of 7
(3,713 Views)
Thanks "Khalid" for the quick response. I've looked arround a little and have found the information regarding which data members are read only and read/write, but I'm still having problems. My error now reads "remote position source not writable" under alarm details message is linked to the switch and not its PLC link.

Thanks for the help
Kermit
0 Kudos
Message 3 of 7
(3,713 Views)
Can you try to use Pot1.value and not Pot1 (implicit)? Or, Switch1.value and not just Switch1 (as implicit)?

Hope this helps. Let us know.

Roland
0 Kudos
Message 4 of 7
(3,713 Views)
Thanks for the help guys, but still having problems. I will quickly explain exactly what I have done and give you a better idea where my problem is.
1. Start new server control panel
2. Create new object > Drivers > DL205
3. Drag LED for Y0 to control Panel
4. Drag Switch1 for Y0 to control Panel
5. Edit connection for PLC driver
6. Select Y0 under writable members
7. Edit expression to DL1.Y0= Switch1.value
8. Alarm message- "remote position not writable

Alarm message is liked to Switch1 not PLC connection. I know Lookout is communicating with the PLC, because id I drag a LED for an input to the screen it lights up when I energise that input. I have tried the same process mentioned above with C0 also but get same response. I have look
ed and both Y0 and C0 are both read/write. There has to be something simple that I'm missing. Have I changes Switch1 to Switch1.value in the correct place. Let me know if there is any more information that will aid in your help.

Thanks again for the help and quick responses,
Kermit
0 Kudos
Message 5 of 7
(3,713 Views)
I don't believe you can write directly to Y0. Try DL1.C0=Switch1. Then put (C0)------------------(Y0) in your ladder logic. Remember the plc 1) looks at the inputs 2) evaluates the program and 3) writes the ouputs every scan. Y0 is written to every scan either on or off by the ladder logic - not Lookout.
0 Kudos
Message 6 of 7
(3,713 Views)
In the past I have performed the previously mentioned steps over and over agin for C0 and Y0 locations with no luck. For some reason I tried again this morning with C1 and everything worked. Not sure why, I don't think I did anything any different this time.

For anyone else who might read this help topic looking for answers I will review exactly what I did this time that made things work.
1. Modified PLC program to (C1)---------(Y1)
2. Drag LED for Y1 to server control panel
3. Drag Switch2 to control panel and position source to Remote and DL1.C1
That was it, everything worked. I did not have to change Switch2 to Switch2.value or anything else. I am certain that in the past I have done exactly the same thing and recieve
d various error message. I don't know why but things just started to work.

Thanks to everyone for the help.

Kermit
0 Kudos
Message 7 of 7
(3,713 Views)