Hi mate, With this snippet i was able to see the lastusage variable count, but it would not iterate between clients? i was only able to access the data of the target visu. it threw an error with the array of pointers stating it was not able to convert etc. also when i tried it with the while loop it created an endless loop and crashed the program. any ideas? Thankyou
can you send me some code snippets of the declarations and code need i am unsure of how to set the pointer to the correct visu client. Thanks i appreciate your help.
Thanks for the reply, i am using codesys SP16 patch 5 as this is the version that is compatible with my IFM controller. i am accessing the lastusage variable from the VisuStructClientData structure through a pointer. when i log in it lists the time since last log in but does not continually count, it remains a static value which isnt useful. hopefully you can help. Thankyou
Hi, i am interested in this thread and have tried a couple of the above examples in to determine remote webvisu access. I am having trouble getting the lastusage variable to refresh during runtime? It seems to only log the last usage at initialisation and that is it? how do i gain ongoing access to the time variable as the code is running? Thankyou.
hi, i am currently trying to adapt an i/o device for a project. the node id is unknown and there is no eds file available. no data is being emitted from the device as a giveaway, the baudrate is known but useless without the node id. is there an sdo request available to determine the id? i cannot get the device to leave pre op status even with a global nmt request. please help. no hair left.
not looking forward to setting up function blocks for this :( oh well we will prevail.
I am also having the same issue. I have read somewhere that can variable lists are not available on 3.5, surely this isn't the case? Hoping for some enlightenment.
hi all, i am trying to create a program using codesys control win as the plc and ifm cr2012 i/o modules as the outside interface. the data is trasmitted via canopen, i am using the provided eds files for the configuration of the i/o modules. i am having no problem receiving binary inputs but dont seem to be receiving any values for the analogue inputs. i can see on my pcan software that the data is being transmitted but it isnt appearing on the mapped variables in the device? any ideas why would...