13-24
VersaMax® Modules, Power Supplies, and Carriers User's Manual – March 2003
GFK-1504K
13
IC200MDD841
Mixed Module, 24VDC Positive Logic Input 20 Points / Output 12 Point /
(4) High Speed Counter, PWM, or Pulse Train Configurable Points
Data Command Definitions
Data Commands can be used to temporarily change the counter parameters listed below.
These changes are lost when the module is powered down and when a new configuration is
stored from the programmer. The bytes in the command word are treated as independent
bytes: a counter ID byte and a command code byte. Command words can be entered in
hexadecimal or decimal format. In the table, for Type A, n = Counter #1–4. For Type B, n
= Counter #2 (only counter 2 is B-type)
Command Word (hex)
Command
Description
0n01
Load
Accumulator
Loads any value within a counter’s limits directly into the Accumulator. If a
count is received at the same time, the count is lost.
Example: To set Counter 1 to 1234H, load COMREQ command registers with:
Command word: 0101
LS data word: 1234
0n02
Load High
Limit
0n03
Load Low
Limit
Sets the High and Low limit to any value in the counter range. Move the Low
Limit first when shifting down or the High Limit first when shifting up. Loading
limits in the wrong order can cause an error. The command is successful if all
parameters are within the new range.
Example: To change the upper limit of counter 1 to 10000 (2710H), load
registers with:
Command word: 0102
LS data word: 2710
0n04
Load
Accumulator
Increment
Offsets a counter Accumulator by up to +127 or –128 counts. Only the LSB
data is used with this command. This can be done at any time, even while the
counter is counting at maximum rate. However, if a count is received at the
same time the CPU updates the Accumulator value, the count is lost. If the
offset causes the counter to exceed its limits, this parameter is rejected.
Example: To offset counter 1 by –7 counts, load:
Command word: 0104
LS data word: 00F9
0n05
Set Counter
Direction
(Type A only) Changes the count direction of a type A counter. Only the LSB of
the first data word is used for this command (00 = up, 01 = down).
Example: To set the direction of counter 4 to down, load:
Command word: 0405
LS data word: 0001
0n06
Load
Timebase
Changes the time interval used for the counts/timebase word data.
The range is 10 to 1000mS in 10mS intervals.
Example: To change the timebase for counter 1 to 600 ms (258H), load:
Command word: 0106
LS data word: 0258
0208
Load Home
Value
Changes the home value for the Type B2 counter.
0n0B
Load ON
Preset
Sets up the output turn on points within the counter range. There is one output
associated with each counter.
Example: To set counter 1 output to turn on at 5000 (1388H) counts, load:
Command Code: 010B
LS data word: 1388
PDFsupply.com
Содержание VersaMax
Страница 3: ...PD Fsupply com ...
Страница 27: ...1 20 VersaMax Modules Power Supplies and Carriers User s Manual March 2003 GFK 1504K 1 PD Fsupply com ...
Страница 79: ...3 14 VersaMax Modules Power Supplies and Carriers User s Manual March 2003 GFK 1504K 3 PD Fsupply com ...
Страница 123: ...5 22 VersaMax Modules Power Supplies and Carriers User s Manual February 2003 GFK 1504K 5 PD Fsupply com ...
Страница 139: ...6 16 VersaMax Modules Power Supplies and Carriers User s Manual March 2003 GFK 1504K 6 PD Fsupply com ...
Страница 243: ...8 48 VersaMax Modules Power Supplies and Carriers User s Manual March 2003 GFK 1504K 8 PD Fsupply com ...
Страница 297: ...9 54 VersaMax Modules Power Supplies and Carriers User s Manual March 2003 GFK 1504K 9 PD Fsupply com ...
Страница 345: ...10 48 VersaMax Modules Power Supplies and Carriers User s Manual March 2003 GFK 1504K 10 PD Fsupply com ...
Страница 451: ...13 28 VersaMax Modules Power Supplies and Carriers User s Manual March 2003 GFK 1504K 13 PD Fsupply com ...
Страница 471: ...14 20 VersaMax Modules Power Supplies and Carriers User s Manual March 2003 GFK 1504K 14 PD Fsupply com ...
Страница 487: ...A 12 VersaMax Modules Power Supplies and Carriers User s Manual March 2003 GFK 1504K A PD Fsupply com ...
Страница 489: ...B 2 VersaMax Modules Power Supplies and Carriers User s Manual March 2003 GFK 1504K B PD Fsupply com ...
Страница 495: ...C 6 VersaMax Modules Power Supplies and Carriers User s Manual March 2003 GFK 1504K C PD Fsupply com ...
Страница 499: ...D 4 VersaMax Modules Power Supplies and Carriers User s Manual March 2003 GFK 1504K D PD Fsupply com ...