User Manual PLC-3 FAMILY I/0 Instruction Manual

Binary Command Language
Appendix A
A-25
Verify Block Command
Hex: 15
Parameters: Starting address, number of words, data to compare
with memory
Description: The processor can compare a block of data in memory to
reference data from an external device. The following command block
verifies the first three words in the binary section of the data table
(section eight):
STX
02
ISC
14
SIZ
0C
CMD
15 24 08 00
03 00
DAT
04 41 E1 02 E3 15
ETX
03
CHK
89
The data bytes store:
address mask (24 hex)
first address byte (08 hex)
second address byte (00 hex)
lower byte of size word (03 hex)
upper byte of size word (00 hex)
lower byte of the first data word (04 hex)
upper byte of the first data word (41 hex)
lower byte of the second data word (E1 hex)
upper byte of the second data word (02 hex)
lower byte of the third data word (E3 hex)
upper byte of the third data word (15 hex)
The processor responds to a verify block command with one of the
following response codes:
Response Codes
Hex Description
00 Success
04 Address unknown
05 Address invalid - end of section
06 Access not allowed
08 Address not complete