EDGE, Phoenix, and Hypertherm are trademarks of Hypertherm, Inc. and may be registered in the United States and/or other countries. EtherCAT is a
trademark of Beckhoff Automation. All other trademarks are the property of their respective holders.
Environmental stewardship is one of Hypertherm’s core values.www.hypertherm.com/environment
Introduction
To operate Inkjet or Dot Peen marking systems and other external Internet Protocol (IP) devices, the
®
EDGE
This document explains how to set up your EDGE Connect CNC to send EoE command messages
to external devices with TCP (Transmission Control Protocol) and UDP (User Datagram Protocol).
Connect CNC sends command messages through EoE (Ethernet over EtherCAT).
Before you begin
EoE Command Messaging
The equipment that follows is necessary to operate an EDGE Connect CNC with Inkjet or Dot Peen
marking systems:
Ethernet enabled Inkjet/Dot Peen marking system, such as a REA JET (Inkjet), Telesis,
Markator (Dot Peen), RN Mark, or others
Beckhoff EL6601 or a Beckhoff EL6614 EoE module (with coupler)
If you only need 1 port, use the EL6601. If you need 2, 3, or 4 ports, use
the EL6614. Refer to Figure 2 on page 5. Only one of these modules is
supported per EtherCAT network.
EDGE Connect CNC with Phoenix
EDGE Connect Application Note 8109403
®
10.22 or later
EoE Command Messaging
Set up EoE command messaging at the CNC
Here is a summary of how to set up an EDGE Connect CNC to send EoE command messages to a
printer, marker, or other external IP device:
1. Connect the hardware. Refer to page 5.
2. Scan the EtherCAT network. Refer to page 6.
3. Set the IP address in Hypertherm EtherCAT Studio. Refer to page 6.
4. Export the XML. Refer to page 8.
5. Set the IP address and port in Phoenix. Refer to page 8.
6. Create a test part program. Refer to page 10.
7. Test communication. Refer to page 11.
These steps are described in more detail in the sections that follow.
4810940 Application Note EDGE Connect
Step 1: Connect the hardware
I/O module*
(Beckhoff
EL6601 or
EL6614)
External IP device
(connected with an
Ethernet cable)
Plasma
power
supply
(XPR300)
4 drives and 4 motors
* Install the I/O module in one of these two locations:
Between the EDGE Connect CNC and the drives (not shown)
OR
Between the last drive and the first plasma power supply on the EtherCAT network (as shown)
EtherCAT coupler
EDGE Connect TC
Ethernet port 1
Ethernet port 1
Ethernet port 2
Ethernet port 3
Ethernet port 4
Beckhoff EL6601Beckhoff EL6614
It is necessary to connect the EDGE Connect CNC, Beckhoff module, and external IP device
(printer or marker). Refer to Figure 1.
Figure 1 – Example of the connections between an EDGE Connect CNC and an external IP device
EoE Command Messaging
To connect the hardware:
1. Use an Ethernet cable to connect your printer, marker, or other IP device to a Beckhoff EL6601
(1 port) or to a Beckhoff EL6614 (up to 4 ports) module.
Figure 2
EDGE Connect Application Note 8109405
EoE Command Messaging
2. Use an EtherCAT cable to connect the EDGE Connect CNC to an EtherCAT coupler.
3. Attach the Beckhoff EL6601 or EL6614 to the EtherCAT coupler. Refer to Beckhoff’s
recommendations.
Step 2: Scan the EtherCAT network
Use Hypertherm EtherCAT Studio to create a new Network Configuration file (Phoenix.xml) that
includes the Beckhoff EL6601 or Beckhoff EL6614 module. Refer to the EDGE Connect Installation and Setup Manual (809340 Revision 4). Technical documentation is available at
www.hypertherm.com/docs.
Step 3: Set the IP address in Hypertherm EtherCAT Studio
After the hardware is set up, use Hypertherm EtherCAT Studio to review the IP address that is
assigned to your printer.
By default, Hypertherm EtherCAT Studio and Phoenix assign these IP addresses to your printer:
192.168.50.101: 5002
192.168.50.102: 5003
192.168.50.103: 5004
192.168.50.104: 5005
To find out if it is necessary to edit the IP address and port destinations, refer to the documentation
from the printer manufacturer.
Optional: Do these steps to edit the IP address destination for your printer in Hypertherm EtherCAT
Studio:
1. On the CNC, select the Windows Start icon and select Hypertherm > HT EtherCAT Studio.
2. In Hypertherm EtherCAT studio, select the Beckhoff module in the list, as shown in the example
below.
6810940 Application Note EDGE Connect
EoE Command Messaging
Fourth octet
(Edit these characters only.)
3. On the Mailbox > EoE tab, select IP Port in the Port type section.
4. In the IP port settings section, use the guidelines below to edit the fourth octet (as shown in
the example below).
Example:
Here are the guidelines to know when you edit IP addresses:
Only digits 0 – 254 are supported. Do not use special characters or Chinese
characters.
Do not use these three IP addresses which are already in use:
192.168.50.50
192.168.50.100
192.168.50.255
For the EL6601 (1-port Beckhoff module), you can assign the IP address anywhere you
want within the above guidelines.
For the EL6614 (4-port Beckhoff module), the sequence of the IP addresses is
automatically assigned to be one after the other.
For example, if you edit the IP address to become 192.168.50.150 then ports 2, 3, and
4 will be automatically be assigned as:
192.168.50.151
192.168.50.152
192.168.50.153
If the IP address field cannot be edited, make sure that the EtherCAT
network is in the INIT state.
5. Record the IP addresses that you have selected. You will refer to these values in a later step.
EDGE Connect Application Note 8109407
EoE Command Messaging
Step 4: Export the XML
To export the XML from Hypertherm EtherCAT studio, refer to the EDGE Connect Installation and
Setup Manual (809340 Revision 4). Technical documentation is available at
www.hypertherm.com/docs.
We recommend that you also save a copy of the EtherCAT Studio project
file with the updated IP addresses. Select File > Save Project As and
make sure that the Save as type field is set to *.ecsn.
Step 5: Set the IP address and ports in Phoenix
In Phoenix, review the destination and protocol values that are assigned to your printer, marker, or
other external IP device.
If you edited the IP address values in Hypertherm EtherCAT Studio (in Step 2: Scan the EtherCAT
network), you must select the same destination address values in Phoenix.
To view and edit the current settings for an IP device:
1. In Phoenix, select Setups > Password.
2. In the Password dialog, type CONFIGUREMESSAGING and then select OK.
3. In the Messaging Port Configuration dialog, review the settings for each external IP device.
Refer to Figure 3 on page 9.
8810940 Application Note EDGE Connect
EoE Command Messaging
2
3
Fourth octet
Port
Figure 3 – Example of the Messaging Port Configuration dialog with the default settings
1
1
Source
2
Destination
(IP address: Port)
3
Protocol
This column shows the preset “IP address: Port” that is used by the
CNC. The IP address of the EDGE Connect CNC is preset to
192.168.50.100 on port 0.
This is the “IP address: Port” that is in use by your printer or other IP
device.
Edit the fourth octet and Port, if necessary, to make sure that Phoenix
sends EoE command messages to the correct device.
Example:
The IP addresses must be the same as the values in the external IP
device AND the Hypertherm EtherCAT Studio project file. Refer to
page 6.
The Port field supports 16-bit
unsigned integers (0 – 65535).
Select the protocol that your external IP device uses to receive
messages.
• TCP (Transmission Control Protocol)
• UDP (User Datagram Protocol)
4. Make sure that values in the Destination fields are the same as the values that you recorded
from Hypertherm EtherCAT Studio. Refer to page 6.
If necessary, you can restore the default destination IP address and
protocol for each device with the steps on page 18.
EDGE Connect Application Note 8109409
EoE Command Messaging
Step 6: Create a test part program
To create a part program that you can use to test communication between the EDGE Connect
CNC and the external IP device:
1. Create a simple part program without EoE command messages.
For example:
M36 T4// Enable Marker 2 process settings
M11// Marker Offset 1 On
M09// Start Marker Process
G01 X0.357 Y1// Mark Geometry (optional)
G01 X0.357 Y-1
M10
M12// Cancel Marker Offset 1
For information about part program codes, refer to the EDGE Connect
Programmer Reference (809550). Technical documentation is available at
www.hypertherm.com/docs.
// End Marker Process
2. Create EoE command messages to add to your part program. You can copy and edit the
example commands below to support your configuration. Refer to page 12.
For example:
(>22,0,2,0,0<MessagePort1)
(>22,0,2,1,0<MessagePort2)
(>22,0,2,2,0<MessagePort3)
(>22,0,2,3,0<MessagePort4)
3. Put a command message (from the previous step) inside the cut cycle or inside the marker
cycle in your part program.
For example:
M36 T4// Enable Marker 2 process settings
M11// Marker Offset 1 On
M09// Start Marker Process
(>22,0,2,0,0<StartPrintPort1) // Send EoE command to port 1
G01 X0.357 Y1// Mark Geometry (optional)
G01 X0.357 Y-1
M10
M12// Cancel Marker Offset 1
// End Marker Process
10810940 Application Note EDGE Connect
Step 7: Test communication
To test communication, use Phoenix Version 10.22 or later to load and execute the part program that
you created in the previous step.
These status messages show up below the Part Preview on the Main screen in Phoenix during part
program execution:
“Message Transmit” can sometimes be shown when a message is being sent.
“Message Delay” is shown for Message Type 20 during a delay at the end of a message.
“Message Verify” is shown for Message Type 22 when Phoenix is waiting for the ACK
command to be returned by the external serial device.
“Message Error” is shown for Message Type if the Delay Time expires before an ACK
command is returned to Phoenix.
For information about Message Type and Delay Time, refer to page 12.
EoE Command Messaging
EDGE Connect Application Note 81094011
EoE command reference
The ASCII message strings in EoE command messages must have this format:
(>[Message type], [Special Format], [Delay or Time Out], [Port Number],[Jog on Path]<[Message Content])
Example
(>22,0,2,0,0<MessagePort1)
All parameters are necessary. All characters except for the brackets “[]”
are also necessary.
Message type = Delay the part program until an Acknowledge message is received.
Special format = Use 0 if no format is required. Refer to page 13.
Time out = An error will be displayed if this message is not acknowledged (ACK Hexadecimal 06) within 2 seconds.
Jog on path = Disable this message during Jog on Path.
Port = First port on a Beckhoff module.
Refer to the table on the right for more details.
ParameterSequenceDescription
• 20 = Delay the part program until all bytes have been transmitted and the Delay Time expires.
• 21 = Send the message without a time delay or acknowledgment during the part program execution.
Message Type First
Special
Format
Delay Time or
Time Out
Second
Third
• 22 = Delay the part program until all bytes have been transmitted and Phoenix receives an acknowledgment from the external
device (ACK = Hexadecimal 06). Report the “Message Verify” status message below the Part Preview until the Delay Time
expires. Once the Delay Time expires, the “Message Error” status message shows below the Part Preview.
Special format, such as a carriage return. Use 0 if no format is required. Refer to page 13.
•For Message Type 20, this is the maximum Delay Time (0.00 – 999.99 seconds) at the end of a message.
•For Message Type 21, the value must be 0.
•For Message Type 22, this is a Time Out value (0.00 – 999.99 seconds). An error will be displayed if the message is not
acknowledged (ACK Hexadecimal 06) within the specified time.
Table 1 – EoE command parameter reference
(>22,0,2,0,0<MessagePort1)
Port Number Fourth
Jog On PathFifth
Message
Content
12810940 Application Note EDGE Connect
Sixth
The TCP or UDP Port Number of the destination printer, or other IP device. A value of 0 represents a remote printer host setup on
192.168.50.101.
• 0 = Port 1 (First port on a Beckhoff EL6601 or a Beckhoff EL6614 module)
•1 = Port 2
•2 = Port 3
•3 = Port 4
Selects if command messages are enabled or disabled while the torch jogs on the path.
• 0 = Disables command messaging during Jog On Path.
• 1 = Lets the CNC send command messages while the torch is jogging forward on the path only.
• 2 = Lets the CNC send command messages while the torch is jogging forward and backward on the path.
Message content with Printable ASCII codes and non-printing ASCII codes. Refer to ASCII Codes on page 15.
• Each command message supports up to 300 characters. The Command characters (information between and including the “>”
and “<” signs) are included in this character limit.
• Non-printing characters are supported with a two-character command. Non-printing characters can send a binary code in the
range from 0-255.
• Double-byte characters that are used to support combinations affect the maximum length count with each pair and decrease the
maximum data characters by 1.
Special format characters
01= nn of the Data field, printer-specific
&C = End of Text (ETX)
&A= Start of Header (SOH)
1= Type value, printer-specific
&B= Start of Text (STX)
(>22,17,3,0<&A1&B01PRINTME&C)
PRINTME= Text to print on material
Replaces the BCC and CR. Refer to the next section.
EoE command messages support the special format characters that follow.
HexNameDescription
01SOHStart of Header
02STXStart of Text
03ETXEnd of Text
04EOTEnd of Transmission
0DCRCarriage Return
0ALFLine Feed
BCC“Exclusive Or” Check Byte
EoE Command Messaging
Checksum is always an “Exclusive OR” of the Data because it does not
include any of the “Format” characters, including the CR/LF option. Refer
to the “ASCII Codes” section in the EDGE Connect Programmer Reference (809550) for more details.
For example, this command below uses SOH, STX, and ETX:
Optional format character assignments
EoE command messages support the optional format characters that follow.
Value Description
0No special assignment. If no format options are necessary, use a value of 0 in the format
location of the EoE command.
1Append a Carriage Return (<CR> = Hex value OD) and a Line Feed (<LF> = Hex
Value 0A).
16Append an “Exclusive OR” (<BCC>) to the end of the message.
17Appends a combination of 16 and 1.
32Encloses the message with Start of Text (<STX> = Hex Value 02) and End of Text
EDGE ConnectApplication Note81094013
(<ETX> = Hex Value 03).
The <ETX> follows the message and the optional <CR><LF>> append codes but
precedes the Check Byte <BCC>.
EoE Command Messaging
Value Description
33Appends a combination of 1 and 32.
48Appends a combination of 16 and 32.
49Appends a combination of 1, 16, and 32.
64Append a Start of Header (<SOH> = Hex value 01) and an End of Transmission
(<EOT> = Hex Value 04) to the message.
65Appends a combination of 1and 64.
80Appends a combination of 16 and 64.
81Appends a combination of 1, 16, and 64.
96Appends a combination of 32 and 64.
97Appends a combination of 1, 32, and 64.
112Appends a combination of 16, 32, and 64.
113Appends a combination of 1, 16, 32, and 64.
14810940 Application Note EDGE Connect
ASCII Codes
This section gives the 128 ASCII codes (American Standard Code for Information Interchange) as
defined by ANSI (American National Standards Institute) Standard X3.4-1977.
ASCII Control Codes
HexDecCharacter*nameDescription
000^ @NULNull
011^ASOHStart of Header
022^BSTXStart of Text
033^CETXEnd of Text
044^DEOTEnd of Transmission
055^EENQEnquiry
066^FACKAcknowledge
EoE Command Messaging
077^GBELBell
088^HBSBackspace
099^IHTHorizontal Tab
0A10^JLFLine Feed
0B11^KVTVertical Tab
0C12^LFFForm Feed
0D13^MCRCarriage Return
0E14^NSOShift Out
0F15^OSIShift In
1016^PDLEData Link Escape
1117^QDCIDevice Control 1
1218^RDC2Device Control 2
1319^SDC3Device Control 3
1420^TDC4Device Control 4
1521^UNAKNegative Acknowledge
1622^VSYNSynchronous Idle
1723^WETBEnd Transmission Block
1824^XCANCancel
1925^YEMEnd of Medium
* The "^" in the Character column sometimes can be replaced with "&" in the Message Port part of the serial string.
EDGE Connect Application Note 81094015
EoE Command Messaging
HexDecCharacter*nameDescription
1A26^ZSubSubstitute
1B27^[ESCEscape
1C28^\FSFile Separator
1D29^]GSGroup Separator
1E30^^RSRecord Separator
1F31^_USUnit Separator
2032SPSpace
* The "^" in the Character column sometimes can be replaced with "&" in the Message Port part of the serial string.
All ASCII codes
HexDecCharacter*HexDecCharacter*HexDecCharacter*
000^ @2B43+5686V
011^A2C44,5787W
022^B2D45-5888X
033^C2E46.5989Y
044^D2F47/5A90Z
055^E304805B91[
066^F314915C92\
077^G325025D93]
088^H335135E94^
099^I345245F95_
0A10^J355356096`
0B11^K365466197a
0C12^L375576298b
0D13^M385686399c
0E14^N3957964100d
0F15^O3A58:65101e
1016^P3B59;66102f
1117^Q3C60<67103g
1218^R3D61=68104h
1319^S3E62>69105i
* The "^" in the Character column sometimes can be replaced with "&" in the Message Port part of the serial string.
16810940 Application Note EDGE Connect
EoE Command Messaging
HexDecCharacter*HexDecCharacter*HexDecCharacter*
1420^T3F63?6A106j
1521^U4064@6B107k
1622^V4165A6C108l
1723^W4266B6D109m
1824^X4367C6E110n
1925^Y4468D6D111o
1A26^Z4569E7012p
1B27^[4670F71113q
1C28^\4771G72114r
1D29^]4872H73115s
1E30^^4973I74116t
1F31^_4A74J75117u
20324B75K76118v
2133!4C76L77119w
2234“4D77M78120x
2335#4E78N79121y
2436$4F79O7A122z
2537%5080P7B123{
2638&5181Q7C124|
2739‘5282R7D125}
2840(5383S7E126~
2941)5484T7F127¬
2A42‘5585U
* The "^" in the Character column sometimes can be replaced with "&" in the Message Port part of the serial string.
EDGE Connect Application Note 81094017
EoE Command Messaging
Review or restore the default settings
You can review and restore the factory default settings for the IP address, port, or protocol for an IP
device in Phoenix.
To review the factory default IP address and port settings:
1. In Phoenix, select Setups > Password.
2. In the Password dialog, type CONFIGUREMESSAGING/DEFAULTS and then select OK.
3. In the Messaging Port Configuration dialog, review the information for each IP device. Refer to
Figure 3 on page 9.
To apply the default settings to your current settings, select OK.
If you do not want to apply the default settings, you can:
Select Cancel to close the dialog without making changes.
-or-
Edit the Destination and Protocol settings on this dialog and then select OK to
apply your changes.
18810940 Application Note EDGE Connect
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.