·32·
Programming manual
CNC 8055
CNC 8055i
1.
GENERAL CONCEPTS
·M· & ·EN· MODELS
SOFT: V02.2X
Communication protocol via DNC or peripheral device
1.3 Communication protocol via DNC or peripheral device
This type of communication enables program-and-table transfer commands, plus the organization
of CNC directories such as the computer directory, for copying/deleting programs, etc. to be done
either from the CNC or the computer.
When you want to transfer files, it is necessary to follow this protocol:
• The "%" symbol will be used to start the file, followed by the program comment (optional), of up
to 20 characters.
Then, and separated by a comma ",", comes the protection of each file, read, write, etc. These
protections are optional, since their programming is not obligatory.
To end the file header, RT (RETURN ) or LF (LINE FEED) characters should be sent separated
by a comma (",").
Example: %Fagor Automation, MX, RT
• Following the header, the file blocks should be programmed. These will all be programmed
according to the programming rules indicated in this manual. After each block, to separate it from
the others, the RT (RETURN ) or LF (LINE FEED) characters should be used.
Example: N20 G90 G01 X100 Y200 F2000 LF
(RPT N10, N20) N3 LF
If communication is made with a peripheral device, you will need to send the ‘end of file’ command.
This command is selected via the machine parameter for the serial port: "EOFCHR", and can be
one of the following characters :
ESC ESCAPE
EOT END OF TRANSMISSION
SUB SUBSTITUTE
EXT END OF TRANSMISSION
Image handling via DNC
While using WinDNC (version V6.01 or later), it is possible to send and receive PNG, JPG/JPEG
and BMP type images via DNC.
WinDNC software:
Version V6.01 of WinDNC supports files with extension bmp, png, jpg and jpeg. The maximum length
or the file name is 16 characters (including the dot and the extension).
The application scans all image type files in the work folder. When sending the files, if the name
of any file is too long, it will ask the user to enter a new shorter name (up to 16 characters). It must
also keep the original extension.