Diagnostic Data From CI502-PNIO's
I have an AC500 Connected to 5- CI502-PNIO's ( on the remote) via CM579. I want diagnostic data to find out whether the Module is Healthy or is with some errors, from each of these 5 PNIO'S. I used PNIO_DEV_ALARM function block to get the data, but it does not give an error or error Number, even i created an fault in the module by taking out ethernet wire connected to the module. Looks like it's doing nothing.
On the pins of the function Block- I have a BLINK output of 250ms connected to "EN", SLOT as 1, DEV_NAME AS variable CI502 ( Declaration CI502 as IP address of the first module) and DATA as ARRAY of BYTE(10 Bytes). Am i missing Something? Or is there a better way to get the info. from the remote module.. I would appreciate if you can post suggestions and also a sample program to accomplish this task.
This question has not yet been answered.