Resetting Latched Diagnostics on a Digital Module
To reset latched diagnostics on your digital modules, use an MSG instruction.
- Use the Tag Editor to create a tag at controller scope with aMESSAGE data type.
- Go to the Ladder Editor, and insert a rung that contains an MSG instruction. The instruction operand should be the MESSAGE tag you just created.
- Select the button to the right of the operand to go to theMessage Configurationdialog box.
- ForMessage Type, chooseGeneric CIP.
- ForService Code, enter 4B (Reset Latch Diagnostics service code).
- ForObject Type, enter 1E (Discrete Output Group).
- ForObject ID, enter 1.LeaveObject Attributeblank.
- ForSource, enter or choose a controller-scoped tag that is a DINT.If the tag does not exist yet, select theCreate Tagsbutton to create it.
- ForNum. Of Elements, enter 4.Leave theDestinationblank.
- Select theCommunicationtab.
- ForPath, enter module name or CIP path to the module.
- ForCommunication Method, chooseCIP.
- Select theOKbutton.
- Write logic or use the Data Monitor to set the values of the source tag. The tag represents a bit mask of the points on which to reset diagnostics.
Provide Feedback