Module programming errors -3, Module programming errors – Rockwell Automation 1746-HSCE2 Multi-Channel High Speed Counter Module User Manual

Page 85

Advertising
background image

Publication 1746-UM002B-EN-P - August 2004

Start Up, Operation, Troubleshooting, and Debug Mode 5-3

Module Programming Errors

A programming error is caused by improper set up of a module
parameter. The module responds to a programming error by setting
the programming error bit. When this bit is set, the entire
programming block is rejected.

The programming error bit is set when a reserved bit is set. It is also
set under the following conditions:

Table 5.1 Error Conditions by Programming Block

Programming
Block

Error Conditions

Module Setup

• Operating mode bits are not set to a valid pattern.
• A counter’s range allocation value is greater than 16.
• The sum of all range allocation values is greater than 16.
• The range allocation value for Counter 2 and/or Counter 3 is

nonzero and the programmed operating mode has the counter
disabled.

• A counter or counters were running when the block was sent.
• The INT bit was set in Class 1.
• The RVF bit was set in Class 1.

Counter
Configuration

• Counter number bits are not set to a valid number.

(Operating mode may be incorrect.)

• Input configuration is invalid for the counter.

(Operating mode may be incorrect.)

• G/P mode is invalid for the counter.

(Operating mode may be incorrect).

• The selected counter was running when the block was sent.
• The program counter number bits are not set for a counter that

has one or more bits set in its corresponding counter setup
word.

Min./Max.
Count Value

• Counter number bits are not set to a valid number. (Operating

Mode may be incorrect.)

• The minimum count is outside its valid range.
• The maximum count is outside its valid range.
• The maximum count is less than or equal to Minimum Count.
• Programmed output count ranges are outside the bounds of the

new minimum/maximum count values.

• The preset value is outside its valid range.
• Counter was running when the minimum/maximum count

value was changed.

Advertising