Motion Event Instructions
Rockwell Automation Publication MOTION-RM002H-EN-P-February 2018 301
Extended Error Codes
Extended Error Codes provide additional instruction specific information for the
Error Codes that are generic to many instructions. Extended Error codes for the
Parameter Out of Range (13) error code lists a number that refers to the number
of the operand as they are listed in the faceplate from top to bottom with the first
operand being counted as zero. Therefore for the MDOC instruction, an
extended error code of 4 would refer to the Disarm Type operand's value. You
would then have to check your value with the accepted range of values for the
instruction.
Execution
If ERR is And EXERR is Then Corrective Action
Cause
36 Varies The size of the Output Cam array is not supported or the value of at least
one member is out of range:
Output bit less than 0 or greater than 31.
Latch type less than 0 or greater than 3.
Unlatch type less than 0 or greater than 5.
Left or right position is out of cam range and the latch or unlatch type is set
to "Position" or "Position and Enable".
Duration less than or equal to 0 and the unlatch type is set to "Duration" or
"Duration and Enable".
Enable type less than 0 or greater than 3 and the latch or unlatch type is set
to "Enable", "Position and Enable", or "Duration and Enable".
Enable bit less than 0 or greater than 31 and the latch or unlatch type is set
to "Enable", "Position and Enable", or "Duration and Enable".
Latch type is set to "Inactive" and unlatch type is set to either "Duration" or
"Duration and Enable".
Illegal Output Cam
37 Varies Either the size of the Output Compensation array is not supported or the
value of one of its members is out of range.
Illegal Output
Compensation
The array index associated with errors 36 and 37 are stored in .SEGMENT of the Motion Instruction data type. Only the first of multiple errors
are stored. The specific error detected is stored in Extended Error Code.
With the ability to dynamically modify the Output Cam table, the Illegal Output Cam error 36 may occur while the MAOC is in-process. In
general, the cam elements in which an error was detected will be skipped. The following are exceptions, and will continue to be processed.
Error 2, Latch Type Invalid. Latch Type defaults to Inactive.
Error 3, Unlatch Type Invalid. Unlatch Type defaults to Inactive.
Error 8, with Unlatch Type of Duration and Enable. Will behave as an Enable Unlatch type.