Installation and Setup 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. Document No. 70687F Telesis Technologies, Inc. 28181 River Drive P.O. Box 1000 Circleville, Ohio 43113 EIP Option 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. RSLinx is a registered trademark of Rockwell Automation. RSLogix is a trademark of Rockwell Automation. © 2021 Telesis Technologies, Incorporated – All Rights Reserved 70687F i EIP Option Safety Summary The following formats are used throughout this documentation to advise you of hazards associated with the marking system: Notification of hazards or unsafe practices that will result in serious personal injury or death. Notification of hazards or unsafe practices that could result in serious personal injury or death. Notification of hazards or unsafe practices that could result in product damage or minor personal injury. Information to help clarify a task, action, or concept. 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 Mapping of the Telesis EIP Device (by Controller) ......................................................................... 8 TMC470 CONTROLLER ...................................................................................................... 8 ETHERNET/IP <DEVICE NAME>:I . DATA [0 .. 117] ..................................................... 8 ETHERNET/IP <DEVICE NAME>:O . DATA [0 .. 110] .................................................... 9 Connecting to the TMC470 Controller ....................................................................... 10 TMC470 Message Types for Pass-Through Service ..................................................... 11 TMC520 CONTROLLER ..................................................................................................... 12 ETHERNET/IP <DEVICE NAME>:I . DATA [0 .. 117] .......................................................... 12 ETHERNET/IP <DEVICE NAME>:O . DATA [0 .. 110] ........................................................ 13 Connecting to TMC520 Controller ............................................................................... 14 TMC520 Message Types for Pass-Through Service ..................................................... 15 TMC600 CONTROLLER .................................................................................................... 16 ETHERNET/IP <DEVICE NAME>:I . DATA [0 .. 117] ................................................... 16 ETHERNET/IP <DEVICE NAME>:O . DATA [0 .. 110] .................................................. 17 Connecting to TMC600 Controller ............................................................................. 18 TMC600 Message Types for Pass-Through Service ..................................................... 19 MERLIN II LS SOFTWARE ................................................................................................ 20 ETHERNET/IP <DEVICE NAME>:I . DATA [0 .. 117] ................................................... 20 ETHERNET/IP <DEVICE NAME>:O . DATA [0 .. 110] .................................................. 21 Connecting to Merlin II LS ...................................................................................... 22 Merlin II LS Message Types for Pass-Through Service................................................. 23 MERLIN2H SOFTWARE .................................................................................................... 25 ETHERNET/IP <DEVICE NAME>:I . DATA [0 .. 117] ................................................... 25 ETHERNET/IP <DEVICE NAME>:O . DATA [0 .. 110] .................................................. 25 Connecting Merlin2H .............................................................................................. 26 Merlin2H Message Types for Pass-Through Service .................................................... 27 Using the EIP Device in Your Projects ......................................................................................... 28 70687F iii EIP Option This page intentionally left blank. iv 70687F EIP Option Overview Ethernet IP to Serial Kit Ethernet IP to Serial Kit (PN 77917) is used to allow communication from the marking system controller with remote devices in an Ethernet environment. Kit (PN 77917) contents: 77918 78066 77992 80820 EIP Converter USB Flash Drive with software and EIP Supplement Documentation (70687) DB9 Adapter RS232 to USB converter Connection details: 70687F 1 EIP Option Merlin ll LS & Merlin 2H systems 2 70687F EIP Option Merlin ll LS & Merlin 2H Embedded systems 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. Throughout this document, the term “Telesis Controller” refers to the TMC470 Controller, the TMC600 Controller, or the Merlin II LS-based laser marking software. 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. Implicit I/O Messaging Ethernet/IP Implicit I/O Messaging is a producer/consumer relationship where the server produces an input data packet (assembly) at given intervals, and the client produces an output data packet (assembly) at given intervals. 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 Ethernet/IP Output Assembly Data 1 (Instance 0x6F) (111) The first Ethernet/IP implicit output assembly (produced by the PLC and consumed by the EIP device) consists of the following data items: • • • • Outputs: 3-bytes (bits 0-23, many are reserved for future use) Message ID: 1-byte Message Type: 1-byte Message Data: up to 105 bytes 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. Ethernet/IP Input Assembly Data 1 (Instance 0x65) (101) The Ethernet/IP implicit input assembly (produced by the EIP device and consumed by the PLC) consists of the following data items: • • • • • • • • Error Status: 3-bytes Machine Status: 4-bytes Inputs: 2-bytes Input: 1-byte Reserved Response Message ID: 1-byte Response Message Type: 1-byte Response Message ACK: 1-byte Response Message Data: up to 105 bytes 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 Example of the Message Pass-Through Service PLC wants to send down data to field 1 of the Telesis Controller, which is a variable text field. MESSAGE TYPE = ‘V’ 0x56 MESSAGE DATA = “01ABCDEF” in ASCII, null terminated MESSAGE ID = 0x01 (Assumes message ID was previously set to 0) 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. Even though this data is maintained in the registers, the message will not be re-sent by the Telesis EIP device unless the MESSAGE ID is changed by the PLC. Ethernet/IP Output Assembly Data 2 (Instance 0x6E) (110) The second Ethernet/IP implicit output assembly (produced by the PLC and consumed by the EIP device) consists of the following data items: • Outputs: 3-bytes (bits 0-23, many are reserved for future use) 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. Ethernet/IP Input Assembly Data 2 (Instance 0x64) (100) The second Ethernet/IP implicit input assembly (produced by the EIP device and consumed by the PLC) consists of the following data items: • • • Error Status: 3-bytes Machine Status: 4-bytes Inputs: 2-bytes 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 Custom Explicit Message Service Since Implicit I/O messaging is not the most ideal communication paradigm for the Message Pass-Through Service, it is also implemented via a custom Explicit Message Service. Ethernet/IP allows one-shot “explicit” request/response access to each of the I/O assemblies through the standard Assembly Object ID. Customers can opt to use this explicit (Class 3) messaging rather than implicit (Class 1) messaging if it is more appropriate for their application. The EIP Master will send an Explicit request with the following data: • • • Message ID: 1-byte Message Type: 1-byte Message Data: up to 105 bytes 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 Mapping of the Telesis EIP Device (by Controller) TMC470 CONTROLLER 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. ETHERNET/IP <DEVICE NAME>:I . DATA [0 .. 117] Byte Offset 0 1 2 3 4 5 6 7 8 9 10 11 12 13 … 8 Purpose Error Status Spare Error Status MSB .0 = RAM Error .1 = Serial Number Range Error .2 = Print Count Range Error .3 = Over Temperature Error .5 = .6 = .7 = Unspecified Error Error Status LSB .0 = Online Error .1 = Pattern Load Error .2 = Operation cannot be done, no pattern is loaded .3 = Operation is not allowed when marker is OFFLINE .4 = Pattern Field Error .5 = Marker Aborted .6 = File Transfer Error .7 = Pixel Out of Range Error Machine Status MSB (Not used in TMC470) Machine Status (Not used in TMC470) Machine Status (Not used in TMC470) Machine Status LSB (Not used in TMC470) Spare (8-15) (Reserved for future use) Inputs (0-7) .0 = READY .1 = DONE .2 = PAUSED .3 = NO FAULT .4 = SPARE (PIN 25) (Spare 2) .5 = SPARE (PIN 24) (Spare 1) .6 = Reserved for future use .7 = Reserved for future use Reserved Response Message ID Response Message Type Response Message ACK or NAK Response Message Data 70687F EIP Option ETHERNET/IP <DEVICE NAME>:O . DATA [0 .. 110] Byte Offset 0 1 2 3 4 5 Purpose Spare (16-23) (Reserved for future use) Outputs MSB (8-15) .0 = SELECT 5 .1 = SPARE (PIN 11) .2 = SPARE (PIN 12) .3 = SPARE (PIN 13) .4 = Reserved .5 = Reserved .6 = Reserved .7 = Reserved Outputs LSB (0-7) .0 = GO .1 = ABORT / STOP .2 = SELECT 0 .3 = SELECT 1 .4 = SELECT 2 .5 = SELECT 3 .6 = ONLINE or SELECT 6 (Software programmable) .7 = SELECT 4 Message ID (Used to trigger new message) Message Type Message Data 70687F 9 EIP Option Connecting to the TMC470 Controller For complete operating instructions, please refer to the TMC470 Operation Manual. 1. Ensure power to the controller is OFF. 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. 3. Turn the controller ON. 4. Change the operating mode to Supervisor. 5. From the Supervisor Main Screen, press F5 (SETUP). The system will display the Setup Menu. 6. Press F8 to toggle the PROPERTIES selection to SERIAL2 7. Press F4 (PROPERTIES) to access the Host2 Screen. 8. Disable (uncheck) the Serial Tool check box. 9. Set the communication parameters as follows: • • • • Baud: 19200 Parity: NONE Bits: 8 F1:FILE F2:EDIT F3:MACHINE F4:MARKER F5:SETUP SUPV –Offline– Pattern:SAMPLE_02 :002 F1:LEVEL F6:<SUPERVISOR> F2:QUERY TEXT *001:[TEXT: User Text: ] F3:DESIGN F7:<UNITS> 002:[TEXT: Fixed Text: ABCDE ] F4:PROPERTIES F8:<SERIAL2 > 003:[ ] F5:MANAGEMENT 004:[ ] 005:[ ] HOST 2: COMM SERIAL TOOL F1 SAVE Stop Bits: 1 PROT HOST: 11. Set the Protocol to NET232EX. Protocol: Baud: <19200 > Parity: <NONE> Bits: <8> Stop Bits:<1> COMM PROT 70687F PROG <NET232EX> 12. Press F1 (SAVE) to save the settings. 10 ECHO F2 DEFAULTS 10. Press Page Down to select the PROT page. F1 SAVE PROG F2 DEFAULTS ECHO EIP Option TMC470 Message Types for Pass-Through Service The following message types may be used with the TMC470 Controller via NET232EX Protocol. Please refer to the TMC470 Operation Manual for complete details on using Extended Protocol Message Types. 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 G Allows the host to initiate a print cycle. 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 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. ETHERNET/IP <DEVICE NAME>:I . DATA [0 .. 117] Byte Offset 0 1 2 3 4 5 6 7 Purpose Error Status Spare (Not used in TMC520) Error Status MSB (Not used in TMC520) Error Status LSB (Not used in TMC520) Machine Status MSB .0 = .1 = .2 = .3 = .4 = .5 = .6 = .7 = Machine Status .0 = MACHINE PULSING .1 = .2 = .3 = .4 = .5 = .6 = .7 = Machine Status .0 = MACHINE PAUSED .1 = MACHINE PARKING .2 = MACHINE BATCH .3 = MACHINE REPEAT .4 = MACHINE PREVIEW .5 = MACHINE PREPOSITION .6 = MACHINE INPUT .7 = MACHINE SERIAL Machine Status LSB .0 = MACHINE ABORTED .1 = .2 = .3 = .4 = MACHINE ONLINE .5 = MACHINE HOMING .6 = MACHINE PRINTING .7 = MACHINE DRYRUN Spare (8-15) (Reserved for future use) continued on next page… 12 70687F EIP Option ETHERNET/IP <DEVICE NAME>:I . DATA [0 .. 117] (continued) Byte Offset 8 9 10 11 12 13 … Purpose Inputs (0-7) .0 = READY .1 = DONE .2 = PAUSED .3 = SPARE (PIN 23) (Spare 1) .4 = SPARE (PIN 24) (Spare 2) .5 = SPARE (PIN 25) (Spare 3) .6 = ONLINE .7 = Reserved for future use Reserved Response Message ID Response Message Type Response Message ACK or NAK Response Message Data ETHERNET/IP <DEVICE NAME>:O . DATA [0 .. 110] Byte Offset 0 1 2 3 4 5 Purpose Spare (16-23) Outputs MSB (8-15) .0 = SELECT 5 .1 = SPARE INPUT (PIN 11) .2 = SPARE INPUT (PIN 12) .3 = SPARE INPUT (PIN 13) .4 = Reserved .5 = Reserved .6 = Reserved .7 = Reserved Outputs LSB (0-7) .0 = GO .1 = ABORT / STOP .2 = SELECT 0 .3 = SELECT 1 .4 = SELECT 2 .5 = SELECT 3 .6 = ONLINE or SELECT 6 (Software programmable) .7 = SELECT 4 Message ID (Used to trigger new message) Message Type Message Data 70687F 13 EIP Option Connecting to TMC520 Controller For complete operating instructions, please refer to the TMC520 Operating Instructions. This on-screen information is available via the Merlin520 software Help features. 1. Ensure power to the controller is OFF. Connect the EIP-Serial device (PN 77918) to the TMC520 Controller Serial port: {.....}1 The TMC520 COM 1 port supplies power to the device. Turn the controller ON. Change the operating mode to Supervisor. On the Main toolbar, select the Setup button: On the Setup toolbar, select the Host button: Select the Host tab and edit its parameters as follows: Interface: COMn Protocol: NET232EX Select the COMn tab and edit its parameters as follows: Baud: 19200 Parity: NONE Data Bits: 8 Stop Bits: 1 When finished, select the OK button: 14 70687F EIP Option TMC520 Message Types for Pass-Through Service The following message types may be used with the TMC520 Controller via NET232EX Protocol. Please refer to the TMC600 Operating Instructions for complete details on Extended Protocol Message Types. 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 G Allows the host to initiate a print cycle. 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 eightcharacter 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 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. ETHERNET/IP <DEVICE NAME>:I . DATA [0 .. 117] Byte Offset 0 1 2 3 4 5 6 7 Purpose Error Status Spare (Not used in TMC600) Error Status MSB (Not used in TMC600) Error Status LSB (Not used in TMC600) Machine Status MSB .0 = .1 = .2 = .3 = .4 = .5 = .6 = .7 = Machine Status .0 = MACHINE PULSING .1 = .2 = .3 = .4 = .5 = .6 = .7 = Machine Status .0 = MACHINE PAUSED .1 = MACHINE PARKING .2 = MACHINE BATCH .3 = MACHINE REPEAT .4 = MACHINE PREVIEW .5 = MACHINE PREPOSITION .6 = MACHINE INPUT .7 = MACHINE SERIAL Machine Status LSB .0 = MACHINE ABORTED .1 = .2 = .3 = .4 = MACHINE ONLINE .5 = MACHINE HOMING .6 = MACHINE PRINTING .7 = MACHINE DRYRUN Spare (8-15) (Reserved for future use) continued on next page… 16 70687F EIP Option ETHERNET/IP <DEVICE NAME>:I . DATA [0 .. 117] (continued) Byte Offset 8 9 10 11 12 13 … Purpose Inputs (0-7) .0 = READY .1 = DONE .2 = PAUSED .3 = SPARE (PIN 23) (Spare 1) .4 = SPARE (PIN 24) (Spare 2) .5 = SPARE (PIN 25) (Spare 3) .6 = Reserved for future use .7 = Reserved for future use Reserved Response Message ID Response Message Type Response Message ACK or NAK Response Message Data ETHERNET/IP <DEVICE NAME>:O . DATA [0 .. 110] Byte Offset 0 1 2 3 4 5 Purpose Spare (16-23) Outputs MSB (8-15) .0 = SELECT 5 .1 = SPARE INPUT (PIN 11) .2 = SPARE INPUT (PIN 12) .3 = SPARE INPUT (PIN 13) .4 = Reserved .5 = Reserved .6 = Reserved .7 = Reserved Outputs LSB (0-7) .0 = GO .1 = ABORT / STOP .2 = SELECT 0 .3 = SELECT 1 .4 = SELECT 2 .5 = SELECT 3 .6 = ONLINE or SELECT 6 (Software programmable) .7 = SELECT 4 Message ID (Used to trigger new message) Message Type Message Data 70687F 17 EIP Option Connecting to TMC600 Controller For complete operating instructions, please refer to the TMC600 Operating Instructions. This on-screen information is available via the MerlinTouchPS software Help features. 2. Ensure power to the controller is OFF. 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. 4. Turn the controller ON. 5. Change the operating mode to Supervisor. 6. On the Main toolbar, select the Setup button: 7. On the Setup toolbar, select the Host button: 8. Select the Host tab and edit its parameters as follows: 9. • • Interface: COMn Protocol: NET232EX Select the COMn tab and edit its parameters as follows: • • • • • COMn as applicable (identify computer COM port where EIP device is connected) Baud: 19200 Parity: NONE Data Bits: 8 Stop Bits: 1 10. When finished, select the OK button: 18 70687F EIP Option TMC600 Message Types for Pass-Through Service The following message types may be used with the TMC600 Controller via NET232EX Protocol. Please refer to the TMC600 Operating Instructions for complete details on Extended Protocol Message Types. 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 G Allows the host to initiate a print cycle. 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 eightcharacter 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. ETHERNET/IP <DEVICE NAME>:I . DATA [0 .. 117] Byte Offset 0 1 2 3 Purpose Error Status Spare (Not used in Laser) Error Status MSB (Not used in Laser) Error Status LSB (Not used in Laser) Machine Status MSB .0 = MACHINE FLY AUTO GO .1 = MACHINE FLY TRIGGER LASER .2 = MACHINE ASIX RESET .3 = .4 = .5 = .6 = .7 = 4 Machine Status .0 = MACHINE .1 = MACHINE .2 = MACHINE .3 = MACHINE .4 = MACHINE .5 = MACHINE .6 = MACHINE .7 = MACHINE PREVIEW PREPOSITION INPUT SERIAL TOOL SELECTED PULSE FLY FLY TRIGGER 5 Machine Status .0 = MACHINE .1 = MACHINE .2 = MACHINE .3 = MACHINE .4 = MACHINE .5 = MACHINE .6 = MACHINE .7 = MACHINE TARGET HOMING PRINTING DRYRUN PAUSED PARKING BATCH REPEAT 6 Machine Status LSB .0 = MACHINE ABORTED .1 = .2 = .3 = .4 = MACHINE ONLINE .5 = .6 = .7 = continued on next page… 20 70687F EIP Option ETHERNET/IP <DEVICE NAME>:I . DATA [0 .. 117] (continued) Byte Offset 7 8 9 10 11 12 13 … Purpose Spare (8-15) (Reserved for future use) Inputs (0-7) .0 = READY .1 = DONE .2 = PAUSED .3 = SPARE OUTPUT 1 .4 = SPARE OUTPUT 2 .5 = SPARE OUTPUT 3 .6 = Reserved .7 = Reserved Reserved Response Message ID Response Message Type Response Message ACK or NAK Response Message Data ETHERNET/IP <DEVICE NAME>:O . DATA [0 .. 110] Byte Offset 0 1 2 3 4 5 Purpose Spare (16-23) Outputs MSB (8-15) .0 = Reserved .1 = Reserved .2 = Reserved .3 = Reserved .4 = Reserved .5 = Reserved .6 = Reserved .7 = Reserved Outputs LSB (0-7) .0 = GO .1 = ABORT (STOP) .2 = SELECT 0 .3 = SELECT 1 .4 = SELECT 3 .5 = SELECT 4 / ONLINE (Software programmable) .6 = Reserved .7 = Reserved Message ID (Used to trigger new message) Message Type Message Data 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. 1. Ensure power to the computer is OFF. 2. The EIP-Serial device (PN 77918) connects to the computer that will run the Merlin II LS software. Connect as follows: Computers with RS232 connector: See diagrams on pages 1-3. 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 EIP device. d. Connect the EIP device to the adapter (#77992). Systems with no RS232 Connection: : See diagrams on pages 1-3. a. Locate adapter (PN 77992). b. Connect the DB9S connector to Converter (#80820). c. Connect the USB cables from the adapter and the converter to an available USB ports on the computer or embedded controller. The USB port supplies power to the EIP device. d. Connect the EIP device to the adapter. 3. Turn the computer ON and start the Merlin II LS software. 4. Place the system in Supervisor mode. 5. From the Main Menu select Setup, then select Host. 6. Click on the General tab. Set the parameters as follows: 7. 8. 22 • • Interface: COMn Protocol: NET232EX Click on the Port tab. Set the parameters as follows: • • • • Baud: 19200 Parity: NONE Data Bits: 8 Stop Bits: 1 Click OK to save the settings. 70687F EIP Option Merlin II LS Message Types for Pass-Through Service The following message types may be used with the Merlin II LS software via NET232EX Protocol. Please refer to the Merlin II LS Operating Instructions for complete details on Extended Protocol Message Types. Message Type Description Type A 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 Offset Angle for the primary scan head. Polling Data. If a text string is not provided, this message type polls the system for the current Offset Angle setting for the primary scan head and returns the current value to the host. Type a 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 Offset Angle setting for the secondary scan head. Polling Data. If a text string is not provided, this message type polls the system for the current Offset Angle for the secondary scan head and returns the current value to the host. Type C Machine Connection Status Type E Places the marking system Offline with the option of displaying an error message. Type e Displays a message provided in the data section if the system is idle – Does not take the system offline Type F Updates the Focus offset parameter for the Laser head. Type G Initiates a print cycle. Type H 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 Offset X/Y setting for the primary scan head. Polling Data. If a text string is not provided, this message type polls the system for the current Offset X/Y setting for the primary scan head and returns the current value to the host. Type h 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 Offset Angle for the secondary scan head. Polling Data. If a text string is not provided, this message type polls the system for the current Offset Angle for the secondary scan head and returns the current value to the host. Type I Polls the marking system for the I/O status. The system returns a hexadecimal code to the host. Type K Parks the Marking System. The Machine must be Online Type L Get laser description Type M Sets the current Omni Serial Number to the integer value in the message data. Type O Places the marking system online. This allows a host computer to reset. For example, this can be used to recover from a power outage when the marker is unattended. 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 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 polls the marking system and returns 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 polls the specified query text buffer and returns the current data to the host. Type R Allows a rotation angle to be specified via the host to rotate all pattern objects about the window origin. Type S Polls the system for the machine status. The machine status is returned to the host in an eightcharacter hexadecimal mask. 70687F 23 EIP Option Message Type Description Type V 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 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 polls the specified field and returns the current data to the host. Type X Sets the current Pattern Serial Number to the integer value in the message data. Type 1 Note: Message type one is not recommended for use. Please use message type V when possible. If message type 1 is needed please contact your Telesis representative. 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. Polling Data. If a text string is not provided, this message type polls the specified field and returns the current data to the host. 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. ETHERNET/IP <DEVICE NAME>:I . DATA [0 .. 117] Byte Offset 0 1 2 3 4 5 6 7 8 9 10 11 12 13... Purpose Spare Spare Spare Spare Spare Spare Spare Inputs (0-7) .0 = READY 1st Marker .1 = READY 2nd Marker .2 = DONE 1st Marker .3 = DONE 2nd Marker .4 = ONLINE .5 = Reserved .6 = Reserved .7 = Reserved SPARE Reserved Response Message ID Response Message Type Response Message ACK or NAK Response Message Data ETHERNET/IP <DEVICE NAME>:O . DATA [0 .. 110] Byte Offset 0 1 2 3 4 5 Purpose Spare Spare Spare Message ID (Used to trigger new message) Message Type 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. 9. Ensure power to the computer is OFF. 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. 11. Turn the computer ON and start the Merlin2H software. 12. Place the system in Supervisor mode. 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 15. Click OK to save the settings. 26 70687F EIP Option Merlin2H Message Types for Pass-Through Service The following message types may be used with the Merlin2H software via NET232EX Protocol. Please refer to the Merlin2H Operating Instructions for complete details on Extended Protocol Message Types. 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 E Stops the print cycle for Marker #1 or #2. 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. Type G Initiates a print cycle for Marker #1 or #2. Type L Allows the host to load objects (fields) from Marker 1 or Marker 2 from a specified saved file and load them into either Marker 1 or Marker 2. 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 O Sets the machine to Online mode. 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 S Sets the machine to Offline mode. 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. Type ? Type ? is used by the EIP-Serial Device 70687F 27 EIP Option Using the EIP Device in Your Projects This example shows how to add a generic Ethernet Module to the Ethernet I/O in your RSLogix™ 5000 project. 1. Start the RSLogix™5000 software. 2. In the Controller Organizer, under I/O Configuration, right-click on Ethernet. 3. From the pop-up list, select Generic Ethernet Module. 4. Name the module. In this example, we’ve named the module: TelesisEIP_1. 5. Set the Comm Format to: Data – SINT (required). 6. Assign the module an IP Address. In this example, we’ve assigned the address: 192.168.0.3 7. Set the Connection parameters as shown here (required): 8. Input ................. Assembly Instance 101 Size 118 Output ............... Assembly Instance 111 Size 110 Configuration .... Assembly Instance 128 Size 0 For all other module properties, use the default settings or set values, as necessary. Required Parameter Values Optional Parameter Values 28 70687F EIP Option 9. Start the RSLinx® software. 10. Setup the Ethernet driver to look for 192.168.0.254 (this is the default value assigned to the device). 11. Connect the Telesis EIP device to the network. The controller has been assigned an IP address of 192.168.0.1 as shown above. 12. Open a Telnet session, and connect to Telesis Ethernet/IP. *For information on how to install and use Telnet, refer to the Windows Microsoft web page and search Telnet Enable/Installation Procedures for your Operating System. Each system has a different procedure to follow. 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. 16. Enter the Subnet Mask, 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: Correct! File Added If the Telesis-EIP-RS232.eds file has not been added to your library, the browser will look like this: Incorrect! File Not Added 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