G3Version8

The educational technology and digital learning wiki
Revision as of 05:45, 26 March 2023 by Tatarize (talk | contribs) (Slight corrections to some formatting using the WYSIWYG editor)
Jump to navigation Jump to search

G3Version8

The G3Version8 laser cutting board is typically controlled with NewlyDraw specifically with the EnG3BinV8.dll driver. Most of the remaining newlydraw supporting devices run Leetro lasers.


Supporting Lasers

The lasers which use this underlying controller board are as follows:

  • Raylaser\U-SET
  • Beijing SZTaiming\usb
  • Gama\usb
  • CYBERTECH LTD\U-SET
  • Artsign\JSM-40U/3040U/3060U
  • Artsign\JSM-40N/3040N/3060N
  • Light Technology\LH40U/3040U/3060U
  • Greatsign\LE40U/3040U/3060U
  • Helo Lasergraviermaschine\HLG 40N
  • Workline laser\usb
  • HPC LASER\LS 3020
  • SICONO\SIC-L40B
  • Rabbit\Rabbit40B
  • ZL Tech\ZL40B
  • Jinan Suke\USB
  • Jinan Jinweik\Laser B
  • Lion laser\usb
  • VILLA L. & FIGLIO S.R.L.\Laser B
  • AMC CO damascus\Laser B
  • Jinan Ruijie\Laser U
  • Mini Laser\USB
  • Jinan Xinyi\USB
  • Duowei Laser\Laser U
  • Weifang Tiangong\Laser B
  • Jinan DaGong\TLU series
  • Jinan Senfeng\Laser U
  • ZhengZhou LeCai\LC Laser
  • ZhengZhou LeCai\LC Plasma
  • Wuhan Jinli\JL Cylinder
  • DongGuan EverTech\ETL3525 Laser
  • DongGuan EverTech\ETL3525 Laser
  • Wuhan Anwei\AW-U
  • Liaocheng Xinxing\U

G3 Prior to Version 8

  • Raylaser\L-SET
  • Artsign\JSM-3040/3060
  • Light Technology\LH40/3040/3060
  • Greatsign\LE40/3040/3060
  • SICONO\SIC-L400
  • Rabbit\Rabbit3040
  • ZL Tech\ZL4030
  • Jinan GuangHan\GH-3040
  • Jinan Jinweik\Laser A
  • Jinan Xinyi\Parallel
  • Weifang Tiangong\Laser A
  • Jinan DaGong\TL series
  • Jinan Mingrui\MR-A
  • Jinan Senfeng\6090A
  • Jinan Senfeng\1280A
  • Jinan Xunjie\XJ-III
  • Jinan XingHui\xh1490/6040/9060B
  • Liaocheng Kexin\kx-560 580 690
  • Tianjin XinTai\ST1310
  • Tianjin XinTai\Laser/Plasma
  • GuangDong YangSheng\YS-I Laser
  • DongGuan EverTech\ETL40 Laser
  • DongGuan EverTech\ETL60 Laser
  • DongGuan HuaTian\HT-DK-A
  • ShenZhen SanNeng\SN-60
  • ShenZhen SanNeng\SN-80A
  • Hubei SenMao\SM Laser
  • Shanghai JianCheng\JC960A
  • Wuhan Huaguang\HG-8A
  • Wuhan Meisi\MS-I Fire
  • Wuhan Meisi\MS-I Laser
  • Wuhan Meisi\MS-I Plasma
  • Wuhan Anwei\AW-H
  • Wuhan Tiangong\HGVII
  • Wuhan Sangong\SCC-C
  • Wuhan ChangXin\CXA-6040
  • Beijing Hongdat\CD46F
  • Jinan Jinshida\KEN-RASER
  • Shandong HongJiShunKe\HJSK6090B
  • Guangzhou Huaz\HZL40 Laser
  • Guangzhou Huaz\HZL60 Laser
  • Guangzhou HongYi\HONGYI-I
  • Wuhan Ray-Tech\RDL40 Laser
  • Wuhan Ray-Tech\RDL60 Laser
  • Jinan Senfeng\6090
  • Jinan DaGong\D9260
  • Jinan DaGong\D1080
  • Liaocheng Xinxing\DG-07A
  • Beijing Shengyuan\DG-07A

USB Protocol

The USB transfer protocol is straight forward and was first determined by Lynxis (see other sources). The protocol is connect to the USB device located at the VID/PID 0x0471 0x0999 -- This give the VID as Philips (or NXP).

Each send send data event has three steps.


1) WRITE_INTERRUPT (0x01) endpoint transfers the packet size in int16le from 0x0000 to 0x1000 (4091). Spanning more than one packet requires truncation (without regard to the current space at 0x1000).

2) READ_INTERRUPT (0x81) endpoint should respond 0x01 of 1 byte which means OK. According to Lynxis' work, anything other than the 0x01 means failure.

3) WRITE_BULK (0x82) endpoint will be sent the packet of the size specified.

Coordinate System

The coordinate system as seen from reverse engineering on a Workline/USB device was that of having swapped X and Y values. The NewlyDraw device tends to specify a given DPI for the Width and Height. Usually this appears to be near 1000 making meaning the typical step size is about 1 mil (1/1000th of an inch).

File Structures

The file structure to convey the modified HPGL are not found in any of the regular HPGL commands. All data is stored in a files these all begin with ZZZFile# which specifies the file we are writing. These are stored on an SD card located on the controller. The SD card is not formatted with a FAT-like data structure or anything directly and obviously accessible. This files can be created, sent, and "started" in the regular use of the laser. These also remain stored in persistent memory so that the same job can be executed multiple times in a single command. While the file numbers go from 0-9 this gives 8 different regular use files for saving and replaying.

The file contains a root and two different sections. These sections are the root, DW section and the GZ section. Sections are ended with the command ZED.

Root

Data not sent as part of a given draw section are usually intended for direct execution.

Frame Section

The DW section contains the frame. This is the job frame outline of the data begin sent. This gets executed by the realtime Draw Frame ZH# and Move Frame ZK# commands which are listed in NewlyDraw's control panel as Draw Rect and Move Rect. These are commands to move around the edges of the job, to trace the edges of the job. This outer edge trace is provided within the file so that it can be executed to check the frame of the job prior to calling Execute ZG# (called Start in Newlydraw).

Program Section

The second section is GZ section this section is executed when Start (Execute) is called with the command ZG# as a realtime command.


ZZZFile0

The File0 is usually executed directly and instantly. So realtime commands like Run a program in File2 would be ZZZFile0;ZG2;ZED; this would execute the command ZG2 directly. It runs in File0 so that it executes rather than is merely stored in a file and not executed until instructed to do so. In NewlyDraw the ZG# are usually called automatically after the file is sent, but this is not necessary. This file is used for realtime commands, and to execute movements directly on the laser. While File0 commands usually do not contain other sections they do end with ZED commands.

ZZZFile#

The File1 through File9 designations are usually sent as full programs with both a DW and GZ section. They are usually structured ZZZFile1;DW;<Frame Commands>;ZED;GZ;<Program Commands>;ZED;

These are not automatically executed. The Frame Section DW is executed by the ZH# or ZK# commands. The GZ section is executed by the ZG# command.

ZED

The ZED command closes the file. This is done after the root end of the root or after the end of each of the DW or GZ sections.

Realtime Commands

The realtime commands are usually sent as part of a File0. This is usually a single command or a short set of commands. The usual structure is: ZZZFile0;<Realtime>;ZED;

Realtime Examples

  • ZZZFile0;UL;ZED; - Unlock Rail.
  • ZZZFile0;ZQ;ZED - Stop. Halt Execution.
  • ZZZFile0;RS;ZED; - Home device.
  • ZZZFile0;ZH1;ZED; - Draw Rect Program 1
  • ZZZFile0;ZG1;ZED; - Start Program 1
  • ZZZFile0;ZG;ZED; - Resume Current Job.
  • ZZZFile0;ZK1;ZED; - Move Rect
  • ZZZFile0;ZT;ZED; - Pause Current Job.
  • ZZZFile0;ZQ;ZED - Stop Current Job
  • ZZZFile0;PL2;DA60;TO50;ZED; - Fire laser in place. Power 100%, 50 MS.

Jog

  • ZZZFile0;VP100;VK100;SP2;VQ15;VJ5;VS5;PR;PU-394,0;ZED; - Move Top 10mm
  • ZZZFile0;VP100;VK100;SP2;VQ15;VJ5;VS5;PR;PU0,394;ZED; - Move Left 10mm
  • ZZZFile0;VP100;VK100;SP2;VQ15;VJ5;VS5;PR;PU394,0;ZED; - Move Bottom 10mm
  • ZZZFile0;VP100;VK100;SP2;VQ15;VJ5;VS5;PR;PU0,-394;ZED; - Move Right 10mm
  • ZZZFile0;VP100;VK100;SP2;VQ15;VJ5;VS5;PA;PU{x},{y};ZED; - Directly move to position X, Y

Z Axis Realtime

  • ZZZFile;CV10;CR1;ZED; - Step Z axis 1 units (speed 10)
  • ZZZFile;CV10;CR-1;ZED; - Step Z axis 1 units (speed 10)
  • ZZZFile;CV10;WU10;ZED; - Move Z axis to position 10 (speed 10)

W Axis Realtime

  • ZZZFile0;WV10;WR400;ZED; - Move W axis 400 units (speed 10)
  • ZZZFile0;WV10;WR-400;ZED; - Move W axis -400 units (speed 10)
  • ZZZFile0;WV10;WU400;ZED; - Move W axis to position 400 (speed 10)


Reverse engineering resources.


Links

Official

Unknown