GSK218M CNC System Connection and PLC Manual
57
S1
:
Storage address of number of data table elements. The address is used to
store the data number of data table, its byte should correspond to the length
specified in Length format specification, and the effective range of number
of data table element is as follows with the byte length which set in Length1
format.
1 byte length
:
1 to 255.
2 byte length
:
1to 32767
(
Actually, set a value below the size of the D area.
S2
:
Sets head address in the data table. The memory of (byte length )X (number
of data table elements).
S3
:
Input/output data storage address. In case of the reading, set the
addressofthe memory which stores a reading result a writing result. The
memory with the byte length which set in Length format specification is
necessary.
S4
:
Index storage address. Set the address of the memory in which an index
value is stored. The memory with the byte length set in Length format
specification is necessary. When setting an index value above the value to
set in S1 storage address of nmber of data table elements, it causes an
error ouput W=1. Actually, the number of data table elements does not
exceed 255.
Output:
The index value set in Index storage address exceeds the value set in S1, W=1, the reading or
writing of the data table isn’t executed.
W=0
,
No error.
W=1
,
Error found.
5.24 DSCH
(
binary data search
)
Function:
The DSCH instruction is used to search the binary data in data table. The number of data (table
capacity) in the data table can be specified by specifying the address. Thus allowing change in
table capacity even after writing the sequence program in the ROM.
Summary of Contents for 218M
Page 3: ...GSK 218M CNC System Connection and PLC Manual...
Page 15: ...GSK218M CNC System Connection and PLC Manual 12 Volume one Programming...
Page 70: ...GSK218M CNC System Connection and PLC Manual 67 Volume Two Function...
Page 140: ...GSK218M CNC System Connection and PLC Manual 137 Volume Three Operation...
Page 160: ...GSK218M CNC System Connection and PLC Manual 157 Volume Four Connection...