20 Gear Drive, Plymouth Ind. Park, Terryville, CT 06786
Tel: (860) 585-1254 Fax: (860) 584-1973 http://www.amci.com
Output Data Format
5
71
Command Block 11: Program Production Counter Parameters (continued)
Word 0: Command Word Bits
Bit 5:
Delete Counter Data.
Setting this bit to ‘1’ will delete all of the parameter values associated with the
counter given in word 1.
Bit 8:
Program Counter Overflow Output.
If this bit is reset to ‘0’ the Counter Overflow Output parameter
is left at its previous value. If this bit is set to ‘1’, the Counter Overflow Output parameter is set to
the value contained in word 2. You must also have a Counter Limit Value programmed on the coun-
ter that you are assigning this output to.
This bit must equal ‘0’ when the counter number in word 1
equals ‘4’ or ‘5’.
Bit 9:
Program Counter Overflow Mode.
If this bit is reset to ‘0’ the Counter Overflow Mode parameter is
left at its previous value. If this bit is set to ‘1’, the Counter Overflow Mode parameter is set to the
value contained in word 3. Valid values for word 3 are:
Bit 10: Program Batch Counter Increment Mode.
If this bit is reset to ‘0’ the Batch Counter Increment Mode
parameter is left at its previous value. If this bit is set to ‘1’, the Batch Counter Increment Mode
parameter is set to the value contained in word 4.
Bit 11: Program Counter Limit Value.
If this bit is reset to ‘0’ the Counter Limit Value parameter is left at its
previous value. If this bit is set to ‘1’, the Counter Limit Value parameter is set to the 32 bit value
contained in words 4 and 5.
This bit must equal ‘0’ when the counter number in word 1 equals ‘4’ or
‘5’.
Bit 12: Preset Counter.
If this bit is reset to ‘0’ the counter’s count is left at its previous value. If this bit is
set to ‘1’, the counter’s count is set to the 32 bit value contained in words 6 and 7.
The Counter Limit Value and the Counter Preset Values programmed in words 4 through 7 are
treated as 32 bit values, withe the upper sixteen bits of the value in the first word and the lower
sixteen bits of the value in the second word. When entering these values in host controllers
that only display signed sixteen bit integers, it may be easier to convert your values to hexa-
decimal and enter them as hexadecimal numbers in your host controller. For example, if you
want a Counter Limit Value of 40,000, convert this number to a 32 bit hexadecimal number
before entering it. (40,000 = 0x0000 9C40. If you then view these numbers as signed sixteen
bit integers, they will appear as 0 in the first word and -25,536 in the second.)
Word 3 Value
Counter Overflow Mode
0
No Output
(The value in word 2 must also be zero.)
1
Output Goes Active.
The output changes from its inactive to its active
state when the counter reaches its programmed count limit. The output
changes back to its inactive state at the start of a new production cycle.
2
Output Toggles.
The output changes state when the counter reaches its
programmed count limit.
Summary of Contents for ANS1 ANYNET-I/O
Page 1: ...MICRO CONTROLS INC ADVANCED U s e r M anual Manual 940 0A090...
Page 6: ...Table of Contents ADVANCED MICRO CONTROLS INC 6 Notes...
Page 26: ...Limit Switch Functionality ADVANCED MICRO CONTROLS INC 2 26 Notes...
Page 36: ...Additional Functionality ADVANCED MICRO CONTROLS INC 3 36 Notes...
Page 90: ...LEADERS IN ADVANCED CONTROL PRODUCTS ADVANCED MICRO CONTROLS INC...