
Publication 1746-UM002B-EN-P - August 2004
6-10 Application Examples
Data Table for N10 File (hexidecimal)
Data Table for N11 File (decimal)
Example 3 - Block Transfers
In this example, the module is set up in Class 1, Mode 3 using two
counters. This example uses indirect addressing and block transfers
with a PLC-5 scanner.
Three rungs are added to ladder file 8, the HSCE2 routine:
1. Repeating block transfer writes (BTW) to send eight words of
data to the remote 1746-HSCE2 module.
2. Repeating block transfer reads (BTR) to read eight words of data
from the remote 1746-HSCE2 module.
3. A rung to latch the first BTR done bit when it was satisfactory to
start the 1746-HSCE2 initialization (ladder file 9).
The 1746-HSCE2 initialization routine (ladder file 9) is nearly the same
as the local examples (examples 1 and 2), except the I/O image
Programming Blocks Offset 0123456789
Module Setup N10:0 1 101 80000000
Counter Configuration N10:10 302 C 0 C 000000
Min/Max Count Value Counter 1 N10:20 40023000000
Min/Max Count Value Counter 2 N10:30 104 0 0 7 C8 00000
Min/Max Rate Value N10:408FF9C064000000
Program Ranges N10:50 410 10043E71000
Program Ranges N10:60 410 25093E72000
Program Ranges N10:70 410 4 A 0 E 3E7 1000
Program Ranges N10:80 410 8 F 0 13 3E7 2000
Program Ranges N10:90 410 10 14 0 18 3E7 1000
Program Ranges N10:100 410 20 19 0 1D 3E7 2000
Program Ranges N10:110 410 40 1E 0 22 3E7 1000
Program Ranges N10:120 410 80 23 0 27 3E7 2000
Program Ranges N10:130 110 100 0 0 1 31F 4000
Program Ranges N10:140 110 200 1 320 3 257 8000
Program Ranges N10:150 110 400 3 258 5 18F 4000
Program Ranges N10:160 110 800 5 190 7 C7 8000
Counter Control N10:170 80 8001 8001 0 0 FF00 FFF 0 0 0
Offset 0123456789
N11:0 170 170 17
Comentarios a estos manuales