GSK218M CNC System Connection and PLC Manual
44
ACT
=
0 : resets all the output data bit.
ACT
=
1 : decode data. Results of processing is set in the output data address.
Parameter:
length : Set the size of code data to the 1
st
digit of the parameter.
0001
:
code data is in binary format of 1 byte length.
0002
:
code data is in binary format of 2 byte length.
S1 : code data address. Specifies an address at which code data is
stored.
S2 : number specification decode designation. Specifies the first of the
8 continuous numbers to be decoded.
S3 : decode result address. Specifies an address where the
decodedresult shall be output. A one-byte area is necessary in the
memory for the output.
Example:
When ACT
=
1 and F10
=
8
,
R4
=
0000,0001
;
When ACT
=
1 and F10
=
9
,
R4
=
0000,0010
;
………………………….
When ACT
=
1 and F10
=
15
,
R4
=
1000,0000
;
5.13 COD
(
binary code conversion
)
Function:
COD instruction automatically creates a table with corresponding size used for user inputting
conversion table data when it inputs the data capacity. Each table has 10 lattices and if it is not
divided by 10, count the lattices by its quotient adding 1, but its capacity data does not change.
DEC
1
F10
8
R4
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...