
5. FUNCTIONAL INSTRUCTIONS
B–61863E/15
PMC SEQUENCE PROGRAM
246
(b) Storage address of number of data table elements
Set to the memory at the byte length which set the number of the data
table elements in “(a) Format specification” and set the address to this
parameter. The effective range of number of data table elements is
as follows with the byte length which set in “(a) Format
specification”.
1 byte length : 1 to 255
2 byte length : 1 to 32767
(Actually, set a value below the size of the D area.)
4 byte length : 1 to 99999999
(Actually, set a value below the size of the D area.)
(c) Data table head address
Sets head address in the data table.
The memory of (byte length) (number of data table elements)
which was set in “(a) Format specification” and “(b) Storage address
of number of data table elements” is necessary.
(d) Input/Output data storage address
In case of the reading, set the address of the memory which stores a
reading result. In case of the writing, set the address of the memory
which stores a writing result. The memory with the byte length
which set in “(a) Format specification” is necessary.
In PMC–SB5/SB6/SB7 for Series 16i/160i/18i/180i Power Mate i,
PMC–SA5/SB6/SB7 for Series 21i/210i, PMC–SB7 for Series
0i–B, and PMC–NB6 for Series 15i when setting format
specification in the extended format, set the head address of the array.
(In case of the reading, set the head address of the array in which a
reading result is stored. In case of the writing, set the head address
of the array in which a writing result is stored.) The memory of (byte
length) (number of index array elements) which was set in “(a)
Format specification” is necessary.
(e) Index storage address
Set the address of the memory in which an index value is stored. The
memory with the byte length set in “(a) Format specification” is
necessary. The effective range of number of data in index is as
follows according to the byte length set in “(A) Format
specification”.
Actually, set the value which is smaller than the value to set in “(b)
Storage address of number of data table elements” to the index.
When setting an index value above the value to set in “(b) Storage
address of number of data table elements”, it causes an error output
W1=1 in instruction execution.
1 byte length : 0 to 254
2 byte length : 0 to 32766
4 byte length : 0 to 99999998
In PMC–SB5/SB6/SB7 for Series 16i/160i/18i/180i Power Mate i,
PMC–SA5/SB6/SB7 for Series 21i/210i, PMC–SB7 for Series
0i–B, and PMC–NB6 for Series 15i when setting format
specification in the extended format, set an address at the head of the
array in which an index value is stored. The memory of (byte length)
(number of data in index array) which was set in “(a) Format
specification” is necessary.