Closed Brmm closed 5 years ago
Hi,
I think there shouldn't be any problem writing to outputs like this. Although I've never tested it on a Logo, this works normally on a 315 and on a 1212 I have here. Just note that there must be nothing else writing on the outputs on the logic. If you're trying to set and output that the PLC logic is also writing to, the PLC will "overwrite" it. Maybe this is the case?
Just saw your edit. I've never put the hands on a Logo, so I can't help much on that. That said, there's some useful info on the Snap7 project about connecting to a Logo (http://snap7.sourceforge.net/logo.html). We use the same protocol here, so the instructions should be roughly the same
@gfcittolin you are correct, thank you!
Solution is to have nothing connected to the output in the LOGO software. Best to completely remove it from the diagram. However it does not appear to work the same way for inputs sadly. If no input is present in the diagram it is not triggered physically (I'm testing with a pushbutton). Not connecting the input to anything in the diagram also gives an error when uploading the program to the LOGO controller. Solution I found there is to connect the input to a flag.
Regards
Hi,
Not sure if this applies to all S7 versions but I have a Logo 8.2 (0BA8).
Is it possible to write a boolean to the Q1 (DB1,X1064.0) address? I have been successful on writing booleans to flag addresses e.g. M01 (DB1,X1104.0) but I can't seem to flip the switch on Digital Outputs.
The thing is, I can read it perfectly but no matter what I write like boolans, numbers or strings I don't get any errors or any results.
Logs:
Flow:
Edit: Can anyone perhaps confirm that using Network Inputs is the correct way to go? I tried writing to NI1 but it failed too. This might be because of a wrong setting in LOGO but would definitely appreciate a push in the right direction.
Thanks you.