Specifications

Preset Data Starting Location
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:
Using Fewer than 24 Presets
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.
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.
Equal Relay Numbers
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.
DL05 Micro PLC User Manual, 6th Edition, Rev. C
E–9
Appendix E: High-speed Input and Pulse Output Features
1
2
3
D
E
6
7
8
9
10
11
1
1
14
A
B
C
D
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.
Preset Register Table
Preset
Preset V-memory
Register
Special Relay
Number
Preset
Preset V-memory
Register
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
V2000
0000
V2002 0000
V2004 0000
V2006 0000
1000
2000
2500
3175
V2076 0000 0000
V7630 2000
Preset Table Pointer
V2320 0000
V2322 0000
V2324 0000
V2326 0000
1000
2000
2500
3175
V2330 0000 FFFF