
1–17Getting Started
1336 FORCE — 5.9 August 1995
Step 3 — Write Node Values
One node value is downloaded in each block transfer routine. The
same block transfer routine is used in each download, but
information in the data file is changed for each node value that is
transferred. As shown below, the data in word N57:2 specifies the
block and node that is being written to, while word N57:3 specifies
the value that is being sent. Data is entered in hexadecimal format.
— Enter the 1st Value at the Function Block Node
BTW
Data File
N57:0
0000 8F01 8101 7FFD 0 0 0 0 0 0
0 1 2 3 4 5 6 7 8 9
1. Set the Limit block Max value (block 1, node 1) to 7FFD
hex
=
32765
dec
.
2. Toggle bit I:00/00 to initiate the block transfer routine which
downloads the node value.
3. Verify that the write was successful. If N57:101 = 0F01
hex
(Block
Transfer Read data), there are no errors.
— Enter the 2nd Value at the Function Block Node
BTW
Data File
N57:0
0000 8F01 8201 8003 0 0 0 0 0 0
0 1 2 3 4 5 6 7 8 9
4. Set the Limit block Min value (block 1, node 2) to 8003
hex
=
–32765
dec
.
5. Toggle bit I:00/00 to initiate the block transfer routine which
downloads the node value.
6. Verify that the write was successful. If N57:101 = 0F01
hex
(Block
Transfer Read data), there are no errors.
Commenti su questo manuale