E1803D All-In-One XY2-100 Scanner Controller: Users Manual
E1803D All-In-One XY2-100 Scanner Controller: Users Manual
E1803D All-In-One XY2-100 Scanner Controller: Users Manual
Users Manual
1
Table of Contents
1 Copyright..........................................................................................................................................................................................................4
2 History...............................................................................................................................................................................................................7
3 Safety.................................................................................................................................................................................................................8
4 Overview..........................................................................................................................................................................................................9
4.1 Features..................................................................................................................................................................................................9
5 Position Within The System..................................................................................................................................................................10
6 Board And Connectors............................................................................................................................................................................11
6.1 Ethernet...............................................................................................................................................................................................11
6.1.1 Ethernet Configuration With Windows......................................................................................................................12
6.1.2 Ethernet Configuration With Linux...............................................................................................................................12
6.2 USB........................................................................................................................................................................................................13
6.3 Power....................................................................................................................................................................................................14
6.4 User LEDs............................................................................................................................................................................................14
6.5 microSD-Card...................................................................................................................................................................................15
6.5.1 Firmware Update..................................................................................................................................................................20
6.6 Scanner Signals.................................................................................................................................................................................20
6.7 Laser Signals......................................................................................................................................................................................21
6.8 Digital Interface...............................................................................................................................................................................23
6.8.1 Marking On-The-Fly Signals.............................................................................................................................................24
6.8.2 Opto-Configuration Jumpers...........................................................................................................................................26
6.8.3 Output State LEDs................................................................................................................................................................26
6.8.4 Input State LEDs....................................................................................................................................................................26
6.9 Serial Interface..................................................................................................................................................................................26
6.10 Extension Connectors.................................................................................................................................................................26
7 Stand-Alone Operation............................................................................................................................................................................28
7.1 Create Stand-Alone Data with BeamConstruct.................................................................................................................28
7.2 Stand-Alone Configuration Parameters.................................................................................................................................29
7.3 Stand-Alone Control......................................................................................................................................................................30
8 Matrix Laser Dot Marking Mode.........................................................................................................................................................32
8.1 Dot Mode Configuration Parameters.....................................................................................................................................32
8.2 Dot Mode Hardware Interface..................................................................................................................................................33
8.3 Dot Mode Control...........................................................................................................................................................................34
9 Multi-IO Extension Board......................................................................................................................................................................35
9.1 Board Connectors...........................................................................................................................................................................35
9.1.1 Multi-IO Interface.................................................................................................................................................................35
10 Intelli-IO Extension Board...................................................................................................................................................................37
10.1 Board Connectors.........................................................................................................................................................................37
10.1.1 Intelli-IO Interface.............................................................................................................................................................37
11 Motion Extension Board......................................................................................................................................................................39
11.1 Board Connectors.........................................................................................................................................................................39
11.1.1 Motion Interface.................................................................................................................................................................39
12 Quick Start into E1803D......................................................................................................................................................................41
13 Command Interface................................................................................................................................................................................42
13.1 General Commands.....................................................................................................................................................................42
13.2 Stand-Alone Control Commands...........................................................................................................................................43
13.3 Mark Control Commands..........................................................................................................................................................48
14 Supported CNC G-Code Commands..............................................................................................................................................55
14.1 General G-Code Characters.....................................................................................................................................................55
14.2 Supported “G”-codes...................................................................................................................................................................55
14.3 Supported “M”-codes..................................................................................................................................................................57
14.4 Supported “T”-codes....................................................................................................................................................................59
15 Programming Interfaces.......................................................................................................................................................................60
15.1 E1803D Easy Interface Functions.........................................................................................................................................60
15.1.1 General functions...............................................................................................................................................................60
15.1.2 Laser and scanner related functions..........................................................................................................................66
15.1.3 Digital interface functions..............................................................................................................................................77
15.1.4 Serial interface functions................................................................................................................................................80
2
15.1.5 Intelli-IO extension functions.......................................................................................................................................81
15.1.6 Motion extension functions...........................................................................................................................................82
15.1.7 Miscellaneous functions..................................................................................................................................................86
15.1.8 Error Codes...........................................................................................................................................................................86
15.2 RTC4 Compatibility Functions................................................................................................................................................87
15.3 USC1/2 Compatibility Functions (SCI interface).............................................................................................................90
APPENDIX A – Wiring between E1803D and IPG YLP Series Type B, B1 and B2 fiber laser.......................................92
APPENDIX B – Wiring between E1803D and IPG YLP Series Type E fiber laser...............................................................93
APPENDIX C – Wiring between E1803 and IPG YLR Series laser............................................................................................94
APPENDIX D – Wiring between E1803 and IPG YLM Series laser..........................................................................................95
APPENDIX E – Wiring between E1803D and JPT YDFLP series fiber laser (“MOPA”) or IPG YLP Series Type D
fiber laser...........................................................................................................................................................................................................96
APPENDIX F – Wiring between E1803D and SPI G4 Pulsed Fibre Laser series................................................................97
APPENDIX G – Wiring between E1803D and Raycus fiber laser.............................................................................................98
APPENDIX H – XY2-100 protocol description.................................................................................................................................99
APPENDIX I – IDC connector pin numbering.................................................................................................................................100
APPENDIX J – Mechanical Dimensions............................................................................................................................................101
3
1 Copyright
This document is © by HALaser Systems.
E1803D boards, their hardware and design are copyright / trademark / legal trademark of HALaser Systems.
IPG and other are copyright / trademark / legal trademark of IPG Laser GmbH / IPG Photonics Corporation.
Scanlab, RTC4, RTC5 and other are copyright / trademark / legal trademark of Scanlab AG.
SCAPS, USC1, USC2 and other are copyright / trademark / legal trademark of SCAPS GmbH.
Raylase, SP-ICE and other are copyright / trademark / legal trademark of Raylase AG.
Sunny, CSC-USB and other are copyright / trademark / legal trademark of Beijing Century Sunny Technology
CO., LTD
All other names / trademarks are copyright / trademark / legal trademark of their respective owners.
Portions of the E1803D firmware are based on lwIP 1.4.0 (or newer):
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the
following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
the following disclaimer in the documentation and/or other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
OF SUCH DAMAGE.
Portions of the E1803D firmware are based on FatFS R0.10a (or newer):
FatFs module is an open source software to implement FAT file system to small embedded systems. This is a
free software and is opened for education, research and commercial developments under license policy of
following terms.
4
Portions of the E1803D firmware are based on StarterWare 2.0 (or newer):
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Texas Instruments (TI) is supplying this software for use solely and exclusively on TI's microcontroller products.
The software is owned by TI and/or its suppliers, and is protected under applicable copyright laws. You may not
combine this software with "viral" open-source software in order to form a larger program.
THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS. NO WARRANTIES, WHETHER EXPRESS,
IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL
NOT, UNDER ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, FOR ANY REASON WHATSOEVER.
This is part of AM1808 Sitaraware USB Library and reused from revision 6288 of the Stellaris USB Library.
Portions of the E1803D firmware are based on libzint-backend 2.0 (or newer):
libzint - the open source barcode library, Copyright (C) 2008-2017 Robin Stuart <[email protected]>
Redistribution and use in source and binary forms, with or without modification, are permitted provided that
the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the
following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the project nor the names of its contributors may be used to endorse or promote
products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
5
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The Motion Extension firmware bases on a modified variant of GRBL 1.1 *):
Copyright (c) 2012-2016 Sungeun K. Jeon for Gnea Research LLC, Copyright (c) 2009-2011 Simen Svale
Skogsrud
Grbl is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any
later version.
Grbl is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
License for more details.
*) GPL notice: the motion extension firmware is running separately and completely independent from the main
controller firmware, they are neither linked nor compiled together with each other. The related GRBL sources,
as used on motion extension, can be found at https://sourceforge.net/p/axis5/code/ci/master/tree/
6
2 History
Date Changes in document
7
3 Safety
The hardware component described within this document is designed to control a laser scanner system. Laser
radiation may effect a person's health or may otherwise cause damage. Prior to installation and operation
compliance with all relevant safety regulations including additional hardware-controlled safety measures has
to be secured. The client shall solely be responsible to strictly comply with all applicable and relevant safety
regulations regarding installation and operation of the system at any time.
Beside of that some laser equipment can be damaged in case it is controlled with wrong signals or signals
outside a given specification. Thus it is highly recommended to check the output generated by this device using
e.g. an oscilloscope to avoid problems caused by wrong configurations. This should be done prior to putting a
system into operation for the first time, whenever some parameters have been changed or whenever any kind
of software update was installed.
The hardware component described here is shipped without any cover and without prefabricated equipment
for electric installation. It is intended to be integrated in machines or other equipment. It is not for use "as is".
Prior to operation compliance with all relevant electric / electromagnetic safety regulations including
additional hardware-controlled safety measures has to be secured. The client shall solely be responsible to
strictly comply with all applicable and relevant regulations regarding installation and operation of the system at
any time.
The hardware described here is an electrostatic sensitive device. This means it can be damaged by common
static charges which build up on people, tools and other non-conductors or semiconductors. To avoid such a
damage, it has to be handled with care and including all relevant procedures (like proper grounding of people
handling the devices, shielding/covering to not to let a person touch the device unwanted, proper packaging in
ESD-bags, ...). For more information please refer to related regulations and standards regarding handling of ESD
devices.
This document describes the E1803D-hardware but may contain errors and/or may be changed without further
notice.
8
4 Overview
This document describes the E1803D compact scanner controller board, its electrical characteristics and
usage.
The E1803D scanner controller board is designed for controlling galvanometric scanner systems with two or
three axes. It also supplies extensive signals for laser and external control. The communication between the
host system and the controller boards is done via Ethernet or USB.
This is an all-in-one controller which provides all interfaces that are required to control common lasers and
additional hardware. For a modular controller which can be configured according to some special requirements
please refer to https://halaser.eu/e1701.php.
4.1 Features
The E1803D controller can be used to control 2D or 3D scanheads that come with a XY2-100 interface. It
offers the following features:
XY2-100 and XY2-100-E interface to scanhead with X, Y and optional Z channel
100 Mbit Ethernet connection
USB 2.0 connection
online XYZ grid correction with support for several correction table file formats (like SCAPS™ .ucf,
Scanlab™ .ctb and .ct5, Raylase™ .gcd, CTI™ .xml, Sunny™ .txt)
high-definition online XYZ grid correction with BeamConstruct HD correction files (.bco)
switching between up to 16 preloaded grid correction tables
10 microseconds vector cycle time and resolution (microstep period)
command execution time down to 0,5 microseconds
realtime processing of laser and scanner signals
26 bit internal resolution (for better accuracy also with 16 bit or 18 bit hardware output)
512 MByte DDR3 RAM
1 GHz CPU clock
support for microSD and microSDHC cards
optional matrix laser dot marking mode with up to 13 dots, up to two independent lines of text and up
to 2 MHz dot frequency
internal command and vector data list with more than 20 million entries
continuous list concept, no need to swap between buffers
BeamConstruct PRO license included
open source compatibility library that emulates existing programming interface for fast and easy usage
with existing software (contains e.g. Scanlab™ RTC4™, SCAPS™ USC™/SCI and other compatible
interfaces)
LP8 8 bit CMOS level parallel digital output e.g. for controlling laser power or laser waveform type
LP8 latch CMOS level digital output for usage with IPG™ and compatible laser types
Master Oscillator CMOS level digital output for usage with IPG™ and compatible laser types
12 bit 0..10V analogue output e.g. for controlling laser power (this output is a slave of LP8 outputs)
two laser CMOS level digital outputs for usage with YAG, CO 2, IPG™, SPI™ and compatible laser types
(outputs can provide PWM frequency, Q-Switch, FPK-pulse, CW/continuously running frequency,
stand-by frequency) running with frequencies of up to 20 MHz
8 freely usable digital outputs providing either CMOS level or electrically insulated outputs via
external power supply
8 freely usable digital inputs expecting either CMOS level or electrically insulated inputs via external
power supply
4 digital inputs usable for quadrature encoder signals for 1D and 2D marking on-the-fly applications
RS232/RS485 serial interface for communication with external devices
scanhead power supply via controller card to save additional wiring
9
5 Position Within The System
The E1803D scanner controller system can be connected to the host via Ethernet or USB to receive laser
marking data from BeamConstruct laser marking application, from ControlRoom process control software or
from any other application which makes use of one of the provided programming possibilities (as described
below). When using Ethernet connection, it optionally can be connected via USB too. In this case USB
connection is used to retrieve BeamConstruct PRO license from the board:
Since 100 Mbit Ethernet provides much faster data transfer than USB 2.0, this connection type is preferred.
Especially in case complex marking data with many short lines that result in many separate jump and mark
commands are used, Ethernet connection is more responsive.
When using USB connection with such data, time from sending data to the card until marking operation can be
started may be longer (up to several seconds in worst case) caused by slower USB data transfer:
In both cases the board itself is connected with the scan head to submit 2D or 3D position information to it.
Beside of that it is connected to a laser to submit motion-synchronous laser data. Additional communication
channels between the E1803D scanner controller board and a connected machine can be done via separate IOs
of the digital interface.
10
6 Board And Connectors
The E1803D Digital Laser Scanner Controller Card provides following connectors and interfaces:
1. Ethernet – for communication with the host system, marking information are submitted via this path
2. USB – via microUSB connector for providing BeamConstruct PRO license to host system and
optionally for submitting marking data from host to E1803D card (in case Ethernet is not used)
3. Power – connect with power supply
4. User LEDs – show operational and error states of card
5. microSD-card – storage place for firmware and extended configuration file, can be used to upgrade
firmware, to change the card's IP and other things more
6. Scanner signals – white 26 pin and D-SUB25 scanner output connector which provides XY2-100
scanner signals and power to scanhead
7. Laser signals – connector with different signal for controlling a laser and for starting/stopping mark
operation
8. Digital interface – in- and output connector for control of external devices and for connecting marking
on-the-fly encoder(s)
9. Serial interface connector for connections to RS232 or RS485 devices
10. Extension connectors
11. Code-pin for correct placement of extension boards
6.1 Ethernet
This is a standard RJ45 Ethernet plug for connection of the board with the host system. The controller board is
accessed via this connection, all scanner and laser control data are sent via Ethernet. Thus it is recommended
for security reasons to have a separate 1:1 connection from the host to the scanner controller card by using a
separate Ethernet port. In case this is not possible, at least an own, physically separated sub-net for all scanner
controller cards should be set up. This network of course should be separated from normal network completely.
Ethernet connection is initialised during start-up only, thus Ethernet cable connecting E1803D board and host
system needs to be plugged before the board is powered up.
By default the E1803D board is using IP 192.168.2.254, thus the Ethernet network the card is connected with
needs to belong to subnet 192.168.2.0/24.
PLEASE NOTE: For security reasons it is highly recommended to not to mix a standard communication network
with an E1803D network or to connect the scanner controller card with a standard network. Here it may be
possible someone else in that network (accidentally) connects to that scanner controller and causes laser
emission.
The IP of the scanner controller can be changed. This is necessary e.g. in case an other subnet has to be used or
in case the E1803D board has to be operated in multi-head environments where more than one card will be
11
accessed at the same time. The IP can be configured using e1803.cfg configuration file that is placed on
microSD-card. To change the IP, please perform the following steps:
1. disconnect E1803D board from power and USB
2. remove microSD-card
3. put microSD-card into a desktop computer, this may require a microSD- to SD-card-adapter
4. open the drive that is assigned to the card
5. open file e1803.cfg using a text editor like Notepad or kwrite
6. add a line or edit an existing line "ip0=", here the desired IP has to be appended (as example: when you
want to configure IP 192.168.2.13 the line has to be "ip0=192.168.2.13" – without any quotation
signs
7. save the file
8. eject the drive the card is assigned to
9. place the microSD-card in E1803D board (place without the use of force, notice correct orientation
with connectors of SD-card to top!)
10. power up card
When User LEDs do not light up as described below, please check if microSD-card is placed in board correctly.
There you can specify an IP for your host PC. It has to belong to network 192.168.2.xxx and can be any
number except than 192.168.2.254 (this is already the IP of the scanner card), 192.168.2.0 or
192.168.2.255.
There you can specify an IP for your host PC. It has to belong to network 192.168.2.xxx and can be any
number except than 192.168.2.254 (this is already the IP of the scanner card), 192.168.2.0 or
192.168.2.255.
6.2 USB
This is a standard microUSB-connector for connection of the board with the host system. It is used to retrieve
BeamConstruct PRO license and optionally to send marking data to the card. When USB is used for sending all
scanner and laser data, Ethernet cable does not need to be connected.
PLEASE NOTE: USB 2.0 is much slower than a standard 100 Mbit Ethernet connection, so expect slower
execution in case of complex marking data!
Required device driver is installed together with OpenAPC-setup (Windows) or comes with operating system
by default (Linux). E1803D card appears as COM-interface on Windows using any free number for the port.
With Linux it appears as /dev/ttyACMx where "x" is any number. These numbers are provided by the operating
system automatically.
When no external power supply is connected, USB provides 5V power supply too. So whenever the card has to
be stopped, both USB and power have to be disconnected in order to shut it down completely. It is not
recommended to use USB as power supply, additional, external power should be connected in order to operate
E1803D controller correctly. When E1803D is powered via USB only, not all functions are available. Here
things like power supply of connected scanhead and 0..10V analogue output signals AOut0 and AOut1 will not
work.
Depending on the capabilities of the used USB host, there also may be other failures and limitations caused by
power-brownouts and drop-outs.
When the controller is connected via USB, a BeamConstruct PRO license is provided via this interface
automatically. This is done without the need to configure anything, and as long as following conditions are true:
• physical USB connection from controller to host PC exists
• the COM-port (Windows) has a number smaller than COM20
• the controller is working and the Alive-LED in blinking
It is also possible to have the USB-connection for license retrieval only and to use the Ethernet-connection to
transfer marking data to the controller, both can exist beside each other.
13
6.3 Power
Power supply for E1803D scanner controller board is done via 3 pin screw connector. Here a power in range
+12..+24V or +-12..+-24V can be connected. This connector powers the board and optionally can be used to
power the scanhead too (for details please refer to description of XY2-100 connector below).
+V GND -V
When all three inputs are connected to a bipolar power supply providing +-12..+-24V to power both, the
controller and a connected scanhead, the input voltage is feed to the scanhead directly via XY2-100 connector.
Here the voltage has to be equal to the voltage required by the scanhead (typically +-15V or +-24V). Power
supply needs to provide 1A plus current required for connected scanhead. For more details please refer to
section about XY2-100 connector below.
ATTENTION: When connecting wires to the screw terminals of the power connector, do not transmit any force
to the PCB where the green connector is soldered at! While screwing tight the wires, hold the connector by
hand to catch the force but do not hold the PCB!
1. AE (Alive/Error) – blue – this LED is turned on permanently (with full brightness) as soon as the card
was powered up and the firmware boots properly. When it is not turned on with full brightness after
some seconds, please check if the microSD-card is placed properly and if it contains a working firmware
file (for details please refer below).
After boot process has completed successfully, it starts blinking slowly and with same on and off times.
This is an alive-notification, as long as it blinks, the board is working and ready for operation. During
marking operations the blink frequency may vary.
When this LED starts blinking with a changed on-time (LED is off for a long time and flashes twice for a
short time only), a fatal error has occurred that normally should never happen. When this happens, in
most cases the board can't continue with operation until the reason for error is removed and the board
is restarted. In case this LED flashes signalling an error-state, please:
- check if you are using valid E1803D extension boards only (and no other 3rd party hardware)
- check if you are using latest firmware and host software
- check all connections and cables
14
- undo your latest changes in hardware and configuration
If these steps do not help, please contact us for further assistance.
6.5 microSD-Card
The microSD-card is storage place for firmware and configuration files. Here SD and SDHC cards with a
capacity of up to 32 GB are supported. It is plugged with the contacts of the SD-card oriented to upper side.
To remove the microSD-card, first disconnect all power from the E1803D board completely (including USB).
Next press microSD-card gently into the board until you can hear a click-noise. Then you can pull it out of the
board. To place a microSD card, the same has to be done in reverse order: place it into the E1803D board’s card
slot and press it gently until a noise signals locking of the card. Now the board can be powered.
E1803D board is shipped with a card containing firmware and configuration files:
• e1803.fwi – firmware file that is used to operate the board, to be replaced when a firmware update is
provided;
• e1803.cfg – configuration text file, can be edited using a text editor in order to modify cards
configuration
• e1803.dat – additional data file that is used to operate the board, to be replaced when a firmware
update is provided
• fonts/ – subdirectory containing fonts for dot marker mode
To use an other microSD card than the one shipped with the board, following conditions have to be met:
15
• maximum total size of 32 GB (SD or SDHC card)
• FAT32 formatted
• using only one partition
• BOOT-flag is set
• e1803.fwi and e1803.dat file available on card (e1803.cfg is optional)
An additional file e1803.cfg can be placed on the card too. It contains plain ASCII text, acts as configuration file
and can contain several parameters and its values which are separated by an equal-sign. Every of the possible
parameter/value pairs has to be located in an own line. Following configuration parameters are possible within
this file:
autofile=0:/markdata.
cnc
same as above but a G-Code
file is provided which contains
16
Parameter Description Example
marking information
iobuff Pre-loads one or more .EPR files to the RAM of the controller iobuff=1
to allow faster switching in “ioselect” stand-alone mode. This pre-load file 1.EPR on board
command can not be used to load file “0.EPR” start-up
mipout Configure a Digi I/O output pin to be used as “mark in mipout=1
progress”-signal by default; here an output bit number in use DOut1 for mark-in-
range 0..7 has to be configured which will be set to HIGH as progress signal
long as a marking operation is in progress, the value given
here can be overwritten by API-function
E1803_digi_set_mip_output();
this parameter requires firmware version 3 or newer
wetout Configure a Digi I/O output pin to be used as “wait for wetout=0
external trigger”-signal by default; here an output bit number use DOut0 for mark-in-
in range 0..7 has to be configured which will be set to HIGH as progress signal
long as a marking operation is in progress and the controller
is waiting for an external trigger signal to arrive at ExtStart
input, the value given here can be overwritten by API-
function E1803_digi_set_wet_output();
this parameter requires firmware version 3 or newer
digiinit Initialises the digital outputs on firmware start-up with the digiinit=2
given defaults. This overrides the hardware defaults. The set DOut1 to HIGH initially
default digital values set here are NOT available on power up and all other outputs to LOW
but a few seconds later after firmware has been loaded and
started.
This function requires firmware version 5 or newer.
digimask Masks the digital inputs and specifies which inputs can be digimask=253
read. All input bits which are ignored by this command by use only DIn2..DIn7 as input
setting the related value to 0, are no longer read. This may be and ignore DIn0 and DIn1
useful for applications where encoder inputs are used
together with a IOSelect stand-alone operation and where
the random state of the encoder has to be masked out.
This function requires firmware version 5 or newer.
u0brate Set the bitrate of UART0 RS485/RS232 serial interface on u0brate=9600
E1803D. By default this port is initialised with a speed of set a new bitrate of 9600 bps
115200 bps, this value can be changed with this parameter. for UART0 E1803D on-board
Setting an u0brate of 0 disables the serial port completely serial port
u0bits Set the number of data bits of UART0 RS485/RS232 serial u0bits=7
interface on E1803D. By default this port is initialised with 8 set a new word length of 7
data bits, this value can be changed to a word length of 5, 6, or bits for UART0 E1803D on-
7 bits with this parameter. board serial port
This parameter requires firmware version 4 or newer.
u0parity Set the parity of UART0 RS485/RS232 serial interface on u0parity=2
E1803D. By default this port is initialised no parity (=0). For enable even parity for UART0
odd parity a value of 1 has to be set, for even parity a value of E1803D on-board serial port
2 has to be used.
This parameter requires firmware version 4 or newer.
u1brate Set the bitrate of UART1 RS485/RS232 serial interface on u1brate=115200
E1803D Multi-IO Extension Board. By default this port is set a new bitrate of 115200
disabled and has to be activated by setting a bitrate. bps for UART1 serial port
This parameter requires firmware version 4 or newer and a
Multi-IO Extension Board.
u1bits Set the number of data bits of UART1 RS485/RS232 serial u1bits=7
interface on E1803D Multi-IO Extension Board. By default set a new word length of 7
this port is initialised with 8 data bits, this value can be bits for UART1 serial port
changed to a word length of 5, 6, or 7 bits with this parameter.
This parameter requires firmware version 4 or newer and a
Multi-IO Extension board..
u1parity Set the parity of UART1 RS485/RS232 serial interface on u1parity=1
17
Parameter Description Example
E1803D Multi-IO Extension Board. By default this port is enable odd parity for E1803D
initialised no parity (=0). For odd parity a value of 1 has to be on-board serial port
set, for even parity a value of 2 has to be used.
This parameter requires firmware version 4 or newer and a
Multi-IO Extension Board.
tune Enables special functions and features that are not activated tune=1
by default. As parameter a number can be handed over that disables ExtTrig inputs and
specifies the functions to be enabled. Several of these switches over external trigger
functions can be combined by adding their related numbers: function to DIn7 input
19
Parameter Description Example
used to suppress illegal access to Ethernet, to save several
seconds of startup-time and some power.
dotfont0 These commands are related to matrix laser dot marking
dotfont1 mode. For details please refer related section 8 below.
dotfont1y
dotdist
dottime
The D-SUB25 connector provides the same signal as described above on a default XY2-100 connector:
20
CLK-
CLK+
SYNC-
SYNC+
X-
X+
Y-
Y+
Z-
Z+
STATUS-
STATUS+
+V
+V +V
GND GND
-V GND
-V -V
The connections -V, GND and +V can be used to power the scanhead with 12..24V and max. 3A. This requires a
bipolar external power supply connected to the controllers three-pin power connector described above. Power
from this power connector is routed to the -V, GND and +V pins directly, so the provided voltage should be
stabilised according to the requirements of the scanhead.
PLEASE NOTE:
• do not connect scanheads that consume more than 3A (peak and continuously), this may damage the
controller and voids warranty!
• do not feed more than 24V into the three-pin power connector of E1803!
• feed a stabilised voltage into E1803D controller according to requirements of connected scanhead!
• when E1803 card is powered via three-pin power connector but scanhead has not to be powered out of
the card, the 9 lines for -V, GND, +V (9..13 and 22..25) need to be disconnected, means the used D-
SUB25 cable needs to leave these pins open!
• Violating one of these rules may damage the E1803D card irreversibly!
21
Upper Signal Voltage Remarks Lower Signal Voltage Remarks
Row Row
Of Of
Pins Pins
1 LP8_0 CMOS, 0/5V, 2 GND GND
max 8 mA
3 LP8_1 CMOS, 0/5V, 4
max 8 mA
5 LP8_2 CMOS, 0/5V, 6 5V 5V
max 8 mA
7 LP8_3 CMOS, 0/5V, 8 MO CMOS, 0/5V, Master
max 8 mA max 8 mA Oscillator
9 LP8_4 CMOS, 0/5V, 10
max 8 mA
11 LP8_5 CMOS, 0/5V, 12 AOut0 0..10V, max Analogue
max 8 mA 15 mA output
13 LP8_6 CMOS, 0/5V, 14 AOut1 0..10V, max Analogue
max 8 mA 15 mA output
15 LP8_7 CMOS, 0/5V, 16 ExtStart CMOS, 0/5V Input control
max 8 mA signal
17 LP8 CMOS, 0/5V, 18 5V 5V
Latch max 8 mA
19 LaserB CMOS, 0/5V, FPK 20 Connected to
max 14 mA pin 21
21 Connected to pin 22 LaserA CMOS, 0/5V, PWM,
20 max 14 mA frequency or Q-
Switch
23 GND GND 24 ExtStop CMOS, 0/5V Input control
signal
25 5V 5V 26 Laser CMOS, 0/5V,
Gate max 14 mA
LP8_0...LP8_7 provide a parallel 8 bit output signal (e.g. for power control with IPG™/fiber lasers, waveform
selection for SPI™ lasers and other).
LP8 Latch pin signals valid output at LP8_0..LP8_7 by submitting a latch pulse of software-controlled length.
MO can be used to enable master oscillator (e.g. for IPG™/fiber lasers or compatible), this signal is also
visualised by the MO LED described above.
LaserA usage depends on software configuration and control, it is able to output a pulse-width modulated
frequency (e.g. for controlling CO2 lasers), CW/continuously running frequency (e.g. for fiber lasers) or Q-
Switch signal (e.g. for YAG lasers) in range 25 Hz..20 MHz.
LaserB can be used for emitting a FPK pulse (e.g. for YAG lasers).
AOut0 and AOut1 provide unipolar analogue output for controlling e.g. laser power or additional equipment or
can be used for controlling power and simmer for SPI™ lasers.
PLEASE NOTE: output of 10V at AOut0 and AOut1 depends on the used power supply. So in case board is
powered via USB, these outputs do not work, they require an external power supply via three-pin power
connector described above.
ExtStart expects a CMOS-level input signal in respect to GND and can be used as external trigger signal to start
operations when a HIGH-signal is detected at input pin.
ExtStop expects a CMOS-level input signal in respect to GND and can be used as external stop-signal in order
to stop a running marking operation by using a HIGH-signal at input pin.
22
6.8 Digital Interface
This interface consist of different parts which belong together:
1. a 20 pin connector for connecting digital in- and output signals
2. two red jumpers to select opto-insulated or internal powered mode for the digital in- and outputs
3. 4 green and 4 red LEDs which signal the state of the digital outputs
4. 8 yellow LEDs which signal the state of the digital inputs
The 20 pin connector provides 8 lines for input and 8 lines for output of digital signals that can work on CMOS
level (non-insulated mode) or via opto-couplers (electrically insulated mode with external power supply)
optionally. The operation mode depends on jumper settings described below. The connector is used as follows:
Upper Signal Voltage Remarks Lower Signal Voltage Remarks
Row Row
Of Of
Pins Pins
1 Vext 5..24V Input voltage to 2 GNDext GND External ground
be used in opto-
insulated mode
only
3 DOut0 CMOS, 0/5V Default level: 4 DIn0 CMOS, 0/5V Encoder-input A1
or 0/Vext LOW or 0/Vext for marking on-
the-fly
5 DOut1 CMOS, 0/5V Default level: 6 DIn1 CMOS, 0/5V Encoder-input B1
or 0/Vext LOW or 0/Vext for marking on-
the-fly
7 DOut2 CMOS, 0/5V Default level: 8 DIn2 CMOS, 0/5V Encoder-input A2
or 0/Vext LOW or 0/Vext for marking on-
the-fly
9 DOut3 CMOS, 0/5V Default level: 10 DIn3 CMOS, 0/5V Encoder-input B2
or 0/Vext LOW or 0/Vext for marking on-
the-fly
11 DOut4 CMOS, 0/5V Default level: 12 DIn4 CMOS, 0/5V
or 0/Vext HIGH or 0/Vext
13 DOut5 CMOS, 0/5V Default level: 14 DIn5 CMOS, 0/5V
or 0/Vext HIGH or 0/Vext
15 DOut6 CMOS, 0/5V Default level: 16 DIn6 CMOS, 0/5V
or 0/Vext HIGH or 0/Vext
17 DOut7 CMOS, 0/5V Default level: 18 DIn7 CMOS, 0/5V
or 0/Vext HIGH or 0/Vext
19 V 5V Board voltage, to 20 GND GND Board-internal
be used only ground
when not
operating in
insulated mode
Vext and GNDext depend on opto-configuration as described below. In opto-insulated mode (opto-configuration
jumpers not set) external power supply has to be connected to these inputs. Then DIn0..DIn7 and
DOut0..DOut7 work in respect to this external power.
WARNING: When no opto-insulated mode is selected (opto-configuration jumpers are set), do NOT FEED ANY
POWER into Vext, this would cause damage to the E1803D board! In this case Vext is equal to V (5V) of the board
and GNDext is connected to boards ground GND.
Maximum current for every output is 15 mA when internally powered (non-insulated mode), here it is
recommended to use an external power supply.
Maximum current for outputs DOut0..DOut3 is 50 mA when externally powered (Vext in insulated mode).
Signal output lines DOut0..DOut7 operate in open collector mode and have to be wired as follows:
23
Here “DOutx” symbolises one of the digital outputs DOut..DOut7. V+ is either V (5V internal, non-insulated
mode) or Vext (up to 24V external, insulated mode). GND is either GND (non-insulated mode) or GND ext
(insulated mode). The internal resistor of the connected device is not allowed to have less than 490 Ohms in
order to not exceed the given current limits.
DOut0..DOut3 provide LOW signal level by default, DOut4..DOut7 provide HIGH level by default. These levels
are valid immediately on power-up of the card.
24
When these pulses are generated from a motion stage that moves the working piece, the resulting position
information is used in marking on-the-fly mode to correct the marking positions accordingly. Resulting from
that, marking will follow motion as far as available scanhead range and working area allows it.
The pulses generated out of the encoder signals have to be multiplied with a factor reflecting the resolution of
the used encoder. To set up and adjust a marking on-the-fly-system properly, following steps have to be
performed:
1. Connect encoder signals A and B to DigIn0 and DigiIn1 and configure E1803D controller for encoder
usage (either from within ControlRoom/BeamConstruct or via programming interface as described
below)
2. Mark a square without any encoder signals feed into the controller
3. When the square does not have exact size and/or is distorted, modify correction table and/or gain
settings
4. When the square has correct size, mark it again but now with a slow motion (using encoder pulses)
5. When the square is damaged (means open on one side or compressed) the on-the-fly-factor has to be
changed (set to a smaller or higher value)
6. Mark the same square again with a fast motion (using encoder pulses)
7. When the square is damaged (means open on one side or compressed) the on-the-fly-factor has to be
changed (set to a smaller or higher value)
The on-the-fly-factor controls the strength of compensation and is the relation between speed of external
device/encoder pulses and card-internal compensation calculation. When this factor is wrong, the marking
results are distorted. For a square (as recommended to be used in calibration steps above) following results are
imaginable:
The left drawing shows an over-compensated system, here the internal compensation is too strong, the factor is
too big. The right drawing shows an under-compensated set-up, here the factor is too small causing a too weak
compensation. Only when marking result is really a square, the on-the-fly-factor is correct.
When tune-flag 2 is set, a second encoder can be used for 2D marking on-the-fly applications. In this mode
digital inputs 0 and 1 (encoder inputs A1 and B1) correspond to X axis and on-the-fly factor for X direction.
Additionally digital inputs 2 and 3 (encoder inputs A2 and B2) correspond to Y axis and on-the-fly factor for Y
direction. Operation principle is the same as for 1D on-the-fly described above: the incremental values received
25
from the encoders for X and Y are added to the current X and Y coordinates to be marked. Procedure for
adjusting the encoder factor is also the same, here it is recommended to perform this operation for X and Y
movements separately and finally try both motion directions together.
When they are not set, external power and ground has to be provided at 20 pin connector (as described above)
and these digital I/Os are working in electrically insulated, opto-coupled mode.
The two extension connectors on left hand side of the board can be used to place extension boards with
additional peripheral interfaces. The extension connectors are designed to place/remove boards from time to
time but they are not intended for constant hardware changes. So changing extension boards repeatedly and often
e.g. as permanent part of a production process is not recommended.
26
PLEASE NOTE: When removing an extension board DO NOT pull on the extension connectors but hold both
boards on their long side directly at the PCBs edges!
Due to of the large number of pins, it is easy to plug in an extension but more difficult to pull it out. So when
removing an extension board, it is recommended to be very slow and to carefully pull each side up just a little bit
to avoid bending of the pins as they exit.
27
7 Stand-Alone Operation
E1803D scanner controller cards can be operated in stand-alone mode. In this mode all marking data are stored
on microSD-card and the board can operate without direct control of a host-PC that sends the data to be
marked. Such stand-alone marking data can be created e.g. in BeamConstruct marking software.
First one gives the possibility to write the data to microSD card when E1803D is switched off and the microSD
card is plugged into host PC. Here it is recommended to use file extension ".EPR" for the file generated by
BeamConstruct. Next it is also recommended to always let BeamConstruct write to microSD card directly
because sometimes more than only one file is created. Direct write operation to BeamConstruct ensures all
files are available on microSD and no data can be forgotten to be copied.
The second variant allows to download the stand-alone data to the controller while it is connected and running.
Precondition for sending data to a running controller are:
• no mark operation is in progress (controller is idle)
• no stand-alone project is loaded (please refer to description of ioselect-mode and stand-alone control
commands below).
• a valid name is given in style 0:/filename.epr
This operation creates the .EPR-file and all additional files on microSD card of the running controller
automatically.
PLEASE NOTE: such an .EPR-stand-alone file can NOT be converted back to vector data that could be edited in
BeamConstruct! Creating these files is a one-way-conversion of your projects. Thus it is recommended to save
these projects twice – once as normal .BEAMP-File which can be loaded and modified later and once as .EPR-
file which has to be used on SD-card. This also means such .EPR-files are protected so that it is possible to give
away own designs to some end-users which shall not be able to modify them.
E1803D controller supports all static data in stand-alone mode (like all kinds of static geometries, output
signals, waiting for input commands, waiting for trigger, all laser- and scanner parameters as well as elements
which set outputs directly). But it does not store the vector data using a possibly configured correction table!
To get a valid correction for stand-alone operations, the related correction file has to be saved on microSD card
and needs to be activated using parameter "corrtable0" in e1803.cfg configuration file (please refer to
description above).
Next E1803D scanner card supports dynamic content when following conditions are met:
• a text element uses one of the laser vector font families "Roman", "Script" or "Times" and it makes use
of an input element
• a text element makes use of a TrueType font and it makes use of an input element; here any available
TrueType font can be used and several hatch-patterns can be applied but some limitations apply (only
left to right orientation, no scaling/rotation/slant/mirroring is applied to the font and only the
characters ' ', !, ", #, $, %, &, \, (, ), *, +, ,, -, ., /, 0, 1, 2, 3, 4,
5, 6, 7, 8, 9, :, ;, <, =, >, ?, @, A, B, C, D, E, F, G, H, I, J, K, L, M,
N, O, P, Q, R, S, T, U, V, W, X, Y, Z, [, \, ], ^, _, `, a, b, c, d, e, f,
g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, {, |, } and ~ can
be used, firmware version 3 or newer is required, BeamConstruct version 4.8 or newer is required)
• a barcode element uses type "DataMatrix" or “QR” with option "Merge cells" disabled and it makes use
of an input element
• any kind of hatch and combined hatches can be applied to a barcode element, not to a text element
• marking output is neither mirrored (along x- or y-axis) nor flipped
When these conditions are met, a text or barcode can be modified during stand-alone operation either via
stand-alone control commands as described below or via a Serial Number input element that is applied to it in
28
BeamConstruct. Here all serial number, time, date and formatting functions of this input element are
supported. To get a valid time in stand-alone mode, it needs to be set after boot-up via stand-alone control
commands (as described below) or a SNTP time server has to be configured to retrieve current time from an
external source (please refer to description e1803.cfg parameters above).
standalone=off
Stand-alone mode is fully disabled, the card acts as normal slave of a host-PC and all .epr-files on the SD-card
are ignored. Digital outputs are not toggled since no stand-alone operational states have to be signalised here
(please refer next section).
standalone=dotmark
This is a special stand-alone marking mode where E1803D controller card acts as dot matrix marker. For details
please refer section “8 Matrix Laser Dot Marking Mode“ below.
standalone=auto
Stand-alone mode is enabled, a file specified by and additional parameter "autofile" is loaded and prepared for
marking. Marking of this file is started only when an external trigger signal is detected. The file itself has to be
specified via additional configuration parameter that gives the filename of the stand-alone file to be loaded. As
an example a parameter: "autofile=0:/myfile.epr" would try to load the file "myfile.epr" from SD-card
and prepare it for marking. In this mode the digital outputs are toggled as described in next section.
standalone=loop
This is the same like mode "auto" described above but using "loop" E1803D controller does NOT wait for an
external trigger signal! So when no trigger points are set in stand-alone datafile itself, in this mode marking
would be done in an infinite loop, repeating the given "autofile" again and again.
standalone=haltedloop
This is the same like mode "loop" described above, but marking does not start immediately. By default the
controller is in state “halt” until the ExtStart input is set to HIGH level. Marking continues only as long this input
stays at HIGH. When it goes back to LOW, marking is continued until the laser is turned off the next time and it
is halted again. Next time ExtStart goes to HIGH, marking continues at the position where it was halted before.
standalone=iohaltedloop
This mode is a combination out of "haltedloop" described above and “ioselect” described below (please refer
there for usage details). In this mode a project can be selected via digital inputs but it is started immediately and
marked in an endless loop as long as ExtStart input is HIGH (so the level at ExtStart is checked, not the rising
edge of an applied signal). When a different project is selected by applying a different input pattern at DIn
digital inputs, the current project is cancelled and the new one is started in a loop again.
This mode requires firmware version 2 or newer.
standalone=ioselect
This mode makes use of the digital interface (please refer above). Here it is possible to select one of 256 stand-
alone marking jobs via the digital inputs. The number that results out of the input pattern of the Digi I/O input
lines specifies the filename of the marking job that has to be loaded from SD card:
29
Selected input(s) Stand-alone file loaded from SD-card
All inputs set to LOW (not recommended to be used) 0.epr
DIn0 set to HIGH 1.epr
DIn1 set to HIGH 2.epr
DIn0 and DIn1 set to HIGH 3.epr
DIn2 set to HIGH 4.epr
DIn0 and DIn2 set to HIGH 5.epr
DIn1 and DIn2 set to HIGH 6.epr
DIn0, DIn1 and DIn2 set to HIGH 7.epr
DIn3 set to HIGH 8.epr
… …
DIn4 set to HIGH 16.epr
… …
DIn5 set to HIGH 32.epr
… …
DIn6 set to HIGH 64.epr
… …
DIn7 set to HIGH 128.epr
… …
All inputs set to high 255.epr
PLEASE NOTE: 0.epr (no inputs set to HIGH) can be used but it is not recommended to do that. This value
should be reserved for "no job active" to set the card into an inactive mode also in stand-alone operational
mode. This may be necessary e.g. when new project data are downloaded to the controller without removing
the SD-card.
Marking of a IO-selected job is started by external trigger signal (ExtStart input). When the input pattern at
DIn0..DIn7 changes during marking, the currently running operation is continued and the other stand-alone job
is loaded after marking operation has finished. In this mode the digital outputs are toggled as described in next
section.
In stand-alone mode “ioselect” .EPR-files are loaded from microSD card as soon as a new input pattern is
detected at digital inputs. Depending on the size of the .EPR file and the speed of the microSD card, this may
take a time that is too long for high-speed applications. Thus it is possible to operate such projects from
controller's RAM completely:
• in e1803.cfg the numbers of the files to be loaded have to be specified with parameter “iobuff”, it can be
used up to 20 times and expects the number of the file (so a line “iobuff=3” would be responsible for
pre-loading file “0:/3.epr”). File “0.epr” can not be preloaded by this command.
• serial interface/Telnet command “crlbf” can be used to reload such a predefined file during operation,
e.g. in case it has been changed from outside (for details please refer to section “13.2 Stand-Alone
Control Commands“ below)
Now these files are loaded into RAM and switching from one to an other is done much faster since toggling
between them is done controller-internal and no more disk-operations are necessary for that.
PLEASE NOTE: when too much too large .EPR files are selected for preloading, this may exceed the available
memory on card. This is signalled by the Error LED turned on and an appropriate message is stored in log buffer.
30
DOut0 – ready for marking – this output goes to HIGH as soon as a stand-alone job could be found on disk, was
loaded successfully and is ready for marking. So external start signal should not be given until this output is
HIGH. When a new stand-alone file is selected (e.g. via digital inputs in "ioselect"-mode) this output goes to
LOW. It is switched back to HIGH only when the new file could be loaded successfully too.
DOut1 – marking active – as long as this output is HIGH, a marking operation is in progress. When a different
stand-alone file is selected (e.g. via digital inputs) as long as this output is HIGH, marking is continued and the
new file is NOT loaded. Once the current marking operation is completed, the output goes to LOW. After that
the board continues with current marking data (when no new ones have been selected), or it tries to load new
ones (when a new file was selected).
Please note: in firmware versions prior to v3 in stand-alone modes “haltedloop” and “iohaltedloop” this
signal is not used since the user had full control over the marking process via the ExtStart input. So in case of
these modes the logic is: when both, DOut0 and ExtStart are at HIGH, the controller is marking. Starting with
firmware version 3 the DOut1 signal is used in same way as for all other stand-alone modes.
31
8 Matrix Laser Dot Marking Mode
The E1803D controller card can be operated in a special mode where it does not make use of XY2-100
interface but acts as dot marker for matrix marking applications. Here a matrix laser, a dot peen or an other
matrix printing device can be used. The dots are controlled via digital outputs turning the related dot on and off:
The controller works in stand-alone mode with no laser marking software connected to it. The objects to be
marked have to be moved (2, from right to left in image above) and the movement information is feed into the
controllers encoder inputs A1 and B1 of digital interface connector (for description please refer to section
6.8.1). Depending on the current position, the related dot-outputs are turned on and off marking one column on
every distance step (3 symbolises the dot marking device in image above, red dots are lasers which are firing for
the current column). This way the motion of the working piece forms up to two separate lines of text to be
marked (1 in image).
Dot0 is always the uppermost dot. Usage of all other dots depends on the height of the used font. So when a
font with a size of 8 is chosen, the dots Dot0..Dot7 are used.
33
The dot-outputs are switched to HIGH signal whenever a dot has to be marked. This behaviour can be changed
by setting the “tune”-parameter to value 8 (for details please refer section 6.5 above), then they are inverted
and are set to HIGH when they are off.
The ExtStart input is used to start marking of one line of predefined text.
Dots can be toggled with a maximum frequency of 2 MHz.
During operation the current dot mode stand-alone operational state is signalised via digital outputs:
DOut0 – ready for marking – this output goes to HIGH as soon as some text was received which can be marked
in dot mode. So external start signal to should not be given until this output is HIGH. When no more data are
available to be marked or when marking is currently in progress, this output goes to LOW.
When dot mark mode is configured to use one line of text only (parameter dotfont1 not set), the controller
becomes ready for marking as soon as at least one text is available (to be set with command “cdtl0”).
When dot mark mode works using two lines of text (parameter dotfont1 set), the controller always requires
pairs of data, means it becomes ready for marking only when text for two lines is available (to be set with both
commands “cdtl0” and “cdtl1”).
DOut1 – marking active – as long as this output is HIGH, a marking operation is in progress. During this time it
is still possible to feed new marking data via commands “cdtl0” and “cdtl1”, this does not influence the
current operation.
34
9 Multi-IO Extension Board
The controller card can be extended by the Multi-IO board which utilitises the extension connector as
described in section “6 Board And Connectors”.
To operate the controller with the Multi-IO Extension Board, firmware version 4 or newer is needed.
The E1803D Multi-IO Extension Board provides following connectors and interfaces:
1. Multi-IO-connector offering different signals and interfaces including a secondary XY2-100 interface,
analogue inputsm RS232/Rs485 serial ouput
2. Code pin for proper placement of extension board on E1803D controller card
35
The first 8 pins of the 26 pin connector provide signals to be used to control up to two galvos of a scanhead.
These signals are fully parallel to the ones from XY2-100 interface of E1803D main board and can be used for
secondary head applications where two scanheads work in parallel. With a flat wire belt that makes use of
these first 8 pins only, a direct connection with a standard D-SUB25 connector can be made:
CLK-
CLK+
SYNC-
SYNC+
X-
X+
Y-
Y+
The pins 11 to 14 offer three analogue measurement inputs AIn0 .. AIn2 which can be operated in respect to
GNDAIn and work with a voltage range of 0..5V. This range is converted to a 12 bit digital value in range 1..4095
and can be read out of a connected application or can be used to perform different automated tasks.
PLEASE NOTE: under no circumstances apply a voltage higher than 5V to any of these inputs, this may damage
the complete scanner controller card irreversibly!
The last 8 pins provide access to UART1 RS232 and RS485 connection lines.
PLEASE NOTE: both, the RS232 and the RS485 interface are connected to the same serial interface internally!
This means although there are two interface types available, only one logical serial line exists! Connecting two
signal lines to RS232 and RS485 at the same time may damage the complete scanner controller card
irreversibly!
36
10 Intelli-IO Extension Board
The controller card can be extended by the Intelli-IO Extension board which utilises the extension connector as
described in section “6 Board And Connectors”.
To operate the controller with the Intelli-IO Extension Board, firmware version 5 or newer is needed.
Comparing to the Multi-IO Extension Board this one offers different types of IO and also provides the
possibility for software customisation according to customers special needs.
The E1803D Intelli-IO Extension Board provides following connectors and interfaces:
1. IO-connector offering different signals and interfaces as described below including digital inputs,
digital outputs and analogue inputs
2. Code pin for proper placement of extension board on E1803D controller card
37
The pins 1 to 8 provide 8 general purpose digital outputs. Maximum current to be pulled out of each output is
20 mA. It is recommended to supply power to E1803D controller via 3pin screw connector but not via USB
when this extension board is used.
The pins 9 to 14 are digital general purpose input pins.
The pins 15 to 18 offer three analogue measurement inputs AIn0 .. AIn2 which can be operated in respect to
GNDAIn and work with a voltage range of 0..5V. This range is converted to a 12 bit digital value in range 1..4095
and can be read out of a connected application or can be used to perform different automated tasks.
PLEASE NOTE: under no circumstances apply a voltage higher than 5V to any of these inputs, this may damage
the complete scanner controller card irreversibly!
This extension board makes use of an own MCU (Microcontroller Unit) which handles all digital IOs and also
has access to analogue inputs AIn0 and AIn1. This MCU can work fully parallel to the main scanner controller
card and therefore is suitable for special, customised control applications. To get more information about such
applications and to discuss your requirements, please contact HALaser Systems.
38
11 Motion Extension Board
The controller card can be extended by the Motion Extension board which utilises the extension connector as
described in section “6 Board And Connectors”.
To operate the controller with the Motion Extension Board, firmware version 5 or newer is needed.
The E1803D Motion Extension Board provides following connectors and interfaces:
3. Motion-connector offering different signals and interfaces as described below
4. Code pin for proper placement of extension board on E1803D controller card
X For future compatibility ensure about 15 mm on top are not occupied by anything
The pins 1 to 8 provide the stepper motor control signals for axes 0..3 (step/direction signals to be used with a
separate, external power driver). Maximum current to be pulled out of each output is 20 mA. It is recommended
39
to supply power to E1803D controller via 3pin screw connector but not via USB when motion extension board
is used.
The pins 9 to 12 are input pins for axes 0..3 to be used with the reference/homing position.
The pins 15 to 18 offer three analogue measurement inputs AIn0 .. AIn2 which can be operated in respect to
GNDAIn and work with a voltage range of 0..5V. This range is converted to a 12 bit digital value in range 1..4095
and can be read out of a connected application or can be used to perform different automated tasks.
PLEASE NOTE: under no circumstances apply a voltage higher than 5V to any of these inputs, this may damage
the complete scanner controller card irreversibly!
40
12 Quick Start into E1803D
Following a few steps are described that give users the possibility to quick start into usage of E1803D scanner
controller. It makes use of BeamConstruct and USB connection. For this quick start manual it is assumed
correct wiring of the controller is already done according to the description above. For more detailed
information about BeamConstruct usage please also refer to quick start manual from
https://openapc.com/download/manual_quickstart.pdf and to full user manual which is available at
https://openapc.com/download/manual.pdf.
1. SECURITY CHECK: The following steps describe how to set up E1803D scanner controller card and
how to control laser equipment with them. Thus all laser safety rules and regulations need to be
respected, all required technical security mechanisms need to be available and active prior to starting
with it.
2. Install latest software version from https://openapc.com/download.php – for Windows this package
contains all required drivers, for Linux no separate drivers are needed.
3. Connect E1803D controller via USB and apply +-12V .. +-24V power (depending on scanhead, as
described above).
4. Now the Alive/Error-LED should light up and then start blinking after some time. When this does not
happen, please turn power off, check if the microSD-card is placed correctly and then try again.
5. Evaluate the serial interface the controller is connected with – for Windows the Device Manager (can
be found in Control Panel) will list a new COM-port (e.g. “COM3”); for Linux type “dmesg” in console to
find out to which interface it was connected with (typically “/dev/ttyACM0”).
6. Start BeamConstruct laser marking software.
7. Go to menu “Project” → “Project Settings...”, then tab-pane “Scanner”.
8. Now you can select “E1803D” as scanner controller card. If is is not preselected, please choose the
appropriate scanner controller in the related combo box.
9. Press the “Configure”-button to get into the settings dialogue for E1803D plug-in.
10. Enter the serial interface name in field “IP/Interface” (e.g. “COM3” or “/dev/ttyACM0”).
11. Leave everything with “OK”.
12. Draw some geometries as described in “BeamConstruct Quick Start Manual”.
13. SECURITY CHECK: Next the scanner controller card will be accessed for the first time. That means it is
opened and initialised and all connected equipment may start working now. Thus it is very important to
ensure all security regulations are met and nobody can be injured and no damage can be caused also in
case laser output or other motion starts spontaneously and unexpectedly!
14. Press “F2” or go to menu “Process” → “Mark” to open the mark dialogue.
15. Start marking by pressing the yellow laser-button!
41
13 Command Interface
When E1803D scanner card is connected via USB and the USB-connection is NOT used for transmitting
marking information, it can be used to send control commands to the card. Some of them are independent of
the current operating mode and some of them can be used only in case the controller is operating in stand-
alone mode.
Alternatively control commands can also be sent via Telnet using Ethernet connection. Here a Telnet-client has
to connect to port 23 using the IP of the scanner controller. This Telnet client should work in passive mode.
So when E1803D scanner card is connected this way via Ethernet and the Ethernet-connection is NOT used for
transmitting marking information, it can be used to send control commands to the card. Some of them are
independent of the current operating mode and some of them can be used only in case the controller is
operating in stand-alone mode.
Such a control command always consists of ASCII-text. An appropriate client has to connect to the serial port
(COMx for Windows and /dev/ttyACMx for Linux where “x” is a number identifying the specific serial interface
or TCP/IP port 23). As soon as the connection is established, commands can be sent to the card. All commands
come with following structure:
cxxxx [parameter(s)]
The commands always start with character “c”. Next four characters identify the command itself. Depending on
the command one or more optional or mandatory parameters may follow. The command always returns with an
"OK" or with an error.
cvers
"version" – return version information of controller card. This command returns a version string
specifying version of hard- and software.
cecho <0/1>
"echo" – when typing commands in a serial console communicating with the controller, all the typed
characters are echoed, means they are sent back to the host so that a user can see what is typed. This is an
unwanted behaviour when some kind of control software communicates with this interface. Using this
command the serial echo mode can be turned off (parameter 0, only return values are sent back) or on
(parameter 1, all data are sent back). When called with no parameters, the current echo mode value is returned.
Example: cecho 0 – turn off echo mode
cginp
"get input" – get the current state of the digital inputs. The input state is returned as a decimal number
representing the bitpattern at the inputs. So when e.g. a value "15" is returned, this means the lower four inputs
of the digital interface are set to HIGH while the upper ones are at LOW level
csout <value>
"set output" – set the state of the digital outputs. The output to be set is specified as a decimal number
representing the bitpattern. When no parameter is given, the behaviour is undefined.
Example: csout 128 - set DOut7 at the digital interface to HIGH while all others stay at LOW
cglog
"get logline" – returns a single logging line. This command has to be called repeatedly until an error is
returned to get logging information from the controller. On each call of this function one logging line is
42
returned. When "cglog" isn't used for a longer time it may be possible the internal log-buffer has overrun. In
this case "cglog" will not return all log information.
cgbsr
"get board serial number" – returns the serial number of the card. This number is a unique, internal
value that is used e.g. to identify a controller on host PC when more than one scanner card is used.
cjsor <factor>
“jump speed overwrite” - this command modifies the actual jump speed by using the given factor (in
unit 1/10000). All operations make use of the changed jump speed until a factor of 10000 is set or until the
controller is restarted. This is true for both, stand-alone applications where an .EPR-file is loaded from
microSD-card and for host-controlled marking operations (via libE1803D or BeamConstruct).
cmsor <factor>
“mark speed overwrite” - this command modifies the actual mark speed by using the given factor (in
unit 1/10000). All operations make use of the changed jump speed until a factor of 10000 is set or until the
controller is restarted. This is true for both, stand-alone applications where an .EPR-file is loaded from
microSD-card and for host-controlled marking operations (via libE1803D or BeamConstruct).
cpwor <factor>
“power overwrite” - this command modifies the actual power by using the given factor (in unit
1/10000). All operations make use of the changed jump speed until a factor of 10000 is set or until the
controller is restarted. This is true for both, stand-alone applications where an .EPR-file is loaded from
microSD-card and for host-controlled marking operations (via libE1803D or BeamConstruct).
This command influences following methods of setting laser power:
• pulse width, here user has to ensure the resulting pulse width is smaller than the period of the related
frequency, elsewhere the output will be a continuous signal
• LP8 laser port
• AOut0 and AOut1 analogue outputs
cgana
get analogue input values – this command returns the values which have been read at analogue inputs
AIn0..AIn2 recently. Reading of the analogue inputs is done cyclically and automatically with a low frequency.
This command does not read the analogue values but returns the values which have been read at last cycle. So
when this command is repeated too fast, it may return the same values.
This command returns the current values of all inputs AIn0, AIn1 and AIn2 all together.
To use this command, firmware version 4 and the Multi-IO Extension Board are needed.
cstop
"stop" – stop marking as fast as possible. A running marking operation is stopped and LaserGate is
turned off.
chalt <0/1>
"halt" – halts or continues the processing and output of marking data. When given parameter is equal
to 1, marking is stopped next time the laser is off but no vector data are flushed. On continue (parameter equal
0) controller continues processing at the point where halt occurred. When marking is stopped with cstop the
halt-condition is cleared too, means on next transmission of new marking data they are processed without the
need to explicitly continue operation.
43
cstrt
"start" – start marking operation. This command can be called only when no marking operation is
running and when a valid project (.epr) file was loaded. In this case the currently loaded project is marked once.
ctrig
"trigger" – send an external trigger signal by software. When scanner card is in state "marking" but
waiting for an external trigger, this command releases this trigger. So behaviour is the same like a rising edge on
the ExtStart input of the controller card.
cstat
"state" – return the current state of the card. This command returns one of the following texts
identifying the operational state:
• marking – card is processing some marking data currently, means either actively outputting them or
waiting for an external trigger to start marking
• stand-alone – controller is in stand-alone mode
• idle - card is waiting and not marking
• waiting - a project file was loaded, is ready for execution and waits for a trigger signal (either via
ExtStart input or via command "ctrig")
cscnc
“set CNC data” - switch to a mode where G-Code process data are accepted via Telnet/serial interface.
When this command is set, the G-Code mode stays active until a command “M2” (end of G-Code program) is
detected. Only with this command the controller returns to normal operation mode and again accepts native
“c”- and “d”-commands.
Using of command “cscnc” requires stand-alone mode “auto” in order to store the received G-Code data for
further processing. After the G-Code data have been transferred and transmission has been ended with “M2”,
marking of these data can be started by applying an external trigger at ExtStart or by sending a trigger-event
via command (e.g. “ctrig”).
To successfully send G-Code data, some preconditions have to be met. For data transmission via Telnet:
• a G-Code line is limited to 255 characters maximum and always has to end with carriage return and/or
line feed
• when transferring more than one line at the same time, the maximum packet size is 1460 bytes, at the
end of such a packed a G-Code line has to end too and it is recommended to flush the full output buffer
in order to invoke a data transmission over TCP/IP; this procedure is recommended in order to have an
as fast as possible data transfer independent from the implementation a TCP/IP stack really uses
For data transmission via USB serial interface:
• a G-Code line is limited to 255 characters maximum and always has to end with carriage return and/or
line feed
The structure and supported G-Code commands are described in section “14 Supported CNC G-Code
Commands“ below.
This function requires firmware version 3 or newer.
cgtin
"get trigger inputs" – get the state of the external input signals. This command is not related to digital
inputs of digital interface but provides information regarding signal state of external start and stop. It returns a
value that specifies which of these input signals are currently HIGH:
0 – ExtStart and ExtStop are both LOW
2 – ExtStart is HIGH
4 – ExtStop is HIGH
6 – ExtStart and ExtStop are both HIGH
clepr <path>
"load epr" – loads an EPR stand-alone file or CNC G-Code file from microSD card for outputting it on
next marking operation. This command can be executed in stand-alone mode only and expects the path to the
44
file to be loaded as parameter. Since this is the only parameter, no quotes are allowed for the pathname. The
pathname itself has to be in format
0:/filename.epr
or
0:/filename.cnc
where 0:/ specifies the microSD-card, .epr is the standard extension of E1803D stand alone marking data
files (this name is a short-cut for "E1803D Processing Data") and .cnc is the extension which has to be used
when an ASCII-G-code file is provided. EPR-files can be created out of BeamConstruct, CNC-files are text files
containing valid G-Code commands as described in section “14 Supported CNC G-Code Commands”
During loading the ready-for-marking output signal is turned off and it is turned on only in case the file could be
loaded successful (please refer to related section above).
Examples: clepr 0:/test.epr – loads a stand-alone file "test.epr" from microSD card
crlbf <number>
“reload buffered file” - this command can be used in stand-alone mode “ioselect” and for all files that
are configured for preloading using configuration parameter “iobuff”. When called without any parameter it
reloads all files that are configured for pre-buffering, when called with a number as parameter it reloads the file
with the given number. This command can be useful in cases where a pre-buffered .EPR file was changed on disk
(e.g. by downloading it via controller to microSD card) and has to be loaded into the RAM without rebooting the
card.
cgtxt <"elementname">
"get text" – gets the currently used text value of an element in loaded project. The parameter for this
command has to be given with quotes ("). Getting a text is possible only for dynamic elements like DataMatrix
or QR barcodes or texts.
Example: cgtxt "Barcode 1" – gets the text from the element with name "Barcode 1"
cgser <"elementname">
"get serial number" – gets the current serial count value from an element in loaded project. The
element name for this command has to be given with quotes ("). Getting the count is possible only for dynamic
elements like DataMatrix or QR barcodes or texts that have a serial number input element assigned.
ciser <"elementname">
"increment serial number" – increments the current serial count value of an element according to its
serial number parameters. The element name for this command has to be given with quotes ("). Incrementing
the count is possible only for dynamic elements like DataMatrix or QR barcodes or texts that have a serial
45
number input element assigned. This function is more secure than forced setting of a new count value with
"csser" since it can't violate the counting rules.
cdser <"elementname">
"decrement serial number" – decrements the current serial count value of an element according to its
serial number parameters. The element name for this command has to be given with quotes ("). Decrementing
the count is possible only for dynamic elements like DataMatrix or QR barcodes or texts that have a serial
number input element assigned. This function is more secure than forced setting of a new count value with
"csser" since it can't violate the counting rules.
crser <"elementname">
"reset serial number" – resets the current serial count value of an element to its start-value (according
to its serial number parameters). The element name for this command has to be given with quotes ("). Resetting
the count is possible only for dynamic elements like DataMatrix or QR barcodes or texts that have a serial
number input element assigned. This function is more secure than forced setting of a value with "csser" since it
can't violate the predefined serial number parameters and uses the correct reset value.
cstim <seconds>
"set time" – this command sets the system time to the value specified with the parameter. Here the
number of seconds have to be specified that have elapsed since 01.01.1970 at 00:00:00. After sending this
command the controller card operates at the given time. The time value is lost after next power cycle and has to
be set again.
Example: cstim 1420113600 – set the internal time of E1803D controller to 01.01.2015 12:00:00, here
1420113600 represents the number of seconds that have been elapsed between 01.01.1970 00:00:00 and
01.01.2015 12:00:00
crtim
"retrieve time" – this command schedules time retrieval from an SNTP server asynchronously. It always
returns with "OK" since the command is scheduled for execution during next working cycles. To use this
command, controller has to be configured with IP, netmask, gateway and SNTP server IP correctly and needs to
be able to access this SNTP server from its position in network. For details please refer to description of
configuration parameters in section about microSD card above.
cgtim
"get time" – returns the current time of the board in number of seconds that have elapsed since
01.01.1970 at 00:00:00. After powering up the board and before a valid time has been set, this value is
undefined.
cftim
"get formatted time" – returns the current time of the board as formatted string in style DD.MM.YYYY
hh:mm:ss. After powering up the board and before a valid time has been set, this value is undefined.
cstyr <year>
"set time year" – sets the year of the current system time to the value given as parameter. This value
has to be in range 1900..2038
cstmo <month>
"set time month" – sets the month of the current system time to the value given as parameter. This
value has to be in range 1..12 according to the number of the month.
cstdy <day>
"set time day" - sets the day of the current system time to the value given as parameter. This value has
to be in range 1..28, 1..30 or 1..31 according to the length of the current month.
46
csthr <hour>
"set time hour" – sets the hour of the current system time to the value given as parameter. This value
has to be in range 0..23.
cstmi <minute>
"set time minute" – sets the minute of the current system time to the value given as parameter. This
value has to be in range 0..59.
cstsc <second>
"set time second" – sets the second of the current system time to the value given as parameter. This
value has to be in range 0..59.
cgsta
"get serial state" – this command applies only when working in stand-alone mode with dynamic serial
number data that change on every mark operation. It returns information if the state of serial numbers has
changed and is not yet saved (in this case "pending" is returned) or if they have been saved and therefore do not
get lost when power is turned off now ("saved" is returned in this case).
cssta
"save serial state" - this command applies only when working in stand-alone mode with dynamic serial
number data that change on every mark operation. When it is called, a command to save the current state of
serial numbers is enqueued and will be processed as soon as controller is able to store these data. So when this
command returns with "OK" that doesn't necessarily means the serial number states are saved now. The
current save state still has to be checked by calling "cgsta" after "cssta" has been issued.
cdtl0 <text>
“dot text line 0” - this command is used in dot mode matrix marking mode only. It can be used to set a
new line of text for the upper line to be marked in dot matrix mode. It can be called several times in advance to
set some more texts. They are marked in the order they have been set on every marking cycle started by an
ExtStart input signal. Stopping a marking operation by calling “cstop” or by applying a signal to ExtStop input
deletes all previously set texts and empties the whole text buffer.
cdtl1 <text>
“dot text line 1” - this command is used in dot mode matrix marking mode only. It can be used to set a
new line of text for the lower, optional line to be marked in dot matrix mode. It can be called several times in
advance to set some more texts for the second line. When the controller card is configured to work with two
lines of texts, it always expects pairs of texts to be set, means “cdtl0” and “cdtl1” needs to be used always
together. They are marked in the order they have been set on every marking cycle started by an ExtStart input
signal. Stopping a marking operation by calling “cstop” or by applying a signal to ExtStop input deletes all
previously set texts and empties the whole text buffer.
crrrr
"reboot" – perform a warm reboot of the hardware and restart the firmware. Reboot is done
immediately, means this command does not return anything but connection to the board will be interrupted as
soon as it has been sent.
47
13.3 Mark Control Commands
The following section describes commands that can be used to send marking data (including vector data and
laser/scanner parameters) to the controller. These commands can be mixed with the commands described
above but have a different structure:
• they always start with a character "d"
• the total length of one frame (means one command) is always 14 bytes
• they mustn't be terminated with CR/LF, the end of a frame is determined by its size of 14 bytes
• they contain binary, means not human-readable data and therefore can't be sent manually
PLEASE NOTE: when using Network/Telnet connection and when switching from a Mark Control Command
("d"-command) to a general command ("c"-command as described above) it is recommended to flush all output
before sending a command of other type.
It is recommended to collect commands before they are sent to the controller, especially in case Ethernet
connection is used. In case of TCP/IP the used payload length of a TCP-frame is 1460 bytes which should be
filled as much as possible in order to avoid additional data transfers. So when sending larger amounts of data to
the controller, up to 104 command frames should be collected and then sent all together (104 * 14 = 1456 bytes
which is close to 1460).
From time to time the controller sends back an answer to give back some state information. In case of
Ethernet/Telnet connection this answer is not sent periodically but as response to a complete block of data sent
to the card. Since the size of such a block is not specified and depends on the underlying TCP/IP implementation
(in case of Ethernet connections), no predictions can be made after what amount of data a response frame is
sent. Thus it is recommended to try to receive such a response frame every time some data have been
transmitted until at least one frame was received. When host software is idle, it can try to read response frames
permanently. To trigger transmission of a new response frame, "ping" control command 0x0A can be used (for
details please refer below).
In case of USB/serial connection this response is sent automatically after every 14 byte frame submitted, so it is
necessary to always read them in order to avoid overrun of receive buffers.
Such a response frame gives back information about the current operational state of the card and comes in
following structure:
dRLLLLSSSSIIII
d – marks starting point of a response frame with a fixed length of 14 bytes (including this character), this
character can be used to re-synchronise
R – 8 bit value, currently always 0xFF; this value has to be checked for future compatibility, in case it is not 0xFF
the frame has to be ignored!
LLLL – 32 bit little-endian value, here the amount of free command buffer space is returned; sending
application has to ensure this buffer never overruns, so it is recommended to always leave a space of at least
200 commands (recommended: 1000), new commands should be sent only when there is more space than this
left in this buffer
SSSS – 32 bit little-endian value, signalling operational state; this value can consist of following or-
concatenated flags:
• 0x00000001 – card is currently marking
• 0x00000002 – the external start input is currently HIGH
• 0x00000004 – the external stop input is currently HIGH
• 0x00000008 – the external start input was set to HIGH after last response frame, this value is set
only once for every rising edge on this input
• 0x00000010 – the external stop input was set to HIGH after last response frame, this value is set
only once for every rising edge on this input
• 0x00000080 – the controller has received some data which may result in a marking operation;
48
these data are currently processed but marking has not yet started
• 0x00000400 – card is active but currently waiting for an external trigger to continue operation
IIII - 32 bit little-endian value, lower 8 bit show the actual state of digital inputs
Currently following mark control commands (identified by the 8 bit hexadecimal value for position "C" in a
frame) can be sent to the controller:
Jump to Position
Move to a given coordinate position using the current jump speed and with laser turned off
C = 0x00
AAAA = x-position to move to in range 0..67108863
BBBB = y-position to move to in range 0..67108863
EEEE = z-position to move to in range 0..67108863
Mark to Position
Move to a given coordinate position using the current mark speed and with laser turned on
C = 0x01
AAAA = x-position to move to in range 0..67108863
BBBB = y-position to move to in range 0..67108863
EEEE = z-position to move to in range 0..67108863
Start output
This command has to be called at the end of every marking sequence to ensure marking output really
starts. This is important in case only a few vectors are sent to ensure marking is started but it is recommended
to always use this command.
C = 0x02
AAAA = unused, set to 0
BBBB = unused, set to 0
EEEE = unused, set to 0
Stop marking
Tries to halt, continue or stop current output depending on the chosen option
C = 0x07
AAAA = stop option:
0 - tries to stop operation as fast as possible and rejects all data that still may be enqueued for
execution
1 - marking is stopped next time the laser is off but no vector data are flushed, card is still active
2 - controller continues processing at the point where halt occurred (requires a previously called
command 0x07 with stop option 1)
BBBB = unused, set to 0
EEEE = unused, set to 0
Ping
This command can be used to let the controller send back a state-information. So it can be used to
check if the card is still operating or not.
ATTENTION: this command should not be sent repeatedly and without any delay! This could cause E1803D
scanner controller to stall because the massive data transfer has to be handled. So it is recommended to have a
delay of at least 150 msec between every ping.
C = 0x0A
AAAA - unused, set to 0
BBBB = unused, set to 0
EEEE = unused, set to 0
Set lasermode
Specify the laser mode the card has to operate with
C = 0x0C
50
AAAA - flags specifying the laser mode, here following values have to be or-concatenated to specify the
behaviour of a laser:
• 0x40000000 - laser frequency on LaserA output is turned on immediately and together with
laser gate signal, this flag can't be used together with 0x20000000
• 0x20000000 - laser frequency on LaserA output is turned on after FPK time, this flag can't be
used together with 0x40000000
• 0x10000000 - laser supports FPK on LaserB output
• 0x08000000 - laser frequency has to be turned off and switched to standby-frequency
• 0x04000000 – a frequency can be emitted at LaserB permanently, the related frequency can
be specified with command 0x15
Using these flags following laser types can be configured:
• CO2-laser:
0x40000000 + 0x08000000
• YAG-laser with FPK:
0x40000000 + 0x08000000 + 0x10000000 or
0x20000000 + 0x08000000 + 0x10000000
• laser with continuously running frequency: 0x40000000
BBBB = unused, set to 0
EEEE = unused, set to 0
Switch MO-output
Turns the MO-output of laser interface connector on or off
51
C = 0x12
AAAA = turn MO output on when equal 1, turn it off when 0
BBBB = unused, set to 0
EEEE = unused, set to 0
then these matrix values can be used and even combined with each other by multiplying them:
• rotation: {cos(angle), -sin(angle), sin(angle), cos(angle)}
• scaling: {factorX, 0.0, 0.0, factorY}
• slant X: {1.0, 1.0/tan(angle), 0.0, 1.0}
• slant Y: {1.0, 0.0, 1.0/tan(angle), 1.0}
• mirror X: {-1.0, 0.0, 0.0, 1.0}
• mirror Y: {1.0, 0.0, 0.0, -1.0}
53
• wait until card state returns “active” (by repeatedly sending ping-commands), now in state flag SSSS bit
0x4000 (E1803_CSTATE_WRITING_DATA) is set
• wait until card state returns “idle” again (by repeatedly sending ping-commands), the flag 0x4000 no
longer should be set in state flag SSSS
• check if an error occurred: when flags 0x8000 (E1803_CSTATE_WRITING_DATA_ERROR) is set in
state flag SSSS, downloading or writing or checksum calculation failed and the original file was not
replaced; for debugging in such a case the command “cglog” can be called repeatedly until the related
error text was found; when this error flag is set it can be reset only by using command 0x45 again
• reboot the controller
• check if the version of the firmware has changed
This command requires firmware 4 or newer.
C = 0x45
AAAA = the length of the firmware file in bytes
BBBB = checksum for verification of the downloaded data, only when this checksum is correct, the old firmware
file will be replaced; the checksum can be calculated using following function (C example code):
while (len--)
{
crc^=*buf++;
for (k=0; k<8; k++)
crc=crc&1 ? (crc>>1) ^ 0x82f63b78 : crc>>1;
}
return ~crc;
}
EEEE = specifies the file which has to be overwritten by the current data download:
• 0 – overwrite file 0:/version.txt when downloading of data was successful
• 1 – overwrite file 0:/e1803.fwi when downloading of data was successful
• 2 – overwrite file 0:/e1803.dat when downloading of data was successful
• 3 – overwrite file 0:/e1803.cfg when downloading of data was successful
54
14 Supported CNC G-Code Commands
Starting with firmware version 2 E1803D supports G-Codes. A related CNC file has to be placed at microSD
card. The file extension decides how it is loaded and interpreted, all G-Code ASCII files need to end with “.CNC”.
To allow fast and efficient processing of a CNC file within E1803D, some points have to be noticed. So in order
to improve loading performance it is recommended to:
• not to have lots of leading or trailing spaces
• not to make use of large comments
• have exactly one space between code and related parameter
Following “G” codes and identifiers are supported by E1803D G-Code interpreter:
55
Code Description Example
G0 Jump to a specified position using predefined unit mm or inch G0 X0 Y0 Z0
and with maximal speed or – when set with command M704 –
with the jump speed that was defined before. The position to
jump to is specified by two or three parameters X, Y and Z. This
movement is done with the laser turned off and by taking laser
and scanner delays into account.
G1 Move to a specified position using predefined unit mm or inch G1 X10 Y10.5 Z11.75
and with a default or – when set with command M704 – with
the mark speed that was defined before. The position to move
to is specified by two or three parameters X, Y and Z. This
movement is done with the laser turned on and by taking laser
and scanner delays into account.
G4 When followed by a parameter „P“ execution is delayed by the G4 P0.002
given time (in unit seconds)
G17 Select the XY plane for marking operations. This means, given G17
jump or movement coordinates in X and Y directions are
applied to X and Y plane, optional Z coordinate is applied to
remaining Z direction.
G18 Select the ZX plane for marking operations. This means, given G18
jump or movement coordinates in X and Y directions are
applied to Z and X plane, optional Z coordinate is applied to
remaining Y direction.
G19 Select the YZ plane for marking operations. This means, given G19
jump or movement coordinates in X and Y directions are
applied to Y and Z plane, optional Z coordinate is applied to
remaining X direction.
G20 Set measurement unit to inch, means all positions handed over G20
e.g. with G0 or G1 will be followed by coordinates in inch. In
reality this has no effect for E1803D since calculation of
marking positions is done based on the given working area
which has to be defined with command M709
G21 Set measurement unit to mm, means all positions handed over G21
e.g. with G0 or G1 will be followed by coordinates in mm. In
reality this has no effect for E1803D since calculation of
marking positions is done based on the given working area
which has to be defined with command M709
G70 Set measurement unit to inch, means all positions handed over G70
e.g. with G0 or G1 will be followed by coordinates in inch. In
reality this has no effect for E1803D since calculation of
marking positions is done based on the given working area
which has to be defined with command M709
G71 Set measurement unit to mm, means all positions handed over G71
e.g. with G0 or G1 will be followed by coordinates in mm. In
reality this has no effect for E1803D since calculation of
marking positions is done based on the given working area
which has to be defined with command M709
G90 Enable absolute positioning, means all positions handed over G90
e.g. with G0 or G1 will be followed by absolute coordinates
according to the used coordinate system.
G91 Enable relative positioning, means all positions handed over e.g. G90
with G0 or G1 will be followed by coordinates that are relative
to the previously used position in used coordinate system.
56
14.3 Supported “M”-codes
Following “M” codes and identifiers are supported by E1803D G-Code interpreter, here all codes in range
700..799 are specific to the E1803D and contain all laser-related parameters and values:
57
Code Description Example
M2 End of program. When this code is found, parsing of the CNC M2
file is stopped and all following codes are ignored
M3 Set laser on. This command does NOT turn on the laser but sets M3
the internal state to „on“. This can be used to set e.g. the mark
speed by a following command T1.
M5 Set laser off. This command does NOT turn on or off the laser M5
but sets its internal state to „off“. This can be used to set e.g. the
jump speed by a following command T1.
M700 Set the used laser type. This command is mandatory and has to M700 1073741831
be called prior to every laser-related command. As parameter it
expects a decimal number which corresponds to the lasermode-
types E1803_LASERMODE_xxx as described in section „15.1
E1803D Easy Interface Functions“
M701 Set the frequency for the laser in unit Hz. This command is a M701 25000
place holder and has no effect when used with E1803D. Instead
of that, the frequency has to be set lasertype-dependent via
pulse length parameter of commands M715 (stand-by
frequency) and M718 (mark or continuously running
frequency)
M702 Set the laser power in unit 1/1000%. This command has to be M702 75555
used only in case of specific lasermodes. Resulting from the
mode the effect is different:
E1803_LASERMODE_YAG – used in case of an SPI-laser, the
power-value is set at analogue output AOut0
E1803_LASERMODE_IPG – used in case of an IPG-laser, the
power-value is latched out at LP8 laserport
M703 Set laser-on-delay (at parameter A) and laser-off-delay (at M703 A100 B200
parameter B) in unit usec.
M704 Set jump-speed (at parameter A) and mark-speed (at parameter M704 A8936.592 B3000.00
B) in unit mm/min.
M705 Set jump-delay (at parameter A), mark-delay (at parameter B) M705 A500 B200 C2500
and in-polygon-delay (at parameter C) in unit usec.
M707 Set the working area left position (at parameter X), top position M707 X-50 Y50
(at parameter Y) and depth position (at optional parameter Z) in
unit specified with commands G70 or G71. Together with M709
this command specifies the valid working field, all positioning
parameters handed over with e.g. G0 and G1 need to be located
within this area.
M708 Set jump-delay (at parameter A), mark-delay (at parameter B) M705 A500 B200 C2500
and variable polygon-delay (at parameter C) in unit usec.
Different to command M705 here the third parameter specifies
a variable delay which applies only to polygons at maximum
angle of 180°.
M709 Set the working area width (at parameter X), height (at M709 X-50 Y50
parameter Y) and depth (at optional parameter Z) in unit
specified with commands G70 or G71. Together with M707 this
command specifies the valid working field, all positioning
parameters handed over with e.g. G0 and G1 need to be located
within this area.
M710 IPG pulse length value in unit nsec. This command is for future M710 10000
use and currently does not have any effect.
M711 Set wobble distance in X-direction (at parameter X), Y-direction M711 X2.5 Y2.5 C10000
58
Code Description Example
(at parameter Y) in unit specified by commands G70 or G71 and
wobble frequency (at parameter C) in unit Hz. When all values
are set to 0, wobble marking is disabled completely.
M713 Set first pulse killer value (FPK) for YAG laser types using unit M713 10000
usec
M714 Set simmer value in unit 1/1000% for SPI laser types, the M714 55000
corresponding analogue voltage will be set at output AOut1
M715 Set standby-frequency (at parameter A) in unit Hz and standby- M715 A50000 B1000
pulsewidth (at parameter B) in unit nsec.
M717 Set waveform number for SPI laser types latched out at LP8 M717 17
laser port.
M718 Set laser frequency (at parameter A) in unit Hz and pulsewidth M718 A50000 B10000
(at parameter B) in unit usec.
M719 Switch master oscillator on (1) or off (0). This command can be M719 1
used together with SPI or IPG laser types prior to starting a
mark operation to turn MO on or afterwards to turn it off.
Required delays to turn on the MO are handled by E1803D
internally.
Following “T” codes and identifiers are supported by E1803D G-Code interpreter:
59
15 Programming Interfaces
The e1803.dll/libe1803.so shared library provides an own programming interface that gives the possibility to
access and control the E1803D scanner controller card.
Beside of that e1803inter.dll / libe1803inter.so come with some compatibility interfaces for different other
scanner cards like Scanlab™ RTC4™ and SCAPS™ USC1/2. They can be used to access E1803D scanner card
with existing software easily. To do that, the "e1803inter" shared library just has to be renamed to the library
name of the original vendor (like RTC4DLL.DLL, libslrtc4.so or sc_optic.dll). In order to operate E1803D card
with different than the default connection settings, recompilation of code to be reused is necessary. Here at the
very beginning and before initialisation a call to E1803_set_connection() has to be added in order to specify the
connection to the card. Apart from this single case, none of the different programming interfaces should be
mixed.
Sources of e1803inter.dll/libe1803inter.so are open and available for free, they can be found in OpenAPC SDK
(available for download at https://openapc.com/download.php#sdk) or in GIT (available at
https://sourceforge.net/p/oapc/code/ci/master/tree/).
The E1803D does NOT use the concept of two or more lists that have to be managed and switched by the
calling application. Here all stream commands simply are sent to the card without the need to provide some
additional management information. Output of data is started only when E1803_execute() is called or when
a card-internal threshold is exceeded. This card-internal triggered output of data can be held back by calling
function E1803_set_trigger_point() as very first so that marking starts only after an external trigger
signal was detected by the card or when the trigger point was released out of software by calling
E1803_release_trigger_point().
E1803D Easy Interface uses unit “bits” as base for all units and parameters. Since E1803D card internally uses
26 bits resolution for a better accuracy and to minimize round-off errors, all calculations are done with these 26
bits. So the working area always has a size of 26 x 26 bits equal to 67108864 x 67108864. Independent from
real resolution and output of hardware all calculations have to be done within this 26 bit range.
60
Parameters:
address – a char-array containing the IP in xxx.yyy.zzz.aaa notation or the name of the serial interface (COMx
or /dev/ttyACMx) to be used
Parameters:
ethPwd – the password to be used to authorise at an E1803D card. To reset a local password for connecting to
a card that doesn't has an Ethernet password configured, hand over an empty string "" here
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
path – full path to the file which has to be used as debug log file
flags – a bunch of OR-concatenated flags which specify what function calls have to be written into or filtered
from the log output; when 0x00 is specified here, the log file is kept quite small. When 0x01 is set, all motion-
related function calls are added too, when 0x02 is set, all calls which check the state of the card are added to
the log file.
61
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
flags – currently unused, set to 0 for future compatibility
value – the value to be used as sync-identifier, here on every call a different value should be handed over in
order to differentiate what is returned by E1803_get_sync().
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
Return: the last sync-identifier which was identified and processed in stream of commands or 0xFFFFFFFF
when function is not used/turned off
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
halt – 1 to halt operation next time the laser is off, 0 to continue a previously halted operation
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
63
of these bits, means when it is called again and when no new rising edge has been detected meanwhile,
these bits will be 0
• bit 2 and 3 (0x0000000C) specify if the stop input was set after last call of this function, when they are
set, a rising edge has been detected at this input; calling this function resets the internal state of these
bits, means when it is called again and when no new rising edge has been detected at top input
meanwhile, these bits will be low
• bit 12 (0x00001000) this bit signals the start input is low, as long as this bit is set no start input signal is
detected
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
state – pointer to a variable where the card state has to be written to: a bit pattern of or-concatenated
constants specifying the current state:
• E1803_CSTATE_MARKING – card is currently marking
• E1803_CSTATE_PROCESSING – card has received some data that are enqueued for marking
When the function returns an error code instead of E1803_OK, this value is undefined and can't be used.
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
delay – time to wait until marking continues in unit usec, smallest possible value is 0,500 usecs
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
buffer – expects a constant which decides what buffer has to be checked, it has to be set to one of the
following values:
• E1803_FREE_SPACE_PRIMARY – return size of the primary buffer; it can be used to avoid memory on
64
host system is filled which may happen when vector data are sent to the controller while it's internal
buffers are already full. In this case these data would have been stored on host side consuming some
memory there. Using this function this problem can be avoided by sending commands only in case this
function returns a value that is (much) larger than 0.
The primary buffer that can be checked by using this value is one of two available buffers on E1803D
controller. The primary one has a size of 1 million and is used to feed the secondary buffer (with a size
of 20 million). So when this function returns 1000000, this does not mean the buffer is empty and no
vector data currently processed – they still may be stored in secondary buffer. So to check the
operational state of the controller, only function E1803_get_card_state2() can be used.
This buffer has also to be checked when function E1803_release_trigger_point() is used in
order to ensure the command can arrive at the controller. For a detailed description please refer to
explanation of E1803_release_trigger_point() above.
• E1803_FREE_SPACE_SECONDARY – return size of the secondary buffer; this one is filled by data from
primary buffer and contains raw commands (like single micro vectors that concatenate to a full vector
during output).
Return: -1 in case the function failed or the amount of free space in primary buffer.
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
hwVersion – pointer to a variable where the hardware revision/version number is written into
fwVersion – pointer to a variable where the revision/version number of the firmware running on the board is
written into
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
flags – flags specifying when the command has to be executed and which analogue output has to be set
a – value read from the analogue input, independent on the real resolution of the hardware, here always a 16
bit value is returned, means a value of 65535 would correspond to full input voltage of 5V
Return: E1803_OK or an E1803_ERROR_-return code in case of an error
This function requires firmware version 4 or newer and the Multi-IO expansion board or the Intelli-IO
expansion board.
65
15.1.2 Laser and scanner related functions
This section describes all functions which are related to the scanhead and laser control and therefore have
influence on the signals at the laser interface and the XY2-100 connector. The related interfaces are described
in section „6.7 Laser Signals“ and section „6.6 Scanner Signals“.
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
filename – the full path to the correction file to be loaded from file system, when "" is specified here, a
previously used correction file is flushed and no/neutral correction is used as long as no other correction table
is given
tableNum – the 0-based correction table number these data have to be loaded for; it is possible to download
up to 16 different correction tables and to switch between them during operation using function
E1803_switch_correction()
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
tableNum – the 0-based table number of the correction that has to be used for all following vector data
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
h – the vertical height from last mirror of the scanhead to the working area (Z-position 0 of working area) in
unit bits
xy_to_z_ratio – factor specifying the ratio between maximal horizontal working area size and maximal
vertical movement size. As an example: when the working area has a size of 100 x 100 mm and the Z-axis has a
maximum movement range of -20 mm .. 20 mm, the ratio to be set is 2,5 (100 mm horizontal divided by 40 mm
vertical)
res1 – reserved for future use, set to 0
Here “h” is the height from the position where the beam hits the last mirror to the position of the working area
at z=0 position (in unit bits). “xy” is the width of the working area to be used together with the “z” range from
“z=min” to “z=max” to calculate the xy_to_z_ratio. All working area parameters like its width “xy” and the
“z”-range are expected to be the theoretical maximum of the full range, not the – possibly smaller – range used
in a specific setup.
67
Return: E1803_OK or an E1803_ERROR_-return code in case of an error
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
jumpspeed – scanner movement speed during jumps (movements when laser is off) in unit bits/msec and
range 1..4294960000
markspeed – scanner speed during mark (movements when laser is on) in unit bits/msec and range
1..4294960000
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
ondelay – laser on delay in unit microseconds, can be a negative or a positive value
offdelay – laser off delay in unit microseconds, must be a positive value
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
flags – here some flags can be set which add some further functional specifications and features to this
function. At the moment following flags are supported and can be OR-concatenated with each other:
• E1803_COMMAND_FLAG_SCANNER_VAR_POLYDELAY – when this flag is set, the value set via
polydelay is not applied statically to every point within a polygon, but it is set dynamically depending
68
on the angle between two lines; no angle (a straight line) results in no delay while an 180 degree angle
results in a full delay as set by value polydelay; this flag requires firmware version 2 or newer
jumpdelay – the jump delay value in unit microseconds
markdelay – the mark delay value in unit microseconds
polydelay – the in-polygon delay value in unit microseconds
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
mode - the laser mode, here one of the following values is possible:
• E1803_LASERMODE_CO2 – for controlling CO2 lasers, this mode supports stand-by frequency at
LaserA output (to be set with function E1803_set_standby()) and PWM-modulated frequencies
during marking and for power control (to be set with function E1803_set_laser_timing())
• E1803_LASERMODE_YAG1 – for controlling YAG lasers, this mode supports stand-by and Q-Switch
frequency at LaserA output (to be set with function E1803_set_standby()) and a first pulse killer
signal at output LaserB that is issued on beginning of a mark together with the Q-Switch frequency (to
be set with function E1803_set_fpk()):
Here Q-Switch signal is started together with laser gate and FPK pulse. At end of mark when laser gate
is turned off stand-by frequency is emitted at LaserA.
• E1803_LASERMODE_YAG2 - for controlling YAG lasers, this mode supports stand-by and Q-Switch
frequency at LaserA output (to be set with function E1803_set_standby()) and a first pulse killer
signal at output LaserB that is issued on beginning followed by Q-Switch frequency that starts when
FPK pulse has finished:
Here FPK and laser gate are started together. Q-Switch signal is started at end of FPK pulse. At end of
69
mark when laser gate is turned off, stand-by frequency and pulse-width is emitted at LaserA instead of
Q-Switch frequency.
• E1803_LASERMODE_YAG3– for controlling YAG lasers, this mode supports stand-by and Q-Switch
frequency at LaserA output (to be set with function E1803_set_standby()) and a first pulse killer
signal at output LaserB that is issued on beginning followed by Q-Switch frequency that starts after a
freely configurable time period “yag3QTime”:
Here FPK and laser gate are started together. Q-Switch signal is started after yag3QTime has elapsed
according to the beginning of FPK pulse. This time value can be set using function E1803_set_fpk(). At
end of mark when laser gate is turned off, stand-by frequency and pulse-width is emitted at LaserA
instead of Q-Switch frequency.
• E1803_LASERMODE_CRF – for controlling lasers that require a continuously running frequency (like
fiber-lasers), this frequency is emitted at LaserA output and can be set and changed by calling function
E1803_set_standby().
• E1803_LASERMODE_DUAL – for controlling special lasers that require two frequencies, the second,
continuously running frequency is emitted at LaserB output and can be set with function
E1803_set_laserb()
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
flags – handling flags specifying the behaviour of this command, E1803_COMMAND_FLAG_STREAM to use it
as stream command, E1803_COMMAND_FLAG_DIRECT to execute it immediately and independent on current
stream and execution state; in case E1803_COMMAND_FLAG_STREAM is used, please ensure this function call is
followed by other stream commands, elsewhere the laser is turned off for security reasons as soon as no more
data are available to process in order to not to let the laser fire while the card is waiting
on – set to 1 to turn the laser on or to 0 to turn it off
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
x – wobble amplitude in x direction in units bits and range 1..10000000
70
y – wobble amplitude in y direction in units bits and range 1..10000000
freq – wobble frequency in Hz in range 1..25000
When laser was turned on before this function is called, laser is turned off at the beginning with a delay
specified by laser off delay (please refer to description of E1803_mark_abs() for a diagram showing laser off
delay too).
This is a stream-command, means it is executed at a point in stream that is relative to the other stream
commands. So values set here apply only to these vector data that are sent after this command.
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
x – the x-coordinate in unit bits the scanner has to jump to (in range -33554431..33554432)
y – the y-coordinate in unit bits the scanner has to jump to (in range -33554431..33554432)
z – the z-coordinate in unit bits the scanner has to jump to (in range -33554431..33554432, requires a
hardware that is equipped with Z- channel)
71
This is a stream-command, means it is executed at a point in stream that is relative to the other stream
commands.
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
x – the x-coordinate in unit bits the scanner has to move to (in range -33554431..33554432)
y – the y-coordinate in unit bits the scanner has to move to (in range -33554431..33554432)
z – the z-coordinate in unit bits the scanner has to move to (in range -33554431..33554432, requires a
hardware that is equipped with Z- channel)
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
x – the x-coordinate in unit bits the scanner has to jump to (in range -33554431..33554432)
y – the y-coordinate in unit bits the scanner has to jump to (in range -33554431..33554432)
z – the z-coordinate in unit bits the scanner has to jump to (in range -33554431..33554432, requires a
hardware that is equipped with Z- channel)
laserOn – specifies if the movement has to be done with laser turned on (1) or off (0)
72
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
mode – pixel marking mode, this parameter can be set to:
• 0 – default mode, while marking a pixel line the controller tries to perform jumps when power
is below of the given threshold powerThres to save marking time
• E1803_PIXELMODE_NO_JUMPS – no jumps are performed, the given power threshold is
ignored and the full pixel line is done with marking speed; this mode is slower but can result in
more accurate and more exact images
• E1803_PIXELMODE_JUMP_N_SHOOT – marking of the line is no longer done with a
continuous movement but with a sequence “jump to position → shoot → jump to next position
→ shoot → jump to next position → shoot...”; here the shoot-time is equal to the laser-off-delay
minus laser-on-delay as set with function E1803_set_laser_delays()
powerThres – this value is used only in default mode, when the marking power for some pixels is below of the
given value (in unit percent), a jump is performed to save marking time, during this jump the laser is off and no
marking is done
res – reserved, set always to 0
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
x, y, z – the starting coordinates of the line in unit bits
pixWidth – the width of a single pixel (in unit bits), when this is set to a value greater or smaller than 0 while all
the others are equal 0, a horizontal line is drawn; the sign of the value specifies the marking direction
pixHeight – the height of a single pixel (in unit bits), when this is set to a value greater or smaller than 0 while
all the others are equal 0, a vertical line is drawn; the sign of the value specifies the marking direction
pixDepth – the depth of a single pixel (in unit bits, requires a 3D-capable scanhead), when this is set to a value
greater or smaller than 0 while all the others are equal 0, line goes into depth; the sign of the value specifies the
marking direction
pixNum – the number of pixel data contained in the array of intensity values handed over with the following
parameter
pixels – an array of double-values with a length equal the number of pixels specified with pixNum and with
an allowed range of 0.0..100.0 specifying the intensity; every entry of this array is equal to one pixel of the
bitmap, so a greyscale-pixelline with brightness values in range 0..255 has to be converted to values in range
0.0..100.0
power_callback – this is a callback function of type
which is used to set the power for every pixel. There these E1803_-functions have to be called that belong to
the used laser type and set the power values according to it's hardware capabilities. Within the power callback
function only stream commands are allowed to be called. It is not possible to use external devices that are not
synchronous to E1803D command stream. The power callback has to return with E1803_OK when setting of
power was successful. In case of an error the appropriate error code has to be returned, the pixel marking
function will be cancelled in such a case too and does not finish marking of the line. Parameter n is the 1-based
board instance number specifying the board the power has to be changed for, power is the power to be set in
unit percent and userData are some free to use, custom data that can be handed over on call to
E1803_mark_pixelline().
73
userData – here some custom data can be handed over which are forwarded on and handed over at every call
of the power-callback
int E1803_set_matrix(unsigned char n, double m11, double m12, double m21, double
m22)
Specify a 2x2 matrix that contains scaling and rotation corrections for the output. When a given matrix
element parameter has a value smaller or equal -10000000 it is ignored and the previous/default value is kept
at this position in matrix.
This function will overwrite all corrections specified with E1803_set_xy_correction().
This is a stream-command, means its parameters are applied at a point in stream that is relative to the other
stream commands.
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
m11 – first matrix element in first row
m12 – second matrix element in first row
m21 – first matrix element in second row
m22 – second matrix element in second row
74
Bit HEAD_STATE_2D_HEAD 2D Head Remarks HEAD_STATE_3D_HEAD 3D Head Remarks
3 / S2 1 Y channel parity error
2 / S1 0 Z channel parity error
1 / S0 1 CLK channel error
0 / Par x Always 0 Parity bit (even)
The exact usage of these fields depends on the used head, so for further details please refer to the related
scanhead manual.
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
flags – when flag E1803_COMMAND_FLAG_HEAD_STATE_RAW is set here, the state-information from the
head are returned as they are received. When this flag is not used, the returned data are checked and filtered –
only in case they fit to the bit patterns shown above, the received data are returned, elsewhere the error
information 0xFFFFFFFF is given back.
Return: the received (filtered or raw) XY2-100 state data as received from the head or 0xFFFFFFFF in case of
an error
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
frequency – emitted frequency in unit Hz and in range 25..20000000 Hz
pulse – pulse width in usec, this value has to be smaller than period length that results out of frequency
Parameters:
frequency – emitted frequency in unit Hz and in range 25..20000000 Hz. When a value of 0 is given, the
frequency at LaserA output is turned off at end of mark.
pulse – pulse width in usec, this value has to be smaller than period length that results out of frequency
n – the 1-based board instance number as returned by E1803_set_connection()
Parameters:
75
n – the 1-based board instance number as returned by E1803_set_connection()
frequency – emitted frequency in unit Hz and in range 25..20000000 Hz
pulse – pulse width in usec, this value has to be smaller than period length that results out of frequency
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
fpk – the length of the first pulse killer signal in usec
yag3QTime – the length of the first pulse killer signal in usec, this value is used only when laser mode
E1803_LASERMODE_YAG3 is set, elsewhere it is ignored
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
flags – handling flags specifying the behaviour of this command, E1803_COMMAND_FLAG_STREAM to use it
as stream command, E1803_COMMAND_FLAG_DIRECT to execute it immediately and independent on current
stream and execution state
value – the 8 bit value to be set at LP8 port
Return: E1803_OK or an E1803_ERROR_-return code in case of an error
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
on – specifies if the latch bit has to be set to HIGH (on=1) or LOW (on=0) on first step, on second step it will
toggle to value !=on
76
delay1 – delay to be issued after setting/clearing the latch bit for the first time
value – the 8 bit value to be set at LP8 port
delay2 – delay to be issued after setting LP8 output and before clearing/setting the latch bit
delay3 – delay to be issued after clearing/setting the latch bit for the second time
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
on – the state the MO output has to be switched to
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
flags – flags specifying when the command has to be executed and which analogue output has to be set
a – value to be set at the analogue output, independent on the real resolution of the hardware, here always a 16
bit value has to be given, means a value of 65535 would correspond to full output voltage of 10V
Return: E1803_OK or an E1803_ERROR_-return code in case of an error
Parameters:
n - the 1-based board instance number as returned by E1803_set_connection()
value – pointer to a variable where the current digital input state has to be written into.
When the function returns an error code instead of E1803_OK, this value is undefined and can't be used.
Parameters:
n - the 1-based board instance number as returned by E1803_set_connection()
value – the expected bitpattern at digital input
mask – specifies which of the input bits and value bits have to be used for comparison
79
related digital output pin is used for "mark in progress" signal.
PLEASE NOTE: here the number (means the count) of one specific output pin has to be given, not a bitpattern
specifying one or more pins!
During operation the selected "mark in progress" pin is HIGH as long as the scanner is moving and/or the laser
is on and/or a delay is processed and when marking parameter are processed between these operations. It
becomes LOW as soon as no more marking data are available and current operation is stopped or when scanner
is waiting for an external trigger signal (ExtStart).
This is not a stream-command, when it is called it is applied to current configuration immediately.
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
value – the number of the digital output to be used for this signal
flags - currently unused, set always to 0 for compatibility
Return: E1803_OK or an E1803_ERROR_-return code in case of an error
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
value – the number of the digital output to be used for this signal
flags – currently unused, set always to 0 for compatibility
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
flags – here pairs of flags a) and b) have to be OR-concatenated with each other to specify how to transmit
the data exactly:
a) E1803_COMMAND_FLAG_UART1 – this flag specifies which UART interface has to be used for
transmitting data, at the moment only one UART interface exists, so only this flag can be set
b) E1803_COMMAND_FLAG_DIRECT – when this flag is combined with the flag from a), data are
transmitted immediately (means as fast as possible and not within the regular stream of data)
b) E1803_COMMAND_FLAG_ASYNC – when this flag is combined with the flag from a), data are
transmitted asynchronously (means as soon as the next package of data is sent to the controller which
80
either is done on E1803_execute() or when enough other data are handed over, on arrival at the
controller these data are sent to the UART interface immediately and not within the regular stream of
data)
sendData – pointer to byte-array which contains the data which have to be sent
in_length – length of the data in sendData
sentLength – pointer to a variable where the amount of data is returned which really has been sent by this
function; when a different return code than E1803_OK is given back, this value is undefined.
Return: E1803_OK or an E1803_ERROR_-return code in case of an error
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
flags – here pairs of flags a) and b) have to be OR-concatenated with each other to specify how to receive the
data exactly:
a) E1803_COMMAND_FLAG_UART1 – this flag specifies which UART interface has to be used for
receiving of data, at the moment only one UART interface exists, so only this flag can be set
b) E1803_COMMAND_FLAG_DIRECT – when this flag is combined with the flag from a), data are
tried to be read immediately, this means the function does not return until some data could be read
from the serial interface or until a timeout occured
b) E1803_COMMAND_FLAG_ASYNC – when this flag is combined with the flag from a), data are
received asynchronously, this means when no data are available on call of the function, it returns
immediately with E1803_OK and setting receivedLength to 0. In such a case the function has to be
called later again in order to receive some data. As soon as some data have arrived, receivedLength
specifies the size of these data on return of the function
recvData – pointer to byte-array where received data have to be stored into, this buffer should have a size of
at least 513 bytes
maxLength – maximum number of bytes the buffer specified by recvData is able to store
receivedLength – pointer to a variable where the amount of data is returned which really has been received
by this function; when a different return code than E1803_OK is given back, this value is undefined.
Return: E1803_OK or an E1803_ERROR_-return code in case of an error
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
value – pointer to a variable where the current digital input state has to be written into.
When the function returns an error code instead of E1803_OK, this value is undefined and can't be used.
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
flags – command flags specifying the type of function call (E1803_COMMAND_FLAG_STREAM or
82
E1803_COMMAND_FLAG_DIRECT) and for which axes the given values have to be applied
(E1803_COMMAND_FLAG_AXIS_0, E1803_COMMAND_FLAG_AXIS_1,
E1803_COMMAND_FLAG_AXIS_2, E1803_COMMAND_FLAG_AXIS_3)
llimit – lower motion limit (in unit mm or degrees)
hlimit – upper motion limit (in unit mm or degrees)
in_slimit – speed limit (in unit mm/sec or degrees/sec)
Return: E1803_OK or an E1803_ERROR_-return code in case of an error
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
flags – command flags specifying the type of function call (E1803_COMMAND_FLAG_STREAM or
E1803_COMMAND_FLAG_DIRECT) and for which axes the given values have to be applied
(E1803_COMMAND_FLAG_AXIS_0, E1803_COMMAND_FLAG_AXIS_1,
E1803_COMMAND_FLAG_AXIS_2, E1803_COMMAND_FLAG_AXIS_3)
accel – acceleration (in unit mm/sec2 or degrees/sec2)
Return: E1803_OK or an E1803_ERROR_-return code in case of an error
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
flags – command flags specifying the type of function call (E1803_COMMAND_FLAG_STREAM or
E1803_COMMAND_FLAG_DIRECT) and for which axes the given values have to be applied
(E1803_COMMAND_FLAG_AXIS_0, E1803_COMMAND_FLAG_AXIS_1,
E1803_COMMAND_FLAG_AXIS_2, E1803_COMMAND_FLAG_AXIS_3)
speed – motion speed (in unit mm/sec or degrees/sec)
Return: E1803_OK or an E1803_ERROR_-return code in case of an error
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
flags – command flags specifying the type of function call (E1803_COMMAND_FLAG_STREAM or
E1803_COMMAND_FLAG_DIRECT) and for which axes the given values have to be applied
(E1803_COMMAND_FLAG_AXIS_0, E1803_COMMAND_FLAG_AXIS_1,
E1803_COMMAND_FLAG_AXIS_2, E1803_COMMAND_FLAG_AXIS_3); the additional flag
E1803_COMMAND_FLAG_DONOTWAIT can be set to perform a movement parallel to other operations,
for details please refer to description of function E1803_motion_stream_wait() below
83
pos0 – absolute motion position for axis 0 (in unit mm or dregrees); this value is used only when flag
E1803_COMMAND_FLAG_AXIS_0 is set
pos1 – absolute motion position for axis 1 (in unit mm or degrees); this value is used only when flag
E1803_COMMAND_FLAG_AXIS_1 is set
pos2 – absolute motion position for axis 2 (in unit mm or degrees); this value is used only when flag
E1803_COMMAND_FLAG_AXIS_2 is set
pos3 – absolute motion position for axis 3 (in unit mm or degrees); this value is used only when flag
E1803_COMMAND_FLAG_AXIS_3 is set
Return: E1803_OK or an E1803_ERROR_-return code in case of an error
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
flags – command flags specifying the type of function call (E1803_COMMAND_FLAG_STREAM or
E1803_COMMAND_FLAG_DIRECT) and for which axes the given values have to be applied
(E1803_COMMAND_FLAG_AXIS_0, E1803_COMMAND_FLAG_AXIS_1,
E1803_COMMAND_FLAG_AXIS_2, E1803_COMMAND_FLAG_AXIS_3); the additional flag
E1803_COMMAND_FLAG_DONOTWAIT can be set to perform a movement parallel to other operations,
for details please refer to description of function E1803_motion_stream_wait() below
pos0 – change the motion position for axis 0 (in unit mm or degrees) by the value given here; this value is used
only when flag E1803_COMMAND_FLAG_AXIS_0 is set
pos1 – change the motion position for axis 1 (in unit mm or degrees) by the value given here; this value is used
only when flag E1803_COMMAND_FLAG_AXIS_1 is set
pos2 – change the motion position for axis 2 (in unit mm or degrees) by the value given here; this value is used
only when flag E1803_COMMAND_FLAG_AXIS_2 is set
pos3 – change the motion position for axis 3 (in unit mm or degrees) by the value given here; this value is used
only when flag E1803_COMMAND_FLAG_AXIS_3 is set
Return: E1803_OK or an E1803_ERROR_-return code in case of an error
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
Return: E1803_OK or an E1803_ERROR_-return code in case of an error
84
int E1803_motion_stop(const unsigned char n)
Stop a currently running motion operation immediately. Since axes always perform a combined
movement where all axes start and stop at the same time, the stop function always affects all axes which are
moving. When E1803_stop_execution() is called instead, not only axis movements but also all other operations
are stopped.
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
Return: E1803_OK or an E1803_ERROR_-return code in case of an error
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
axisNum – the number of the axis (but not the axis-flags!) in range 0..3 where the current position has to be
retrieved for
pos – pointer to a variable where the current position (in unit mm) of the axis with the number specified in
axisNum has to be stored into; when the function does not return E1803_OK, this value is undefined
and can't be used
Return: E1803_OK or an E1803_ERROR_-return code in case of an error
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
flags – command flags specifying the type of function call (E1803_COMMAND_FLAG_STREAM or
E1803_COMMAND_FLAG_DIRECT) and for which axes the given values have to be applied
(E1803_COMMAND_FLAG_AXIS_0, E1803_COMMAND_FLAG_AXIS_1,
E1803_COMMAND_FLAG_AXIS_2, E1803_COMMAND_FLAG_AXIS_3)
mode – specifies how referencing has to be done exactly, here a bunch of OR-concatenated flags can be handed
over: one of the flags E1803_MOTION_REFSTEP_N (to search for the reference input in negative
direction) or E1803_MOTION_REFSTEP_P (to search for the reference input in positive direction)
which optionally can be combined with flag E1803_MOTION_REFSTEP_INV_SWITCH to have
inverted logic on the reference input
leaveDist – distance (in unit mm or degrees) to move off the reference switch after the switch was found for
the first time
speedStep0 – referencing speed (in unit mm/sec or degrees/sec) to find the reference switch for the first time
(this value can be larger than speedStep1 but should be small enough to not to overrun the switch)
speedStep1 – referencing speed (in unit mm/sec or degrees/sec) to find the reference switch for the second
time (this value should be smaller than speedStep0 and is responsible for the accuracy of the
referenced position)
Return: E1803_OK or an E1803_ERROR_-return code in case of an error
85
int E1803_motion_set_pos(const unsigned char n,const unsigned int flags,const
double pos)
This function does not cause any movement but resets the current axis position(s) to a new value. It can
be used e.g. after successful referencing to set the initial positions to some own values. All following movement
operations then are done in respect to the position values given here.
n – the 1-based board instance number as returned by E1803_set_connection()
flags – command flags specifying the type of function call (E1803_COMMAND_FLAG_STREAM or
E1803_COMMAND_FLAG_DIRECT) and for which axes the given values have to be applied
(E1803_COMMAND_FLAG_AXIS_0, E1803_COMMAND_FLAG_AXIS_1,
E1803_COMMAND_FLAG_AXIS_2, E1803_COMMAND_FLAG_AXIS_3)
pos – the new position value to be set for the specified axis/axes (in unit mm or degrees)
Return: E1803_OK or an E1803_ERROR_-return code in case of an error
Parameters:
n – the 1-based board instance number as returned by E1803_set_connection()
flags – handling flags specifying the behaviour of this command, when E1803_COMMAND_FLAG_STREAM is
set, it is used as stream command, E1803_COMMAND_FLAG_DIRECT specifies to execute it immediately and
independent on current stream and execution state. Here exactly one of these flags can be used, it is not
allowed to OR-concatenate them. Additionally exactly one of the following flags has to be set to specify which
output need to be used to send the value to, this flag has to be OR-concatenated with one of the previously
described ones:
E1803_COMMAND_FLAG_WRITE_LP8MO – set or unset MO-output of laser connector to a value of 1 or 0
E1803_COMMAND_FLAG_WRITE_LP8LATCH – set or unset latch-output of laser connector to a value of 1 or 0
E1803_COMMAND_FLAG_WRITE_LASERGATE – set or unset LaserGate-output to a value of 1 or 0, this
functions should be used with jump or mark operations only since every switch from jump to mark (or vice
versa) still sets the LaserGate output automatically and therefore would overwrite own values set with this
function
value – the value to be sent to the output specified by flags
Return: E1803_OK or an E1803_ERROR_-return code in case of an error
Since most relevant RTC4 functions are already provided, majority of existing applications should work now
without any further modifications. Due to the completely different concept of E1803D scanner controller,
there are some differences to the original RTC4 programming interface which should be checked in case of
some errors:
• all RTC4 functions that exist as list- and non-list-commands are treated like a list command
• list switch commands are ignored since E1803D does not make use of separated lists internally
• output of already sent marking data is started on calls to n_execute_list(), execute_list(),
n_set_end_of_list() or set_end_of_list()
• some functions are not implemented or always return a default value (please refer below for a list of
not implemented RTC4 functions)
Following functions are specific to RTC4 hardware or do not make sense when E1803D scanner card is used
and therefore aren't supported:
n_load_z_table()
load_z_table()
n_set_defocus_list()
set_defocus_list()
n_set_offset_list()
set_offset_list()
n_laser_on_list()
laser_on_list()
n_set_list_jump()
set_list_jump()
n_set_input_pointer()
set_input_pointer()
n_list_call()
list_call()
n_list_return()
list_return()
n_z_out_list()
z_out_list()
n_timed_jump_abs()
timed_jump_abs()
n_timed_mark_abs()
timed_mark_abs()
n_timed_jump_rel()
timed_jump_rel()
n_timed_mark_rel()
timed_mark_rel()
87
n_set_fly_rot()
set_fly_rot()
n_fly_return()
fly_return()
n_calculate_fly()
calculate_fly()
n_select_cor_table_list()
select_cor_table_list()
n_set_wait()
set_wait()
n_simulate_ext_start()
simulate_ext_start()
n_set_pixel_line()
set_pixel_line()
n_set_pixel()
set_pixel()
n_set_extstartpos_list()
set_extstartpos_list()
n_laser_signal_on_list()
laser_signal_on_list()
n_laser_signal_off_list()
laser_signal_off_list()
n_set_io_cond_list()
set_io_cond_list()
n_clear_io_cond_list()
clear_io_cond_list()
n_list_jump_cond()
list_jump_cond()
n_list_call_cond()
list_call_cond()
n_save_and_restart_timer()
save_and_restart_timer()
n_set_ext_start_delay_list()
set_ext_start_delay_list()
n_set_trigger()
set_trigger()
n_arc_rel()
arc_rel()
n_arc_abs()
arc_abs()
drilling()
regulation()
flyline()
n_get_input_pointer()
get_input_pointer()
n_get_marking_info()
get_marking_info()
n_auto_change_pos()
auto_change_pos()
aut_change()
n_start_loop()
start_loop()
n_quit_loop()
quit_loop()
n_write_da_2()
write_da_2()
n_set_max_counts()
set_max_counts()
n_set_offset()
set_offset()
n_disable_laser()
disable_laser()
n_enable_laser()
88
enable_laser()
n_stop_list()
stop_list()
n_restart_list()
restart_list()
n_get_xyz_pos()
get_xyz_pos()
n_get_xy_pos()
get_xy_pos()
n_select_list()
select_list()
n_z_out()
z_out()
n_laser_signal_on()
laser_signal_on()
n_laser_signal_off()
laser_signal_off()
n_set_delay_mode()
set_delay_mode()
n_set_piso_control()
set_piso_control()
n_select_status()
select_status()
n_get_encoder()
get_encoder()
n_select_cor_table()
select_cor_table()
n_execute_at_pointer()
execute_at_pointer()
n_get_head_status()
get_head_status()
n_simulate_encoder()
simulate_encoder()
n_set_hi()
set_hi()
n_release_wait()
release_wait()
n_get_wait_status()
get_wait_status()
n_set_ext_start_delay()
set_ext_start_delay()
n_home_position()
home_position()
n_set_rot_center()
set_rot_center()
n_read_ad_x()
read_ad_x()
n_read_pixel_ad()
read_pixel_ad()
n_get_z_distance()
get_z_distance()
n_get_time()
get_time()
n_set_defocus()
set_defocus()
n_set_softstart_mode()
set_softstart_mode()
n_set_softstart_level()
set_softstart_level()
n_control_command()
control_command()
load_cor()
load_pro()
89
n_get_serial_number()
get_serial_number()
n_get_serial_number_32()
get_serial_number_32()
get_hi_data()
n_auto_cal()
auto_cal()
n_get_list_space()
get_list_space()
teachin()
n_get_value()
get_value()
set_duty_cycle_table()
n_move_to()
move_to()
getmemory()
n_get_waveform()
get_waveform()
n_measurement_status()
measurement_status()
n_load_varpolydelay()
load_varpolydelay()
n_write_da_2_list()
write_da_2_list()
Since most relevant SCI functions are already provided, majority of existing applications should work now
without any further modifications. Due to the different concept of E1803D scanner controller, there are some
differences to the original SCI programming interface which should be checked in case of troubles:
• all USC1/2 functions/types that exist as stream- and non-stream-variants are treated like a stream
command
• output of already sent marking data is started on call to ScSCIFlush() latest
• some functions are not implemented or always return a default value (please refer below of a list of not
implemented SCI functions)
Following functions are specific to USC1/2 hardware or do not make sense in relation to E1803D scanner card
and therefore aren't supported:
long ScSCISetContinuousMode()
long ScSCIGetContinuousMode()
long ScSCIDevicePixelLine()
long ScSCIRasterPixelLine()
long ScSCIRasterStart()
long ScSCIRasterEnd()
long ScSCIGetDeviceName()
long ScSCIGetDeviceCaps()
long ScSCIGetDeviceData()
long ScSCISetDeviceData()
long ScSCIGetExternalTrigger()
90
long ScSCISetExternalTriggerCount()
long ScSCIGetExternalTriggerCount()
long ScSCISetEnableHead()
long ScSCIGetEnableHead()
long ScSCISetZField()
long ScSCIGetZField()
long ScSCIGetZGain()
long ScSCISetZGain()
long ScSCIGetHomePosition()
long ScSCIGetZHomePosition()
long ScSCISetHomePosition()
long ScSCISetZHomePosition()
long ScSCIGetZOffset()
long ScSCISetZOffset()
long ScSCISetZWorkingArea()
long ScSCIGetZWorkingArea()
long ScSCIGetHomeJump()
long ScSCISetHomeJump()
long ScSCIMaxExternalTriggerCount()
long ScSCIResetExternalTriggerCount()
long ScSCISetDeviceEnableFlags()
long ScSCIGetDeviceEnableFlags()
long ScSCIGetDevicePath()
long ScSCISetDeviceMiscValueD()
long ScSCIGetDeviceMiscValueD()
long ScSCISetHeadCount()
long ScSCIStreamInfo()
long ScSCIGetSpeed()
long ScSCISetSpeed()
long ScSCIGetStyleSet()
long ScSCISetStyleSet()
long ScSCISetLoopMode()
long ScSCIGetLoopMode()
long ScSCISetLoop()
long ScSCIGetLoop()
long ScSCISetMessageWindow()
long ScSCISetAxisState()
long ScSCIGetAxisState()
long ScSCISaveSettings()
long ScSCILoadSettings()
long ScSCIEditSettings()
long ScSCIUpdateDeviceStyle()
long ScSCIGetInterfaceVersion()
long ScSCIGetDebugMode()
long ScSCISetDebugMode()
long ScSCIGetIdentString()
long ScSCIGetDeviceMapLaserPort()
long ScSCISetDeviceMapLaserPort()
long ScSCIGetUSCInfoLong()
91
APPENDIX A – Wiring between E1803D and IPG YLP Series
Type B, B1 and B2 fiber laser
PLEASE NOTE: this wiring scheme is a non-binding policy, it may be incorrect due to changes in connected
hardware. So in every case please check this table against specification and wiring documentation of the used
laser!
*) may require additional power driver since some laser variants consume a current at this input which is higher
than the maximum output allowed
In this wiring-scheme no GND-connections are listed, they have to be added in order to get valid and working
connections.
92
APPENDIX B – Wiring between E1803D and IPG YLP Series
Type E fiber laser
PLEASE NOTE: this wiring scheme is a non-binding policy, it may be incorrect due to changes in connected
hardware. So in every case please check this table against specification and wiring documentation of the used
laser!
Variant using E1803D with support for APD index setting via DB-25 serial data interface
Alarm,
Pin 4, 6, 8, 10, 12, 14, 16 or 18 Pin 16
one of DIn0..DIn7
Alarm,
Pin 4, 6, 8, 10, 12, 14, 16 or 18 Pin 21
one of DIn0..DIn7
Pilot Laser,
one of DOut0, Digital interface connector
Pin 3, 5, 13, 15 or 17 Pin 22 1)
DOut1,
DOut5..DOut7
Serial Enable Pin 7 Pin 24 2)
Serial Clock Pin 9 Pin 13 2)
Serial Data Pin 11 Pin 10 2)
1
) may require additional power driver since some laser variants consume a current at this input which is higher
than the maximum output allowed
2
) serial data transmission requires firmware version 2 or newer
In this wiring-scheme no GND-connections are listed, they have to be added in order to get valid and working
connections.
93
APPENDIX C – Wiring between E1803 and IPG YLR Series
laser
PLEASE NOTE: this wiring scheme is a non-binding policy, it may be incorrect due to changes in connected
hardware. So in every case please check this table against specification and wiring documentation of the used
laser!
Pilot Laser,
one of Digital interface connector Pin 3, 5, 7, 9, 11, 13, 15 or 17 Pin 17
DOut0..DOut7
In this wiring-scheme no GND-connections are listed, they have to be added in order to get valid and working
connections.
94
APPENDIX D – Wiring between E1803 and IPG YLM Series
laser
PLEASE NOTE: this wiring scheme is a non-binding policy, it may be incorrect due to changes in connected
hardware. So in every case please check this table against specification and wiring documentation of the used
laser!
Pilot Laser,
one of Pin 3, 5, 7, 9, 11, 13, 15 or 17 Pin 21
DOut0..DOut7 Digital interface connector
Laser ready,
Pin 4, 6, 8 ,10, 12, 14, 16 or 18 Pin 19
one of DIn0..DIn7
In this wiring-scheme no GND-connections are listed, they have to be added in order to get valid and working
connections.
95
APPENDIX E – Wiring between E1803D and JPT YDFLP
series fiber laser (“MOPA”) or IPG YLP Series Type D fiber
laser
PLEASE NOTE: this wiring scheme is a non-binding policy, it may be incorrect due to changes in connected
hardware. So in every case please check this table against specification and wiring documentation of the used
laser!
In this wiring-scheme no GND-connections are listed, they have to be added in order to get valid and working
connections.
96
APPENDIX F – Wiring between E1803D and SPI G4 Pulsed
Fibre Laser series
PLEASE NOTE: this wiring scheme is a non-binding policy, it may be incorrect due to changes in connected
hardware. So in every case please check this table against specification and wiring documentation of the used
laser!
In these wiring-schemes no GND-connections are listed, they have to be added in order to get valid and
working connections.
97
APPENDIX G – Wiring between E1803D and Raycus fiber
laser
PLEASE NOTE: this wiring scheme is a non-binding policy, it may be incorrect due to changes in connected
hardware. So in every case please check this table against specification and wiring documentation of the used
laser!
In this wiring-scheme no GND-connections are listed, they have to be added in order to get valid and working
connections.
98
APPENDIX H – XY2-100 protocol description
The data submitted at 26 pin or D-SUB25 connector of E1803D are conform to XY2-100 specification:
CLK+
SYNC+
In standard 16 bit operating mode first three bits are set to 001, then 16 bit position data followed by a parity
bit (even parity) are transmitted:
19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 1 D15..D0 position data Pe
In enhanced XY2-100-E 18 bit operating mode first bit is set to 1, then 18 bit position data followed by a parity
bit (odd parity) are transmitted:
19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 D17..D0 position data Po
To use this mode, the related tune-value has to be set in configuration file (please refer to section “6.5 microSD-
Card”)
99
APPENDIX I – IDC connector pin numbering
Pin numbering of the IDC connectors (according to pinout-tables shown in hardware description sections
above) can be seen in below image:
The first pin is marked by a small arrow in connector. Second pin is below of it, counting continues column-wise.
100
APPENDIX J – Mechanical Dimensions
Mechanical dimensions, positions of connectors and holes, all units are given in mm:
101
Index
2
2D marking on-the-fly.................................................................................................................................................................................25
A
Alive.............................................................................................................................................................................................................14, 41
auto......................................................................................................................................................................................................................29
autofile...............................................................................................................................................................................................................16
B
barcode..............................................................................................................................................................................................................28
barcodes............................................................................................................................................................................................................45
bco,.......................................................................................................................................................................................................................16
BeamConstruct................................................................................................................................................................................10, 28, 41
bitmap.................................................................................................................................................................................................................73
bitmap lines......................................................................................................................................................................................................73
C
cdser....................................................................................................................................................................................................................46
cdtl0.............................................................................................................................................................................................................34, 47
cdtl1.............................................................................................................................................................................................................34, 47
cecho...................................................................................................................................................................................................................42
cftim.....................................................................................................................................................................................................................46
cgana...................................................................................................................................................................................................................43
cgbsr....................................................................................................................................................................................................................43
cginp....................................................................................................................................................................................................................42
cglog.....................................................................................................................................................................................................................42
cgser....................................................................................................................................................................................................................45
cgsta.....................................................................................................................................................................................................................47
cgtim....................................................................................................................................................................................................................46
cgtin.....................................................................................................................................................................................................................44
cgtxt.....................................................................................................................................................................................................................45
chalt.....................................................................................................................................................................................................................43
ciser......................................................................................................................................................................................................................45
cjsor.....................................................................................................................................................................................................................43
clepr.....................................................................................................................................................................................................................44
CLK........................................................................................................................................................................................................20p., 35p.
cmsor...................................................................................................................................................................................................................43
CNC.....................................................................................................................................................................................................................44
CO2..............................................................................................................................................................................................................21, 69
commands.........................................................................................................................................................................................................42
configuration.....................................................................................................................................................................................16, 29, 32
continuously running frequency..............................................................................................................................................................70
control commands.........................................................................................................................................................................................42
correction table..............................................................................................................................................................................................16
corrtable0.........................................................................................................................................................................................................16
cpwor..................................................................................................................................................................................................................43
crlbf..............................................................................................................................................................................................................30, 45
crrrr......................................................................................................................................................................................................................47
crser.....................................................................................................................................................................................................................46
crtim....................................................................................................................................................................................................................46
cscnc....................................................................................................................................................................................................................44
csout....................................................................................................................................................................................................................42
csser.....................................................................................................................................................................................................................45
cssta.....................................................................................................................................................................................................................47
cstat.....................................................................................................................................................................................................................44
cstdy....................................................................................................................................................................................................................46
csthr.....................................................................................................................................................................................................................47
cstim....................................................................................................................................................................................................................46
102
cstmi....................................................................................................................................................................................................................47
cstmo...................................................................................................................................................................................................................46
cstop....................................................................................................................................................................................................................43
cstrt......................................................................................................................................................................................................................44
cstsc.....................................................................................................................................................................................................................47
cstxt.....................................................................................................................................................................................................................45
cstyr.....................................................................................................................................................................................................................46
ct5.........................................................................................................................................................................................................................16
ctb.........................................................................................................................................................................................................................16
ctrig......................................................................................................................................................................................................................44
current............................................................................................................................................................................................................38p.
cvers....................................................................................................................................................................................................................42
D
DataMatrix............................................................................................................................................................................................28, 45p.
digiinit.................................................................................................................................................................................................................17
digimask.............................................................................................................................................................................................................17
Digital Interface......................................................................................................................................................................................11, 23
DIn........................................................................................................................................................................................................................23
Dot.......................................................................................................................................................................................................................33
dot marker.................................................................................................................................................................................................15, 32
dot marking......................................................................................................................................................................................................20
dot mode.................................................................................................................................................................................................33p., 47
dot peen.............................................................................................................................................................................................................32
dotdist.................................................................................................................................................................................................................32
dotfont0.............................................................................................................................................................................................................32
dotfont1.....................................................................................................................................................................................................32, 34
dotfont1y...........................................................................................................................................................................................................32
dotmark......................................................................................................................................................................................................29, 32
dottime...............................................................................................................................................................................................................33
DOut................................................................................................................................................................................................................23p.
Download new firmware............................................................................................................................................................................53
E
E1803_ana_read.............................................................................................................................................................................................65
E1803_ana_read()..........................................................................................................................................................................................81
E1803_ana_write...........................................................................................................................................................................................77
E1803_close.....................................................................................................................................................................................................61
E1803_COMMAND_FLAG_ASYNC...................................................................................................................................................80p.
E1803_COMMAND_FLAG_DIRECT.......................................................................................................................................70, 80pp.
E1803_COMMAND_FLAG_DONOTWAIT........................................................................................................................................84
E1803_COMMAND_FLAG_HEAD_STATE_RAW.............................................................................................................................75
E1803_COMMAND_FLAG_SCANNER_VAR_POLYDELAY.........................................................................................................68
E1803_COMMAND_FLAG_STREAM.............................................................................................................................70, 78, 82, 84
E1803_COMMAND_FLAG_UART1...................................................................................................................................................80p.
E1803_CSTATE_MARKING.......................................................................................................................................................................64
E1803_CSTATE_MARKING|E1803_CSTATE_PROCESSING......................................................................................................64
E1803_CSTATE_PROCESSING................................................................................................................................................................64
E1803_CSTATE_WRITING_DATA..........................................................................................................................................................54
E1803_CSTATE_WRITING_DATA_ERROR.........................................................................................................................................54
E1803_delay.....................................................................................................................................................................................................64
E1803_digi_pulse()........................................................................................................................................................................................78
E1803_digi_read2..........................................................................................................................................................................................78
E1803_digi_set_mip_output......................................................................................................................................................................79
E1803_digi_set_mip_output()....................................................................................................................................................................17
E1803_digi_set_motf....................................................................................................................................................................................78
E1803_digi_set_wet_output......................................................................................................................................................................80
E1803_digi_set_wet_output()...................................................................................................................................................................17
E1803_digi_wait.............................................................................................................................................................................................78
E1803_digi_wait_motf.................................................................................................................................................................................79
103
E1803_digi_write...........................................................................................................................................................................................77
E1803_ERROR_FILENAME.......................................................................................................................................................................87
E1803_ERROR_FILEOPEN........................................................................................................................................................................86
E1803_ERROR_FILEWRITE......................................................................................................................................................................86
E1803_ERROR_INVALID_CARD............................................................................................................................................................86
E1803_ERROR_INVALID_DATA..............................................................................................................................................................86
E1803_ERROR_NO_CONNECTION.....................................................................................................................................................86
E1803_ERROR_NO_MEMORY................................................................................................................................................................86
E1803_ERROR_TRANSMISSION...........................................................................................................................................................86
E1803_ERROR_UNKNOWN_BOARD..................................................................................................................................................87
E1803_ERROR_UNKNOWN_FW...........................................................................................................................................................86
E1803_execute........................................................................................................................................................................................60, 62
E1803_ext_digi_write()................................................................................................................................................................................81
E1803_get_card_state2...............................................................................................................................................................................64
E1803_get_free_space.................................................................................................................................................................................64
E1803_get_head_state.................................................................................................................................................................................74
E1803_get_library_version........................................................................................................................................................................65
E1803_get_startstop_state........................................................................................................................................................................63
E1803_get_sync().......................................................................................................................................................................................61p.
E1803_get_version........................................................................................................................................................................................65
E1803_halt_execution..................................................................................................................................................................................62
E1803_jump_abs............................................................................................................................................................................................71
E1803_LASERMODE_IPG.........................................................................................................................................................................58
E1803_LASERMODE_YAG........................................................................................................................................................................58
E1803_load_correction...............................................................................................................................................................................66
E1803_lp8_write............................................................................................................................................................................................76
E1803_lp8_write_latch................................................................................................................................................................................76
E1803_lp8_write_mo....................................................................................................................................................................................77
E1803_mark_abs............................................................................................................................................................................................71
E1803_mark_pixelline..................................................................................................................................................................................73
E1803_motion_get_pos()............................................................................................................................................................................85
E1803_motion_move_abs()....................................................................................................................................................................83p.
E1803_motion_move_rel().........................................................................................................................................................................84
E1803_motion_reference()........................................................................................................................................................................85
E1803_MOTION_REFSTEP_INV_SWITCH........................................................................................................................................85
E1803_MOTION_REFSTEP_N.................................................................................................................................................................85
E1803_MOTION_REFSTEP_P..................................................................................................................................................................85
E1803_motion_set_accel().........................................................................................................................................................................83
E1803_motion_set_limits().........................................................................................................................................................................82
E1803_motion_set_pos().............................................................................................................................................................................86
E1803_motion_set_speed()........................................................................................................................................................................83
E1803_motion_stop()...................................................................................................................................................................................85
E1803_motion_stream_wait()...............................................................................................................................................................83p.
E1803_release_trigger_point............................................................................................................................................................60, 63
E1803_set_connection................................................................................................................................................................................60
E1803_set_debug_logfile............................................................................................................................................................................61
E1803_set_fpk.........................................................................................................................................................................................69, 76
E1803_set_laser.............................................................................................................................................................................................70
E1803_set_laser_delays..............................................................................................................................................................................68
E1803_set_laser_mode................................................................................................................................................................................69
E1803_set_laser_timing..............................................................................................................................................................................75
E1803_set_laserb...................................................................................................................................................................................70, 75
E1803_set_matrix..........................................................................................................................................................................................74
E1803_set_matrix().......................................................................................................................................................................................66
E1803_set_password....................................................................................................................................................................................61
E1803_set_pixelmode..................................................................................................................................................................................72
E1803_set_pos................................................................................................................................................................................................72
E1803_set_scanner_delays........................................................................................................................................................................68
E1803_set_speeds.........................................................................................................................................................................................68
E1803_set_standby...............................................................................................................................................................................70, 75
104
E1803_set_sync()........................................................................................................................................................................................61p.
E1803_set_trigger_point.....................................................................................................................................................................60, 63
E1803_set_wobble........................................................................................................................................................................................70
E1803_set_xy_correction...........................................................................................................................................................................66
E1803_set_xy_correction().................................................................................................................................................................66, 74
E1803_set_z_correction..............................................................................................................................................................................67
E1803_set_z_correction()...........................................................................................................................................................................67
E1803_stop_execution.................................................................................................................................................................................62
E1803_switch_correction...........................................................................................................................................................................66
E1803_uart_read............................................................................................................................................................................................81
E1803_uart_write..........................................................................................................................................................................................80
E1803_write.....................................................................................................................................................................................................86
electrostatic sensitive device......................................................................................................................................................................8
encoder..............................................................................................................................................................................................................25
EPR...............................................................................................................................................................................................................28, 44
Error.............................................................................................................................................................................................................14, 41
ESD.........................................................................................................................................................................................................................8
eth.........................................................................................................................................................................................................................19
Ethernet.........................................................................................................................................................................10pp., 16, 19, 42, 60
extension connector.....................................................................................................................................................................................26
ExtStart.....................................................................................................................................................................22, 33p., 44, 47, 63, 80
ExtStop.........................................................................................................................................................................................22, 33, 44, 47
F
fiber......................................................................................................................................................................................................................21
fiber laser............................................................................................................................................................................................22, 92, 96
fiber-laser..........................................................................................................................................................................................................70
firmware.............................................................................................................................................................................................15, 20, 65
font.......................................................................................................................................................................................................................28
fonts.............................................................................................................................................................................................................15, 32
FPK.......................................................................................................................................................................................................................69
G
G-Code...............................................................................................................................................................................................................44
G0.........................................................................................................................................................................................................................58
G1.........................................................................................................................................................................................................................58
G70...................................................................................................................................................................................................................58p.
G71...................................................................................................................................................................................................................58p.
galvos...........................................................................................................................................................................................................20, 36
gateway......................................................................................................................................................................................................19, 46
gcd........................................................................................................................................................................................................................16
GNDext..............................................................................................................................................................................................................23
gw0.......................................................................................................................................................................................................................19
H
haltedloop..................................................................................................................................................................................................29, 31
homing.........................................................................................................................................................................................................40, 85
I
in-polygon delay.............................................................................................................................................................................................69
Intelli-IO Extension Board..................................................................................................................................................................37, 81
iobuff....................................................................................................................................................................................................17, 30, 45
iohaltedloop..............................................................................................................................................................................................29, 31
ioselect.............................................................................................................................................................................................17, 29p., 45
IP.........................................................................................................................................................................................................11p., 16, 61
ip0.........................................................................................................................................................................................................................16
IPG................................................................................................................................................................................................................21, 92
IPG YLM.............................................................................................................................................................................................................95
IPG YLP.......................................................................................................................................................................................................93, 96
IPG YLR..............................................................................................................................................................................................................94
J
105
JPT YDFLP........................................................................................................................................................................................................96
jump.....................................................................................................................................................................................................................71
jump delay..................................................................................................................................................................................................69, 71
jump speed........................................................................................................................................................................................................71
jumpspeed.........................................................................................................................................................................................................68
L
laser off delay...........................................................................................................................................................................................68, 71
laser on delay............................................................................................................................................................................................68, 71
Laser Signals.............................................................................................................................................................................................11, 21
LaserA.........................................................................................................................................................................................................22, 69
LaserB..........................................................................................................................................................................................................22, 69
LaserGate....................................................................................................................................................................................15, 22, 43, 86
lasers...................................................................................................................................................................................................................21
latch..............................................................................................................................................................................................................22, 86
LED.......................................................................................................................................................................................................................14
libslrtc4.so.........................................................................................................................................................................................................87
Linux....................................................................................................................................................................................................................12
loop......................................................................................................................................................................................................................29
LP8.......................................................................................................................................................................................................................22
M
M2........................................................................................................................................................................................................................44
M704...................................................................................................................................................................................................................56
M705...................................................................................................................................................................................................................58
M707...................................................................................................................................................................................................................58
M709...........................................................................................................................................................................................................56, 58
M715...................................................................................................................................................................................................................58
M718...................................................................................................................................................................................................................58
mark.....................................................................................................................................................................................................................71
mark delay.................................................................................................................................................................................................69, 71
mark speed.......................................................................................................................................................................................................71
Marking Active................................................................................................................................................................................................15
marking data....................................................................................................................................................................................................48
marking in progress.......................................................................................................................................................................................79
marking on-the-fly.....................................................................................................................................................................................24p.
markspeed........................................................................................................................................................................................................68
Master Oscillator....................................................................................................................................................................................15, 22
matrix laser...............................................................................................................................................................................................20, 32
matrix marking................................................................................................................................................................................................32
matrix printing................................................................................................................................................................................................32
microSD.......................................................................................................................................................................................11, 15, 28, 41
microUSB..........................................................................................................................................................................................................13
mipout.................................................................................................................................................................................................................17
MO................................................................................................................................................................................................................22, 86
MOPA.................................................................................................................................................................................................................96
Motion Extension Board.....................................................................................................................................................................39, 82
Multi-IO Extension Board..........................................................................................................................................................................37
N
netmask......................................................................................................................................................................................................19, 46
nm0......................................................................................................................................................................................................................19
O
open collector..................................................................................................................................................................................................23
opto-insulated..........................................................................................................................................................................................23, 26
P
passwd................................................................................................................................................................................................................16
pixel line.............................................................................................................................................................................................................72
polydelay...........................................................................................................................................................................................................69
position encoder.............................................................................................................................................................................................24
106
power driver.....................................................................................................................................................................................................39
power supply.................................................................................................................................................................................11, 14, 20p.
PRO license...............................................................................................................................................................................................10, 13
programming interface................................................................................................................................................................................60
PWM...................................................................................................................................................................................................................69
Q
Q-Switch............................................................................................................................................................................................................69
QR.............................................................................................................................................................................................................28, 45p.
Quick Start........................................................................................................................................................................................................41
R
Raycus.................................................................................................................................................................................................................98
reboot.................................................................................................................................................................................................................47
reference...........................................................................................................................................................................................................40
referencing.......................................................................................................................................................................................................85
RJ45.....................................................................................................................................................................................................................11
rotation..............................................................................................................................................................................................................74
RS232...............................................................................................................................................................................................17, 26, 35p.
RS485...............................................................................................................................................................................................17, 26, 35p.
RTC4....................................................................................................................................................................................................................87
RTC4DLL.dll.....................................................................................................................................................................................................87
RX0.......................................................................................................................................................................................................................26
RX0-.....................................................................................................................................................................................................................26
RX0+....................................................................................................................................................................................................................26
RX1.......................................................................................................................................................................................................................35
RX1-.....................................................................................................................................................................................................................35
RX1+....................................................................................................................................................................................................................35
S
sc_optic.dll.........................................................................................................................................................................................................90
scaling.................................................................................................................................................................................................................74
scanhead..................................................................................................................................................................................14, 20p., 36, 74
scanner movement........................................................................................................................................................................................68
Scanner Signals........................................................................................................................................................................................11, 20
scanner speed..................................................................................................................................................................................................68
SCI........................................................................................................................................................................................................................90
serial interface..........................................................................................................................................................................11, 17, 26, 60
serial number...................................................................................................................................................................................................45
SNTP....................................................................................................................................................................................................................46
SNTP time server...........................................................................................................................................................................................19
sntp0....................................................................................................................................................................................................................19
sntp0offset.......................................................................................................................................................................................................19
SPI.................................................................................................................................................................................................................21, 97
stand-alone........................................................................................................................................................................................28, 32, 43
standalone..........................................................................................................................................................................................16, 29, 32
STATUS....................................................................................................................................................................................................20p., 74
step/direction..................................................................................................................................................................................................39
stepper motor..................................................................................................................................................................................................39
SYNC....................................................................................................................................................................................................20p., 35p.
T
T1..........................................................................................................................................................................................................................58
Telnet...................................................................................................................................................................................................................42
time......................................................................................................................................................................................................................46
tune..............................................................................................................................................................................................................18, 34
TX0.......................................................................................................................................................................................................................26
TX0-.....................................................................................................................................................................................................................26
TX0+....................................................................................................................................................................................................................26
TX1.......................................................................................................................................................................................................................35
TX1-.....................................................................................................................................................................................................................35
107
TX1+....................................................................................................................................................................................................................35
txt..........................................................................................................................................................................................................................16
Type B..................................................................................................................................................................................................................92
Type D.................................................................................................................................................................................................................96
Type E..................................................................................................................................................................................................................93
U
u0bits..................................................................................................................................................................................................................17
u0brate...............................................................................................................................................................................................................17
u0parity..............................................................................................................................................................................................................17
u1bits..................................................................................................................................................................................................................17
u1brate...............................................................................................................................................................................................................17
u1parity..............................................................................................................................................................................................................17
UART0................................................................................................................................................................................................................26
UART1.............................................................................................................................................................................................................35p.
ucf.........................................................................................................................................................................................................................16
USB.....................................................................................................................................................................................10p., 13, 19, 41, 60
USC1...................................................................................................................................................................................................................90
USC2...................................................................................................................................................................................................................90
User LED............................................................................................................................................................................................................11
V
Vext......................................................................................................................................................................................................................23
W
waiting for external trigger........................................................................................................................................................................80
waveform...........................................................................................................................................................................................................22
wetout................................................................................................................................................................................................................17
Windows............................................................................................................................................................................................................12
X
X..............................................................................................................................................................................................................20p., 35p.
xml........................................................................................................................................................................................................................16
XY2-100.....................................................................................................................................................................................................74, 99
XY2-100-E........................................................................................................................................................................................................99
Y
Y..............................................................................................................................................................................................................20p., 35p.
YAG...............................................................................................................................................................................................................21, 69
Z
Z.........................................................................................................................................................................................................................20p.
.
.bco.......................................................................................................................................................................................................................66
.ct5........................................................................................................................................................................................................................66
.ctb........................................................................................................................................................................................................................66
.gcd.......................................................................................................................................................................................................................66
.txt........................................................................................................................................................................................................................66
.ucf........................................................................................................................................................................................................................66
.xml.......................................................................................................................................................................................................................66
108