CODESYS Talk
Hi, since the same setup works from your PC with the USB converter, the Carel side of this is basically proven β the 19200/None/1 settings, the address 1 and the FC03 register map all do what they're supposed to. So I'd focus on the PFC200 side, that's where the difference has to be. The first thing I'd check is whether the port is really in RS485 mode and really free. You set serialmode in the PLC shell and the owner to unassigned in WBM, which is the right combination, but the port mode usually...
Hi, you mention 34 in the title and 36 in the post β going by your screenshots, 34 is the one the axis is actually reporting, and that's SMC_AXIS_NOT_READY_FOR_MOTION, meaning the axis never signals that it follows the target values. Both that and the SMC_DI_AXIS_ERROR in your table point at the drive rather than at the MC blocks: the drive has reported an error, and the MC blocks are just passing it on. Your second screenshot backs that up. The master diagnostics show an emergency straight from...
Hi thejesh, good question, and your measurements make the picture pretty clear. In my experience that destroy-and-rebuild on a switch-frame change is just how the frame element works in WebVisu: when the index changes, the referenced visualization is closed and the new one is instantiated from scratch, so the client has to build all of its elements again. I have not come across a property or client option in the frame element that keeps an inactive referenced visualization mounted in the background,...
Hi hammer, your analysis lines up with what I ran into on a similar XY chart a while back, and I ended up at the same conclusion β the documented example looks transposed in SP21 Patch 40, at least in the way the element actually walks the array. The giveaway for me was the same one you spotted: when "Element to use" lists thousands of entries, the element is treating the point dimension as the record. Once I flipped the declaration to points first and sets second, the combobox dropped to just the...
Hi bigwhig, I ran into the same thing on a company laptop where IT had locked down ProgramData, so this looks familiar. The message is basically telling you the IDE can't save its own settings, because your normal account doesn't have write access to that folder. CODESYS keeps its user options under C:\ProgramData\CODESYS\Options, and if that folder (or the .opt file itself) was created by an install run as admin, a standard user can read it but not overwrite it. That also explains why the Default...