User Manual PLC-3 FAMILY I/0 Instruction Manual
Binary Command Language
Appendix A
A-31
Read Section Size Command
Hex: 19
Parameters: Address of section to read
Description: The following example command block requests the size of
the data table in context 1:
STX
02
ISC
08
SIZ
04
CMD
19 03
DAT
03 01
ETX
03
CHK
31
The data bytes store:
address mask (03 hex)
first and second address bytes 903, 01 hex)
The processor responds to a read section size command with one of the
following response codes:
Response Codes
Hex Description
00 Success
04 Address unknown
06 Access not allowed
If the processor returns a success response code, the next four bytes
contain the section size, with the least significant byte transmitted first.
The two bytes following the section size contain the number of next levels
of addressing.
For example, in context 1 of the data table, the number of next levels
corresponds to the number of data table sections such as output, input, or
integer. And in the integer section, the number of next levels corresponds
to the number of integer files.
The following example response block shows successful read section
size command:
STX
02
OSC
14
SIZ
07
RSP
00 08 28 00
CHK
69
DAT
00 19 00
ETX
03