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
Содержание 218M
Страница 3: ...GSK 218M CNC System Connection and PLC Manual...
Страница 15: ...GSK218M CNC System Connection and PLC Manual 12 Volume one Programming...
Страница 70: ...GSK218M CNC System Connection and PLC Manual 67 Volume Two Function...
Страница 140: ...GSK218M CNC System Connection and PLC Manual 137 Volume Three Operation...
Страница 160: ...GSK218M CNC System Connection and PLC Manual 157 Volume Four Connection...
Страница 163: ...GSK218M CNC System Connection and PLC Manual 160 2 Side view 3 Overlook Without PC2 power supply...