Alan Case
Lifetime Supporting Member
Hi all. I am having a bit of trouble with the above setup. I will eventually connect several drives to the DNet but as I do not have these I am practicising with what I have. I have a block of compact IO and a rightsight photoeye on the network, correctly mapped and working. What is giving me problems is a CIP generic message to the nodes. I can write and read back parameters from the compact block IO using CIP but every time I try with the photoeye the message block errors. The scanner manual refers to word 15 and word 22 as error codes but there is no way to view the message block in any format other than the default which gives no indication of word numbers. Is there any reference out there detailing the MSG file structure for an ML1500 or can anyone shed any ideas on this problem.
Also I wish to read in about 10 parameters (more than I can assign to an assembly) so I run a 25/100 sec timer and on the done bit read parameter 1 with a CIP generic message, then allow the done bit or error bit to call the next message block for parameter 12, and its done bit or error bit calls the next block etc. The last parameter done bit or error bit resets the timer so that it can all happen again in 25/100 of a second. Is this the usual or an accepted way of retrieving parameters (slow changing, ie run hrs) from a device. Regards Alan Case
Also I wish to read in about 10 parameters (more than I can assign to an assembly) so I run a 25/100 sec timer and on the done bit read parameter 1 with a CIP generic message, then allow the done bit or error bit to call the next message block for parameter 12, and its done bit or error bit calls the next block etc. The last parameter done bit or error bit resets the timer so that it can all happen again in 25/100 of a second. Is this the usual or an accepted way of retrieving parameters (slow changing, ie run hrs) from a device. Regards Alan Case
Last edited: