High
-S
peed
Input
and
Pulse
O
utput
Features
3--9
High-Speed Input and Pulse Output Features
DL105 PLC User Manual, 3rd Edition
V7630 is a pointer location which points to
the beginning of the Preset Data Table.
The default starting location for the Preset
Data Table is V2320 (default after
initializing
scratchpad
V-memory).
However, you may change this by
programming a different value in V7630.
Use the LDA and OUT instructions as
shown:
Preset Data
V2000
0000
V2002 0000
V2004 0000
V2006 0000
1000
2000
2500
3175
V2076 0000
0000
V7630
2000
Preset Table Pointer
LDA
O2000
Load the octal address,
convert to hex, leave
result in accumulator.
OUT
V7630
Output this address to
V7630, the location of the
pointer to the Preset data.
When using fewer than 24 preset
registers, the HSIO looks for “0000 FFFF”
(use LDD Kffff) in the next preset location
to indicate the last preset has been
reached. The example to the right uses
four presets. The 0000 FFFF in
V2331-V2330 indicates the previous
preset was the last.
Preset Data
V2320 0000
V2322 0000
V2324 0000
V2326 0000
1000
2000
2500
3175
V2330 0000
FFFF
NOTE:
Each successive preset must be greater than the previous preset value. If a
preset value is less than a lower-numbered preset value, the CPU cannot compare
for that value, since the counter can only count upwards.
The following table lists all 24 preset register default locations. Each occupies two
16-bit V-memory registers. The corresponding special relay contact number is in the
next column. We might also call these “equal” relay contacts, because they are true
(closed) when the present high-speed counter value is equal to the preset value.
Each contact remains closed until the counter value equals the next preset value.
Preset
Preset
V-memory Regis-
ter
Special
Relay
Number
Preset
Preset
V-memory Regis-
ter
Special
Relay
Number
1
V2321 / V2320
SP540
13
V2351 / V2350
SP554
2
V2323 / V2322
SP541
14
V2353 / V2352
SP555
3
V2325 / V2324
SP542
15
V2355 / V2354
SP556
4
V2327 / V2326
SP543
16
V2357 / V2356
SP557
5
V2331 / V2330
SP544
17
V2361 / V2360
SP560
6
V2333 / V2332
SP545
18
V2363 / V2362
SP561
7
V2335 / V2334
SP546
19
V2365 / V2364
SP562
8
V2337 / V2336
SP547
20
V2367 / V2366
SP563
9
V2341 / V2340
SP550
21
V2371 / V2370
SP564
10
V2343 / V2342
SP551
22
V2373 / V2372
SP565
11
V2345 / V2344
SP552
23
V2375 / V2374
SP566
12
V2347 / V2346
SP553
24
V2377 / V2376
SP567
Preset Data
Starting Location
Using Fewer than
24 Presets
Equal Relay
Numbers
Содержание DL105
Страница 2: ...DL105 PLC User Manual Manual Number D1 USER M...
Страница 308: ...1B DL105 Error Codes In This Appendix Error Code Table...
Страница 314: ...1C Instruction Execution Times In This Appendix Introduction Instruction Execution Times...
Страница 324: ...1D Special Relays In This Appendix DL105 PLC Special Relays...
Страница 327: ...1E PLC Memory In This Appendix DL105 PLC Memory...
Страница 329: ...1F European Union Directives CE In This Appendix European Union EU Directives Basic EMC Installation Guidelines...