I’m using Ignition 8.1.3 (b2021030309) and an S7-1500 device. I’m experiencing the following issue while trying to write to the PLC with a system.tag.writeBlocking instruction:
I’ve defined two S7-1500 devices, one for INTs, FLOATs and one for STRINGs (I have some STRINGs which span up to 255 chars): the writeBlocking instruction should write at the same time to variables some of which are defined on one device and the remaining on the other device.
Hallo Kevin, thanks for your help. Yes it does. If I print the writeBlocking return array I get such an array of issues:
This occurs independent on the group of tags I try to update in the same writeBlocking instruction - I tried to leave the STRINGs variables out of the instruction and it happens all the same. Howevere tags can be written to from the tag browser with no problem.
Side note: this morning all was working like a charm! … but nothing changed …
where row is a row in a pyDataset resulting from a query on the database, ActionCode and iParamX are integer, fParamX are FLOATs, sParamX and HMIlabel are STRINGs. As noted above, STRINGs are isolated in their own device, but the error occures even if I leave the STRING variables out of the writeBlocking instruction.
Hallo Kevin, I think I’ve found: the recipe I’m trying to download to the PLC this afternoon has a NULL for one of its field which is a None for one of the values submitted to the writeBlocking instruction. That is causing the writing issue for sure.