
DNC Plant/DNC Cell (FBDN1) 05.07
7 Code conversion function
© Siemens AG 2010 All Rights Reserved
FBDN1/7-140 Motion Control Information System DNC (FBDN) - 04/10 Edition
7.1 Code conversion
General
DNC uses NC programs in ASCII code. Data is always downloaded/uploaded in
the code required by the CNC machine tool. If necessary, the code may have to be
converted. The DNC code conversion server supports three types of code:
ASCII code
ISO code
EIA code
To download/upload NC programs in a particular code, the code must be converted
via a code conversion table, which allows characters to be converted individually or
filtered out.
Code conversion tables
The CODES.TXT file in the program directory contains all the code conversion
tables. A table is defined for each code type and transmission direction. It begins
with its name, which comprises the code type and transmission direction (OUT =
download; IN = upload). The table content is enclosed by { }. Each row in the table
comprises a series of assignments, whereby an output value is assigned to an
input value. An assignment is made as follows: #2A AA '*'
# Start of assignment
2A Two-digit input value in hex
Blank used as separator
AA Two-digit output value in hex
Blank used as separator
'*' Mnemonic as comment
Two blanks used as separator
The code conversion table can also be used to hide certain characters. For this
purpose, FF must be entered as the output value.
Note
The offset must never be changed; if it is changed, this could result in non-
initializations or incorrect initializations.
Note
Each station is only assigned one code conversion file (CODES.TXT).
Any changes made in one of the six code conversion tables only affect machines
that use this code type.
Comentarios a estos manuales