TELESIS EIP
TELESIS EIP
Ethernet/IP Option
for Telesis Marking Systems
This document contains installation and setup data for the Telesis®
Ethernet IP device. This option allows the marking system
controller to communicate with remote devices in an Ethernet
environment.
Foreword
Telesis Technologies, Inc. (hereinafter referred to as Telesis) reserves the right to change the information
and specifications contained in this document without prior notice. The reader should consult Telesis to
determine whether such changes have been made.
In no event shall Telesis be liable for any incidental, indirect, special, or consequential damages whatsoever,
including but not limited to lost profits, arising out of, or relating to this document or the information it
contains, even if Telesis has been advised, has knowledge, or should have knowledge of the possibility of
such damages.
Telesis expressly warrants the equipment it manufactures as set forth in the Standard Terms and Conditions
of Sale. Telesis makes no other warranties, expressed or implied, including and without limitation,
warranties as to merchantability or fitness for a particular purpose.
The information contained in this document is confidential and is proprietary to Telesis or its licensors.
Trademarks
Telesis is a registered trademark of Telesis Technologies, Inc. in the USA and/or other countries.
70687F i
EIP Option
Safety Summary
The following formats are used throughout this documentation to advise you of hazards associated with the
marking system:
ii 70687F
EIP Option
Contents
Safety Summary ............................................................................................................................ ii
Overview ....................................................................................................................................... 1
Ethernet IP to Serial Kit .................................................................................................... 1
Kit (PN 77917) contents: .................................................................................... 1
Connection details:............................................................................................. 1
Hardware Platform ........................................................................................................... 4
Ethernet/IP Slave ............................................................................................................. 4
Implicit I/O Messaging ...................................................................................................... 4
Ethernet/IP Output Assembly Data 1 (Instance 0x6F) (111) .................................................. 5
Ethernet/IP Input Assembly Data 1 (Instance 0x65) (101) .................................................... 5
Example of the Message Pass-Through Service .................................................................... 6
Ethernet/IP Output Assembly Data 2 (Instance 0x6E) (110) .................................................. 6
Ethernet/IP Input Assembly Data 2 (Instance 0x64) (100) .................................................... 6
Custom Explicit Message Service........................................................................................ 7
70687F iii
EIP Option
iv 70687F
EIP Option
Overview
Connection details:
70687F 1
EIP Option
2 70687F
EIP Option
70687F 3
EIP Option
Hardware Platform
The Telesis EIP-Serial device (PN 77918) is loaded with EIP-Serial firmware (PN 78064). A TFTP server is
implemented to receive updates.
Ethernet/IP Slave
The Telesis EIP device uses the Communication Adapter Profile.
Two pairs of Ethernet/IP input/output assembly instances are implemented. The first pair contains the
Message Pass-Through Service (described in the next section). The second pair contains only the IO bits and
status, leaving the Message Pass-Through Service to be executed via a custom one-shot Explicit Message.
This second method of data access is more efficient.
The EIP-Serial device contains an internal Extended Protocol serial client that will exchange data with the
Telesis Controllers. The current data is buffered inside the EIP device. Data received via Ethernet/IP will
update the internal output buffer and result in Extended Protocol output data being sent to the Telesis
Controller. Data received from the Telesis Controller will update the internal input buffer and be produced via
Ethernet/IP at the next production interval.
Some of the data being transferred is more acyclic in nature, with explicit request/response pairings. This is
implemented in a Message Pass-Through Service. In order to transport these types of messages via the
Ethernet/IP Implicit data exchange, a Message ID field is implemented. When the PLC changes the Message
ID field in the Ethernet/IP output data, it is an indication to the EIP device that the remaining Message Type
and Data contain a new Extended Protocol request to be sent to the Telesis Controller.
When the Extended Protocol response is received, the response data is “passed through” back to the PLC.
The EIP device changes its Response Message ID field in the Ethernet/IP input data as an indication to the PLC
that a response is available via the Response Message Type, Response ACK field, and Response Message
Data.
4 70687F
EIP Option
When this output data changes, the EIP device’s internal serial client will send the corresponding Extended
Protocol commands to update the data in the Telesis Controller.
A change in the Message ID indicates that a new command/request message is contained in the subsequent
bytes (Message Type and Message Data), and will trigger an Extended Protocol command/request via the
Message Pass-Through Service.
The input data is obtained by the EIP device from the Telesis Controller. The Telesis EIP device will
continuously poll for the Error Status, Machine Status, and Inputs. The Telesis EIP device will only update the
Response Message ID, Message Type, ACK/NAK, and Message Data if a Message Pass-Through Service was
initiated by the PLC and a response was received by the EIP device.
70687F 5
EIP Option
The Telesis EIP-Serial device will detect a Message ID change. That is an indication that it needs to send a
variable text field message to the Telesis Controller and does so. Upon receiving a response from the Telesis
Controller, the appropriate registers are populated with the appropriate data.
RESPONSE MESSAGE TYPE = ‘V’
RESPONSE MESSAGE DATA = “”
RESPONSE MESSAGE ACK = <ACK> ASCII ACK or 0x06
RESPONSE MESSAGE ID = 0x01 NOTE: Same ID as the original command ID.
When this data changes, the Telesis EIP device’s internal serial client will send the corresponding Extended
Protocol commands to update the data in the TMC470.
The input data is obtained by the EIP device from the Telesis Controller. The Telesis EIP device will
continuously poll for the Error Status, Machine Status, and Inputs.
6 70687F
EIP Option
Upon receipt of the request, the EIP device will pass-through the Message Type and Data to the Telesis
Controller. When a response is received, the EIP device will place the response data into the body of the
Ethernet/IP Explicit Response:
• Message ID: 1-byte
• Message Type: 1-byte
• Message Data: up to 105 bytes
Since Ethernet/IP Explicit Message requests/responses are paired by the protocol, the Message ID field is
actually unnecessary, but still provided:
• Service 0x45
• Class 0x64
• Instance 0x01
• Attribute anything other than 0 (zero)
70687F 7
EIP Option
TMC470 CONTROLLER
8 70687F
EIP Option
70687F 9
EIP Option
2. Connect the EIP-Serial device (PN 77918) to the TMC470 Controller COM2 port: {.....}2
The TMC470 COM 2 port supplies power to the device.
8. Disable (uncheck) the Serial Tool check box. HOST 2: COMM PROT PROG ECHO
10. Press Page Down to select the PROT page. HOST: COMM PROT PROG ECHO
F1 SAVE F2 DEFAULTS
10 70687F
EIP Option
Type 1 Downloads data to the marking system or polls the system for information.
Downloading Data. When used to supply data, this message type overwrites the content of
the specified field with the data sent from the host. Note that if the field contains message
flags, they will be overwritten, not updated.
Polling Data. When used to poll for data, this message type requests the content of the
specified field. You may request the actual content of the field (as defined by the pattern
designer), or you may request the parsed (real-time) data in the field. For example, if the field
contains a date/time flag, the actual content might be “%C”, but the parsed (real-time) data
might be “03/05/14 09:42”.
Type C Clears all errors from the controller and, if displayed, will remove the error message from the
TMC470 display screen. No data is sent or returned with type of message.
Type I Requests the marking system return the status of standard output and input signals. The
controller will return a hexadecimal code for the 6 output signals and 12 input signals.
Type O Allows the host to place the machine online. This permits a marking system that is unattended to
recover from a power outage by supplying the Online command from the host.
Type P Downloads data to the marking system or polls the system for information.
Downloading Data. When used to supply data, the host sends the name of the pattern to be
loaded.
Polling Data. When used to poll for data, this message type requests the name of the pattern
currently loaded in the controller.
Type Q Updates text in the specified query text buffer with the data sent from the host.
Type S Requests the error status of the marking system. The controller will return a value that represents
a particular type of error. Each error type has one or more messages that may be displayed on the
controller when an error occurs.
Type V Downloads data to the marking system or polls the system for information.
Downloading Data. When used to supply data, this message type updates the variable text in
the specified field with the data sent from the host. The specified field must contain a variable
text flag (%#V or %#v). To avoid data truncation, the data supplied to each field must be
compatible with the maximum number of characters allowed for that field.
You may supply data to a single variable text field or to multiple variable text fields. When
supplying data to multiple fields:
• If you attempt to supply data to more variable text fields than exist in the pattern, the
extra data will be ignored.
• If you supply data for fewer variable text fields than exist in the pattern, the extra
variable text fields will be cleared of their data (but will retain their variable text flags).
Polling Data. When used to poll for data, this message type requests the user-supplied text
that is contained in a specific variable text field.
Suppose a field contains both fixed text and variable text (e.g., MODEL %5V), and the user has
supplied the text “12345”. This message type will return only the value of the user-supplied
text “12345”.
70687F 11
EIP Option
TMC520 CONTROLLER
12 70687F
EIP Option
70687F 13
EIP Option
Connect the EIP-Serial device (PN 77918) to the TMC520 Controller Serial port: {.....}1
The TMC520 COM 1 port supplies power to the device.
14 70687F
EIP Option
Type 1 Downloads data to the marking system or polls the system for information.
Downloading Data. When used to supply data, this message type overwrites the content of
the specified field with the data sent from the host. Note that if the field contains message
flags, they will be overwritten, not updated.
Polling Data. When used to poll for data, this message type requests the content of the
specified field. You may request the actual content of the field (as defined by the pattern
designer), or you may request the parsed (real-time) data in the field. For example, if the field
contains a date/time flag, the actual content might be “%C”, but the parsed (real-time) data
might be “03/05/14 09:42”.
Type E Places the marking system offline with the option of displaying an error message.
Type I Requests the marking system return the status of standard output and input signals. The
controller will return a hexadecimal code for the 7 output signals and 13 input signals.
Type O Allows the host to place the machine online. This permits a marking system that is unattended to
recover from a power outage by supplying the Online command from the host.
Type P Downloads data to the marking system or polls the system for information.
Downloading Data. When used to supply data, the host sends the name of the pattern to be
loaded.
Polling Data. When used to poll for data, this message type requests the name of the pattern
currently loaded in the controller.
Type Q Updates text in the specified query text buffer with the data sent from the host.
Type S Polls the system for the machine status. The machine status is returned to the host in an eight-
character hexadecimal mask.
Type V Downloads data to the marking system or polls the system for information.
Downloading Data. When used to supply data, this message type updates the variable text in
the specified field with the data sent from the host. The specified field must contain a variable
text flag (%#V or %#v). To avoid data truncation, the data supplied to each field must be
compatible with the maximum number of characters allowed for that field.
You may supply data to a single variable text field or to multiple variable text fields. When
supplying data to multiple fields:
• If you attempt to supply data to more variable text fields than exist in the pattern, the
extra data will be ignored.
• If you supply data for fewer variable text fields than exist in the pattern, the extra
variable text fields will be cleared of their data (but will retain their variable text flags).
Polling Data. When used to poll for data, this message type requests the user-supplied text
that is contained in a specific variable text field.
Suppose a field contains both fixed text and variable text (e.g., MODEL %5V), and the user has
supplied the text “12345”. This message type will return only the value of the user-supplied
text “12345”.
70687F 15
EIP Option
TMC600 CONTROLLER
16 70687F
EIP Option
70687F 17
EIP Option
3. Connect the EIP-Serial device (PN 77918) to the TMC600 Controller COM1 port: {.....}1
The TMC600 COM 1 port supplies power to the device.
18 70687F
EIP Option
Type 1 Downloads data to the marking system or polls the system for information.
Downloading Data. When used to supply data, this message type overwrites the content of
the specified field with the data sent from the host. Note that if the field contains message
flags, they will be overwritten, not updated.
Polling Data. When used to poll for data, this message type requests the content of the
specified field. You may request the actual content of the field (as defined by the pattern
designer), or you may request the parsed (real-time) data in the field. For example, if the field
contains a date/time flag, the actual content might be “%C”, but the parsed (real-time) data
might be “03/05/14 09:42”.
Type E Places the marking system offline with the option of displaying an error message.
Type I Requests the marking system return the status of standard output and input signals. The
controller will return a hexadecimal code for the 7 output signals and 13 input signals.
Type O Allows the host to place the machine online. This permits a marking system that is unattended to
recover from a power outage by supplying the Online command from the host.
Type P Downloads data to the marking system or polls the system for information.
Downloading Data. When used to supply data, the host sends the name of the pattern to be
loaded.
Polling Data. When used to poll for data, this message type requests the name of the pattern
currently loaded in the controller.
Type Q Updates text in the specified query text buffer with the data sent from the host.
Type S Polls the system for the machine status. The machine status is returned to the host in an eight-
character hexadecimal mask.
Type V Downloads data to the marking system or polls the system for information.
Downloading Data. When used to supply data, this message type updates the variable text in
the specified field with the data sent from the host. The specified field must contain a variable
text flag (%#V or %#v). To avoid data truncation, the data supplied to each field must be
compatible with the maximum number of characters allowed for that field.
You may supply data to a single variable text field or to multiple variable text fields. When
supplying data to multiple fields:
• If you attempt to supply data to more variable text fields than exist in the pattern, the
extra data will be ignored.
• If you supply data for fewer variable text fields than exist in the pattern, the extra
variable text fields will be cleared of their data (but will retain their variable text flags).
Polling Data. When used to poll for data, this message type requests the user-supplied text
that is contained in a specific variable text field.
Suppose a field contains both fixed text and variable text (e.g., MODEL %5V), and the user has
supplied the text “12345”. This message type will return only the value of the user-supplied
text “12345”.
70687F 19
EIP Option
MERLIN II LS SOFTWARE
The mapping in the following tables are the mapping for
Ethernet/IP Input and Output Data 1 assemblies.
Input and Output Data 2 assemblies can use the same
mappings, but without the implicit messaging of Message
ID, Message Type, and Message Data.
4 Machine Status
.0 = MACHINE PREVIEW
.1 = MACHINE PREPOSITION
.2 = MACHINE INPUT
.3 = MACHINE SERIAL TOOL
.4 = MACHINE SELECTED
.5 = MACHINE PULSE
.6 = MACHINE FLY
.7 = MACHINE FLY TRIGGER
5 Machine Status
.0 = MACHINE TARGET
.1 = MACHINE HOMING
.2 = MACHINE PRINTING
.3 = MACHINE DRYRUN
.4 = MACHINE PAUSED
.5 = MACHINE PARKING
.6 = MACHINE BATCH
.7 = MACHINE REPEAT
20 70687F
EIP Option
70687F 21
EIP Option
Connecting to Merlin II LS
For complete operating instructions, please refer to the Merlin II LS Operating Instructions. This on-screen
information is available via the software’s Help menu.
2. The EIP-Serial device (PN 77918) connects to the computer that will run the Merlin II LS software.
Connect as follows:
22 70687F
EIP Option
70687F 23
EIP Option
24 70687F
EIP Option
MERLIN2H SOFTWARE
The mapping in the following tables are the mapping for
Ethernet/IP Input and Output Data 1 assemblies.
Input and Output Data 2 assemblies can use the same
mappings, but without the implicit messaging of Message
ID, Message Type, and Message Data.
70687F 25
EIP Option
Connecting Merlin2H
For complete operating instructions, please refer to the Merlin 2H Operating Instructions. This on-screen
information is available via the software’s Help menu.
10. The EIP device (PN 77918) connects to the computer that will run the Merlin2H software. Connect as
follows:
a. Locate adapter (PN 77992).
b. Connect the DB9S connector of the adapter to an available serial port on the computer.
c. Connect the USB cable from the adapter to an available USB port on the computer.
The USB port supplies power to the PNIO device.
d. Connect the EIP device to the adapter.
13. From the Main Menu select Remote Menu, then check Remote mode to enable.
14. Click on the Serial Port selection. Set the parameters as follows:
• Com Port Number: COMn
The Com Port Number can be COM1 through COM16. Check the computer device manager for
the correct COM number being used.
Note: if a USB to Serial converter is being used, Com5 may be applicable.
• Baud: 19200
• Parity: NONE
• Data Bits: 8
• Stop Bits: 1
26 70687F
EIP Option
Type 1 Downloads data to the marking system or polls the system for information.
Downloading Data. If a text string is provided, this message type overwrites the content of
the specified field with the data received from the host message. Note that if the field contains
message flags, they will be overwritten, not updated. Also note that the marker number must
be entered.
Polling Data. If a text string is not provided, this message type will poll the specified field
and return the current data to the host.
Type F Can load a file from the fixed set using code number or poll the system for the file name by its
code number.
Where: the first m represents the Marker # to load objects from, and the second m represents
the Marker # to load objects into, and <string> is the path of the file (pattern).
Please note that the m’s are mandatory fields, and the message “L” will be ignored if skipped.
Type P Downloads data to the marking system or polls the system for information.
Downloading Data. If a pattern name is provided, the system loads the specified pattern
and opens it. The system must be idle in order to load a pattern. Note also that if the
pattern resides in a location other than the default pattern directory, you must specify the full
file path name to identify the pattern you wish to open.
Polling Data. If a pattern name is not provided, this message type will poll the marking
system and return the name of the currently loaded pattern to the host.
Type Q Downloads data to the marking system or polls the system for information.
Downloading Data. If a text string is provided, this message type updates the text in the
specified query text buffer.
Polling Data. If a text string is not provided, this message type will poll the specified query
text buffer and return the current data to the host.
Type V Downloads data to the Marker#1 or #2, or polls the system for information.
Downloading Data. If a text string is provided, this message type updates the variable text
in the specified field with the data received from the host message.
Polling Data. If a text string is not provided, this message type will poll the specified field
and return the current data to the host.
Type X Sets the current Pattern Serial Number to the integer value in the message data.
70687F 27
EIP Option
4. Name the module. In this example, we’ve named the module: TelesisEIP_1.
6. Assign the module an IP Address. In this example, we’ve assigned the address: 192.168.0.3
8. For all other module properties, use the default settings or set values, as necessary.
Required
Parameter Values
Optional
Parameter Values
28 70687F
EIP Option
10. Setup the Ethernet driver to look for 192.168.0.254 (this is the default value assigned to the device).
13. At the Telnet prompt, type: open 192.168.0.254 9999 then press Enter.
Setup mode will be displayed (see below).
14. Select Server Configuration. At the prompt, type: 0 (zero), then press Enter.
70687F 29
EIP Option
15. Enter a new IP Address for the device (in this case, 192.168.0.3), then press Enter.
The device’s current settings are shown in parentheses.
17. If necessary, enter a Gateway IP Address, then press Enter. (In this case, no gateway is used.)
Do not change the Serial Tunnel settings.
DO NOT EDIT
30 70687F
EIP Option
18. Select Exit with Save. At the prompt, type: 9, then press Enter.
19. Verify the parameters are stored, then exit the Telnet session.
20. After a few minutes, the RSLinx® browser will look like this if the Telesis-EIP-RS232.eds file
has been added to your library:
If the Telesis-EIP-RS232.eds file has not been added to your library, the browser will look like this:
70687F 31
EIP Option
21. Using the RSLogix™5000 software, download to the controller and change to Run mode.
22. Verify the I/O connection with the Telesis EIP device is operating correctly.
32 70687F