Icon Interface Software System Guide TE-En-C-1151-C1
Icon Interface Software System Guide TE-En-C-1151-C1
Introduction 3
Software Installation 3
Main Application Window 5
Loading Templates 6
Laser Marking 8
Programmable Z Axis Movement Commands 8
Editing Template Data 9
Add Text Boundary 10
Load Template with Scanner 11
Editing Template Data with Scanner 11
Scanner Simple Mark Mode 12
Scanner Commands 13
Setting Mark Quantity 13
Adding Items to Queue 14
Global IDs 15
Tree Browse Templates 18
Access Control 19
Settings 20
General 20
Theme 21
Imports 22
Axis 23
Card I/O 23
Message Log 24
Log File 25
Icon Interface Version 26
SQL Server 27
TCP/IP Interface 28
Python Code Example 31
Configuration File 32
Contact Information 35
This document contains information covered by copyright. Any information contained in this manual may be subject to
change without prior notice. All product or program names mentioned in this document are registered trademarks owned
by the respective companies.
All information and contents in this document are property of Tykma™ Electrox Inc. and cannot be shown, distributed,
modified and/or reproduced through electronic, mechanical or any other way, without written consent from Tykma™
Electrox Inc.
Introduction
ICON Interface is integrated with Minilase Pro SE software to perform basic functions in controlling laser marking.
Minilase Pro SE software is used to develop project files with in depth configuration settings and functions. ICON
Interface provides a user-friendly GUI for operators to load and mark projects that were created in Minilase Pro SE.
ICON Interface templates import Minilase Pro SE project file (*.pse) information for preview and marking. ICON
Interface templates do not modify the original Minilase Pro SE project files. However, data such as text and numeric
values can be edited within a loaded template session.
ICON Interface is ideal for automated processes that includes the use of scanning devices. This manual provides
instructions in the use of scanner data input. This manual also includes technical information for administrators in the
configuration of various settings, the use of a TCP/IP interface, log files and other tools within ICON Interface.
Contact TykmaTM Electrox (1-740-474-9981) technical support for further instructions if needed.
Software Installation
System requirements for the ICON Interface software is a Windows PC with minimum 1 GHZ CPU and 2 GB RAM.
ICON Interface is supported by Windows 7, 8 and 10. USB port for laser connection, Ethernet port required for
TCP/IP interface and pre-loaded Minilase Pro SE project file(s).
Step 1: Locate the ICON Interface installer file and double click.
Software Installation
Loading Templates
ICON Interface searches for project files created with Minilase Pro SE by default inside the “My Documents” folder. To
change the folder location, Engineer Access is required (password protected). Contact TykmaTM Electrox for
password. To change folder location, go to Settings and modify the Project Folder path.
Loading Templates
Template buttons will appear listed when the project files are located according to Project Folder settings.
To load a template, click button in the Template List. A preview of the mark will appear in the preview screen.
A template can also be loaded by entering the name of the template in the Scanner Input field.
Laser Marking
***CAUTION***
Follow all prescribed safety requirements in operating any laser marking system
Note: Limits does not work until the Z Axis has been moved to the
Proper Position for Trace/Mark
Before template data values can be edited, the object must have a name ID assigned to that object within Minilase Pro
SE. The Edit button will not appear In ICON Interface if the object does not have a name ID assigned.
To temporarily edit the value of a loaded template’s object, click the Edit button.
Click on the Value field of the object and modify.
1. In Minilase Pro SE, create a Text Object and name it (ex: TEXT1)
2. Create a rectangle around that Text Object which defines the bounds beyond which the text object should not grow.
3. Name the boundary you created "BOUNDARY:TEXT1"
4. This tells the software that TEXT1 should grow to that boundary
5. When running Icon Interface, the object is automatically scaled to fit within the boundary while maintaining aspect
ratio.
Note: To avoid marking the boundary, turn off Pen marking parameters assigned to the boundary.
Example
Enable Simple Mark Mode in Config file :
Entering “*1234* in the scanner field will change Serial ID value to “1234”
Entering “5678” (without “*” prefix or suffix) in the scanner field will change Serial2 ID value to “5678”
Scanner Commands
Various scanner commands can be entered to perform other marking operations. The following list of commands can
be entered in the Scanner Field. These include many of the same commands set to available buttons and settings.
Command Operation
!start Start the marking cycle
!clear Clear the loaded template
!limits Start/Stop the limits.
!qty_up Increase quantity (when counter enabled).
!qty_down Decrease quantity (when counter disabled).
!edit Bring up the "Edit data" screen
!joblist Bring up the "job list" screen.
!homez Home the "Z" axis.
!homer Home the "R" axis.
Highlight and press Skip to skip template in Queue. Highlight and press Run to place template back in queue.
To repeat a template in the queue, append the template name with the “|” symbol, followed by a numeric value.
Example: Entering “SerialNum|10” in the scanning field places ten instances of this job in queue.
Global IDs
Global IDs are global in scope. When a project is loaded that contains an ID with the same name as a Global ID, its
value will be replaced with the Global ID's value. Both counters and strings can serve as Global Ids.
Global IDs
Add Counter Global ID (continued)
Global IDs
Add String Global ID
Tree Browse
Tree browse lists templates in an alphabetical folder tree format. When there are large numbers of templates to list, it
may be easier to view and select templates when they are listed in a tree folder layout. To enable the Tree Browse
layout option the value of the TREE_JOB_LIST key in the Config.xml file must be set to “True”.
Click on the folder icon that appears in the lower left-hand corner of the ICON Interface screen.
Access Control
Enabling Access
There are two access modes in the icon interface: "Operator" and
"Engineer. Access Control may be enabled in either mode. However,
once disabled in Operator mode, ICON Interface must run in Engineer
mode to re-enable Access Control.
To login in Engineer mode, select “Access” from the Menu and click on
“Engineer”. Engineer mode is password protected. Enter “89562”
2) Select General.
4) Click Save.
Settings
General Settings
General settings allows for editing of folder locations for several different system files and includes options to
enable/disable functions such as tracing, instructions window display, opening of last loaded job on startup, and
access control to settings.
Instructions Window
Install Folder Minilase Pro SE install location: C:\Program Files (x86)\Minilase Pro SE\
Project Folder Location ICON Interface searches for projects to load
Images Folder Location ICON Interface searches for default image to display error and instructional messages
RTF Folder Location ICON Interface searches for default text to display in Instruction window
Pervasive Limits Enabled, tracing is turned on any time a project is loaded
Instructions Enable Instructions window to display when project is loaded
Load Last Job Last project loaded will load on ICON Interface opening
Access Control Enable Operator/Engineer control modes
New Password Set new password log in Engineer mode
Settings
Theme
Theme settings provides options to change the look and layout of the ICON Interface GUI. You can change the
background, font and status bar color. There is also an option to use an image for your background. Language
settings can be changed, use of full screen mode and ability to hide the list of templates/jobs.
Settings
Imports
Icon Interface can be configured to retrieve data from a Comma Separated Value (CSV) or Text (TXT) file. With File
Import Enabled, ICON Interface searches the file location path for a CSV or Txt file.
Import Paths
File Location Location of CSV or TXT import file
Completed File Location of completed marked files
Error Path Location of files when error occurs. NoMark log is created on error
Configuration
File Poll Rate Set how often File Location is searched for changes
Wait to Read Delay between finding a file and reading it
Job Load Mode Read first line. “*” denotes job to load.
File Import Enabled Enable File Import
MyImport.txt
Settings
Imports (continued)
Example:
Axis
Home Axis Frequency Home axis after number of marking sequences are completed.
Homing the axis ensures proper positioning to maintain focal length accuracy.
Home Axis On Startup Axis is homed automatically on ICON Interface startup
Card I/O
Card I/O displays input and output states of each port. Used for diagnostic purposes.
Message Log
ICON Interface software displays messages and records actions with a timestamped event log. Displayed messages
and the log file can be useful in troubleshooting by tracking errors, entered commands and general history of use. The
location of the log file can be modified, as well as the level of detail being recorded.
Double click the status bar on the bottom left side of the ICON Interface window to view log.
Log File
A log file is saved according to date and is located: C:\TYKMA\Custom\Tykma_Icon\Logs\[DATE].Log
Log File
“Trace” provides the most detailed log. “Fatal” records only major errors and creates the least detailed log.
SQL Server
ICON Interface can be configured to enable the use of Microsoft SQL Server. Once configured, ICON Interface will
query and return data from a SQL database to populate a template. The field names in the SQL table is created to include
field names that correspond with the ID names in the project (template) file. The data record is used to identify the template
to load, number of laser marking sequences to make and populates the individual ID values within the template. To enable
the integration of ICON Interface and SQL Server the SQL.xml file settings are required to be edited. SQL.xml file is
located C:\Tykma\Custom\Tykma_Icon.
TCP/IP Interface
The TCP/IP Interface allows for the use of a network device to send commands to ICON Interface that is running on a
networked computer. Commands are sent remotely by using the IP address. These commands provide the ability to
load templates, home axis, start and stop marking sequences and others. To use a TCP/IP Interface the Configuration
(Config.xml) file settings must be enabled.
***CAUTION***
Safety precautions must be taken anytime remote commands can be sent to your laser system
Step 2: Open ICON Interface, double click on the status bar and verify that the TCP/IP port is open.
Step 3: Open a web browser on the system running ICON Interface and navigate to http://localhost:5287/loaded_job.
This will request the name of loaded template. To send commands remotely from another device, replace “localhost”
with the IP address (ex: 192.168.168.148) of the networked computer running ICON Interface. The IP address must
be appended using port “:5287”.
Enable job
Purpose: Enables a job – allow it to be ran by machine.
Command: enable_job
Return: "enable_job:ok" or "enable_job:fault"
Example: http://192.168.168.148:5287/enable_job
Load job
Purpose: Loads a specified job.
Command: load_job?JOB_NAME
Return: "job_load:ok" or "job_load:fault"
Example: http://192.168.168.148:5287/load_job?proj2
TE-EN-C-1151-C1 Page 28 of 35 Rev 3/14/18
ICON INTERFACE SOFTWARE SYSTEM GUIDE
TCP/IP Interface
Available TCP/IP Commands (continued)
Axis Home
Purpose: Perform homing routine on a specified axis.
Command: axis_home?axis=[AXIS_NUM]
Return: "axis_home:ok", "axis_home:fault"
Example: http://192.168.168.148:5287/get_axis?axis=1&value=min
Set an ID
Purpose: Change value of an ID within a loaded template.
Command: set_id?id=[IDNAME]&data=[DATATOSET]
Return: set_id:ok or set_id:fault
Example: http://192.168.168.148:5287/set_id?id=SERIAL&data=0144184A
Get Preview
Purpose: Get a preview of the currently loaded template.
Command: get_preview
Return: Bytes of a a image/xs-ms-bmp image
Example: http://192.168.168.148:5287/get_preview
TCP/IP Interface
Available TCP/IP Commands (continued)
Turn on Limits
Purpose: Turns on the tracing beam.
Command: limits_on
Return: limits_on:ok
Example: http://192.168.168.148:5287/limits_on
import requests
import urllib
from distutils.log import INFO
HOST = http://wv-00003:5287
def get_version():
""" Get the version from the icon interface.
"""
def load_job(whichJob):
""" Load a specified job
"""
def clear_job():
def isJobLoaded():
"""Checks job status for "loaded"
"""
return requests.get(urllib.parse.urljoin(HOST, "job_status")).text == "job_status:loaded"
def isJobNotLoaded():
"""Checks job status for "not loaded"
"""
return requests.get(urllib.parse.urljoin(HOST, "job_status")).text == "job_status:not_loaded"
def stopAxis(axis):
"""Sends a stop axis command
"""
if __name__ == "__main__":
print(get_version())
Configuration File
Various expanded functions can be enabled or disabled by editing the XML configuration file (Config.xml).
Configuration file editing should only be carried out by advanced users. Contact Tykma Service before making
edits if you have any questions or uncertain about making changes to this file.
Several sections in this manual refer to the Config.xml file as well as other configuration files in describing how to
expand the functionality of ICON Interface. Before making changes to any configuration file Tykma TM Electrox
suggests that you backup the original files.
Configuration File
Configuration File Settings (continued)
Configuration File
Configuration File Settings (continued)
US Headquarters
370 Gateway Drive
Chillicothe, OH 45601
Phone: +1 (740) 779-9918
Fax: +1 (740) 779-9910
[email protected]
UK Facility
Avenue One, The Business Park
Letchworth Garden City, Hertfordshire SG6 3TA
United Kingdom
Tel: +44 (0)1462 472400