Professional Documents
Culture Documents
®
PROFINET (PNIO) Option
for Telesis Marking Systems
This document contains installation and setup data for the Telesis®
PROFINET®IO device. This convertor allows the marking system
controller to communicate with remote devices in a PROFINET®
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 and Merlin are registered trademarks of Telesis Technologies, Inc. in the USA and/or other countries.
70686F i
PROFINET® PNIO Option
Safety Summary
The following formats are used throughout this documentation to advise you of hazards associated with the
laser marking system.
ii 70686F
PROFINET® PNIO Option
Contents
Overview ....................................................................................................................................... 1
Profinet to Serial Kit ......................................................................................................... 1
Kit (PN 76888) contents: .................................................................................... 1
Connection details:............................................................................................. 1
Hardware Platform ........................................................................................................... 4
PROFINET-IO Slave .......................................................................................................... 4
PROFINET-IO Cyclic Output Data ....................................................................................... 4
PROFINET-IO Cyclic Input Data.......................................................................................... 5
Example of the Message Pass-Through Service .................................................................... 5
70686F iii
PROFINET® PNIO Option
iv 70686F
PROFINET® PNIO Option
Overview
Connection details:
70686F 1
PROFINET® PNIO Option
2 70686F
PROFINET® PNIO Option
70686F 3
PROFINET® PNIO Option
Hardware Platform
The Telesis PNIO-SERIAL device (PN 76889) is loaded with PNIO firmware #77939. A TFTP server is
implemented to receive updates.
PROFINET-IO Slave
The Telesis PNIO device is a non-profile device. For Cyclic I/O data exchange, one input data slot and one
output data slot is implemented. The bytes of data associated with these slots are mapped to data within this
device. Acyclic data exchange is not implemented.
PROFINET-IO Cyclic Messaging is a Producer/Consumer relationship where the server produces an input data
packet at given intervals and the client produces an output packet at given intervals.
The PNIO device contains an internal Extended Protocol serial client that exchanges data with the Telesis
controller. The current data is buffered inside the PNIO device. Data received via PROFINET-IO will update the
internal output buffer and result in Extended Protocol data being sent to the Telesis controller. Data received
from the Telesis controller will update the internal input buffer and be produced via PROFINET-IO 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 PNIO
cyclic data exchange, a Message ID Field is implemented. When the PLC changes the Message ID field in the
PNIO output data, it is an indication to the PNIO device that the remaining Message Type and Data contains 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 PNIO device changes its Response Message ID field in the PNIO 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.
When this output data changes, the PNIO 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.
4 70686F
PROFINET® PNIO Option
The input data is obtained by the PNIO device from the Telesis controller. The Telesis PNIO device will
continuously poll for the Error Status, Machine Status, and Inputs. The Telesis PNIO 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 PNIO device.
The Telesis PNIO 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.
70686F 5
PROFINET® PNIO Option
TMC470 CONTROLLER
6 70686F
PROFINET® PNIO Option
70686F 7
PROFINET® PNIO Option
2. Connect the PNIO device (PN 76889) 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
8 70686F
PROFINET® PNIO 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”.
70686F 9
PROFINET® PNIO Option
TMC520 CONTROLLER
10 70686F
PROFINET® PNIO Option
70686F 11
PROFINET® PNIO Option
2. Connect the PNIO device (PN 76889) to the TMC520 Controller COM1 port: {.....}1
The TMC520 COM 1 port supplies power to the device.
12 70686F
PROFINET® PNIO 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”.
70686F 13
PROFINET® PNIO Option
TMC600 CONTROLLER
14 70686F
PROFINET® PNIO Option
70686F 15
PROFINET® PNIO Option
11. Connect the PNIO device (PN 76889) to the TMC600 Controller COM1 port: {.....}1
The TMC600 COM 1 port supplies power to the device.
16. Select the Host tab and edit its parameters as follows:
• Interface: COMn
• Protocol: NET232EX
17. Select the COMn tab and edit its parameters as follows:
• COMn as applicable (identify computer COM port where PNIO device is connected)
• Baud: 19200
• Parity: NONE
• Data Bits: 8
• Stop Bits: 1
16 70686F
PROFINET® PNIO 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”.
70686F 17
PROFINET® PNIO Option
MERLIN II LS SOFTWARE
18 70686F
PROFINET® PNIO Option
70686F 19
PROFINET® PNIO 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 PNIO device (PN 76889) connects to the computer that will run the Merlin II LS 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 PNIO device to the adapter.
20 70686F
PROFINET® PNIO 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.
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 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 will poll the system for the
current Offset Angle setting for the primary scan head and return 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 will poll the system for the
current Offset Angle for the secondary scan head and return the current value to the host.
Type E Places the marking system Offline with the option of displaying an error message.
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 will poll the system for the
current Offset X/Y setting for the primary scan head and return 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 will poll the system for the
current Offset Angle for the secondary scan head and return 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 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 may
be used to recover from a power outage when the marker is unattended.
70686F 21
PROFINET® PNIO Option
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 R Allows a rotation angle to be specified via the host to rotate all pattern objects about the window
origin
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 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. 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.
22 70686F
PROFINET® PNIO Option
MERLIN2H SOFTWARE
70686F 23
PROFINET® PNIO Option
Connecting to 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 PNIO device (PN 76889) connects to the computer that will run the Merlin II LS 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 PNIO 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
24 70686F
PROFINET® PNIO 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 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.
70686F 25
PROFINET® PNIO Option
The PNIO device will be added to the project and used as an interface between the Telesis marking system
controller and a Programmable Logic Controller (PLC) on the PROFINET.
26 70686F
PROFINET® PNIO Option
4. Click Install.
5. In the Hardware Catalog, locate the appropriate marking system controller (e.g., Telesis TMC470).
70686F 27
PROFINET® PNIO Option
7. Click on Not assigned and select device Telesis will communicate with.
(In this example, there is only one choice: PLC_1.)
28 70686F
PROFINET® PNIO Option
70686F 29
PROFINET® PNIO Option
The Input and Output starting addresses can be viewed and changed in the Device Overview window.
30 70686F