As 131210 TM-X5000 Um D64GB WW GB 2023 1
As 131210 TM-X5000 Um D64GB WW GB 2023 1
2 Installing
TM-X5000 Series the TM-X5000 Series
3 Setup/Run
6 Specifications
7 TM-X Navigator
A Appendix
TM-X5000 Series User’s Manual Introduction
Introduction
Read this manual before using the product in order to achieve maximum performance.
Keep this manual in a safe place after reading it so that it can be used at any time.
Symbols
The following symbols are alerts to important messages.
Be sure to read these messages carefully.
Indicates a hazardous situation which, if not avoided, will result in death or serious injury.
Indicates a hazardous situation which, if not avoided, could result in death or serious injury.
Indicates a hazardous situation which, if not avoided, could result in minor or moderate injury.
Indicates a situation which, if not avoided, could result in product damage as well as property damage.
Precautions
(1) Unauthorized reproduction of this manual in whole or part is prohibited.
(2) The contents of this manual may be changed for improvements without prior notice.
(3) A
n utmost effort has been made to ensure the contents of this manual are as complete as possible. If there are any mistakes or questions, please contact a
KEYENCE office listed in the back of the manual.
(4) Regardless of item (3), KEYENCE will not be liable for any effect resulting from the use of this unit.
(5) Any manuals with missing pages or other paging faults will be replaced.
(6) The screens in this manual are examples for the explanations. The numbers and other values may differ to the actual state of the device.
(7) This manual is created using Windows 10.
(8) T
his manual describes procedures in most cases with the presumption that the controller is connected to the dedicated display. However, Chapter 7
describes procedures with the presumption that the controller is connected to the TM-X Navigator.
Trademarks
• SD Memory Card is a registered trademark of the SD Association.
• EtherCAT® is a patented technology and registered trademark licensed by Beckhoff Automation GmbH of Germany.
• Other company names and product names noted in this document are registered trademarks or trademarks of their respective companies. The ™ mark and
® mark have been omitted in this manual.
Software information
This product incorporates the software files developed independently by or for Keyence Corporation, software files owned and licensed by a third party, and
software files subject to certain open source license agreements.
• The open source software files are subject to the notices and additional terms and conditions. For information about such open source software files, please
refer to the “License” information in the “System information” menu under “Global”.
• Such open source software files are provided on an “AS IS” basis to the maximum extent permitted by applicable law.
• If there is any discrepancy between the terms and conditions of the applicable open source license agreement and the “License”, the terms and conditions of
the applicable open source license agreement prevail with respect to the applicable open source software.
• A copy may be obtained of the source code corresponding to the binaries for GPL/LGPL-licensed file by sending a request to Keyence customer service at
“soft-license@keyence.co.jp”. There will be a charge to cover the costs of providing the source code.
TM-X5000 Series User’s Manual Safety Information for TM-X5000 Series
• If the product is used in a manner not specified by this manual, the protection provided by the product may be impaired.
• You must perform a sufficient risk assessment for the machine where this product is to be installed prior to installing this product.
Provide appropriate protective fail-safe measures on the machine independent from this product in case a failure with this product should occur.
• Before starting or operating the system, check to make sure all system functions are working properly.
• If any Keyence product fails, take all safety precautions to prevent damage before using the system again.
• If the system is operated beyond its published specifications or if the system is modified, its functions and performance cannot be guaranteed.
• Please note that when the system is used in combination with other instruments, its functions and performance may be degraded.
• Do not subject the controller or connected devices to a sudden change in temperature. There is the risk of condensation occurring.
• Do not apply any vibration or shock. When a strong vibration or shock is applied to the head, malfunction or the deterioration of
measurement accuracy can occur.
• Before making any connections/disconnection, be sure to turn off the power of this unit and connected devices. Failure to do so
may result in a malfunction of the controller or connected devices.
• Do not turn off this instrument when settings are being modified. Otherwise, all or part of the program settings may be lost.
• Do not block the ventilation holes of the unit or surrounding devices. An increase of internal temperature could cause failure.
• It is advised to back up the settings to the SD memory card or TM-X Navigator to prevent data loss in the event of system trouble or failure.
When installing or transporting the TM-X5120, hold both handles to prevent injuries or
damage due to the head falling.
• Keep the machine and cables as far as possible from high voltage lines and power lines. Otherwise, noise may cause malfunction or accidents.
• When connecting the cables, make sure to bundle the protective material, such as a spiral tube from outside. If they are bundled
directly, the load applied to the cables may be concentrated on the connector, which may cause a disconnection or short.
• The controller and other devices are precision components. To maintain performance, do not subject them to vibration or shock.
D64GB
TM-X5000 Series User’s Manual Safety Information for TM-X5000 Series
Maintenance
• Do not wipe the unit with a wet wipe, benzene, or thinner.
• If the unit has any dirt on it, wipe it off with a cloth moistened with a mild detergent, then wipe with a soft dry cloth.
Caution on wiring
Some of the I/O circuits of the controller are common internal terminals.
Exercise caution to avoid a potential difference between the common internal terminals due to the wiring or potential difference
between the external devices. There is a risk of fire occurring.
0V DC, Connector shield and signal GND for USB port, Connector shield and signal GND for RGB output, and Head connector shield are all common via a
choke coil. Ensure that no potential difference occurs with the PC, PLC, etc. If a potential difference occurs, insulate the power supply of the controller (TM-X5000)
from the external device side.
* The cable box of the TM-X5120 is built into the head.
Head Head
connector
Cable box shield
(*) DC 24V
DC 24V
DC 0V
External devices such as a PC (1), the power supply of TM-X5000 (2), or the head connector shield (3) should be insulated from the positive ground terminal.
* The cable box of the TM-X5120 is built into the head.
2
TM-X5000 Series User’s Manual Safety Information for TM-X5000 Series
Warming up
Wait approximately 30 minutes after the power is turned on before using the TM-X5000 Series. Otherwise, the measured value may gradually fluctuate
because the circuit is not immediately stable after the power is turned on.
Influence of vibration
When the measuring target is vibrating, the measured value may fluctuate.
In this case, increase the number of moving averages to achieve a more accurate value.
Measuring target
The measured value may fluctuate if the shapes or surfaces of the measuring targets vary.
In this case, use a target with known dimensions to perform appropriate correction using the scaling function.
3
TM-X5000 Series User’s Manual Precautions on Regulations and Standards
CSA Certificate
This product complies with the following CSA and UL standards and has been certified by CSA.
• Applicable Standard : CAN/CSA C22.2 No.61010-1
UL61010-1
Be sure to consider the following specifications when using this product as a product certified by CSA.
• Use the power supply below.
CSA/UL Listing certified power supply with Class 2 output specified by CEC (Canadian Electrical Code) and NEC (National Electrical Code)
• Overvoltage category I
• Use this product under pollution degree 3.
• Use this product at the altitude of 2000 m or less.
• Mount the head on a metallic plate.
• Indoor use only.
4
TM-X5000 Series User’s Manual Safety Precautions on LED product
If you install, copy and or use all or a portion of this Software on a device or computer, you will be deemed to have agreed to all the terms of this Agreement,
and this Agreement will come into effect.
1. Definitions
1.1. “Use” or “using” refers to the accessing, installing, downloading, copying, operating and or otherwise benefiting from the utilization of this Software.
1.2. “This Software” denotes the software and all associated documentation provided by KEYENCE.
1.3. “User” or “User’s” infers the company or persons who have had the license to use this Software granted to them by KEYENCE.
2. Grant of License.
2.1. In compliance with all of the terms and conditions of this Agreement, KEYENCE grants the nonexclusive and non-transferable license to install and use
this Software.
2.2. The granting of the license permits the single reproduction and or copying of this Software for the User’s backing up or archiving purposes.
2.3. This Software maybe installed on multiple devices and computers for the User’s benefit and use.
2.4. The transfer of this Software via devices and computers with this Software installed on them by the User to third parties is permitted. In such a case, the
third party who receives this Software may continue to use this Software in the same manner as the previous User.
2.5. With the transfer of this Software to a third party, the original User may install this Software to additional devices and computers for further use as
required. In such a case, the third party who receives this Software may continue to use this Software in the same manner as the previous User.
2.6. The User maintains and guarantees that any thirdparties (as detailed in the previous two sections) who receive and use this Software agree to this
license Agreement and comply with all the terms and conditions.
3. Restrictions.
3.1. This Software may not be modified by the User in any form except from the installation of updates or new functions provided by KEYENCE.
3.2. The reverse engineering, decompiling or disassembling of this Software by any persons are not permitted.
3.3. Without the prior permission of KEYENCE, the User may not reproduce or copy this Software for selling or distributing to a third party.
5. Disclaimer.
This Software is licensed to the User “AS IS” and without any warranty of any kind. In no event does KEYENCE or its suppliers accept or assume any liability
for any damages, claims, costs or profit loss as a result of operating this Software.
6. Termination.
6.1. Under this Agreement the User’s license will automatically terminate if this Software and any associated copies of this Software are destroyed or
voluntarily returned to KEYENCE.
6.2. Under this Agreement the User’s license will terminate immediately and automatically without any notice from KEYENCE if there is any failure to comply
with any of the terms and conditions of this Agreement. Upon termination, the using of this Software shall cease, and all copies (full or partial) of this
Software should be destroyed or returned to KEYENCE.
6.3. Compensation will be sought by KEYENCE should any violation or breach of this Agreement result in any incurred costs or lost profit to KEYENCE.
7. Governing Law.
7.1. This Agreement will be governed by and construed in accordance with the substantive laws of Japan.
7.2. If any part of this Agreement is found void and unenforceable, the rest of this Agreement will remain intact, valid and enforceable according to the
associated terms and conditions.
5
TM-X5000 Series User’s Manual Changes to each version of the TM-X5000 Series
Other additions/changes
• Changed the save format for capture image to JPEG.
• Images can now be displayed in high resolution during a trial run.
• The statistical analysis trend graph can now be enlarged vertically and
horizontally.
• Added support for [Automatic Connection] when connecting from the
dedicated monitor for TM-X (TM-MP120) or TM-X Navigator to the
controller (Page 3-2).
6
TM-X5000 Series User’s Manual Changes to each version of the TM-X5000 Series
Other additions/changes
• The software now supports the CAD import function (Page 7-6). Additions/changes related to commands.
• The software now supports BMP image output in simple monitor output The following commands were added:
(Page 3-35). • ICCW: write image composition capture cycle (Page 5-16)
• ICCR: read image composition capture cycle (Page 5-16)
• TSW: write tool settings (Page 5-17)
• TSR: read tool settings (Page 5-17)
• TSC: clear tool settings (Page 5-18)
• OASR: obtain optical axis state (Page 5-18)
Other additions/changes
• On the setup screen of [Position Correction], [Image Display] is now
available.
• In [Output Settings] → [Image Output] → [Detailed Settings], JPG can
now be selected for [File Format] (Page 3-35).
• For the thumbnail images displayed in [Archived Image] and [Batch
Test], the accumulated number of images and their image number
are now displayed. In addition, the ID number of the selected image is
displayed (Page 3-38).
• TM-X Navigator is now compatible with Windows11 Pro (Page 7-3).
7
TM-X5000 Series User’s Manual Changes to each version of the TM-X5000 Series
Other additions/changes
In [Output Settings] → [File Naming Rule], [Custom] is now available(Page
3-35).
8
TM-X5000 Series User’s Manual Compatibility
Compatibility
z Compatibility of controller versions with the dedicated
monitor for TM-X (TM-MP120)*
Dedicated monitor for TM-X (TM-MP120)
Ver.1.0.xxxx ü ü ü ü ü ü
Ver.1.1.xxxx ü ü ü ü ü
Ver1.2.xxxx ü ü ü ü
Controller
Ver1.3.xxxx ü ü ü
Ver1.4.xxxx ü ü
Ver1.5.xxxx ü
ü: Connection possible
: Connection is possible by upgrading the dedicated monitor for TM-X.
* This is the same as when connecting from the TM-X Navigator to the
controller (terminal function).
Ver.1.0.xxxx ü
Ver.1.1.xxxx ü ü
Ver1.2.xxxx ü ü ü
Controller
Ver1.3.xxxx ü ü ü ü
Ver1.4.xxxx ü ü ü ü ü
Ver1.5.xxxx ü ü ü ü ü ü
ü: Can be loaded
: Higher version functions are not available, but files can be loaded.
9
TM-X5000 Series User’s Manual
1
Preparation for Use
1-1
TM-X5000 Series User’s Manual System Configuration
System Configuration
• When connecting two heads, different models of the TM-X5000 series heads can be connected to one controller.
• By using the head connection extension cable and the repeater for head connection extension, the distance between the controller and the head
can be extended up to 30 m.
It will be 30m with the following connection;
“Controller” ‒ “CB-C10R (10m)” ‒ “TM-CX10U (Repeater)” ‒ “CB-C10RX(10m)” ‒ “TM-CX10U (Repeater)” ‒ “CB-C10RX (10m)” ‒ “Receiver head”
• The connection cable between the transmitter head and the receiver head can be extended up to 3 m using the transmitter-to-receiver cable.
Controller
USB
TM-X Navigator
USB
24 V DC power supply
Head connection cable
Ethernet (3m/5m/10m)
Dedicated monitor
for TM-X
PLC Head B
Mouse
Head A
When using a USB cable, either the dedicated monitor for TM-X or the PC (TM-X Navigator) will be connected to the controller.
Controller
USB
TM-X Navigator
24 V DC power supply
Ethernet
HUB
Mouse
Head B
Head A
PLC
1-2
TM-X5000 Series User’s Manual Part Names and Functions
8 Simple monitor
13 16
4 output The simple screen is output only in the Run mode.
5 (RGB output)
14 9 The port used to connect the second sensor head
10 5 Head B port
cable to the controller.
6
15
The port used to connect the sensor head cable to
11 the controller.
6 Head A port
Use the head A connector if only
using one head.
10 USB HDD port If there are concerns about the potential difference
with the connections, then use a USB HDD which
supports bus-powered drives.
• The bus power supply capability of this unit is
900 mA (USB 3.0 compliant).
• Contact the manufacturer of the USB HDD to
check whether the USB HDD works on bus
power.
• Do not use a USB hub as it may lead to
insufficient power supply and/or lower data
transfer rate.
Parallel I/O Parallel I/O interface (40 pins) used for signal input/
12
connector output.
Power and ground Used to connect power (24 VDC) and the ground
15
terminals wire to the system.
Communication
expansion unit Used to connect the communication expansion
16
connector unit.
(right side)
1-3
TM-X5000 Series User’s Manual Part Names and Functions
z TM-X5006
2 3
4 1
2
1
6
3
7
8
9
1
6
5 9
6 4 5 7
No Name Function
1-4
TM-X5000 Series User’s Manual Part Names and Functions
2 Install the communication expansion unit on the right-hand side of the controller.
Connector on
1
3 controller side Only one EtherCAT unit can be connected to the controller.
2 Install the communication expansion unit on the right-hand side of the controller.
Connector on
1
3 controller side Only one EtherNet/IP unit can be connected to the controller.
1-5
TM-X5000 Series User’s Manual Part Names and Functions
2 Install the communication expansion unit on the right-hand side of the controller.
Connector on
1
3 controller side Only one PROFINET unit can be connected to the controller.
1-6
TM-X5000 Series User’s Manual List of Optional Products
Dedicated monitor mount OP-87262 Installation mount for the dedicated monitor (TM-MP120).
Connector extension cable OP-51657 Cable (40 pins) for the parallel I/O interface.
RS-232C communications cable OP-26487 A communications cable (6 pole, 6 core, 2.5 m) for RS-232C.
USB 2.0 cable OP-35331 A USB cable (3 m) used to connect to the dedicated monitor or PC (TM-X Navigator).
OP-87033 An extension cable (1 m) that connects the transmitter head and receiver head.
Transmitter-to-receiver cable
OP-87034 An extension cable (3m) that connects the transmitter head and receiver head.
1-7
TM-X5000 Series User’s Manual
2
Installing
the TM-X5000 Series
Installation and Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Installing the Head . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Attaching the Protective Cover . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
Installing the Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Installing the Communication expansion unit . . . . . . . . . . . . . . . 2-4
Installing the Dedicated Monitor for TM-X . . . . . . . . . . . . . . . . . . 2-5
Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
Connecting the Power to the Controller . . . . . . . . . . . . . . . . . . . 2-7
Connecting the Power to the Dedicated monitor for TM-X . . . . . 2-8
2-1
TM-X5000 Series User’s Manual Installation and Wiring
The sensor head can be installed according to the specific environment Using the transmitter/receiver base for installation
The transmitter head and receiver head are fixed to the transmitter/
and target.
receiver base at the time of shipment.
This section explains the method to use the supplied transmitter/receiver
This section explains how to install to the device using the transmitter/
base.
receiver base (ex. TM-X5040).
The same method can be used for TM-X5006, TM-X5065, and TM-X5120.
Caution for installation
When installing the sensor heads, make sure the following conditions are z To tighten screws from above
met. Use the hexagon socket bolt (included)
to fix through the installation holes of the
Parallel position top of transmitter/receiver base.
• Tightening torque maximum value
TM-X5006 : 1.5 N·m
TM-X5040 : 1.5 N·m
TM-X5065 : 3.0 N·m
TM-X5120 : 15.0 N·m
Receiver head Transmitter head
within ±1 mm
Set the angle of the transmitter head within ±0.1° so that the
light from the transmitter head enters parallel to the main axis
of the receiver head. For installation, use the [Optical axis
alignment] function to install within the range.
“Optical Axis Alignment” (Page 3-10)
Target
Receiver head Transmitter head
Light source
Shielding object
2-2
TM-X5000 Series User’s Manual Installation and Wiring
TM-X5006/5040/5065 TM-X5120
• M3 x L8
hexagon socket bolt x 8
Installation method
1 Blow any grime or dust off the glass with clean air.
Align orientation
Maintenance
If any grime or dust has adhered to the glass, blow it off with clean air. If
the soiling is particularly bad, wipe the glass surface gently using a soft
cloth moistened with alcohol (IPA, ethanol, or the like).
2-3
TM-X5000 Series User’s Manual Installation and Wiring
Mount the controller to the DIN rail or use the screw from holes on the
Mounting the controller to the DIN rail
The controller is designed to be mounted on a DIN rail. Pull the tab on the
bottom to secure it securely. bottom in the direction of the arrow to mount or dismount the controller.
• Do not install the controller in a location with lots of
dust or water vapor. The controller does not have a
mechanism to protect it from dust or water. Dust or
water entering the controller can cause damage to
the controller.
• Turn off the controller when connecting or
disconnecting a cable or terminal block. Connecting
or disconnecting a cable or terminal block while
connected to a power source may damage the
controller or peripheral devices.
50 mm 50 mm
Installing the Communication expansion unit
• Turn off the controller when installing or removing
the communication expansion unit. Installing or
50 mm 50 mm 50 mm removing the communication expansion unit while
connected to a power source may damage the
controller or peripheral devices.
• If the communication expansion unit is not
connected, do not remove the connector protection
50 mm 50 mm sticker. Using this unit with the connector exposed
may cause damage to the controller.
Optional Communication Units Available:
*If spaces of 50 mm or more are ensured of even on the underside (EtherCAT: CB-NEC20E, EtherNet/IP: CB-NEP20E, PROFINET: CB-NPN20E)
orientations by DIN rail mounting, etc., then the units can be used at Remove the connector protection sticker from the communication
higher than ambient temperatures. expansion unit connector on the right side of the controller and install the
communication expansion unit.
• Do not block the ventilation holes located on the top
and bottom panels of the controller unit. Doing so
may cause heat to build up inside the unit, which
may result in malfunction.
• If the temperature inside the control panel
(temperature at the top of the controller) exceeds
the rating, use forced air-cooling or increase the
free space around the system to improve ventilation
until the operating ambient temperature decreases
below the rating.
• When installing the controller on a surface, pierce
holes in the surface below the ventilation openings
on the bottom of the controller or take appropriate
action to ensure that ventilation flows from the
bottom of the controller to the top.
2-4
TM-X5000 Series User’s Manual Installation and Wiring
(2)
15° 15°
30°
(3)
+1
301.5 -0 Unit : mm
2-5
TM-X5000 Series User’s Manual Installation and Wiring
Wiring
2 Connect the cable connector between the transmitter
head and receiver head.
The connection cable between the transmitter head and
the receiver head can be extended up to 3 m using the
transmitter-to-receiver cable.
Controller
z TM-X5006
Align the connector and insert, then turn the fixing ring to fix. (They are
connected at the time of shipment.)
Head connection cable
(3m/5m/10m)
Fixing ring
24V DC power
supply
z TM-X5040/TM-X5065/TM-X5120
Align the connector and insert to the transmitter head connector, then turn
the fixing ring to fix. (They are connected at the time of shipment.)
Dedicated
monitor for
TM-X
Head A
• Be sure to turn off the power to the controller before Fixing ring
connecting/disconnecting cables. Failure to do so
may cause malfunction.
• Plug in the connector making sure its orientation
is correct. Inserting the connector in the wrong
orientation may break the connector pins and result
in a malfunction. • Use the screws to fix and install the cable box since
directly damage might be caused if the cable box
connector is accidentally grounded.
• Make sure to connect the frame ground terminal for the
• Since there is no cable box in the TM-X5120, connect
24 VDC power source to a class D ground.
the head connection cable directly to the receiver
• Different models of the TM-X 5000 series heads can be
head.
connected to one controller.
Plug in the connector making sure its orientation is
If connecting only a single head, connect it to the head A port. z When using a head connection extension cable
Check that a clicking sound is heard, confirming that the cables are The cable that connects the head and the controller can be extended by
securely fixed. When removing the cables, pull them out while pressing using the head connection extension cable.
the buttons on both sides of the connector.
Use the screws to fix and install the “Repeater for head
connection extension” since damage might be caused
if the connector of “Repeater for head connection
extension” is accidentally grounded.
2-6
TM-X5000 Series User’s Manual Installation and Wiring
• The dedicated monitor for TM-X and controller can be Connecting to 24V DC
Connecting to 0 V DC
2
connected by using an Ethernet cable.
• When using a USB cable, either the dedicated monitor Connect the ground wire to the grounding terminal.
for TM-X or the PC (TM-X Navigator) will be connected
to the controller.
Other Other
Main unit device Main unit device
A B
Other
Main unit device
B
A
A>B
A<B
2-7
TM-X5000 Series User’s Manual How to use the terminal block
1 Connect 24 V DC and 0 V to the power terminal. Use wiring with a temperature rating of 80 °C or more.
2 Connect the ground wire to the grounding terminal. 1 Remove the connector terminal block from the controller.
Connect ground wire here 2 Loosen the screw of the connector terminal block using
a flat head screwdriver.
• Ground each device separately.
• Use a Class D ground.
• Keep ground resistance to 100Ω or less.
• Keep the ground wire as short as possible. Flathead screwdriver
• If it is not possible to ground each device separately,
ground them together. However, make sure that the
electrical cables are the same length.
Other Other
Main unit device Main unit device
A B
3
Ground per Class D A=B
Ground resistance 100Ω After stripping the insulating sheath 7 mm, insert the
Ground per Class D
Ground resistance 100Ω wires and then tighten the screws.
Other
Main unit device
B
A
A>B
A<B
2-8
TM-X5000 Series User’s Manual
3
Setup/Run
Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-40
Trend graph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-40
Histogram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-41
3-1
TM-X5000 Series User’s Manual Basic Operation
Basic Operation
Workflow from Connection to Running Creating a program
3-2
TM-X5000 Series User’s Manual Basic Operation
3-3
TM-X5000 Series User’s Manual Basic Operation
Detected circle
Detected line 3
Detected point
2
1 Click the starting point.
Generated rectangle
3-4
TM-X5000 Series User’s Manual Basic Operation
Inverted Copy
Using [Inverted Copy] on the [Edit] menu enables the selected detection
area and measurement tool to be copied inversely on the specified axis.
z Reselect from a list (when editing an element) Replace with Diameter Tool
To edit a set tool, selecting displays the specified element name.
Using [Replace with Diameter Tool] in the [Edit] menu enables [LN - LN] to
Selecting an element name displays a list of set elements.
be replaced with [Diameter].
Placing the mouse pointer over an element highlights the applicable
element on the main screen. For two head configurations, [LN - LN] set across Head A
Select the element to be set and click [Next]. and Head B cannot be replaced with [Diameter].
3-5
TM-X5000 Series User’s Manual Layout of the Screen
(6)
(10)
(7)
(8)
(12)
(11)
(9)
3-6
TM-X5000 Series User’s Manual Layout of the Screen
• List • Hierarchy
3-7
TM-X5000 Series User’s Manual Layout of the Screen
[Run] Mode
The differences to [Setup] mode are as follows:
• [Output Settings] are enabled and output is performed.
• The [Statistics] function is enabled.
• The archived images are acquired. (The archived images can be viewed in both [Setup] mode and [Run] mode.)
(1) (2) (3) (4) (5)
(6)
(7) (10)
(8)
(11)
(12)
(9)
3-8
TM-X5000 Series User’s Manual Layout of the Screen
z Transfer settings/start
Configure the settings to send measurement results to Excel and then
TIM This command inputs the timing.
start the transfer to Excel.
ZERO ON This command inputs auto zero. Set the destination sheet name, write start cell, items to be transferred,
and function selection (timing data is to be sent).
ZERO OFF This command cancels auto zero input.
Selecting [Output Only Operating Recipe] exports
This command resets the measurement result for only the items set for the recipe in operation to
MSR RESET
the recipe that is currently active. Excel irrespective of whether any of the items to be
This command resets the measurement result for transferred are selected.
RESET ALL
all recipes.
The items that are executed with the reset command are
as follows:
• Clears all buffers including the image buffer.
• Creates a new file name for the file used to store data.
• Initializes total status output.
• Clears OUT_DATA0 to OUT_DATA15.
• Clears all of history data.
• Clears the measurement count.
z Exit transfer
(16) Latest NG image Ends the transfer of the measurement results to Excel.
Displays the latest NG image on the main screen.
z Start Transfer
Enabled when [Click Logging] is selected for [Logging Selection].
Measurement results (one time) are sent to Excel based on the transfer
settings.
3-9
TM-X5000 Series User’s Manual Program Settings Menu
z Measurement Ranges
Set the range to capture images.
Compressing the measurement range (vertical and horizontal sizes)
enables the time taken to capture images to be reduced.
Moving the sliders for [Horizontal Position] and [Vertical Position] changes
the measurement range.
z Binning
Set to ON to speed up image transfer.
Doing so will pixelate the transferred images.
z Rotation
Set to rotate the captured image.
Rotated images can be displayed, measured, and output.
This is useful when the head has been rotated and then installed.
z Exposure Time
Select the exposure time (100 µs (default value), 50 µs, 25 µs).
Shortening the exposure time reduces the light intensity, but enables
blurring to be decreased when a moving object is captured.
z Image Composition
Multiple images are captured for one trigger and image composition
processing (None/Average/Dark Composition/Bright Composition) is
performed.
z Trigger Cycle
Can be set when [Internal Trigger] is selected for the [Trigger Mode].
Sets the internal trigger interval.
3-10
TM-X5000 Series User’s Manual Program Settings Menu
Eight recipes can be set for one Program. z Total Judgment for All Recipes
If multiple recipes are set for one Program, they can be judged as a group.
A reference image, position correction, and measurement settings can be
saved for each recipe. z Switch Recipes Automatically
If multiple recipes are registered, [Recipe] can automatically be changed in
accordance with the captured images of the target.
In [Run] mode, the recipe can be changed by a command or
with [Measurement Control Bar].
z Recipe 1 to 8
Select the recipe to be configured.
If a reference image is registered, a thumbnail image will appear.
• Name
Clicking the keyboard icon enables the recipe name to be configured.
Trigger button
• Recipe initialization
Clicking on the right of the list displays a confirmation screen.
Clicking [OK] enables the recipe to be initialized.
• Copy Recipe
This function copies the settings of an existing recipe and pastes them
into another recipe.
Specify the source and destination for the recipe number, and then copy
the recipe.
If two heads are connected, the recipes for both heads are
copied.
3-11
TM-X5000 Series User’s Manual Program Settings Menu
• Select the position adjustment group number for Multiple edges in the line detection area (green
[Position Correction] in [Specify Region] for the frame) are detected to find the center of the line from
measurement tool. information about the edges of the detected points and
position adjustment is performed. Position adjustment
can be performed in the center of the target for targets
Shapes that are similar to the target are searched
that have a varying thickness.
for in the pattern region (green frame) and position
adjustment is then performed.
A pattern search is performed inside the search region
(blue frame).
3-12
TM-X5000 Series User’s Manual Program Settings Menu
z Timeout
Sets the maximum time from the start to the finish of pattern search.
z Angle sensitivity
Changes the angle step width when searching and specifies the priority of
stability and speed of the rotation direction.
[Low] prioritizes the search speed and [High] prioritizes stability and
accuracy of the rotating direction.
z Accuracy
Specifies the search accuracy when searching.
[Low] prioritizes the search speed and [High] prioritizes accuracy.
7. Scan Direction
Select a direction to detect edges. The direction is indicated by the
orientation of the pink arrow on the main screen.
6
Advanced
ü
9. Correction Method
Settings Set a method to adjust edges when performing position adjustment.
7 Scan Direction Use the furthest edge in the direction of the pink arrow
ü ü ü ü FAR
inside the detection area as the adjustment reference.
8 Edge Direction ü ü ü ü ü
Use the closest edge in the direction of the pink arrow
NEAR
Correction inside the detection area as the adjustment reference.
9 ü ü
Method
Use the average value of the X-Position (or Y-Position)
10 Remove Defects ü ü ü Average on the edge in the detection area as the position
adjustment reference.
Advanced Edge
11 ü ü ü ü ü Compress and detect the image inside the detection area
Settings
Fast in the detection and perpendicular directions to speed up
12 Mask Region ü ü ü ü ü ü adjustment.
1. Tool Name
Set the desired tool name. 10. Remove Defects
Remove edge points that are away from the edge point trail as abnormal
points when calculating fitting lines. Errors may occur due to the effects of
2. Pattern Region (Rotated Rectangle/Circle) burrs or contamination on the measurement target.
Select the shape of the pattern region. Setting the slider to the [Strong] side judges small gaps as abnormal
points.
3. Angle Range
Specify the angle range by +/- for pattern search where the measurement
target is tilted.
Setting a large angle increases the amount of computing. Hence,
measurement time increases.
5. Search Sensitivity
Changes the compression rate of an image when searching to specify the
priority between the search speed and stability.
[Low] prioritizes the search speed and [High] prioritizes stability.
3-13
TM-X5000 Series User’s Manual Program Settings Menu
z Interval
(Position and Angle of Line/Center of Circle/Center Line)
Specify the segment size in which an interval is detected.
z Sensitivity
Set the criteria for recognition of contrast above a certain percentage as
an edge where the contrast variation is most remarkable (100%).
As edges below this edge sensitivity are not recognized, use this setting to
ignore noise.
z Filter Width
When a noise component causes false edge detections, increasing the
filter width can reduce the false detections.
3-14
TM-X5000 Series User’s Manual Program Settings Menu
Basics
A sequential workflow from the edge (element) detection settings
necessary for measurement to the display of the measurement results can
be set.
Measurement settings used for edges (elements) that have already been
detected are also used. Measure the distance between a circle (or arc) and a
point.
Angle
Measure the angle between two lines.
3-15
TM-X5000 Series User’s Manual Program Settings Menu
Position Element
Measures the coordinates with the origin on the left side Detect the elements to be used for the measurement of points, lines, and
of the screen. other features.
Automatic Measurement
Automatically detect edges in the specified area and
measure the distance between the edges.
Detect circles.
Detect arcs.
3-16
TM-X5000 Series User’s Manual Program Settings Menu
Detect peak circles that go through peak points Detect an edge point on the circumference.
detected from the inside of the specified circular area.
Point
Detect points on the set line.
Tip
Detect tips at the apex from the inside of the specified
rectangular area.
Max/Min point
Detect the maximum or minimum point inside the
rectangular area.
Defect Element
Detect a foreign object of an indeterminate form that
has adhered to the target compared to the shape
(rotated rectangle, circle, or arc) extracted from the
Detect the maximum or minimum point in the circle or reference image.
arc area.
Contour
Automatically detect the target’s edge and extract a
Inflection group of contour points from that edge.
Others
Detects the specified circle diameter tangent to the
contour inside the specified area.
Pitch Element
Detect an edge point on a line.
3-17
TM-X5000 Series User’s Manual Program Settings Menu
Detect the elements to be used for the measurement of points, lines, and
other features.
Line/Circle
Draw a median line from two selected lines, circles or
points.
3-18
TM-X5000 Series User’s Manual Program Settings Menu
Point Application
Draw the intersection of the two selected lines (straight These are various tools that facilitate complicated measurement.
lines, circles or arcs).
Corner
Measure the corner arc based on the two lines that
form a corner.
Connection
Create a circle by combining two or more selected arcs.
Master Difference
Measure the target area inside the specified area and
calculate the differences to the reference image.
Arbitrary Line/Point
Draw a line that goes through any two selected points.
3-19
TM-X5000 Series User’s Manual Program Settings Menu
Count
Count the number of pitches between edges for the
specified pitch element tool.
Bulk Operation
Measures the distance between one line and multiple
points at the same time.
Area
Measure the area of the target inside the specified area.
Defect
Detect locations that deviate from the reference line
calculated from the edge information and then measure
that distance.
Calculation
Use the measurement result and calculate.
The calculation results from other calculation tools can
be inserted into the formula.
Gap There is no compatibility between
Measure whether there is a gap in any specified area. [Standard] and [Advanced]. Copying the
content from one to the other cannot
If there are multiple gaps, the shortest obtain an correct calculation result.
distance between gaps can be measured
by selecting [Stable] for [Processing Mode]. • Standard
Thickness
Measure the ring thickness at the specified interval.
The average value or the maximum and/or minimum
values(s) can be output.
• Advanced
3-20
TM-X5000 Series User’s Manual Program Settings Menu
Form
Measures the straightness of the specified line.
Location
Measure the concentricity of the two specified circles or
arcs.
3-21
TM-X5000 Series User’s Manual Program Settings Menu
z Basics
Diameter/ Automatic
Dimensioning Angle Position
Caliper measurement
1 Tool Name ü ü ü ü ü ü ü ü ü ü ü ü
2 Angle Range ü
3 Measurement Pattern ü ü ü ü
Base Measurement
4 ü ü ü ü
Direction
5 Diameter/Radius ü ü
6 Detection Conditions ü ü
7 Auto Adjust ü
8 Edge Direction ü
10 Tolerance Settings ü ü ü ü ü ü ü ü ü ü ü ü
11 Moving Average ü ü ü ü ü ü ü ü ü ü ü ü
12 Processing Settings ü ü ü ü ü ü ü ü ü ü ü ü
13 Remove Defects ü
17 Specify Region ü ü
18 Mask Region ü ü
19 Width Measurement ü
20 Detect Edge ü
21 Delete Edge ü ü
3-22
TM-X5000 Series User’s Manual Program Settings Menu
z Element
Line/Circle Point Max/Min point Inflection
1 Tool Name ü ü ü ü ü ü ü ü ü ü ü ü
7 Auto Adjust ü ü ü ü ü ü ü ü ü ü ü
8 Edge Direction ü ü ü ü ü ü ü ü ü ü
13 Remove Defects ü ü ü ü
14 Remove Isolated Point ü ü ü ü ü
15 Gauge Line ü
16 Advanced Edge Settings ü ü ü ü ü ü ü ü ü ü ü ü
17 Specify Region ü ü ü ü ü ü ü ü ü ü ü ü
18 Mask Region ü ü ü ü ü ü ü ü ü ü ü
22 Output Ppattern ü ü ü ü ü ü
23 Scan Direction ü ü ü ü ü ü ü ü ü ü
24 Correction Method ü
25 Shape ü
Detection sensitivity,
26 Lower Limit of Detection Threshold, ü
Upper Limit of Detection Threshold
27 Display Color Settings ü ü ü ü ü ü ü ü ü ü ü ü
z Element (Cont.)
Pitch Element Pitch Element Defect
Tip Contour Others
(Distance) (Angle) element
1 Tool Name ü ü ü ü ü ü ü ü
7 Auto Adjust ü
8 Edge Direction ü ü
9 Diameter ü
13 Remove Defects ü ü
16 Advanced Edge Settings ü ü ü ü ü ü ü
17 Specify Region ü ü ü ü ü ü ü ü
18 Mask Region ü ü ü ü ü ü ü ü
23 Scan Direction ü
27 Display Color Settings ü ü ü ü ü
28 Reference Line ü
29 Pitch pattern settings ü ü ü ü
30 Pitch Interval Value ü ü
31 Half Angle ü
Maximum Permissible Feature
32 ü ü ü ü
Count
Set ALARM as the result when
33 ü
straight line detection fails
34 Defect Detection Conditions ü
35 Contour Best Fit ü
36 Minimum detect size ü
37 Advanced Settings ü
57 Round groove (Ball screws, etc.) ü
3-23
TM-X5000 Series User’s Manual Program Settings Menu
z Auxiliary
Line/Circle
1 Tool Name ü ü ü ü ü ü ü ü ü ü ü
3 Measurement Pattern ü
22 Output Pattern ü ü
27 Display Color Settings ü ü ü ü ü ü ü ü ü ü ü
37 Distance from Base Elements ü
39 Degrees of Rotation ü
40 Radius ü ü
41 Pattern to Create ü ü
z Auxiliary (Cont.)
Arbitrary
Point Connection
line/Point
1 Tool Name ü ü ü ü ü ü ü ü
8 Edge Direction ü
22 Output Pattern ü
23 Scan Direction ü
27 Display Color Settings ü ü ü ü ü ü ü ü
41 Pattern to Create ü ü
42 Point 1/Point 2 ü
43 Point ü
55 Specify Detected Point ü
z Application
Width of
Master Pitch Bulk
Corner Count Area Defect Gap Thickness specific Thread Calculation
Difference Measurement Operation
position
1 Tool Name ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü
3 Measurement Pattern ü
6 Detection Conditions ü ü
7 Auto Adjust ü
8 Edge Direction ü ü
10 Tolerance Settings ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü
11 Moving Average ü ü ü ü ü ü ü ü ü ü ü ü ü
12 Processing Settings ü ü ü ü ü ü ü ü ü ü ü ü ü ü
13 Remove Defects ü
16 Advanced Edge Settings ü ü ü ü ü
17 Specify Region ü ü ü ü ü
18 Mask Region ü ü ü ü ü
35 Contour Best Fit ü
36 Minimum Detect Size ü
44 Measurement Type ü ü
Items to be Judged for
45 ü ü
Tolerance
46 Sensitivity ü
47 Dead Band ü
48 Distance from Reference ü
49 Measurement Method ü
50 Exclusion Area Settings ü
Abnormal Segment
51 ü
Tolerance
52 Measurement Item ü
53 Setting the reference axis ü
Display the detection
54 ü
point only when NG.
56 Processing Mode ü
3-24
TM-X5000 Series User’s Manual Program Settings Menu
z Geometric tolerance
Form Location Orientation
1 Tool Name ü ü ü ü ü ü
10 Tolerance Settings ü ü ü ü ü ü
11 Moving Average ü ü ü ü ü ü
12 Processing Settings ü ü ü ü ü ü
35 Contour Best Fit ü
36 Minimum detect size ü
Display the detection
54 ü
point only when NG.
3-25
TM-X5000 Series User’s Manual Program Settings Menu
z CL - CL z Ring Thickness
Select [Maximum Width], [Minimum Width], or [Average].
5. Diameter/Radius
z Circle/Arc
Select whether to output the diameter or radius.
3-26
TM-X5000 Series User’s Manual Program Settings Menu
z Line, Peak Line, Center Line, Circle, Arc, Peak Circle, z Zero Base Value
Peak Arc, Point, Max/Min Point (Rectangle), Specify the value to subtract from the measured value with “Auto zero
Max/Min Point (Arc), Tip, Defect Element, Corner Arc, Gap processing” when ZERO ON is input. The setting value is automatically
Select whether to detect edges that change from dark to light or light to written to “finalized measured value” when ZERO ON is input.
dark. If the hold value is “10” when the standard value is “10,” the
measured value becomes “0.”
If the [Scan Direction] and [Edge Direction] have not been
appropriately combined, the edge may not be detectable.
z Peak Detection Filter
Sets the peak detection filter.
Selecting [Hold Peak Value] or [Hold Bottom Value] enables [Level] and
9. Diameter [Hysteresis] to be set.
Specify the diameter of the circle used in the [OBD Element] tool with a
numeric value. If [Peak Detection Filter] is set, [Nearest Hold] and [Other
Tool Reference Hold] cannot be selected in [Hold Mode].
z Hold Mode
Set whether to continue sampling during measurement or specify a
sampling period and measure the maximum or minimum value.
10. Tolerance Settings Measure the maximum value in the specified
Set the tolerance to judge the measured value ([Upper Limit] and [Lower Peak Hold
period.
Limit]).
Measure the minimum value in the specified
Bottom Hold
period.
z Number of Digits
Set the number of decimal points for the measured value.
z +/- Direction
Select [None (absolute value)], [Forward], or [Reverse Direction] for the
sign of the measured value.
This item can be set for [LN - LN], [LN - PT], [PT - PT], [CL - CL], [CL -
LN], and [CL - PT].
3-27
TM-X5000 Series User’s Manual Program Settings Menu
Specified by
Specify the segment length with a number.
Length
Specified by
Specify the ratio of the black width for the area.
Ratio
• Segment Size
The average of the monochrome ratio of the Specify the segment size in which an edge is detected.
respective crests can be specified as the gauge line Enlarging the segment size will degrade the detection sensitivity.
can be detected across more than black and white However, the result is less affected by noise.
Specified by pairs.
black width ratio • Interval
The monochrome ratio is calculated by Specify the segment interval. Increasing the segment interval omits
the formula: black width/(black width + processing points, which shortens measurement time.
white width).
• Sensitivity
Set the criteria for recognition of contrast above a certain percentage as
an edge where the contrast variation is most pronounced (100%).
As edges of contrast below this edge sensitivity are not recognized use
this setting to ignore noises.
• Filter Width
To detect minute items like narrow lines, decrease the filter width.
Additionally, when noise causes false edge detections, increasing the
filter width can reduce the false detections.
• Edge Sensitivity Lower Limit
Set the lower limit for edge detection. Edges below the lower limit are
not detected.
• Out of Image Processing Area
This processing is performed when the various tool areas are outside
the range of the loaded image. Select the check box to speed up
processing (processing is not performed outside of the area).
• Minimize End-Face Reflection Error
Select this check box to decrease the effects of end surface reflection
from targets that have a parallel depth in the light emission direction.
3-28
TM-X5000 Series User’s Manual Program Settings Menu
z Position Correction
Select the position correction group number to set as the position
correction.
• To exclude position correction as a target, select [None].
• Selecting [Specify Tool] enables set tools (lines, points, circles, chamfer,
and corner arc) to be selected.
3-29
TM-X5000 Series User’s Manual Program Settings Menu
Detect a proximate circle using the least square method Calculate a proximate line using the least square method
Fitting from the detected edge. The lines are tilted and the line
from the detected edge.
Minimum that goes through the edge of the closest (smallest) line
Inscribed Detects an inscribed circle from the detected edge. in the scan direction (the direction of the pink arrow) is
detected.
Circumscribed Detects a circumscribed circle from the detected edge.
Detect a line using the least square method from the
Fitting
detected edge.
z Peak Circle/Peak Arc
Select [Maximum] or [Minimum].
Maximum
Detect the largest edge from the center of the circle to
the outside as peaks and create peak lines with the least
25. Shape
Select whether to detect the convex on the top or the bottom of the
square method that go through them. reference curve as an inflection when detecting inflection.
Detect the smallest edge from the center of the circle to
Minimum the outside as peaks and create peak lines with the least
square method that go through them.
26. Detection sensitivity, Lower Limit of Detection
Threshold, Upper Limit of Detection Threshold
Set the inflection detection sensitivity, and upper and lower threshold
z Max/Min Point (Rectangle) limits.
Select [Max point] or [Min point].
The detection status for inflection is displayed on a graph.
Detect the largest edge point (the furtherest edge point)
Max point
in the scan direction (the direction of the pink arrow).
z Approximate Circle
Select [Max.], [Min.], [Fitting], [Inscribed], or [Circumscribed].
z Figure Circle
When specifying a circle and any point to create a figure circle, select
[Distance from Center] or [Distance from Circumference].
Distance from
Specify the radius of a figure circle with [Radius].
Center
3-30
TM-X5000 Series User’s Manual Program Settings Menu
z Extraction Interval
Specify the interval of groups of contour points that are detected as edges.
z Accuracy
Specify the search accuracy.
This option can be set if Contour Best Fit (Page 3-31) is enabled.
z Timeout
Specify the time until contour extraction ends.
3-31
TM-X5000 Series User’s Manual Program Settings Menu
z Intersection
Select [1st Point] or [2nd Point].
z Tangent Circle
Select [Pattern 1], [Pattern 2], [Pattern 3], or [Pattern 4].
z Line Color
Specify the color of the line.
43. Point
Specify the coordinates when specifying the desired point.
z Point Color
Specify the color of the points.
3-32
TM-X5000 Series User’s Manual Program Settings Menu
z Area
Set the area to be excluded (OFF/Starting Side/Ending Side/Both Sides).
z Exclusion Range
Specify how many segments are to be excluded from the specified side of
the segments found by the edges (gaps) when searching for edges (gaps)
by segment from the starting side or ending side. The range of edges
specified to be excluded is shown by a light purple circle (¡).
3-33
TM-X5000 Series User’s Manual Program Settings Menu
Output Settings
Select the output destination for the judgment and measurement results,
and the items to be output.
Outputs the total status result for only the time z FTP Server
One Shot Output Any [Saved folder name] can be specified.
set for [One Shot Time].
[Results file name] is [yymmdd]_[hhmmss].txt.
(Example: 201215_051128.txt)
Global settings to connect to an FTP server need to be configured.
Terminal “Communications & I/O” (Page 4-2)
z Non-Procedural
[RS-232C] or [Ethernet] can be selected as the output destination.
Global settings to perform non-procedural communication need to be
configured.
“Communications & I/O” (Page 4-2)
z Terminal settings
Assign the output conditions (OK Judgment/NG Judgment) and the tool to
assign to the output terminal.
z Output Mode
Outputs the judgment result every time the total
Update Every Judge
status result is finalized.
z External Terminal
“External Terminal” (Page 4-4)
3-34
TM-X5000 Series User’s Manual Program Settings Menu
z Process Priority
Select [Measurement First] or [Image First].
z Naming Rule
Set [New Folder Rule], [File Naming Rule], or [File Format].
When [Customize] is selected in [File Naming Rule], the
format of the output file name is editable using [Measured
Value], [Judgment Result], [Variables], [Date/Time], [String],
[Externally Specified String], [Image Specified Info].
However, be careful about the following.
• When the file name is blank, the image is not output.
• Files with the same name will be overwritten.
• For [Head Judgment], when outputting images from a
• Byte Allocation Area simple monitor, the string will be “capture”.
(EtherNet/IP, PROFINET, PLC-Link, and EtherCAT) • When [Image Buffer] is on, [Externally Specified String]
cannot be reflected correctly (the string will be the one set
for measurement).
Image Output
z Memory Settings
“Memory Setting” (Page 4-10)
Logic Setting
3-35
TM-X5000 Series User’s Manual Edit Menu
Edit Menu
z Open the Folder of the Image Capture
Opens folders where image captures are saved.
This menu is a TM-X Navigator-only function.
z Display Options
• Common
Set the items to be displayed on the [Setup] mode and [Run] mode
screens.
The following items can be set:
• Main View Numeric Display Format
• Main View Numeric Display Color
• Measurement Result Display
• Display Settings for Measurement Items (Select [View], [Show Only
List], or [Hide])
• Show or hide the Tool ID in Result Display
• Do not Display the Total Status
z Copy
The detection region and measurement tools can be copied.
z Paste
Pastes the copied detection region or measurement tool.
The pasted detection region can be moved to the desired position.
z Multiple Copy
“Multiple Copy” (Page 3-5) • Running Screen
Set the items to be displayed on the screen when changing to [Run] mode.
z Inverted Copy
“Inverted Copy” (Page 3-5)
If two heads are connected, the recipes for both heads are Send to Excel is a TM-X Navigator-only function. It is not
copied. available with the dedicated display.
• Simple Monitor
Sets the content to be displayed on the simple monitor.
3-36
TM-X5000 Series User’s Manual Program Operation
Program Operation
This section describes how to add, save, and edit programs, and other
program operations.
z Edit Program
Edit programs saved in the SD memory card.
z Add New
Add Programs necessary for measurement processing.
[Program Name] can be set at the same time, so register an easy to
recognize Program name. If the dedicated display is being used, [Backup Destination]
can be set to [Dedicated Display USB Memory] or [SD Card
in Controller].
z Restore
Restore the program.
To individually restore a program, specify a restore destination first.
z Save
Save the active program and global settings.
3-37
TM-X5000 Series User’s Manual Archived Image
Archived Image
Check archived images for the measurement results.
(2) (3)
Operation Menu for Archived Image
Displays a menu of archived images.
(1)
(4) (5)
(6)
(7)
(8) (9)
z Filter
Specify the type of image and period to display in [Archived Image].
(10) (11)
z Save Image
(1) Menu Saves the image selected in [Archived Images List].
Displays a menu of archived images. The image output destination and output target can be selected.
“Operation Menu for Archived Image” (Page 3-38)
(2) Head A/Head B
Select the head to display archived images.
(3) To Batch Test
Enters test mode based on the archived images.
“Batch Test” (Page 3-39)
(4) Select all/Select All NG
The images displayed in the archived images list can be selected all at
once.
(5) Update Image
Update the archived images list. z Image Loading
Set the conditions to import an image to [Image Loading].
(6) Image ID Number
Omitted images (1/X omissions) can also be loaded.
Unique ID number assigned for archived images.
If omitted images are loaded,
(7) Archived Images List the omitted information (BMP (1/X)) is displayed.
Displays a list of measurement result images.
Images to be saved can be selected individually.
Images being held in hold mode are displayed as one
group with a symbol.
Clicking the symbol enables the images grouped during
the hold period to be expanded and reviewed.
• Store Condition
Select the image type to archive (NG only/All).
This option cannot be selected if [Always Output] is selected for [Store
Trigger].
3-38
TM-X5000 Series User’s Manual Archived Image
Batch Test
Perform a batch test on archived images.
Tests can be run by changing the program content and other settings.
(1) (2) (3) (4)
(6)
(5)
(7)
(8)
(9) (10)
(11) (12)
(1) Execute
Run a batch test.
When in hold mode, the results are not from the
measurement period, but rather measurement and
judgment results for the respective images.
(2) Clear
Clears the batch test results.
(3) Display Statistics
Displays the results on [Statistical Information] after running a batch test.
Move the cursor on the Trend Graph and the image ID will be displayed.
“Statistics” (Page 3-40)
(4) To Archived Image
Go to [Archived Images].
“Archived Image” (Page 3-38)
(5) Select All/Select All NG
The images displayed in the archived images list can be selected all at
once.
(6) Executed count/NG count
Displays the results after running a batch test.
(7) Image ID Number
Unique ID numbers assigned for archived images.
(8) Archived Images List
Displays a list of measurement result images.
Images to be tested can be selected individually.
(9) View Toolbar
Changes the display magnification of the main
screen.
3-39
TM-X5000 Series User’s Manual Statistics
Statistics
Check a trend graph and histogram based on the measurement results, and output the results in CSV format.
Trend graph
(1) (2) (3) (4) (5) (6) (10) (11)
(7) (12)
(13)
(8)
(14)
(9)
(15)
(16)
(17)
(1) Start/stop (11) CSV Output
Start or stop data storage. Export statistical analysis data to a CSV file.
(2) Display Reset Data for which the items are selected in the “List of
Reset the magnification ratio of the trend graph. Measurement Values” is output.
(3) Show AB Cursor (12) Clear
Show or hide the AB cursor on the trend graph. Clears the accumulated data.
(4) Auto Scroll • Closing “Statistics” also clears the accumulated data.
Turn auto scroll for the trend graph on or off. • The trend graph and histogram are also cleared.
(5) Magnify the trend graph
Parts on the trend graph can be magnified by selecting them with the mouse. (13) Measured Value
Displays the measured value for the specified section if A/B console is
Magnify the graph in the vertical and horizontal directions. being displayed.
The value for each item is displayed if the display item is [Measured
Magnify the graph in the horizontal direction. Value] or [All].
Magnify the graph in the vertical direction. (14) Internal Measurement
Displays the internal measured value for the specified section if A/B
(6) Display Items console is being displayed.
Change the items displayed on the trend graph (Measured Value, The value for each item is displayed if the display item is [Internal
Internal Measured value, or All). Measurement] or [All].
(7) Measurement Item List (15) Data Points
Displays a list of measurement items set for the Program. Displays the stored data points.
Select the measurement items to be displayed on the trend graph. Up to 20,000 data points can be stored. Even if this number is reached,
data accumulation continues and the newest 20,000 data points are
When there is a measurement value out of the range (out
stored.
of the upper or lower limit), NG is displayed.
(16) Copy to Clipboard
(8) Trend Graph Copy statistics information, measured values, and internal measured
Displays the AB cursor and a trend graph of measurement items values for the selected measurement items.
selected in [Measurement Items List]. Copied data can be pasted for checking in notepad.
(9) Statistical Information (17) Display Range Setting
Displays statistical information about the measurement items displayed Moving the cursor to the left or right changes the display start and end
in the trend graph. positions.
Data for which the items are selected in the list of The display range can be changed by moving the cursor.
measurement values are used in statistics.
• When [Hold Mode] is set to [ON], the TIM button is
(10) List of Measurement Values displayed.
Displays the list of measurement values for the measurement items • When [External Trigger] is set for [Trigger Mode] in the
displayed in the trend graph. head settings, the trigger button is displayed.
The list of measurement values is the same setting as • If the dedicated display is being used, [Copy to Clipboard]
found on the histogram. is not available.
3-40
TM-X5000 Series User’s Manual Statistics
Histogram
(1) (5) (6) (7)
(2) (8)
(9)
(3)
(4)
(10)
(11)
(12) (13)
3-41
TM-X5000 Series User’s Manual
4
Global Settings/
Utility
Global Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
Communications & I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Date/Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Reboot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
System Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7
I/O Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7
RS-232C Monitor/Ethernet Monitor . . . . . . . . . . . . . . . . . . . . . . . 4-7
EtherNet/IP Memory Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
PROFINET Memory Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
PLC-Link Memory Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
EtherCAT Memory Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
Memory Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
Archived Image Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
Remove External Media . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
Head-to-head Adjustment Setting . . . . . . . . . . . . . . . . . . . . . . . 4-11
Head-to-head Adjustment Execution . . . . . . . . . . . . . . . . . . . . . 4-11
4-1
TM-X5000 Series User’s Manual Global Settings
Global Settings
Communications & I/O RS-232C
Configure the following settings to communicate with external devices in
Settings for external I/O interface of the controller can be changed. the RS-232C non-procedural mode:
• Baud Rate
• Stop Bit
Network • Parity Bit
The settings can be changed for input and output of various data using the • Flow Control
controller Ethernet port. • Delimiter
If any incorrect settings are made the system as well
as other network equipment may not work properly.
For details of the setting value, consult the system or
network administrator.
z IP Address Settings
Set the network configuration information (IP address/Subnet Mask/Default
Gateway).
Specify the desired IP address for the controller if necessary.
• IP Address (default setting: 192.168.0.10)
• Subnet Mask (default setting: 255.255.255.0)
• Default Gateway (default setting: 0.0.0.0)
Send a ping command to the device to be connected (IP
address) from [Check Connection] to check the connection
with the controller. If the message “Failed to verify connection
with the connected device.” appears, check the IP address
settings and LAN cable.
z MAC Address
Displays the MAC address for the controller.
z Jumbo Frame
Select the frame size (4 KB) to be used when using jumbo frames (default
setting: Disable).
4-2
TM-X5000 Series User’s Manual Global Settings
4-3
TM-X5000 Series User’s Manual Global Settings
z Input terminal
• Filter length: F_INx (ns)
To eliminate noise signals, specify the time for signals to be treated as
noise between 40 and 153600 ns (default setting: 2240 ns).
• Filter length: INx (ns)
To eliminate noisy signals, specify the time for signals to be treated as
noise between 40 and 81264600 ns (default setting: 800 ns).
z Output terminal
• STO Output Rise Time (ms)
Set the length of time from when the data is ready for output to when the • Displays the IP address setting field when [EtherNet/IP-
STO starts up within the range of 1 to 500 (ms). (Default: 5 ms) Unit] is selected.
• STO/ACK/NACK Output Duration (ms) • For details on communication/control using EtherNet/IP,
Set the length of time from when the STO rises to when the STO falls refer to “Input/Output and Control Using EtherNet/IP”
within the range of 1 to 500 (ms). (Default: 10 ms) (Page 5-19).
Input Assignments
Select the signal to be assigned to the input terminals. PROFINET, PROFINET-Unit
PROFINET is an industrial protocol for communicating with a
programmable logic controller (PLC) via the Ethernet port on the controller
or a PROFINET Unit (CB-NPN20E: Optional).
Through PROFINET, data input and output between the controller and
the PLC, as well as command issuance from the PLC to the controller are
possible.
Output Assignments
Select the output format and signal to be assigned to the output terminals.
• Normally open : Produces output in normal mode.
• Normally closed : Produces output inverted from normally open-mode
output.
4-4
TM-X5000 Series User’s Manual Global Settings
PLC-Link SNTP
PLC-Link is a communication mode where data transmission is performed
between the controller and the data memory of the PLC (programmable SNTP (Simple Network Time Protocol) is a communications protocol that
logic controller) via the Ethernet interface on the controller. In addition to is used to synchronize computer clocks on a network.
measurement data output, command execution is also available through Enabling SNTP on a controller installed on the network that can
the PLC-Link. communicate via SNTP allows accurate time to be obtained by connecting
to a SNTP server and regularly synchronizing the time of the clock built
into the controller.
z Enable SNTP
Selects whether to connect to the SNTP server and synchronize the time.
Check this box to enable.
For details on communication/control using PLC-Link, refer to
“Control/Data Output via the PLC-Link” (Page 5-60). z SNTP Server Settings (Destination)
Set the IP address for the SNTP server.
EtherCAT-Unit (default: 192.168.000.040)
EtherCAT is an industrial protocol for communicating with a programmable Use [Check Connection] to check whether communication
logic controller (PLC) via an EtherCAT Unit (CB-NEC20E: Optional). with the destination is possible.
By using EtherCAT, data input and output between the controller and the
PLC, as well as command issuance from the PLC to the controller are
possible.
z Time Zone
Select the time zone of the SNTP server to obtain the time from.
(default: 14: GMT)
Main time zones
4: GMT -8:00 Pacific Standard Time
6: GMT -6:00 Central Standard Time, Mexico City, Central America
9: GMT -4:00 Atlantic Standard Time
11: GMT -3:00 Brasilia
12: GMT -2:00 Central Atlantic Time
14: GMT London, Coordinated Universal Time
15: GMT +1:00 Berlin, Brussels, Rome, Paris, Bern
16: GMT +2:00 Athens, Jerusalem
17: GMT +3:00 Kuwait
19: GMT +4:00 Moscow
For details on communication/control using EtherCAT, refer
to “Changing EtherCAT Settings” (Page 5-55). 22: GMT +5:30 New Delhi
26: GMT +7:00 Bangkok
27: GMT +8:00 Kuala Lumpur, Singapore, Taipei, Beijing
28: GMT +9:00 Japan, Seoul
30: GMT +10:00 Canberra and Sydney
4-5
TM-X5000 Series User’s Manual Global Settings
System Reboot
The following settings can be configured: The controller can be restarted without turning the power off.
• Controller Name
• Startup Mode (default: Setup Mode)
• Angle Display Unit (default setting: Decimal)
• ERROR Output Settings Security
• A text string of up to 32 characters can be entered for the
controller name. Set a password to restrict editing of Programs.
• Decimal is set for the angle tolerance even when [Minutes/
Second] is set for [Angle Display Unit]. Additionally, the
[Excel Transfer] function sends minutes as the first and
second decimal points, and seconds as the third and fourth
decimal points.
For example, 12°34′56″ is saved in a cell as 12.3456.
System Information
Hardware, available memory resources, and other information about the
system can be checked.
Date/Time
Use the following procedure to set the controllers built in clock.
The TW command can also be used to synchronize the time.
Language
The language for the following items can be changed:
• Language displayed on the controller screen.
• Language contained in archived images.
• Decimal point notation.
• Delimiter characters in CSV files.
Archived images can contain tool names in multiple
languages. Including the tool name in the desired display
language in the simulator enables the tool name to be
displayed in that language.
If the archived image does not include the tool name in the
applicable language, the tool name is displayed with the
default name.
4-6
TM-X5000 Series User’s Manual Utility
Utility
RS-232C Monitor/Ethernet Monitor
The communication status of signals input and output via the RS-232C
(A) port or Ethernet connector on the controller can be checked.
When proper data transmission between the connected devices fails, this
feature is very useful as the communication content can be verified while
the controller and external equipment are connected.
[RS-232C Monitor] and [Ethernet Monitor] can be used in
either [Setup] mode or [Run] mode.
z Manual output
With this item selected, a specific output terminal can be forcefully set to
ON. After selecting this item, place a check mark on the box of the terminal
to set to ON.
[Manual Output] can be used only in [Setup] mode.
4-7
TM-X5000 Series User’s Manual Utility
Select the values to be monitored from [Data Format] on the upper right of Select the values to be monitored from [Data Format] on the upper right of
the screen. the screen.
• Select the values to be monitored from [Data Format] on the upper right
• Select the values to be monitored from [Data Format] on the upper right
of the screen.
of the screen.
• Select [Manual Output] to manually change the value for the selected
• Select [Manual Output] to manually change the value for the selected
address and confirm the change on the PLC side.
address and confirm the change on the PLC side.
[Manual Output] can be used only in [Setup] mode. [Manual Output] can be used only in [Setup] mode.
4-8
TM-X5000 Series User’s Manual Utility
z Results Data
PLC-Link Memory Monitor
Check the system’s PLC-Link I/O signal communication status with this
function.
When proper data transmission between the connected devices fails, this
feature is very useful as the communication content can be verified while
the controller and external equipment are connected.
• Select the values to be monitored from [Data Format] on the upper right
of the screen.
• Select [Manual Output] to manually change the value for the selected
address and confirm the change on the PLC side.
• The number of items of results data displayed can be changed in [Result
Data Display Count].
z Communication Settings
z Command Data
• Select the values to be monitored from [Data Format] on the upper right
of the screen.
• The number of command parameters displayed can be changed in
[Command Parameter Display Count].
• Select [Manual Output] to manually change the value for the selected
address and confirm the change on the PLC side.
• The number of command results displayed can be changed in [Command
Result Display Count].
[Manual Output] can be used only in [Setup] mode.
4-9
TM-X5000 Series User’s Manual Utility
Image Output/
Simple Monitor Image Output/
Image
Archived Image
Buffer
(Number of output images saved/
Number of simple monitor images saved)
Select the values to be monitored from [Data Format] on the upper right of
If [Output Condition] for [Image Output]/[Simple Monitor
the screen.
Image Output] and [Store Condition] for [Archived Image
z Controller send-data Settings] are not the same, the remaining areas assigned to
“Image Buffer” and “Image Output”/“Simple Monitor Image
Output” are assigned to the “Archived Images” area.
(Images are stored as archived images in addition to being
output.)
Image output/
Simple monitor image output
Image Archived
(Number of output images saved/
Buffer Image
Number of simple monitor images
saved)
• Select the values to be monitored from [Data Format] on the upper right
of the screen.
• Select [Manual Output] to manually change the value for the selected
address and confirm the change on the PLC side.
4-10
TM-X5000 Series User’s Manual Utility
4-11
TM-X5000 Series User’s Manual
5
List of Communication Commands for Control . . . . . . . . . 5-2
Notes on Command Input/Output . . . . . . . . . . . . . . . . . . . . . . . . 5-2
List of Operation Modes and Available Input Commands . . . . . . 5-3
Timing Charts
Measurement control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8
I/O control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10
Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11
System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-12
Fetching Measurement Results . . . . . . . . . . . . . . . . . . . . . . . . . 5-14
Head-to-head Adjustment Execution . . . . . . . . . . . . . . . . . . . . . 5-15
Image Composition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-16
Simple Monitor View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-16
Setting change . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-17
Head Adjustment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-18
5-1
TM-X5000 Series User’s Manual List of Communication Commands for Control
5-2
TM-X5000 Series User’s Manual List of Communication Commands for Control
Save Program SS 12 ü ü ü x
*1
Clear error CE 13 ü ü ü x
Echo EC - × ü ü ü
Head-to-head Adjustment *5
Head-to-head Adjustment Execution HAE 122 × × ü x
Execution
*1 In addition to running commands, functions can also be run by operating a bit device with assigned commands.
*2 Recipe numbers can also be changed by changing the recipe number area for the word device.
*3 Can be run from the input terminal.
*4 Can also be run from the input terminal.
*5 Execution is only possible after the head-to-head adjustment start command is issued.
*6 When switching to setup mode with another device, the commands from the previous device will be “Block”.
(Example) The commands from the PLC will be “Block” when using the PLC to control, but then switching [Setup] modes from the dedicated monitor (TM-
MP120) or TM-X Navigator.
5-3
TM-X5000 Series User’s Manual List of Communication Commands for Control
Word Device *
Word Device *
Execution
Return value
result
z Execution result
0 Success
z Real-time performance
If a tool is being executed, the command is executed after the tool
completes execution.
5-4
TM-X5000 Series User’s Manual List of Communication Commands for Control
10 Execution
Return value
result
* Starting word device (command address)
• Receive * Starting word device (command result address)
RB: Reboot
z For non-procedural commands
• Send
This command saves the current program settings and reboots the CE
system. • Receive
CE
z For non-procedural commands z For number-specified commands
• Send
RB The number-specified command No. is “13”.
• Receive • Send
RB Word Device *
z For number-specified commands 13
The number-specified command No. is “11”.
• Send * Starting word device (command address)
• Receive
Word Device *
Word Device *
11
Execution
* Starting word device (command address) Return value
result
• Receive
* Starting word device (command result address)
Word Device *
Execution
z Execution result
Return value
result 0 Success
* Starting word device (command result address) 03 When the command was issued in Setup mode.
z Real-time performance
• If a tool is being executed, the command is executed after the tool
completes execution.
• When data is being output, the process is synchronized according to the
OE command timing, and then the command is executed.
5-5
TM-X5000 Series User’s Manual List of Communication Commands for Control
Word Device *
No. 16
Execution
n
result
z Parameters (common)
Controller status
n • 0: Setup mode
• 1: Run mode
z Execution result
0 Success
z Real-time performance
The measurement processing time will not be affected.
5-6
TM-X5000 Series User’s Manual List of Communication Commands for Control
* Starting word device (command address) * Starting word device (command result address)
• Receive
z Parameters (common)
Word Device *
SD memory card No. (1 or 2)
Execution d • 1: SD1
Return value • 2: SD2
result
* Starting word device (command result address) nnn Program No. (0 to 999)
z Real-time performance
If a tool is being executed, the command is executed after the tool
completes execution.
5-7
TM-X5000 Series User’s Manual List of Communication Commands for Control
TIM: Timing
Measurement control
This command issues the timing input for the active recipe number.
41 n Word Device *
z Parameters (common) 22
• The number or the range of the parameter is incorrect.
n 1 to 8 (Recipe No.) • An unnecessary parameter is included.
z Real-time performance
The measurement processing time will not be affected.
Word Device *
42
Execution
n
result
z Parameters (common)
n 1 to 8 (Recipe No.)
z Execution result
0 Success
z Real-time performance
The measurement processing time will not be affected.
5-8
TM-X5000 Series User’s Manual List of Communication Commands for Control
z Real-time performance 55
The measurement processing time will not be affected.
* Starting word device (command address)
• Receive
Word Device *
Execution
result
z Execution result
0 Success
z Real-time performance
The measurement processing time will not be affected.
5-9
TM-X5000 Series User’s Manual List of Communication Commands for Control
• The trigger disabled state cannot be saved in the z For non-procedural commands
settings. The trigger returns to being able to be input • Send
when the power is turned off and on. OE,n
• The TE command functions are in the same way as • Receive
the EXT terminal. The trigger disabled state is the OR OE
(logical disjunction) operator of the EXT input terminal
and “TE,0” issue state. z For number-specified commands
The number-specified command No. is “57”.
• Send
z For non-procedural commands
• Send Word Device * *+1 *+2 *+3
TE,n
• Receive 57 n
TE * Starting word device (command address)
• Receive
z For number-specified commands
The number-specified command No. is “56”. Word Device *
• Send
Execution
Word Device * *+1 *+2 *+3 Return value
result
56 n * Starting word device (command result address)
* Starting word device (command address)
• Receive
z Parameters (common)
• 0: Output disabled
Word Device * n
• 1: Output enabled
Execution
Return value
result z Execution result
* Starting word device (command result address) 0 Success
• 0: Trigger input disabled 22 The number or the range of the parameter is incorrect.
n
• 1: Trigger input enabled
z Real-time performance
z Execution result The measurement processing time will not be affected.
0 Success z Details of command behavior when executed
Results output
03 When the command was issued in Setup mode.
• Output is aborted at the data unit set in results output (even if output is
22 The number or the range of the parameter is incorrect. disabled during “one output of results,” that “one output of results” does
not stop).
• If output is enabled, output is resumed the next time result output
z Real-time performance is possible (results when output is disabled will be not output and
The measurement processing time will not be affected. discarded).
Terminal output
• Outputs to STO, OUT_DATA0 to 15, OR terminal blocks are immediately
shut off and the state is set to normal.
• Even while output is disabled, the total status result of OR changes.
However, such change is not applied to the terminal blocks.
• Even if STO and OUT_DATA0 to 15 output is disabled, the values do
not change.
• For STO and OUT_DATA0 to 15, output is resumed at the next trigger
execution (results when output is disabled will be not output and
discarded).
Relationship with TEST
• There is no priority setting between OE and TEST terminal. The latest
status, enabled or disabled, is reflected to the internal operation.
(Example)
Inputting “OE,1” (enable) when TEST=ON (disable) enables output.
Then, specifying ON (disable) when TEST=OFF (enable) disables
output.
• Output is enabled or disabled based on the status (level) of TEST
immediately after the controller is turned on, reset, or the program is
changed.
(Example)
Inputting “OE,1” (enable) when TEST=ON (disable) enables output.
Then, when the program is changed later, output is disabled when
TEST=ON (disable).
5-10
TM-X5000 Series User’s Manual List of Communication Commands for Control
* Starting word device (command result address) n To specify the externally specified string to be read (0 to 9)
• Parameter The externally specified string (number of characters 0 to 64)
n To specify the externally specified string to be replace (0 to 9) ssss In the receive data, use two words for one character, the end
code is 0 (zero).
The string used for replacement (number of characters 0 to 64)
ssss In the send data, use two words for one character, the end
code is 0 (zero).
z Execution result
0 Success
z Execution result 03
When the externally specified string is not available (e.g.
0 Success settings of old version)
When the externally specified string is not available • An unnecessary parameter is included.
03 22
(e.g. settings of old version) • The parameter range is incorrect
22
• An unnecessary parameter is included.
• The parameter range is incorrect
z Real-time performance
Executes command data immediately.
z Real-time performance
Executes command data immediately. HC: Clear Archived Images
This command clears the archived images.
Word Device *
66
Word Device *
z Execution result
0 Success
z Real-time performance
The measurement processing time will not be affected.
5-11
TM-X5000 Series User’s Manual List of Communication Commands for Control
*+10
*+11
*+12
*+13
*+1
*+2
*+3
*+4
*+5
*+6
*+7
*+8
*+9
Word Device * *+1 *+2 *+3
*
device
69 n
80 yy mo dd hh mi ss
* Starting word device (command address)
• Receive Word
*+10
*+11
*+12
*+13
*+1
*+2
*+3
*+4
*+5
*+6
*+7
*+8
*+9
*
Word Device * device
* Starting word device (command result address) * Starting word device (command address)
• Receive
z Parameters (common) Word Device *
Select the target for changing
• 0: Changes the result output file (SD2/USB HDD/FTP) Execution
Return value
n • 1: Changes the image output folder (SD2/ FTP/ FTP) result
• 2: Changes the simple monitor image output folder
(SD2/USB HDD/FTP) * Starting word device (command result address)
z Parameters (common)
z Execution result Year (0 to 99, lower two digits of the western calendar (20 for
0 Success 2020))
yy
When 00 to 99 is specified, 2000 will be added to the value
03 When the command was issued in Setup mode. before processing.
22 The number or the range of the parameter is incorrect. yyyy Year (2000 to 2099)
mo Month (1 to 12)
z Real-time performance
Executes command data immediately. dd Day (1 to 31)
z Execution result
0 Success
z Real-time performance
The measurement processing time will not be affected.
5-12
TM-X5000 Series User’s Manual List of Communication Commands for Control
*+10
*+11
*+1
*+2
*+3
*+4
*+5
*+6
*+7
*+8
*+9
*
device
mo Month (1 to 12)
Return Execution
dd Day (1 to 31) nn r hw mj mn
value result
hh Hour (0 to 23) NB: 24-hour format * Starting word device (command result address)
• Parameter
mi Minutes (0 to 59)
nn Model number (4-digits)
ss Seconds (0 to 59)
r Reserved area (always 0)
z Execution result Indicates the first digit of the major version in the ROM version
hw
0 Success information as a number.
03 When the command was issued in Setup mode. Indicates the second digit of the major version in the ROM
mj
version information as a number.
22 An unnecessary parameter is included.
Indicates the minor version in the ROM version information as
mn
a number.
z Real-time performance
The measurement processing time will not be affected. The following is an example when the version displayed on
the UI is x.y.zzzz.
(When the beginning of the command result address is DM0)
Address Byte data
DM0 0-1 0 (ret)
DM1 2-3 0 -
DM2-3 4-7 5000 (nn)
DM4-5 8-11 0 (r)
DM6-7 12-15 x (hw)
DM8-9 16-19 y (mj)
DM10-11 20-23 zzzz (mn)
z Execution result
0 Success
z Real-time performance
The measurement processing time will not be affected.
5-13
TM-X5000 Series User’s Manual List of Communication Commands for Control
0 Success nnn ID of the tool subject to fetching (200 to 299, 500 to 599)
03 When the command was issued in Setup mode. m Internal measurement value
Word Device *
84
Execution
n
result
z Parameters (common)
n Time zone (0 to 33)
z Execution result
0 Success
z Real-time performance
The measurement processing time will not be affected.
5-14
TM-X5000 Series User’s Manual List of Communication Commands for Control
* ...
device * Starting word device (command address)
Return Execution • Receive
t m ... m
value result
Word
*+1
*+2
*+3
*+4
*+5
*+6
*+7
*+8
*+9
*
When o = 1 Device
* ... n x y t
device value result
Return Execution * Starting word device (command result address)
t m i ... m i
value result
z Parameters (common)
When o = 2
Head-to-head adjustment result
Word n • 1: Success
*+1
*+2
*+3
*+4
*+5
*+6
*+7
* ...
device • 1: Fail
Return Execution
t m j ... m j Position alignment result x
value result x
(The value is -99999.9999 if the operation fails)
When o = 3
Position alignment result y
y
Word (The value is -99999.9999 if the operation fails)
*+1
*+2
*+3
*+4
*+5
*+6
*+7
*+8
*+9
* ...
device
Position alignment result θ
Return Execution t
t m i j ... m i j (The value is -99999.9999 if the operation fails)
value result
t No. of tools subject to fetching (t ≤ 12, all tools when 0 is specified) z Real-time performance
If a tool is being executed, the command is executed after the tool
nnn ID of the tool subject to fetching (200 to 299, 500 to 599) completes execution.
m Measured value
z Execution result
0 Success
z Real-time performance
The measurement processing time will not be affected.
5-15
TM-X5000 Series User’s Manual List of Communication Commands for Control
ICCW: Write image composition capture cycle AIW: Change simple monitor view strings
This command changes the current image composition capture cycle to a Sets the string to be displayed on the simple monitor screen.
specified value.
The number-specified commands cannot be used.
When the specified capture cycle is shorter than the capture time, the
capture time will be set as the cycle.
This command can be used only in setup mode.
z For non-procedural commands
• Send
To switch between setup and run mode, use S0/R0 command AIW,m,N1,S1,…,Nm,Sm
accordingly. This command can only be used with dark or • Receive
bright image composition. AIW
z For non-procedural commands z Parameter
• Send
ICCW,n,m Number of lines of strings that configure the settings (1 to 10)
m
• Receive A line number and string set is 1.
ICCW
Line number (1 to 10)
z For number-specified commands N1 to Nm If the same line number is set multiple times, the last
The number-specified command No. is “128”. settings are enabled.
• Send
Content of a string to be set in the line specified with N
Word Device * *+1 *+2 *+3 *+4 *+5 ASCII characters, with the exception of a semi-colon (;)
128 n m S1 to Sm and comma (,) can be used.
If a string is not specified, the string on the applicable line
* Starting word device (command address) number is deleted.
• Receive
Word Device * z Execution result
Return value Execution result 0 Success
* Starting word device (command result address) The number or the range of the parameter is incorrect.
• The number of set lines and the received line number/number
z Parameters (common) 22
of strings does not match.
n Head number (0: Head A, 1: Head B) • The command string is too long (max. 255 characters)
Execution result m
* Starting word device (command result address)
z Parameters (common)
n Head number (0: Head A, 1: Head B)
z Execution result
When the image composition of the specified head is not dark/
03
bright composition.
z Real-time performance
The measurement processing time will not be affected.
5-16
TM-X5000 Series User’s Manual List of Communication Commands for Control
* Starting word device (command address) * Starting word device (command result address)
• Receive For the number-specified commands, the value will be read
without decimal point when using fixed-point as the decimal
Word Device * point.
(Example 1) When 12.3456 is read, the data will be an integer
Return value Execution result value, which is 123456.
* Starting word device (command result address) (Example 2) When 1.234 is read, the data will be an integer
value, which is 1234.
For the number-specified commands, specify integer data
when using fixed-point as the decimal point.
(Example) To write 12.345, specify 12345.
z Parameters (common)
However, if the number has 3 or more digits after the decimal nnn ID of the tool subject to the command (200 to 399, 500 to 699)
point, use floating-point.
i Item ID (0: lower value, 1: upper value)
z Parameters (common) When the item ID is 0 or 1
nnn ID of the tool subject to the command (200 to 399, 500 to 699) s • 0: Tolerance disabled
• 1: Tolerance enabled
i Item ID (0: lower value, 1: upper value)
Setting value (Effective value: -100,000,000 to 100,000,000)
m Setting value (Effective value: -100,000,000 to 100,000,000) m When the item ID is 0 or 1, and the tolerance have not been set,
0 will be returned.
z Execution result
0 Success
z Execution result
0 Success
• When the command was issued in run mode.
03
• When the command was issued with an unconnected head. • The number or the range of the parameter is incorrect.
22 • When the specified tool does not exist.
• The number or the range of the parameter is incorrect. • When the item ID that does not exist in the specified tool was set.
22 • When the specified tool does not exist.
• When the item ID that does not exist in the specified tool was set.
z Real-time performance
The measurement processing time will not be affected.
z Real-time performance
If a tool is being executed, the command is executed after the tool
completes execution.
5-17
TM-X5000 Series User’s Manual List of Communication Commands for Control
* Starting word device (command address) Word Device * *+1 *+2 *+3
• Receive 136 n
Word Device * * Starting word device (command address)
Execution • Receive
Return value
result Word Device * *+1 *+2 *+3 *+4 *+5 *+6 *+7
* Starting word device (command result address)
Execution
Return value m x y
z Parameters (common) result
nnn ID of the tool subject to the command (200 to 399, 500 to 699) * Starting word device (command result address)
For the number-specified commands, the value will be
i Item ID (0: lower value, 1: upper value) 1/10000 when using fixed-point as the decimal point.
(Example) When X=12345 is read, the value of X will be
z Execution result 1.2345.
0 Success
z Parameters (common)
• When the command was issued in run mode. n Head number (0: Head A, 1: Head B)
03
• When the command was issued with an unconnected head.
Optical axis state (0: OK, 1: center point is not at correct
• The number or the range of the parameter is incorrect. m
location, 2: too many pixels with insufficient light)
22 • When the specified tool does not exist.
• When the item ID that does not exist in the specified tool was set. x Illumination center X-Position
z Execution result
0 Success
z Real-time performance
If a tool is being executed, the command is executed after the tool
completes execution.
5-18
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
z Cyclic Communication
Cyclic communication at RPI (Request Packet Interval) communication cycle intervals allows high-speed control at intervals of several ms to several tens of
ms (implicit communication). In addition, because it is possible to control the controller by referencing and updating variables and devices in the PLC without
considering the communication, it allows programs to be written easily on the PLC side.
• Control the controller: The controller can be controlled by using cyclic communication to send the commands for execution.
• Output the results data: Data can be output by cyclic communication when the items for output from EtherNet/IP are set in the output settings (Page 3-34).
• Change the recipe number: The controller can be controlled by using cyclic communication to specify the recipe number.
• Implicit communication settings such as cycle (RPI), data size, time out, transmission trigger, and so on are specified at the PLC. During cyclic
communication with the controller, set the RPI value to 5 ms or more. When COS (Change Of State) for the PLC (such as the Keyence KV
Series) that allows selection of the communication trigger is selected, set the minimum transmission interval (Inhibit Time) to 5 ms or more.
• If RPI is set to 5 ms or more, use of other communications, such as measurement settings, dialog operation, command, and FTP, may place
an excessive load on the controller. This may result in delay of processing or temporary time-out of the communication. In such cases, it is
necessary to review the cyclic communication settings and service conditions (when this is done, there may be an increase or variation in
measurement time.) Be sure to verify that there are no problems with operating performance, including the issues above, prior to operation.
• In a network where many devices are connected, including EtherNet/IP devices, if a large load is constantly or temporarily applied to the
network, then delays and packet loss may occur. Be sure to perform sufficient verification prior to operation.
z Message Communication
This can be used for communications that do not require punctuality as is needed with cyclic communications (Explicit message).
There is no functional difference between the controller message communication function and cyclic communication function. As a result, it is not necessary
to use it in most cases. However, it can be used for EtherNet/IP communications with PLC devices that do not support cyclic communication (SLC5/05 Series,
etc.).
z Standard specifications
Controller Ethernet port Communication expansion unit (CB-NEP20E)
1 (Exclusive Owner)
Connection count Max. 32
4 (Input Only)
*1: he condition for the cyclic communication status to become [Connected] is when either an Exclusive Owner or Input Only connection is established via
T
the controller’s Ethernet port and only when an Exclusive Owner connection is established for the communication expansion unit.
*2: Only a PLC that supports COS (such as Keyence KV-3000/5000/5500/7300/7500/8000 and the KV Nano Series) can be specified. When a COS send
trigger is selected, the controller sends data at the time when a change in the data to be sent occurs. (If there is no change in the data to be sent,
then data is sent at intervals of the specified RPI (communications cycle)). If the data to be sent continuously changes, data sending is delayed for the
InhibitTime (minimum sending interval). Moreover, the part of the data that is subject to modification checks are “Result ready flag” and “Command
complete flag” in the case of the controller’s Ethernet port and all data to be sent in the case of the communication expansion unit.
5-19
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
Example of the send-data settings for this controller (TM-X5000 Series to KV-7000 Series)
Example when 1 TM-X5000 series is connected to a KV-7000 Series, cyclic communication data size is 496 bytes (addresses 0000 - 0495), and the command
response output area is set to 24 bytes (B****/W**** in the table are examples of KV-7000 link relay and link register address allocation)
Setting Address
7bit 6bit 5bit 4bit 3bit 2bit 1bit 0bit
condition (byte)
0000 B007 Reserved B006 Reserved B005 Reserved B004 Result OR B003 Result Ready B002 Cmd Ready B001 Cmd Error B000 Cmd Complete
0001 B00F MSR_VALID B00E RUN B00D Reserved B00C ERROR B00B BUSY B00A Reserved B009 TRG_ack B008 READY
MSR_
RESET_ ZERO_ ZERO_ TIMING_
0002 B017 Reserved B016 Reserved B015 B014 RESET_ B013 B012 B011 Reserved B010
ALL_ack OFF_ack ON_ack ack
ack
0003 B01F Reserved B01E Reserved B01D Reserved B01C Reserved B01B Reserved B01A Reserved B019 Reserved B018 Reserved
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0004 B027 B026 B025 B024 B023 B022 B021 B020
Value7 Value6 Value5 Value4 Value3 Value2 Value1 Value0
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0005 B02F B02E B02D B02C B02B B02A B029 B028
Value15 Value14 Value13 Value12 Value11 Value10 Value9 Value8
Bit area Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0006 B037 B036 B035 B034 B033 B032 B031 B030
Value23 Value22 Value21 Value20 Value19 Value18 Value17 Value16
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0007 B03F B03E B03D B03C B03B B03A B039 B038
Value31 Value30 Value29 Value28 Value27 Value26 Value25 Value24
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0008 B047 B046 B045 B044 B043 B042 B041 B040
Value39 Value38 Value37 Value36 Value35 Value34 Value33 Value32
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0009 B04F B04E B04D B04C B04B B04A B049 B048
Value47 Value46 Value45 Value44 Value43 Value42 Value41 Value40
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0010 B057 B056 B055 B054 B053 B052 B051 B050
Value55 Value54 Value53 Value52 Value51 Value50 Value49 Value48
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0011 B05F B05E B05D B05C B05B B05A B059 B058
Value63 Value62 Value61 Value60 Value59 Value58 Value57 Value56
Reserved 0014
W001 Reserved
area 0015
0016
Measurement 0017
W002 Total Count
count area 0018
0019
0020
0021
W004 Command Result
0022
0023
0024
0025
W006 Command Data 1
0026
0027
Command
output area 0028
0029
W008 Command Data 2
0030
0031
… … …
0044
0045
W010 Command Data 6
0046
0047
0048
0049
W012 Result Data 1
0050
0051
Results
0052
output area
0053
W014 Result Data 2
0054
0055
… … …
5-20
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
Cmd Error Turns off when command processing is successful and on when command processing fails.
Result OR Used to output the OR result for the judged value of tool specified in the output settings.
TRG_ack Turns on when the trigger input is accepted. Turns off when trigger input turns off.
Output while a dialog box is displayed on the screen when a system error occurs. For details on typical
system errors, see “Error Messages” (Page A-2).
ERROR
On the [System] screen for [Global] (Page 4-6), error output for SD memory card-related errors and so
Bit area on can also be specified.
Turns on when the internal measurement values for all tools set with the active recipe are no longer in the
judgment standby state.
MSR_VALID
Turns off if measured values are finalized with TIMING or when internal measurement values are cleared
with MSR_RESET.
TIMING_ack Turns on when the input timing is accepted. Turns off when the input timing is turned off.
ZERO_ON_ack Turns on when zero on input is accepted. Turns off when zero on input is turned off.
ZERO_OFF_ack Turns on when zero off input is accepted. Turns off when zero off input is turned off.
Turns on when reset measured value input is accepted. Turns off when reset measured value input is
MSR_RESET_ack
turned off.
Turns on when reset measured value (all recipes) input is accepted. Turns off when reset measured
RESET_ALL_ack
value (all templates) input is turned off.
Tool Judge Value0 Returns the judgment value assigned to the bit allocation area (address 0004:bit0).
Tool Judge Value1 Returns the judgment value assigned to the bit allocation area (address 0004:bit1).
Tool judgment area
... ...
Tool Judge Value63 Returns the judgment value assigned to the bit allocation area (address 0011:bit7).
Error code area Error Code Contains error codes for causes of errors.
When used with [Hold Mode] set to [ON], change measurement count (increase by 1)
Measurement count of the system variables allocated to the results output area is used as the result output
Total Count complete signal.
area
To allocate system variables to the results output area, click [Output Settings] > [Output
Results] > [Settings] under [Field Network] > [Byte Allocation Area] > [Display Options],
select [System Variables] and add [Measurement count] to [Output items].
... ...
5-21
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
Example of the receive-data settings for this controller (KV-7000 Series to TM-X5000 Series)
Example when one TM-X5000 Series model is connected to a KV-7000 Series model and cyclic communication data size is 496 bytes (addresses 0000 - 0495)
(B****/W**** in the table are examples of KV-7000 link relay and link register address allocation)
Setting Address
7bit 6bit 5bit 4bit 3bit 2bit 1bit 0bit
condition (byte)
Error reset Cmd
0000 B067 Reserved B066 Reserved B065 Reserved B064 B063 Result ack B062 Reserved B061 Reserved B060
request request
0001 B06F Reserved B06E Reserved B06D Reserved B06C Reserved B06B Reserved B06A Reserved B069 Reserved B068 TRG
0002 B077 Reserved B076 Reserved B075 Reserved B074 Reserved B073 Reserved B072 TEST B071 EXT B070 RESET
RESET_ MSR_
0003 B07F Reserved B07E Reserved B07D B07C B07B ZERO_OFF B07A ZERO_ON B079 Reserved B078 TIMING
ALL RESET
0004 B087 Reserved B086 Reserved B085 Reserved B084 Reserved B083 Reserved B082 Reserved B081 Reserved B080 Reserved
Bit area 0005 B08F Reserved B08E Reserved B08D Reserved B08C Reserved B08B Reserved B08A Reserved B089 Reserved B088 Reserved
0006 B097 Reserved B096 Reserved B095 Reserved B094 Reserved B093 Reserved B092 Reserved B091 Reserved B090 Reserved
0007 B09F Reserved B09E Reserved B09D Reserved B09C Reserved B09B Reserved B09A Reserved B099 Reserved B098 Reserved
0008 B0A7 Reserved B0A6 Reserved B0A5 Reserved B0A4 Reserved B0A3 Reserved B0A2 Reserved B0A1 Reserved B0A0 Reserved
0009 B0AF Reserved B0AE Reserved B0AD Reserved B0AC Reserved B0AB Reserved B0AA Reserved B0A9 Reserved B0A8 Reserved
0010 B0B7 Reserved B0B6 Reserved B0B5 Reserved B0B4 Reserved B0B3 Reserved B0B2 Reserved B0B1 Reserved B0B0 Reserved
0011 B0BF Reserved B0BE Reserved B0BD Reserved B0BC Reserved B0BB Reserved B0BA Reserved B0B9 Reserved B0B8 Reserved
0012
W0F2 ExecCondNo
0013
Recipe No.
0014
W0F3 Reserved
0015
0016
0017
W0F4 Command number
0018
0019
0020
0021
W0F6 Cmd Parameter1
0022
0023
Command 0024
input area
0025
W0F8 Cmd Parameter2
0026
0027
0028
0029
W0FA Cmd Parameter3
0030
0031
… … …
As ExecCondNo is only loaded by the controller when there are changes, the recipe number can also be overwritten by a command.
Bit area Used to suspend the occurrence of internal triggers and the acceptance of external triggers. When the input turns on,
EXT
READY is forcibly turned off to stop the acceptance of all triggers (level synchronization).
Used to suspend the status output for trial runs.
• When this signal is input, the result data that has not been output will be deleted.
TEST • Result OR output is reset during input.
• As soon as input turns off, the measurement processing result obtained immediately after that will start being output
again.
TIMING Requests input timing when rising from OFF to ON.
ZERO_ON Requests auto zero on input when rising from OFF to ON.
ZERO_OFF Requests auto zero off input when rising from OFF to ON.
MSR_RESET Requests reset measured value processing input when rising from OFF to ON.
RESET_ALL Requests reset measured value processing for all recipes when rising from OFF to ON.
Recipe No. area ExecCondNo Writes recipe numbers (1 to 8). The recipe numbers are loaded by the controller when values in this area change.
Command number Writes a command number.
Cmd Parameter1 Writes command parameter 1.
Command input area Cmd Parameter2 Writes command parameter 2.
Cmd Parameter3 Writes command parameter 3.
… …
5-22
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
1
address, subnet mask, and default gateway) when the
Select [Global] → [Communications & I/O] → [Field Network]. controller starts from a DHCP server (default setting:
Disabled).
• When DHCP is enabled, the IP address, subnet mask,
and default gateway settings cannot be changed.
• If the DHCP server is not started, the controller
continues to retry until there is a response from the
server. Clear the check box to change to manual
assignment.
• Decimal Point
Selects the data representation type of the result data output.
• Fixed-Point (default)
Numbers displayed on each tool are handled as signed 32-bit integer
data.
(Example)
If decimal points are set to three digits and the measured value is
123.450 mm, it is handled as 123450 integer data.
• Floating-Point
The data is handled as 32-bit single-precision floating decimal point
data.
5-23
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
z Other Settings
• Enable Handshake
After checking that the PLC received the measurement data output,
select whether to write the result of the next data.
When the “Enable Handshake” check box is selected, the controller
turns on “Result ready flag” after the measurement result is output. Upon
reception of the ready flag, the PLC reads the output data and turns on
“Result ack flag”.
The controller then turns off its “Result ready flag” after recognizing the
PLC’s ack flag.
The PLC turns off “Result ack flag” to request the controller to write the
next measurement results.
4 Click [OK].
5-24
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
When used with [Hold Mode] set to [ON], selecting [Update Every Timing] (Page 3-35) updates the measurement value by inputting
TIMING, ZERO, MSR_RESET, and RESET_ALL (the internal measurement value will not update).
• Data output via EtherNet/IP is performed only in run mode. Data is not output in setup mode.
• With EtherNet/IP, images and other binary data cannot be output.
(3)
(3)
Writes data to ResultData and Result OR flag, Data is written to data memory that supports
Tool Judge Value. ResultData and Result OR flag, Tool Judge Value.
(4) (4)
After data writing is completed, When Result ready flag changes to ON, the completion of
Result ready flag is turned ON. data writing is checked and the data is referenced.
(5) (5)
Result ready flag is turned OFF. Detects that Result ready flag has changed to OFF.
*1 When the results output handshake is OFF, output data is overwritten and updated without checking whether the Result ack flag is OFF. To
take the rise of Result ready flag as a data reference synchronization signal, turn the Result ack flag ON at each output, which will turn the
Result ready flag OFF.
z Timing chart
Measurement
Measurement processing processing
ON (2)
Result ack flag
OFF The PLC writes.
ON
Result ready flag The controller writes.
OFF A
ON
Result OR flag The controller writes.
OFF
ON
ResultData The controller writes.
OFF
ON
Tool Judge Value The controller writes.
OFF
The Result OR flag is updated in coordination with results output with EtherNet/IP as the output destination. When the Result OR flag is used, it is
necessary to configure the output setting so that one or more data item is output via EtherNet/IP.
5-25
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
Flow of command process using EtherNet/IP (example of connection with PLC EtherNet/IP unit)
The controller performs command control via EtherNet/IP in the following manner.
(1)
The command number to be executed is
written to the data memory that corresponds to
Command Number and the command parameter
is written to the data memory that corresponds to
Command Parameter .
(3)
(2)
Detects Command request flag rise, Checks that Command ready flag is turned ON and
executes a command from Command Number, turns ON Command request flag.
reads a command parameter from the address that
corresponds to Command Parameter executes a Detects that Command ready flag is turned OFF and
command and turns OFF Command ready flag. checks the start of the command.
(4)
After the command is executed, response data is
Writes response data to the data memory that
written to Command Data, and Command error flag
corresponds with Command Data*1.
and Command Result are set to the error state.
(5)
(5) Checks that command execution is completed when
it is detected that Command complete flag turns
Command complete flag is turned ON.
ON and refers to the response data and command
(7) execution result.
In the case of a command for which there is no response data, data is not output in response to the Command Data.
When an error occurs, the command execution results are written to Command Result. (0: Success, <Error code>: Failure).
The error cords conform to “Error Messages” (Page A-2).
z Timing chart
Command execution status Run command
ON
Command Number The PLC writes.
OFF
ON
Command Parameter The PLC writes.
OFF
ON
Command ready flag A The controller writes.
OFF
ON
Command request flag A A The PLC writes.
OFF
ON
Command Data The controller writes.
OFF
ON
Command error flag The controller writes.
OFF
ON
Command Result The controller writes.
OFF
ON
The controller writes.
Command complete flag A
OFF
5-26
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
Controlling the Controller with EtherNet/IP Cyclic Communication (Change Recipe Number)
The recipe number can be changed at any time.
Refers to the data memory value that corresponds Writes the recipe number to the data memory that
to ExecCondNo and changes the recipe number corresponds to ExecCondNo
5-27
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
Troubleshooting
Data cannot be acquired correctly when reading data based on the change in the rise of STO output from an
external terminal.
STO is the strobe signal for terminal output. Therefore, it cannot be used as the strobe signal for any other data output.
Refer to the “Result ready flag” for the timing as to when to read data by EtherNet/IP.
Although results data is output beginning from byte address 0048, it is unknown where the data is output to
on the PLC (KV Series) side.
With the KV Series, when automatic allocation is used for the first TM-X5000 series, the TM-X5000 series results data is written beginning from link register
W0012.
With KV series automatic allocation, allocation byte addresses 0000-0011 are for the link relay (beginning from B0000), and byte addresses beginning from
0012 are for the link register. Allocation begins at the start from W0000, with 1 register used for each 2-byte address.
When the results data byte address is 0048, then (48 - 12)/2 = No. 18→12Hex, and results data is written beginning from W0012.
Error messages
Error cause
Message Cause Corrective Action
No.
The delay of the handshake When the EtherNet/IP handshake Change the RPI setting so the data from the tool is output via
control causes skipping of the is ON, delayed handshake EtherNet/IP at a faster rate than it builds up. Or, extend the time
13603
EtherNet/IP communication result caused results output via between triggers. Note: Output does not occur when the output
output. EtherNet/IP to be skipped. buffer is full.
EtherNet/IP unit was not • Check that the EtherNet/IP unit is attached correctly.
The EtherNet/IP unit cannot be recognized and the controller • Check that the EtherNet/IP unit is not damaged.
13604
recognized. cannot use EtherNet/IP • Do not disconnect the EtherNet/IP unit while the controller
communication. and unit are turned on.
5-28
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
Object configuration
The controller EtherNet/IP functions include the following objects. These objects can be accessed using message communications.
Assembly Object 4 (04Hex) 101 (65Hex): Output (when using the controller’s Ethernet port)
• For details of the procedure for issuing messages with the PLC device that is used, refer to the PLC instruction manual.
• This manual primarily explains the measurement object, which is an object unique to the controller. For details of other objects, refer to the
EtherNet/IP specifications that are issued by ODVA (www.odva.org).
z Data notation
• The bit position in the data is indicated as “Bit n”. (Bit0 is indicated as LSB.)
• Array type data is indicated by [ ]. Example: DWORD[10] (DWORD type array, No. of elements: 10)
z Data type
The data type is prescribed as follows in the EtherNet/IP specifications.
Range
Data type Description
Min. Max.
5-29
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
z Attribute
Attribute ID Access Name Data type Details
This information is specified by the input data for the cyclic communication
3 (03Hex) Get data Byte array data allocation in the global settings. It includes the controller status, command
execution results, results data, and other information.
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0011 B05F B05E B05D B05C B05B B05A B059 B058
Value63 Value62 Value61 Value60 Value59 Value58 Value57 Value56
Reserved 0014
W001 Reserved
area 0015
0016
Measurement 0017
W002 Total Count
count area 0018
0019
5-30
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
Setting Address
7bit 6bit 5bit 4bit 3bit 2bit 1bit 0bit
condition (byte)
0020
0021
W004 Command Result
0022
0023
0024
0025
W006 Command Data 1
0026
0027
Command
output area 0028
0029
W008 Command Data 2
0030
0031
… … …
0044
0045
W010 Command Data 6
0046
0047
0048
0049
W012 Result Data 1
0050
0051
Results
0052
output area
0053
W014 Result Data 2
0054
0055
… … …
z Service
Service code Name Details
5-31
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
z Attribute
Attribute ID Access Name Data type Details
This information is specified by the output data for the cyclic communication data
3 (03Hex) Get/Set data Byte array allocation in the global settings. Controller controls, command input, and other data
can be written to it.
Bit area 0005 B02F Reserved B02E Reserved B02D Reserved B02C Reserved B02B Reserved B02A Reserved B029 Reserved B028 Reserved
0006 B037 Reserved B036 Reserved B035 Reserved B034 Reserved B033 Reserved B032 Reserved B031 Reserved B030 Reserved
0007 B03F Reserved B03E Reserved B03D Reserved B03C Reserved B03B Reserved B03A Reserved B039 Reserved B038 Reserved
0008 B047 Reserved B046 Reserved B045 Reserved B044 Reserved B043 Reserved B042 Reserved B041 Reserved B040 Reserved
0009 B04F Reserved B04E Reserved B04D Reserved B04C Reserved B04B Reserved B04A Reserved B049 Reserved B048 Reserved
0010 B057 Reserved B056 Reserved B055 Reserved B054 Reserved B053 Reserved B052 Reserved B051 Reserved B050 Reserved
0011 B05F Reserved B05E Reserved B05D Reserved B05C Reserved B05B Reserved B05A Reserved B059 Reserved B058 Reserved
Reserved 0014
W001 Reserved
area 0015
0016
Measurement 0017
W002 Command number
count area 0018
0019
0020
0021
W004 Cmd Parameter1
0022
0023
0024
0025
Command W006 Cmd Parameter2
output area 0026
0027
0028
0029
W008 Cmd Parameter3
0030
0031
… … …
z Service
Service code Name Details
5-32
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
Instance : 1 (01Hex)
z Attribute
Attribute ID Access Name Data type Details
Inputs a trigger.
105 (69Hex) Get/Set TRG BYTE • Bit 0 : TRG
• Bit 1 - 7: Reserved
107 (6BHex) Get/Set Result ack flag BOOL Performs results output handshake control.
Displays the results data. The data size is fixed at 248 bytes when the selected PLC
Inspection DWORD type is the Rockwell SLC5/05, and at 496 bytes in other cases. The amount that was
108 (6CHex) Get
Result [124] specified in the cyclic communication allocations can be acquired from the starting
address.
Command Structure
Specifies the communication control command No. and parameters.
Command The data size is 248 bytes when the selected PLC type is the Rockwell SLC5/05, and
DWORD
110 (6EHex) Get/Set Number 496 bytes in all other cases.
*At setup, only the size that requires update can be specified (4-byte integer
Command multiple).
DWORD
Param
Command
Structure
Result Indicates the command execution results.
The data size is 248 bytes when the selected PLC type is the Rockwell SLC5/05,
Command
112 (70Hex) Get DWORD and 496 bytes in all other cases. The data size varies depending on the command
Result
execution result. The maximum data size is 248 bytes when the selected PLC type is
Command the Rockwell SLC5/05, and 496 bytes in all other cases.
DWORD
Data
5-33
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
116 (74Hex) Get/Set SD No. UINT Specifies the SD memory card number (1 or 2).
For Get access, the GetAttributeSingle service (0EHex) is used. For Set, the SetAttributeSingle service (10Hex) is used.
z Service
Service code Name Details
16 (10Hex) SetAttributeSingle Sets the attribute value. Whether or not it can be set depends on the attribute access properties.
76 (4CHex) Run command Issues a command request. The command execution results are returned by message response.
z Service details
• Reset service (05Hex)
Initializes the measurement process. The executed contents are the same as for I/O control reset control.
• Send parameter : None
• Response data : None
• Capture service (4BHex)
Trigger is input and capture occurs.
• Send parameter
09 (09Hex) Abnormal parameter value A parameter value other than 1 was specified.
21 (15Hex) Parameter size is too large. A parameter was specified with a size larger than 2 bytes.
16 (10Hex) Status error Ready is OFF (not in run mode, receive trigger disabled, etc.).
5-34
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
Specifies the command parameters. A maximum of 492 bytes of parameters can be specified (4-byte integer
multiple).
Command Param DWORD
For details on how to specify commands, refer to “List of Communication Commands for Control” (Page
5-2).
Command execution
00 (00Hex) Command execution was completed.
completion
19 (13Hex) Parameter too small error The parameter was not specified in the send-data.
21 (15Hex) Parameter too large error Parameter larger than 496 bytes was specified in the send-data.
Command operation
3 Operation of the received command is not possible.
prohibited
31 (1FHex)
Command
5 The command results area is insufficient.
response error
• Results data:
When the execution of a command that includes command results is successful, the results data is returned in the format shown below.
Returns the command execution results. The data contained in this area corresponds to the Command
Command Data DWORD [ ] Data part. The maximum size of the returned data is 248 bytes when the selected PLC type is the Rockwell
SLC5/05, and 496 bytes in all other cases.
In the communication process using messages, a processing delay of several 10s of ms or longer occurs. If this is a problem, use cyclic
communication or terminal input for control.
Specify the size of the results data to fetch in bytes (results data is in units of four bytes. Make sure
Size UINT
to set a value in multiples of four).
Specify the offset of the results data to fetch in bytes (results data is in units of four bytes. Make
Offset UINT
sure to set a value in multiples of four).
• Results data
• In the communication process using messages, a processing delay of several 10s of ms or longer may occur. If this is a problem, use cyclic
communication or terminal input for control.
• The results data that can be acquired is up to the size specified in the cyclic communication allocations.
• When this command is used, set the handshake to OFF.
5-35
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
Direction
Direction UINT • 0: Receiving side
• 1: Sending side
09 (09Hex) Abnormal parameter value A parameter value other than 0,1, 2, or 3 was specified.
21 (15Hex) Parameter size is too large. A parameter was specified with a size larger than 2 bytes.
• Results data:
Error to be cleared
index UINT
• Bit 0: Error
09 (09Hex) Abnormal parameter value A parameter value other than 1 was specified.
21 (15Hex) Parameter size is too large. A parameter was specified with a size larger than 2 bytes.
5-36
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
The primary classes that are used for message Clear error 80 (50Hex) Clears the error status.
communication are the following.
• Measurement Object: This object is unique to the controller For details on individual services, refer to “Controller
and is tasked with all TM-X5000 Series controls. EtherNet/IP Communication Specifications” (Page 5-19).
• Assembly Object: With a PLC that does not support cyclic
communication, by directly reading and writing the data of
this object, it is possible to achieve control that is the same
as cyclic communication.
z Attributes
Specify the attributes that exist in the specified class and instance. For
details of the attributes of each class, refer to “Controller EtherNet/IP
Communication Specifications” (Page 5-19) and the specifications of the
EtherNet/IP functions issued by ODVA.
To obtain the specifications issued by ODVA, refer to the
URL below.
ODVA homepage: www.odva.org/
z Services
Specify the contents for execution. The primary services that can be used
with the controller are the following.
• Access to attributes:
GetAttributeSingle/SetAttributeSingle
• Object-specific service:
Services that are prepared for individual objects.
5-37
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
Resetting the controller using EtherNet/IP Controlling image capture with EtherNet/IP
message communication message communication
Controller measurement can be reset using message communication by
means of the Measurement Object reset service. Image capture service (4BHex) control image
Inputs the specified trigger and performs image capture.
Reset service (05Hex) control image
Resets the measurement content. The contents that are executed are the Controller
PLC
same as I/O reset. (TM-X5000 Series)
Controller Image capture
PLC
(TM-X5000 Series) service
Response
The following conditions must be satisfied in order to use this
service:
• EtherNet/IP must be enabled when started.
Example of data • For [Head setting], [Trigger mode] must be set to [External].
• “READY” must be true (READY state).
z Send data
Class ID 71Hex Measurement Object Example of data
When a trigger is input, specify 0x01 with bits 0 and 1 of the trigger
Instance ID 01Hex Fixed value information as 1.
Service ID 05Hex Reset service z Send data
Attribute ID - - Class ID 71Hex Measurement Object
z Execution result
• 0 (00Hex) : Service execution was successful.
• 9 (09Hex) : Data value is not correct (not a valid value).
• 16 (10Hex) : Service was not available (not in Ready state.)
• 19 (13Hex) : Incorrect data size (too small)
• 21 (15Hex) : Incorrect data size (too large)
5-38
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
z Response data
Execution result Execution result
z Execution result
• 0 (00Hex) : Service execution was successful.
• 19 (13Hex) : Incorrect data size (too small)
• 21 (15Hex) : Incorrect data size (too large)
• 31 (1FHex) : A vendor-specific error occurred. The detailed reason is
indicated in the additional code.
z Additional code
Contains command error codes.
5-39
TM-X5000 Series User’s Manual Input/Output and Control Using EtherNet/IP
Fetching Measurement Data Using EtherNet/IP Changing the Recipe Number Using EtherNet/IP
Message Communications (Fetch Data) Message Communications (Rewrite Recipe No.)
Results data acquisition service (4DHex) control Rewrite recipe number service (4EHex) control image
image This service rewrites the recipe number to the specified value.
Specify the offset and size in bytes for the results data that was allocated
in the output settings, and acquire the results data. Controller
PLC
(TM-X5000 Series)
Controller
PLC Rewrite recipe No.
(TM-X5000 Series)
service
Results data
acquisition service Response
Response
The following conditions must be satisfied in order to use this
service.
The upper limit size for the results data that can be acquired is the results • EtherNet/IP must be enabled when started.
data area size that was allocated in the cyclic communication area.
However, it is limited to 248 bytes when the selected PLC type is Rockwell
SLC5/05, and to 496 bytes in all other cases. If a larger size is specified, Example of data
When writing recipe No. 5
data is returned only in the maximum size that can be returned.
Attribute ID - -
z Execution result
0th byte 14Hex Acquire 20 bytes. • 0 (00Hex) : Service execution was successful.
• 9 (09Hex) : Data value is not correct (not within valid range).
1st byte 00Hex • 19 (13Hex) : Incorrect data size (too small)
• 21 (15Hex) : Incorrect data size (too large)
Acquire results data beginning
Data 2nd byte 0CHex
from byte No. 12
z Response data
Execution result Execution result
Data (...)
z Execution result
• 0 (00Hex) : Service execution was successful.
• 9 (09Hex) : Data value is incorrect. (Offset or size is negative, or
value is too large.)
• 19 (13Hex) : Incorrect data size (too small)
• 21 (15Hex) : Incorrect data size (too large)
5-40
TM-X5000 Series User’s Manual Overview of Control/Data Output Using PROFINET
z Cyclic communication
This function provides high-speed control at an interval of several to several tens of milliseconds by communicating at the update time interval. In addition,
because it is possible to control the controller by referencing and updating variables and devices in the PLC without considering the communication, it allows
programs to be written easily on the PLC side.
• Control the controller: The controller can be controlled by using periodic communication to send the commands for execution.
• Output the results data: Data can be output by periodic communication when the items for output from PROFINET are set in the output settings (Page 3-34).
• Change the recipe number: The controller can be controlled by using periodic communication to specify the recipe number.
• Be sure to set an update time of 4 ms or longer for cyclic communication (1 ms or longer when using the PROFINET unit).
• In a network where many devices including a PROFINET device are connected, delay or packet loss may occur sometimes when a heavy load
is applied to the network constantly or temporarily. Be sure to perform sufficient verification prior to operation.
Standard specifications
This system’s PROFINET communications supports “periodic communication” and “recorded data communication (aperiodic communication)”.
Accessible address
Index
Controller port PROFINET-Unit
Accessible address
Index
Controller port PROFINET-Unit
• The read record and write record commands are issued using the
respective “RDREC” (SFB 52) and “WRREC” (SFB 53) blocks from
the PLC.
5-41
TM-X5000 Series User’s Manual Overview of Control/Data Output Using PROFINET
0000 Reserved Reserved Reserved Result OR Result Ready Cmd Ready Cmd Error Cmd Complete
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0005
Value 15 Value 14 Value 13 Value 12 Value 11 Value 10 Value 9 Value 8
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
Bit area 0006
Value 23 Value 22 Value 21 Value 20 Value 19 Value 18 Value 17 Value 16
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0007
Value 31 Value 30 Value 29 Value 28 Value 27 Value 26 Value 25 Value 24
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0008
Value 39 Value 38 Value 37 Value 36 Value 35 Value 34 Value 33 Value 32
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0009
Value 47 Value 46 Value 45 Value 44 Value 43 Value 42 Value 41 Value 40
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0010
Value 55 Value 54 Value 53 Value 52 Value 51 Value 50 Value 49 Value 48
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0011
Value 63 Value 62 Value 61 Value 60 Value 59 Value 58 Value 57 Value 56
0012
Error code area Error Code
0013
0014
Reserved area Reserved
0015
0016
Measurement 0017
Total Count
count area 0018
0019
0020
0021
Command Result
0022
0023
0024
0025
Command Data 1
0026
0027
Command output
0028
area
0029
Command Data 2
0030
0031
…
0044
0045
Command Data 6
0046
0047
0048
0049
Result Data 1
0050
0051
Results output
0052
area
0053
Result Data 2
0054
0055
…
5-42
TM-X5000 Series User’s Manual Overview of Control/Data Output Using PROFINET
Cmd Error Turns off when command processing is successful and on when command processing fails.
Result OR Used to output the OR result for the judged value of tool specified in the output settings.
TRG_ack Turns on when the trigger input is accepted. Turns off when trigger input turns off.
Output while a dialog box is displayed on the screen when a system error occurs. For details on typical
system errors, see “Error Messages” (Page A-2).
ERROR
On the [System] screen for [Global] (Page 4-6), error output for SD memory card-related errors and so
Bit area on can also be specified.
Turns on when the internal measurement values for all tools set with the active recipe are no longer in the
judgment standby state.
MSR_VALID
Turns off if measured values are finalized with TIMING or when internal measurement values are cleared
with MSR_RESET.
TIMING_ack Turns on when the input timing is accepted. Turns off when the input timing is turned off.
ZERO_ON_ack Turns on when zero on input is accepted. Turns off when zero on input is turned off.
ZERO_OFF_ack Turns on when zero off input is accepted. Turns off when zero off input is turned off.
Turns on when reset measured value input is accepted. Turns off when reset measured value input is
MSR_RESET_ack
turned off.
Turns on when reset measured value (all recipes) input is accepted. Turns off when reset measured
RESET_ALL_ack
value (all templates) input is turned off.
Tool Judge Value0 Returns the judgment value assigned to the bit allocation area (address 0004:bit0).
Tool Judge Value1 Returns the judgment value assigned to the bit allocation area (address 0004:bit1).
Tool judgment area
... ...
Tool Judge Value63 Returns the judgment value assigned to the bit allocation area (address 0011:bit7).
Error code area Error Code Contains error codes for causes of errors.
When used with [Hold Mode] set to [ON], change measurement count (increase by 1)
Measurement count of the system variables allocated to the results output area is used as the result output
Total Count complete signal.
area
To allocate system variables to the results output area, click [Output Settings] > [Output
Results] > [Settings] under [Field Network] > [Byte Allocation Area] > [Display Options],
select [System Variables] and add [Measurement count] to [Output items].
... ...
5-43
TM-X5000 Series User’s Manual Overview of Control/Data Output Using PROFINET
As ExecCondNo is only loaded by the controller when there are changes, the recipe number can also be overwritten by a command.
Bit area Used to suspend the occurrence of internal triggers and the acceptance of external triggers. When the input turns on,
EXT
READY is forcibly turned off to stop the acceptance of all triggers (level synchronization).
Used to suspend the status output for trial runs.
• When this signal is input, the result data that have not been output will be deleted.
TEST • Result OR output is reset during input.
• As soon as input turns off, the measurement processing result obtained immediately after that will start being output
again.
TIMING Requests input timing when rising from OFF to ON.
ZERO_ON Requests auto zero on input when rising from OFF to ON.
ZERO_OFF Requests auto zero off input when rising from OFF to ON.
MSR_RESET Requests reset measured value processing input when rising from OFF to ON.
RESET_ALL Requests reset measured value processing for all recipes when rising from OFF to ON.
Recipe
ExecCondNo Writes recipe numbers (1 to 8). The recipe numbers are loaded by the controller when values in this area change.
No. area
Command number Writes a command number.
Cmd Parameter1 Writes command parameter 1.
Command input area Cmd Parameter2 Writes command parameter 2.
Cmd Parameter3 Writes command parameter 3.
… …
5-44
TM-X5000 Series User’s Manual Overview of Control/Data Output Using PROFINET
z Connection
Changing PROFINET Settings • PROFINET Name
Specify the name to identify the TM-X5000 Series on the PROFINET
The settings for controlling data input and output via PROFINET can be network. Set the controller to the same name as the name input when
changed on the [Field Network] screen under [Communications & I/O] in specifying the controller on the PLC as the connection destination. If
[Global]. a different name is specified, the PLC cannot detect the controller, so
PROFINET communications will not be established.
• Controller Ethernet settings, such as the IP address and
subnet mask, are changed in “Network” (Page 4-2). z IP address settings (when using the PROFINET unit)
• If the PROFINET settings were changed, it is necessary to • IP Address
restart the controller in order to apply the settings. Enter an IP address (default setting: 192.168.0.20).
• Subnet Mask
1 Select [Global] → [Communications & I/O] → [Field Network]. Enter a subnet mask (default setting: 255.255.255.0).
• Default Gateway
Enter a default gateway IP address (default setting: 0.0.0.0).
The set values are the same for the P1 and P2 ports on
the communications expansion unit.
z Data Settings
• Cyclic Data Size
2 Select [PROFINET] or [PROFINET-Unit]. Displays the maximum cyclic data packet size in bytes.
• Data Configurations
Click [Configuration] to show the overview of the data allocations in
PROFINET periodic communication. For a command returning a text
string, the response data may be large. Clicking the [View List] button
shows the detailed allocation statuses of the receive-data and send-
3
data.
Change the settings as required.
<When [PROFINET] is selected>
• Decimal Point
<When [PROFINET-Unit] is selected> Selects the data representation type of the result data output.
• Fixed-Point (default)
Numbers displayed on each tool are handled as signed 32-bit integer
data.
(Example)
If decimal points are set to three digits and the measured value is
123.450 mm, it is handled as 123450 integer data.
• Floating-Point
The data is handled as 32-bit single-precision floating decimal point
data.
• Endian
The “Endian” is the method used to arrange the most significant byte
data in the PLC data memory. Select the appropriate endian according
to the PLC model (default setting: Big-endian).
Typical PLC endianness is as follows:
• Siemens PLC: Big-endian
• Omron PLC: Little-endian
z Other Setting
• Enable Handshake
After checking that the PLC received the measurement data output,
select whether to write the result of the next data.
When the [Enable Handshake] check box is selected, the controller
turns “ON” “Result ready flag” after the measurement result is output.
Upon reception of the ready flag, the PLC reads the output data and
turns “ON” “Result ack flag”.
The Controller then turns “OFF” its “Result ready flag” after recognizing
the PLC’s ack flag. The PLC turns “OFF” “Result ack flag” to request the
controller to write the next measurement results.
5-45
TM-X5000 Series User’s Manual Overview of Control/Data Output Using PROFINET
4 Click [OK].
5-46
TM-X5000 Series User’s Manual Overview of Control/Data Output Using PROFINET
When used with [Hold Mode] set to [ON], selecting [Update Every Timing] (Page 3-35) updates the measurement value by inputting
TIMING, ZERO, MSR_RESET, and RESET_ALL (the internal measurement value will not update).
• Data output via PROFINET is performed only in run mode. Data is not output in setup mode.
• With PROFINET, images and other binary data cannot be output.
(2)
(1)
Checks that the Result ack flag is turned off.*1. Result ack flag is turned OFF.
(3)
(3)
Writes data to ResultData and Result OR flag, Data is written to data memory that supports
Tool Judge Value. ResultData and Result OR flag, Tool Judge Value.
(4) (4)
After data writing is completed, When Result ready flag changes to ON, the completion of
Result ready flag is turned ON. data writing is checked and the data is referenced.
(5)
(5)
Detects that the Result ack flag has changed to ON
Result ack flag is turned ON.
and checks that data reading is completed.
(6)
(6)
Detects that Result ready flag has
Result ready flag is turned OFF.
changed to OFF.
*1 When the results output handshake is OFF, output data is overwritten and updated without checking whether the Result ack flag is OFF. To
take the rise of Result ready flag as a data reference synchronization signal, turn the Result ack flag ON at each output, which will turn the
Result ready flag OFF.
z Timing chart
Measurement
Measurement processing processing
ON (2)
Result ack flag The PLC writes.
OFF
ON
Result ready flag The controller writes.
OFF A
ON
Result OR flag The controller writes.
OFF
ON
ResultData The controller writes.
OFF
ON
Tool Judge Value The controller writes.
OFF
The Result OR flag is updated in coordination with results output with PROFINET as the output destination. When the Result OR flag is used, it is
necessary to configure the output setting so that one or more data item is output via PROFINET.
5-47
TM-X5000 Series User’s Manual Overview of Control/Data Output Using PROFINET
Flow of Command Process using PROFINET (Example of Connection with the PLC’s PROFINET Unit)
The controller performs command control via PROFINET in the following manner.
(1)
The command number to be executed is
written to the data memory that corresponds to
Command Number and the command parameter
is written to the data memory that corresponds to
Command Parameter .
(3)
(2)
Detects Command request flag rise, Checks that Command ready flag is turned ON
executes a command from Command Number, and turns ON Command request flag.
reads a command parameter from the address that
corresponds to Command Parameter executes a Detects that Command ready flag is turned OFF
command and turns OFF Command ready flag. and checks the start of the command.
(4)
After the command is executed, response data is
Writes response data to the data memory that
written to Command Data, and Command error flag
corresponds with Command Data*1.
and Command Result are set to the error state.
(5)
(5) Checks that command execution is completed when
it is detected that Command complete flag turns
Command complete flag is turned ON.
ON and refers to the response data and command
(7) execution result.
In the case of a command for which there is no response data, data is not output in response to the Command Data.
When an error occurs, the command execution results are written to Command Result. (0: Success, <Error code>: Failure).
The error cords conform to “Error Messages” (Page A-2).
z Timing chart
Command execution status Run command
ON
Command Number The PLC writes.
OFF
ON
Command Parameter The PLC writes.
OFF
ON
Command ready flag A The controller writes.
OFF
ON
Command request flag A A The PLC writes.
OFF
ON
Command Data The controller writes.
OFF
ON
Command error flag The controller writes.
OFF
ON
Command Result The controller writes.
OFF
ON
The controller writes.
Command complete flag A
OFF
5-48
TM-X5000 Series User’s Manual Overview of Control/Data Output Using PROFINET
Controlling the Controller with PROFINET Cyclic Communication (Change Recipe Number)
The recipe number can be changed at any time.
5-49
TM-X5000 Series User’s Manual Overview of Control/Data Output Using PROFINET
Troubleshooting
Data cannot be acquired correctly when reading data based on the change in the rise of STO output from an
external terminal.
STO is the data strobe signal for terminal output. Therefore it cannot be used as the strobe signal for any other data output.
Refer to the “Result ready flag” for the timing as to when to read data by PROFINET.
Behavior occurs that is different from the module address assigned to the PLC
Deleting the bit module may cause behavior that differs from the address set for the PLC.
Do not delete the bit module.
Error messages
Error cause
Message Cause Corrective Action
No.
Change the update time on the PLC so the data is output via
PROFINET output failed The output buffer for output via PROFINET PROFINET at a faster rate than it builds up. Or, extend the time
13702
due to a full buffer. is full. between triggers. Note: Results data are not written when the
buffer is full.
The delay of
the handshake Change the update time on the PLC so the data from the tool is
When the PROFINET handshake is on,
causes skipping output via PROFINET at a faster rate than it builds up. Or, extend
delayed handshake caused results output 13703
of the PROFINET the time between triggers. Note: Results data are not written when
via PROFINET to be skipped.
communication result the buffer is full.
output.
5-50
TM-X5000 Series User’s Manual Overview of Control/Data Output Using EtherCAT
Standard specifications
EtherCAT communication that uses an EtherCAT unit (CB-NEC20E: Optional) supports “Process data object (PDO) communications (cyclical communications)”
and “Mailbox communication (non-cyclic communication)”.
If the parameter module is being written to when the SDO Download command is issued with cyclic communication, a conflict may occur in the memory
area. To use the SDO Download command, configure the settings so that cyclic communication and the memory area do not conflict.
Beckhoff PLC
EtherCAT
PLC model Firmware version Software used Version of the software used
communication unit
C6920-0050 (TwinCAT) - (Built in) Windows 7 Ultimate Service Pack 1 TwinCAT3 v3.1.4020 (Build 4020)
Omron PLC
EtherCAT
PLC model Firmware version Software used Version of the software used
communication unit
5-51
TM-X5000 Series User’s Manual Overview of Control/Data Output Using EtherCAT
Example of the send-data settings for this controller (TM-X5000 Series to Beckoff C6920 Series)
The following is an example when the command response output area is set to 24 bytes when one TM-X5000 Series unit is connected and ResultData 128
bytes (Index 2008) is assigned to the process data.
Setting
Index Sub index
condition
Cmd
0x08 Reserved 0x07 Reserved 0x06 Reserved 0x05 Result OR 0x04 Result Ready 0x03 Cmd Ready 0x02 Cmd Error 0x01
Complete
0x10 MSR_VALID 0x0F RUN 0x0E Reserved 0x0D ERROR 0x0C BUSY 0x0B Reserved 0x0A TRG_ack 0x09 READY
2001 MSR_
RESET_ ZERO_ ZERO_ TIMING_
0x18 Reserved 0x17 Reserved 0x16 0x15 RESET_ 0x14 0x13 0x12 Reserved 0x11
ALL_ack OFF_ack ON_ack ack
ack
0x20 Reserved 0x1F Reserved 0x1E Reserved 0x1D Reserved 0x1C Reserved 0x1B Reserved 0x1A Reserved 0x19 Reserved
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0x08 0x07 0x06 0x05 0x04 0x03 0x02 0x01
Value7 Value6 Value5 Value4 Value3 Value2 Value1 Value0
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0x10 0x0F 0x0E 0x0D 0x0C 0x0B 0x0A 0x09
Value15 Value14 Value13 Value12 Value11 Value10 Value9 Value8
Bit area Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0x18 0x17 0x16 0x15 0x14 0x13 0x12 0x11
Value23 Value22 Value21 Value20 Value19 Value18 Value17 Value16
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0x20 0x1F 0x1E 0x1D 0x1C 0x1B 0x1A 0x19
Value31 Value30 Value29 Value28 Value27 Value26 Value25 Value24
2002
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0x28 0x27 0x26 0x25 0x24 0x23 0x22 0x21
Value39 Value38 Value37 Value36 Value35 Value34 Value33 Value32
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0x30 0x2F 0x2E 0x2D 0x2C 0x2B 0x2A 0x29
Value47 Value46 Value45 Value44 Value43 Value42 Value41 Value40
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0x38 0x37 0x36 0x35 0x34 0x33 0x32 0x31
Value55 Value54 Value53 Value52 Value51 Value50 Value49 Value48
Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge Tool Judge
0x40 0x3F 0x3E 0x3D 0x3C 0x3B 0x3A 0x39
Value63 Value62 Value61 Value60 Value59 Value58 Value57 Value56
Error code
2003 Error Code
area
Measurement
2004 Total Count
count area
Command
execution 2005 Command Result
result
0x01 Command Data 1
0x02 Command Data 2
Result Data …
128 bytes
2008 0x06 Command Data 6
(Default
value) 0x07 Result Data 1
0x08 Result Data 2
…
5-52
TM-X5000 Series User’s Manual Overview of Control/Data Output Using EtherCAT
Cmd Error Turns off when command processing is successful and on when command processing fails.
Result OR Used to output the OR result for the judged value of tool specified in the output settings.
TRG_ack Turns on when the trigger input is accepted. Turns off when trigger input turns off.
Output while a dialog box is displayed on the screen when a system error occurs. For details on typical
system errors, see “Error Messages” (Page A-2).
ERROR
On the [System] screen for [Global] (Page 4-6), error output for SD memory card-related errors and so
Bit area on can also be specified.
Turns on when the internal measurement values for all tools set with the active recipe are no longer in the
judgment standby state.
MSR_VALID
Turns off if measured values are finalized with TIMING or when internal measurement values are cleared
with MSR_RESET.
TIMING_ack Turns on when the input timing is accepted. Turns off when the input timing is turned off.
ZERO_ON_ack Turns on when zero on input is accepted. Turns off when zero on input is turned off.
ZERO_OFF_ack Turns on when zero off input is accepted. Turns off when zero off input is turned off.
Turns on when reset measured value input is accepted. Turns off when reset measured value input is
MSR_RESET_ack
turned off.
Turns on when reset measured value (all recipes) input is accepted. Turns off when reset measured
RESET_ALL_ack
value (all templates) input is turned off.
Tool Judge Value0 Returns the judgment value assigned to the bit allocation area (address 0004:bit0).
Tool Judge Value1 Returns the judgment value assigned to the bit allocation area (address 0004:bit1).
Tool judgment area
... ...
Tool Judge Value63 Returns the judgment value assigned to the bit allocation area (address 0011:bit7).
Error code area Error Code Contains error codes for causes of errors.
When used with [Hold Mode] set to [ON], change measurement count (increase by 1)
Measurement count of the system variables allocated to the results output area is used as the result output
Total Count complete signal.
area
To allocate system variables to the results output area, click [Output Settings] > [Output
Results] > [Settings] under [Field Network] > [Byte Allocation Area] > [Display Options],
select [System Variables] and add [Measurement count] to [Output items].
... ...
5-53
TM-X5000 Series User’s Manual Overview of Control/Data Output Using EtherCAT
Example of the send-data settings for this controller (TM-X5000 Series to Beckoff C6920 Series)
Example when one TM-X5000 Series model is connected to a C6920 Series model and Parameter 128 bytes (Index 2017) is assigned to process data.
Setting
Index Sub index
condition
Error reset Cmd
0x08 Reserved 0x07 Reserved 0x06 Reserved 0x05 0x04 Result ack 0x03 Reserved 0x02 Reserved 0x01
request request
0x10 Reserved 0x0F Reserved 0x0E Reserved 0x0D Reserved 0x0C Reserved 0x0B Reserved 0x0A Reserved 0x09 TRG
2011
0x18 Reserved 0x17 Reserved 0x16 Reserved 0x15 Reserved 0x14 Reserved 0x13 TEST 0x12 EXT 0x11 RESET
RESET_ MSR_
0x20 Reserved 0x1F Reserved 0x1E 0x1D 0x1C ZERO_OFF 0x1B ZERO_ON 0x1A Reserved 0x19 TIMING
ALL RESET
0x08 Reserved 0x07 Reserved 0x06 Reserved 0x05 Reserved 0x04 Reserved 0x03 Reserved 0x02 Reserved 0x01 Reserved
Bit 0x10 Reserved 0x0F Reserved 0x0E Reserved 0x0D Reserved 0x0C Reserved 0x0B Reserved 0x0A Reserved 0x09 Reserved
area
0x18 Reserved 0x17 Reserved 0x16 Reserved 0x15 Reserved 0x14 Reserved 0x13 Reserved 0x12 Reserved 0x11 Reserved
0x20 Reserved 0x1F Reserved 0x1E Reserved 0x1D Reserved 0x1C Reserved 0x1B Reserved 0x1A Reserved 0x19 Reserved
2012
0x28 Reserved 0x27 Reserved 0x26 Reserved 0x25 Reserved 0x24 Reserved 0x23 Reserved 0x22 Reserved 0x21 Reserved
0x30 Reserved 0x2F Reserved 0x2E Reserved 0x2D Reserved 0x2C Reserved 0x2B Reserved 0x2A Reserved 0x29 Reserved
0x38 Reserved 0x37 Reserved 0x36 Reserved 0x35 Reserved 0x34 Reserved 0x33 Reserved 0x32 Reserved 0x31 Reserved
0x40 Reserved 0x3F Reserved 0x3E Reserved 0x3D Reserved 0x3C Reserved 0x3B Reserved 0x3A Reserved 0x39 Reserved
Recipe No. 2013 ExecCondNo
Execution
command 2014 Command number
No.
As ExecCondNo is only loaded by the controller when there are changes, the recipe number can also be overwritten by a command.
5-54
TM-X5000 Series User’s Manual Overview of Control/Data Output Using EtherCAT
• Decimal Point
Selects the data representation type of the result data output.
• Fixed-Point (default)
Numbers displayed on each tool are handled as signed 32-bit integer
data.
(Example)
If decimal points are set to three digits and the measured value is
123.450 mm, it is handled as 123450 integer data.
• Floating-Point
The data is handled as 32-bit single-precision floating decimal point
data.
5-55
TM-X5000 Series User’s Manual Overview of Control/Data Output Using EtherCAT
When used with [Hold Mode] set to [ON], selecting [Update Every Timing] (Page 3-35) updates the measurement value by inputting
TIMING, ZERO, MSR_RESET, and RESET_ALL (the internal measurement value will not update).
• Data is only output via EtherCAT in run mode. Data is not output in setup mode.
• With EtherCAT, images and other binary data cannot be output.
(2)
(1)
Checks that the Result ack flag is turned off.*1 Result ack flag is turned OFF.
(3)
(3)
Data is written to data memory that supports
Writes data to ResultData and Result OR flag,
ResultData and Result OR flag,
Tool Judge Value.
Tool Judge Value.
(4) (4)
After data writing is completed, When Result ready flag changes to ON, the completion
Result ready flag is turned ON. of data writing is checked and the data is referenced.
(5)
(5)
Detects that the Result ack flag has changed to ON and
Result ack flag is turned ON.
checks that data reading is completed.
(6)
(6)
Detects that Result ready flag
Result ready flag is turned OFF.
has changed to OFF.
*1 When the results output handshake is OFF, output data is overwritten and updated without checking whether the Result ack flag is OFF. To
take the rise of Result ready flag as a data reference synchronization signal, turn the Result ack flag ON at each output, which will turn the
Result ready flag OFF.
z Timing chart
Measurement
Measurement processing processing
ON (2)
Result ack flag The PLC writes.
OFF
ON
Result ready flag The controller writes.
OFF A
ON
Result OR flag The controller writes.
OFF
ON
ResultData The controller writes.
OFF
ON
Tool Judge Value The controller writes.
OFF
The Result OR flag is updated in coordination with results output with EtherCAT as the output destination. When the Result OR flag is used, it is
necessary to configure the output setting so that one or more data item is output EtherCAT.
5-56
TM-X5000 Series User’s Manual Overview of Control/Data Output Using EtherCAT
Flow of Command Process using EtherCAT (Example of Connection with the PLC’s EtherCAT Unit)
The controller performs command control via EtherCAT in the following manner.
(1)
The command number to be executed is written to the
data memory that corresponds to Command Number
and the command parameter is written to the data
memory that corresponds to Command Parameter .
(3)
(2)
Detects Command request flag rise,
executes a command from Command Number, Checks that Command ready flag is turned ON
reads a command parameter from the address that and turns ON Command request flag.
corresponds to Command Parameter executes a
Detects that Command ready flag is turned OFF
command
and checks the start of the command.
and turns OFF Command ready flag.
(4)
After the command is executed, response data is
Writes response data to the data memory that
written to Command Data, and Command error flag
corresponds with Command Data*1.
and Command Result are set to the error state.
(5)
(5) Checks that command execution is completed when it is
Command complete flag is turned ON. detected that Command complete flag turns ON and
(7) refers to the response data and command execution result.
In the case of a command for which there is no response data, data is not output in response to the Command Data.
When an error occurs, the command execution results are written to Command Result. (0: Success, <Error code>: Failure).
The error cords conform to “Error Messages” (Page A-2).
z Timing chart
Command execution status Run command
ON
Command Number The PLC writes.
OFF
ON
Command Parameter The PLC writes.
OFF
ON
Command ready flag A The controller writes.
OFF
ON
Command request flag A A The PLC writes.
OFF
ON
Command Data The controller writes.
OFF
ON
Command error flag The controller writes.
OFF
ON
Command Result The controller writes.
OFF
ON
The controller writes.
Command complete flag A
OFF
5-57
TM-X5000 Series User’s Manual Overview of Control/Data Output Using EtherCAT
Controlling the Controller with EtherCAT Cyclic Communication (Change Recipe Number)
The recipe number can be changed at any time.
Refers to the data memory value that corresponds Writes the recipe number to the data memory that
to ExecCondNo and changes the recipe number corresponds to ExecCondNo
5-58
TM-X5000 Series User’s Manual Overview of Control/Data Output Using EtherCAT
Troubleshooting
Data cannot be acquired correctly when reading data based on the change in the rise of STO output from an
external terminal.
STO is the data strobe signal for terminal output. Therefore it cannot be used as the strobe signal for any other data output.
Refer to the “Result ready flag” for the timing as to when to read data by EtherCAT.
Error messages
Error cause
Message Cause Corrective Action
No.
Change the update time on the PLC so the data is output via
EtherCAT output failed The controller output buffer for outputting EtherCAT at a faster rate than it builds up. Or, extend the time
13802
due to a full buffer. via EtherCAT is full. between triggers. Note: Results data are not written when the
buffer is full.
5-59
TM-X5000 Series User’s Manual Control/Data Output via the PLC-Link
5-60
TM-X5000 Series User’s Manual Control/Data Output via the PLC-Link
z iQ-R series
Set it by the unit parameter of GX Works 3.
From the unit list of [Basic Settings] > [Setting Other Party Connection
Environment] > [Detailed Settings], add [UDP Connecting Device] to the
Ethernet configuration, and perform settings as follows:
• Correspondence method: Select either [Fixed buffer (with procedure)] or
[Random access buffer].
• Sequencer (Port Number)/ Sensor/Device (Port Number): Set the PLC
port number for both (setting range: 1025 - 4999, 5010 - 65534).
• Sensor/Device (IP Address): Specify the IP address for this unit.
• Availability Check: Select [Do not check availability].
• Authorize writing during RUN: Select [Allow].
z Q/L series
Change settings using the PC parameters in GX Developer or GX Works 2.
• Built-in Ethernet port settings
• IP Address: Set the IP address specified for the destination address in
the controller’s PLC-Link.
• Communication Data Code Setting: Select [Binary code
communication].
• Authorize writing during RUN: Select this check box.
• Open settings:add the following settings:
• Protocol: Select [UDP].
• Open method: Select [MC protocol].
• Local node port number: Specify a hexadecimal value within the
range 0401 to 1387, and 1392 to FFFE. Numbers from 1388 to 1391
(5000 to 5009 in decimal) are reserved.
Specify the [Port] setting in the controller with the decimal notation of
the hexadecimal value specified here. (For example, if the local node
port number is 1387, specify 4999 in the controller.)
z iQ-R/iQ-F series
Set it by the unit parameter of GX Works 3.
• Self node settings
• IP Address: Set the IP address specified for the destination address in
the controller’s PLC-Link.
• Communication Data Code Setting: Select [Binary].
• Authorize/prohibit writing during RUN setting: Select [Authorize all
(SLMP)] (for iQ-R only).
• Destination Device Connection Configuration Settings: From the [Basic
Settings] > [Destination Device Connection Configuration Settings]
> [Details] unit list, add [SLMP Connection Device] to the Ethernet
configuration and configure the following settings:
• Protocol: Set [UDP].
• Sequencer (Port Number)/Sensor/Device (Port Number): Set the PLC
port number for both (setting range: 1025 - 4999, 5010 - 65534).
• Sensor/Device (IP Address): Specify the IP address for this unit.
5-61
TM-X5000 Series User’s Manual Control/Data Output via the PLC-Link
3
• Command Execute Address (bit)
Change the settings as required. This option is used when [Command Execute Event] is set to [Polling]
(Default: 00002). The used data memory is one word. The command
is executed when the value of this address data memory changes
from 0 to 1.
• Command Complete Address (bit)
Specifies the address of the data memory to acknowledge the
completion of writing to [Command Result Address] after completion
of an instruction execution by the controller (default: 00003). The used
data memory is one word.
• Command Address
Specifies the leading address of the data memory storing the command
code and parameter which are issued to the controller (default: 00100).
The command code and parameter are specified by 2
words each.
• Command Result Address
Specifies the initial address of the data memory storing the results
of commands which are executed by the controller (default: 00200).
If command execution fails, an error code is stored. The used data
memory is two words.
5-62
TM-X5000 Series User’s Manual Control/Data Output via the PLC-Link
(6) (6)
Detects that the Result Ready Address (bit) has
Writes “0” to the Result Ready Address (bit) DM.
changed to “0” (fall).
For processing with the [Acknowledge result output completion] and [Enable Handshake] options enabled, all result data can be retrieved on the
PLC side.
If not all result data is necessary and it is only needed to retrieve the latest result data on the PLC side, the following settings can reduce the time
required to output the results.
If [Enable Handshake] is disabled, the Result Ack Address (bit) value confirmation can be restricted in steps 2 and 5 (in this case, the controller
outputs the result data regardless of whether data has been completely read or not on the PLC side). Also, if [Acknowledge result output
completion] is disabled, writing to Result Ready Address (bit) can be restricted in steps 4 and 6 (in this case, it cannot be determined on the PLC
side whether the result data has been updated).
z Timing chart
Measurement
Measurement processing processing
ON (2)
Result Ack Address (bit) The PLC writes.
OFF
ON
Result Ready Address (bit) The controller writes.
OFF
ON
Measurement Result Output
The controller writes.
Address OFF
5-63
TM-X5000 Series User’s Manual Control/Data Output via the PLC-Link
(1)
Writes the Command No. and Parameter
(2) to the command address.
(3)
(4)
After command execution is completed, response
data for the command execution*1 is written from The response data*1 is written to Command Result
Command Result Address to the consecutive DM. Address.
(5) (5)
Writes response data for the command execution
and writes “1” to Checks that command execution has completed
the Command Complete Address (bit) DM value. by rewriting the Command Complete Address (bit)
value to “1” (rise) and checks the response data.
(6)
(7)
Returns the Command Execute Address (bit) value
Detects that the Command Execute Address (bit) to “0”.
Note: In the case of the PLC terminal method,
value changed to “0” (fall) and returns the Command
the controller’s PLC terminal is turned OFF.
Complete Address (bit) value to “0”.
Note: In the case of falling edge terminal method, (7)
the PLC terminal fall is detected. Checks that the Command Complete Address (bit)
has changed to “0” (fall) and moves to the next
command.
*1 The returned data varies depending on the commands. For details, refer to “List of Communication Commands for Control” (Page 5-2) and confirm
the received data of each command.
z Timing chart
(1)
ON
Command No./Parameter The PLC writes.
OFF
5-64
TM-X5000 Series User’s Manual Control/Data Output via the PLC-Link
Troubleshooting
Data cannot be acquired correctly when reading data based on the change in the rise of STO output from an
external terminal.
STO is the data strobe signal for the terminal output unit. Therefore, it cannot be used as the strobe signal for any other data output.
Refer to the result ready address for the timing as to when to read data by PLC-Link.
Error messages
Error cause
Message Cause Corrective Action
No.
• Check the connection with the PLC and the settings of the PLC.
• If PLC-Link is not used, change the field network settings to
An error occurred in the connection with
Failed to establish a link [Disable].
the PLC when the [PLC-Link] function was 13301
with the PLC. • If the error message displayed after a trigger input, check that
enabled.
the data memory destination specified is in the range that meets
the PLC format.
5-65
TM-X5000 Series User’s Manual Input/Output and Control Using the I/O Terminal
Output 9
z Results output
• Judgment output: Outputs upper/lower limit judgment results on the
processed images.
Terminal Layout
z Control Terminal
Terminal block
Circuit
• Control output: Outputs signals for system errors or synchronization with No. display at time Signal Signal Description *2
name diagram
external devices. of shipment
*1 *1
2 OUT23 OUT23 BUSY In-process output A
3 F_OUT2 F_OUT2 OR Total status output A
Synchronous signal for
4 F_OUT3 F_OUT3 STO*1 A
output *1
Common for terminal
5 COMOUT1 COM OUT - -
block outputs
Trigger input permission
6 F_OUT0 F_OUT0 READY *1 A
output *1
*1 *1
7 F_OUT1 F_OUT1 ERROR Error output A
8 N.C. NC - - -
Poly Switch
OUT
COMOUT*
5-66
TM-X5000 Series User’s Manual Input/Output and Control Using the I/O Terminal
Connection example
Terminal Block Interface (IN)
z When connecting the controller’s output with a positive
common
• When connecting an output from the controller to a PLC with a Standard specifications
positive common
Terminal block (IN) specifications for the TM-X5000 Series are as follows.
IN
Poly Switch
Tightening above the specified torque may cause
damage to the terminal block.
OUT
z INPUT connector
COMOUT* • Suitable wiring
AWG 16 to 28
COM(+)
1
• Terminal block screw
PLC input circuit positive Output circuit torque
common 0.25 N·m or less
• When connecting an output from the controller to a relay
6
Poly Switch
Load
OUT
Load
OUT
Poly Switch
Input circuit diagram
z Circuit B (For F_IN0 to 3 only, EV compatible)
• Max. applied voltage : 26.4 V
COMOUT* • ON voltage : 19 V or greater 7.5kΩ
IN
• ON current : 3mA or greater
• OFF voltage : 5 V or less 910Ω
Relay Output circuit • OFF current : 1 mA or less
COMIN*
5-67
TM-X5000 Series User’s Manual Input/Output and Control Using the I/O Terminal
Connection example
Parallel I/O Interface
z When connecting an NPN PLC output to the system input
OUT IN
Standard specifications
Parallel I/O Interface specifications for the TM-X5000 Series are as
follows.
COM(-) COMIN*
1 21
PLC (NPN outputs) Input circuit
COM(+)
COMIN*
Terminal Layout
Input circuit
Terminal Circuit Cable
OUT No. Signal Signal Description
name diagram color
*1 It is the default assigned value on the terminal where the signal assignment
can be changed. These assignments may vary if the Global settings have
been changed.
5-68
TM-X5000 Series User’s Manual Input/Output and Control Using the I/O Terminal
Output terminal
Category Signal Signal Description Overview
This signal is output while any of system errors occur with the dialog displayed on the screen.
ERROR Error output On the [System] screen for [Global] (Page 4-6), error output for SD card-related errors and so on can
System be specified.
RUN Run mode output Output when the controller is in Run mode.
READY Trigger input enabled output Output when trigger input is acceptable.
For
measurement Output during measurement processing.
control BUSY BUSY signal output While BUSY is on, some delays may occur with start of the execution for the next measurement
processing.
OUT_DATA0 Data output bit 0 (LSB)
OUT_DATA1 Data output bit 1
OUT_DATA2 Data output bit 2
OUT_DATA3 Data output bit 3
OUT_DATA4 Data output bit 4
OUT_DATA5 Data output bit 5
OUT_DATA6 Data output bit 6
OUT_DATA7 Data output bit 7
Tool judgment or logic judgment for measurement results is output according to the output settings.
OUT_DATA8 Data output bit 8
Judgment OUT_DATA9 Data output bit 9
result OUT_DATA10 Data output bit 10
OUT_DATA11 Data output bit 11
OUT_DATA12 Data output bit 12
OUT_DATA13 Data output bit 13
OUT_DATA14 Data output bit 14
OUT_DATA15 Data output bit 15 (MSB)
OR Total status output Used to output the OR result for the judged value of tool specified in the output settings.
Used to read the data of the total status output and OUT_DATA0 to OUT_DATA15, based on leading
STO Output timing indicator
edge synchronization.
Execution success confirmation output
ACK The signal is output when the commands from the parallel I/O interface successfully finish.
for command inputs
Execution failure confirmation output
Command NACK The signal is output when the commands from the parallel I/O interface unsuccessfully finish.
for command inputs
The signal is output when execution of commands from the parallel I/O interface is acceptable.
CMD_READY Permission output for command input
When CST is input with CMD_READY turned off, CST is ignored.
Output when the internal measurement values for all tools set with the active recipe are no longer in
For
the judgment standby state.
measurement MSR_VALID Measured value valid output
Output turns off if measured values are finalized with TIMING or when internal measurement values
control
are cleared with MSR_RESET.
5-69
TM-X5000 Series User’s Manual Input/Output and Control Using the I/O Terminal
ON
CST
OFF
ON
Loading time Measurement Command
ACK processing time execution time
OFF
Command execution
waiting time
• When a command request is received during processing, the command is executed as soon as measurement processing is completed.
• READY signal does not turn on until the command execution is completed. Therefore, a next trigger input is not accepted until READY signal turns on.
ON
Command execution time
ACK
OFF
5-70
TM-X5000 Series User’s Manual Input/Output and Control Using the I/O Terminal
Parameter Parameter
None None
Parameter
z 7. Write recipe numbers None
This command changes to the specified recipe number.
Parameter
None
5-71
TM-X5000 Series User’s Manual Input/Output and Control Using the I/O Terminal
Example of changing to the program 15 on the SD card 1 using the I/O commands.
ON
CMD_CODE (3-0) (1)
Command type
OFF
ON
CMD_PARAM (7-0) (2)
Command parameter
OFF
ON
(3)
CST
OFF
ON
(4) (5)
CMD_READY
OFF
ON
Prog. No.
OFF
ON
(5)
ACK (NACK)
OFF
(1) Enter the command codes of the change program (SD card 1) command in CMD_CODE0 to 3.
CMD_CODE3: 0 (OFF)
CMD_CODE2: 0 (OFF)
CMD_CODE1: 1 (ON)
CMD_CODE0: 0 (OFF)
(2) Enter the codes of program 15 to which the setting is changed in CMD_PARAM7 to 0.
CMD_PARAM7: 0 (OFF)
CMD_PARAM6: 0 (OFF)
CMD_PARAM5: 0 (OFF)
CMD_PARAM4: 0 (OFF)
CMD_PARAM3: 1 (ON)
CMD_PARAM2: 1 (ON)
CMD_PARAM1: 1 (ON)
CMD_PARAM0: 1 (ON)
(3) Turn the input of CST on.
(4) CMD_READY turns off and program change starts.
(5) When the setting is changed to program 15, ACK turns on for a certain time, and then CMD_READY turns on after ACK falls.
ACK output and NACK output duration time is the same as the time set with STO (default: 10ms).
5-72
TM-X5000 Series User’s Manual Input/Output and Control Using the I/O Terminal
ON
OUT_DATA
(1)
0 to 15
OFF
ON
STO
OFF
A A: Output rise time
B B: Output time
(1)
OUT9 0
OUT10 0
OUT11 0
OUT12 0
OUT13 0
OUT14 0
OUT15 0
OUT16 0
OUT17 0
OUT18 0
OUT19 0
OUT20 0
OUT21 0
For details on how to set A and B in the diagram above, refer to “External
Terminal” (Page 4-4).
If the duration of output cycle via the I/O is longer than the trigger input
cycle, priority is given to measurement processing. Therefore, output delay
may be caused, which will lead to the data being omitted. To avoid this,
set the output cycle time (A + B time) shorter than the trigger input cycle
time.
5-73
TM-X5000 Series User’s Manual Input/Output and Control Using the I/O Terminal
Timing chart
This section describes at what timing the terminal operates with detailed examples.
ON
Power supply
OFF A B A: 20 seconds or longer
ON B: 1 second or longer
BUSY C: 5 ms or longer
OFF D: 50 ms or longer
ON (1) E: 50 seconds or longer
F: 0.5 ms or longer
RUN
E C
OFF
ON
CMD_READY D F
OFF (2)
ON
(3)
READY
OFF
ON
ACK
OFF
ON
NACK
OFF
ON
OUT_DATA[15:0]
OFF
ON
ERROR
OFF
ON
STO
OFF
ON
OR
OFF
ON
MSR_VALID
OFF
(1) When the system enters [Run] mode, the RUN terminal turns on (when the [Startup mode] is [RUN MODE]).
(2) The CMD_READY terminal turns ON and then OFF after startup. After that when it turns ON, command inputs will be accepted.
(3) When READY is ON, trigger input is possible (when [Trigger mode] is [External]).
5-74
TM-X5000 Series User’s Manual Input/Output and Control Using the I/O Terminal
ON
TRG A
OFF
ON
B
READY
OFF
Capture
Measurement processing
: As measurement processing has not completed (READY is OFF), the trigger cannot be accepted.
A: Minimum trigger input time 1 ms or more
B: Response delay to READY fall 1 ms or less
ON
TRG A
OFF
ON
B
READY
OFF
Capture
Measurement processing
Image Buffer
If [Image Buffer] is ON and the image buffer is empty, READY turns ON and the next trigger can be input even if measurement is being processed.
If the image buffer does not become full (external trigger, image buffer ON (once))
If “Trigger input interval > Measurement processing time,” the image buffer does not become full and a trigger can be input even during
measurement processing.
ON
TRG
OFF
ON
READY
OFF
ON
BUSY
OFF
Capture
Measurement processing
If the image buffer becomes full (external trigger, image buffer ON (once))
If “Trigger input interval < Measurement processing time,” the image buffer becomes full.
ON
TRG
OFF
ON
(1) (2) (3) (2)
READY
OFF
ON
BUSY
OFF
(1) As the image buffer has empty space, READY turns ON and a trigger can be input.
(2) As the image buffer has no empty space, READY does not turn ON.
(3) As processing of Measure Process A finishes and the image buffer has empty space, READY turns ON and a trigger can be input.
5-75
TM-X5000 Series User’s Manual Input/Output and Control Using the I/O Terminal
When Hold mode is ON (Peak hold/Bottom hold/Peak-to-peak hold/Average hold/Sample hold/Nearest hold)
The measurement period is from when TIMING input turns ON until the next TIMING input turns ON.
Once TIMING input turns ON, the measured value from the measurement period just before it is output.
In the following case, OUT/OR output and MSR_VALID are both turned OFF:
• When the power is turned ON
• When the controller is reset (RS command)
• When changing Program numbers
• When measured value reset and auto zero are executed
MSR_VALID is turned OFF in the following case as well:
• When the recipe number is changed
Judgment standby
5-76
TM-X5000 Series User’s Manual Input/Output and Control Using the I/O Terminal
Judgment standby
Judgment standby
5-77
TM-X5000 Series User’s Manual Input/Output and Control Using the I/O Terminal
ON
READY
OFF
ON
OUT_DATA[15:0]
OFF
ON
(1)
OR
OFF
ON
STO
OFF
ON
TEST
OFF
(Continued)
ON
TRG
OFF
ON
READY
OFF
ON (2)
OUT_DATA[15:0]
OFF
ON (2) (3)
OR
OFF
ON
STO
OFF
ON (2)
TEST A
OFF
(1) If [Hold Status] is enabled and the last status is NG, the OR output remains NG regardless of an actual status result.
(2) When the TEST input is turned on/off, the hold status is canceled and all terminals are reset to the normal status. The OR output condition will be updated
when the result for the next OR output is output.
(3) As the TEST input is not turned on, if the last status result is NG, the OR output remains NG regardless of an actual status result.
Output operations of the total status output (OR) when “OR terminal output mode” is set to “One Shot
Output”
ON
TRG
OFF
ON (1) (3)
OR A A (5)
(One Shot Output)
OFF
ON
OR (2) (4)
(Update Every Judge)
OFF
ON
STO (5)
OFF
(1) If the one shot output is enabled, the OR output is in NG state when the measurement processing started by trigger input is NG after the measurement
processing finishes (not synchronized with the STO rise).
(2) When “Update Every Judge” is enabled, the OR output is in the NG state along with the STO rise.
(3) If the one shot output is enabled, the OR output holds the NG state for the specified period of time, and then resets the NG state.
(4) When “Update Every Judge” is enabled, the OR output holds the NG state until the next result output for measurement processing is started. Therefore, if
output results are consecutively judged as NG, the OR output holds the NG state.
(5) If measurement processing is continuously performed with one shot output enabled, the previous NG state may remain at the time of measurement
processing results being finalized by the STO.
5-78
TM-X5000 Series User’s Manual Input/Output and Control Using the I/O Terminal
ON
RESET
OFF
ON
READY C B
OFF
ON (1)
BUSY C
OFF
ON
TRG
OFF
ON
(2)
READY
OFF
ON
OUT_DATA[15:0] D
OFF
ON
OR D
OFF
ON
STO
OFF
Measurement
Capture processing Processing reset
ON
BUSY
(1)
OFF
D: 0 ms or longer
ON
TRG
OFF
ON
(2)
READY
OFF
ON
OUT_DATA[15:0] (3)
OFF
ON
OR
OFF
ON
STO
OFF
Measurement
Capture processing
Results output Processing reset
ON
(1)
BUSY
OFF
5-79
TM-X5000 Series User’s Manual Input/Output and Control Using the I/O Terminal
ON
TRG
OFF
ON
READY
500 µs or less
OFF
ON
(1) (3)
TEST A
OFF
ON
(1)
OUT_DATA[15:0]
OFF
ON
(1)
OR
OFF
ON
(1)
STO
OFF
(2) (3)
Results output Results output
A: Minimum TEST input time (1 ms or more)
(1) While the TEST input is ON, terminal output (OUT_DATA[15:0], OR, STO) is forcibly set to normal state. (The response delay is within 500 µs).
(2) As for output to an SD card, USB HDD, FTP server, non-procedural communication, and a field network, “one output of results” does not stop even when
the TEST terminal turns ON during that “one output of results.”
(3) If the TEST terminal is ON before “one output of results,” all output for that trigger is stopped and results output is not performed even when the TEST
terminal is turned OFF later on.
ON
EXT A
OFF (1)
(2)
ON
B B
READY
OFF
(1) (1)
A: Minimum EXT input time (1 ms)
B: Response delay to READY time (0.5 ms or less)
(1) When the EXT input is ON, the READY output is OFF. At this time, no trigger can be input (all external terminals, field network communication, RS-232C,
and Ethernet). Even if an internal trigger has been selected, when the READY turns off, the image capturing and measurement processing are stopped.
The result of the trigger input accepted before the EXT input has turned ON continues being output regardless of the EXT status.
(2) When the EXT input turns off, the status returns to READY output for triggers to be able to be accepted.
5-80
TM-X5000 Series User’s Manual
6
Specifications
Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
Head . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3
Dedicated monitor for TM-X . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3
Cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3
Extension cable repeater . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3
Communication expansion unit . . . . . . . . . . . . . . . . . . . . . . . . . 6-4
Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-5
Measurement area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-5
Temperature Characteristics (examples) . . . . . . . . . . . . . . . . . . 6-6
Reference Surface of Head . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6
Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-8
Controller (TM-X5000) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-8
Head (TM-X5006 / TM-X5040 / TM-X5065 / TM-X5120) . . . . . . 6-9
Transmitter-to-receiver cable (OP-87033/OP-87034) . . . . . . . . 6-12
Head connection cable (CB-C3R / CB-C5R / CB-C10R) . . . . . 6-12
Repeater for head connection extension (TM-CX10U) /
Head connection extension cable (CB-C10RX) . . . . . . . . . . . . 6-12
Protective cover (OP-88575/OP-88576/OP-88775) . . . . . . . . . 6-12
Dedicated monitor for TM-X (TM-MP120) . . . . . . . . . . . . . . . . . 6-13
Dedicated monitor mount (OP-87262) . . . . . . . . . . . . . . . . . . . 6-14
Mouse (OP-87506) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-14
6-1
TM-X5000 Series User’s Manual Specifications
Specifications
Controller
Model TM-X5000
Number of connectable sensor heads 2
Up to 1000 settings (depending on SD card capacity and setting contents) for SD card 1 and SD card 2 individually.
Number of setting registrations
External switching is possible.
• SD card slot x2
Memory card • Supports OP-87133 (512 MB), CA-SD1G (1 GB: Equipped as standard for SD1 slot), CA-SD4G (4 GB),
CA-SD16G (16 GB)
Number of measurement tools Up to 100 measurement tools and 100 element tools per head *1
Control input 20 (Terminal block: 5, Parallel I/O: 15)
• 28 (Terminal block: 6, Parallel I/O: 22)
Control output
• Photo MOSFET *2
RS-232C Numerical value output and control input/output
Numerical value output and control input/output using Ethernet port
PLC-Link (Cannot be used in conjunction with EtherNet/IP™, PROFINET and EtherCAT;
Compatible models: Mitsubishi Electric PLCs (MELSEC Q Series, L Series, iQ-R Series, iQ-F Series))
• Numerical value output and control input/output
• Connection to KEYENCE dedicated monitor (TM-MP120)
• Connection to KEYENCE PC application software
Ethernet
• Support for FTP client/server functions, BOOTP functions
• 1000BASE-T/100BASE-TX/10BASE-T
• Supports jumbo frames (only the Ethernet port on the controller)
• Connection to KEYENCE dedicated monitor (TM-MP120)
USB • Connection to KEYENCE PC application software
• USB 2.0 only
• Numerical value output and control input/output using the Ethernet port or optional EtherNet/IP unit (CB-NEP20E)
(Cannot be used in conjunction with PLC Link, PROFINET, and EtherCAT)
Interface EtherNet/IP • Supports cyclic communication (max. 1436 bytes) and message communication
• Up to 32 connections (Ethernet port)/1: Exclusive Owner, 4: Input Only (CB-NEP20E)
• Conforms to Conformance Test Version.CT17 (Ethernet port)/CT17 (CB-NEP20E)
• Numerical value output and control input/output using Ethernet port enabled or optional PROFINET unit (CB-
NPN20E) (Cannot be used in conjunction with PLC link, EtherNet/IP™, and EtherCAT)
PROFINET • Supports cyclic communication (max. 1408 byte (Ethernet port) / 1212 bytes (CB-NPN20E))
• Supports non-cyclic communication (recorded data)
• Conforms to Conformance Class A (Ethernet)/C (CB-NPN20E)
• By connecting the optional EtherCAT unit CB-NEC20E, numeric output and control input/output can be performed
(Cannot be used in conjunction with PLC Link, EtherNet/IP, and PROFINET)
• Supports cyclic communication (process data object communication) (input: max. 530 byte/output: max.534 byte)
EtherCAT
• Supports non-cyclic communication (mailbox communication)
• Supports CoE
• Conforms to Conformance Test V2.2.1.0
SNTP Automatic date and time correction when connected to SNTP server
Various data output, including image data, when connecting an HDD (2 TB max.) to dedicated USB port (USB 3.0
USB HDD
support, bus-powered, rated output: 900 mA)
Simple monitor
Analog RGB output, XGA (1024 × 768 (24 bit color, 60 Hz))
output
Minimum display unit 0.01 µm, 0.0001°, 0.0001 mm2
Switchable between English, Japanese, Chinese (Simplified), Chinese (Traditional), Korean, Thai, German, French,
Language (Simple monitor output)
Italian, Mexican Spanish, Czech, Hungarian, and Polish.
Power voltage 24 V DC ± 10 %
Rating Current
3.5 A
consumption
Operating ambient
0 to +45°C (when installed on a DIN rail) / 0 to +40°C (when installed on a surface)
Environmental temperature
resistance Operating ambient
85% RH or less (No condensation)
humidity
Weight Approx. 1600 g
*1 Up to 7 master comparison tools (area/contour), 19 pitch measurement tools (distance/angle), 13 foreign particle distance tools (rotating rectangle), 8 foreign
particle distance tools (circle/arc), and 7 contour profiles (depending on SD card capacity and settings).
*2 Positive common connection for NPN input devices and negative common connection for PNP input devices supported.
6-2
TM-X5000 Series User’s Manual Specifications
Head
Model TM-X5006 TM-X5040 TM-X5065 TM-X5120
High-accuracy
f4 mm f26 mm f40 mm f60 mm
Field of measurement area
view
Measurement area f6 mm f40 mm f65 mm f124 mm
Measuring
range
High-accuracy
2 mm 10 mm 20 mm 20 mm
Depth of measurement area
field
Measurement area 4 mm 20 mm 30 mm 40 mm
High-accuracy
±0.2 µm ±1 µm ±1.2 µm ±2.5 µm
Measurement position measurement area
accuracy *1
Measurement area ±0.3 µm ±2 µm ±2.2 µm ±3.5 µm
*2
Repeatability ±0.03 µm ±0.08 µm ±0.1 µm ±0.2 µm
*3
Enclosure rating IP64
Operating ambient
Environmental 0 to 45 °C
temperature
resistance
Operating ambient
85% RH or less (No condensation)
humidity
Weight Receiver Approx. 480 g Approx. 890 g Approx. 1900 g Approx. 7900 g
*1 E rror when measuring width of KEYENCE standard object (glass calibration scale).
*2 Average value of ±2σ measuring the width of a KEYENCE standard object (glass calibration scale) 16 times in the center of the measurement area.
*3 Excluding connectors and cable boxes.
*1 Use the OP-35331 (USB cable : 3m) when connecting to the controller.
6-3
TM-X5000 Series User’s Manual Specifications
Conformance test
Compliant with V2.2.1.0
version
Power supply Supplied from the controller
Ambient operating 0 to +45°C (DIN rail mounted)/
Environmental temperature 0 to +40°C (Bottom mounted)
resistance Ambient operating
85% RH or less (No condensation)
humidity
Weight Approx. 500 g
6-4
TM-X5000 Series User’s Manual Characteristics
Characteristics
Measurement area
The illustrations below show the measurement areas that satisfy the
measurement accuracy for each head.
Measurement area
z TM-X5006 z TM-X5065
45 High-accuracy
(30) (30) 8 Measurement area measurement area
±1.2µm
±2.2µm φ40 φ65
40±0.2
High-accuracy
Measurement area measurement area
±0.2µm 20
φ4 φ6 30
±0.3µm
2
4
z TM-X5040
82±0.6
High-accuracy
Measurement area measurement area
±1µm (150) 10
±2µm φ26 φ40 160 (110)
270
10
20
z TM-X5120
High-accuracy
Measurement area measurement area
65.5 ± 0.3
±2.5µm
(80) 10 ±3.5µm
90 (90)
φ60 φ124
180
20
40
156±1.0
49 (171) 49
220 (216.7)
436.7
6-5
TM-X5000 Series User’s Manual Characteristics
z TM-X5006 z TM-X5065
Temperature -5 °C 5°C 15°C 25°C 35°C 45°C Temperature -5 °C 5°C 15°C 25°C 35°C 45°C
Drift (µm) 0.60 0.50 0.30 0.00 -0.15 -0.20 Drift (µm) -2.0 -1.0 0.0 0.0 0.0 0.0
* When measuring with the quartz chart (width 1 mm) placed in the center * When measuring with the quartz chart (width 10 mm) placed in the
of measurement range (25 °C standard) center of measurement range (25 °C standard)
z TM-X5040 z TM-X5120
Temperature -5 °C 5°C 15°C 25°C 35°C 45°C Temperature -5 °C 5°C 15°C 25°C 35°C 45°C
Drift (µm) -0.5 -0.2 0.0 0.0 -0.5 -0.6 Drift (µm) 7.50 5.00 2.50 0.00 -2.50 -5.00
* When measuring with the quartz chart (width 10 mm) placed in the * When measuring with the quartz chart (width 20 mm) placed in the
center of measurement range (25 °C standard) center of measurement range (25 °C standard)
z TM-X5006
z TM-X5040
6-6
TM-X5000 Series User’s Manual Characteristics
z TM-X5065
z TM-X5120
6-7
TM-X5000 Series User’s Manual Dimensions
Dimensions
Controller (TM-X5000)
122
118 19.3 141.6
DIN-rail mounts
168
35.9
83.3
65.3
6
(90) 124.6
4×M4 Depth: 6
12.5
93
94
12.1 Unit : mm
DIN-rail mounts
168
35.9
83.3
65.3
6
6-8
TM-X5000 Series User’s Manual Dimensions
DIN-rail
mounts
168
35.9
83.3
65.3
6
124.6
2×M4
Depth: 6
22.1
94 12.1 Unit : mm
TM-X5006
4xφ4.5 cut
25 25 φ8 Depth 4.5
4xM4
15 15
24
26
36
18 ±0.2
6
5
56
40 ±0.2
46
46
8.2
(74)
18
4
4
(3) 8
15
48 39.5 3.5 25
120 45 38 32
(235)
Cable length
650±35
4xM4
5
26
115 45 2xφ3.6
109.3
98
22
3.5
3.5
2xM4 Depth 6 63 57 47 18 2xM4 Depth 6 19
26 Unit : mm
6-9
TM-X5000 Series User’s Manual Dimensions
TM-X5040
55 55 4xφ4.5 cut
4xM4 25 φ8 Depth 4.5
25
62
50
6
31±0.3
When pulling When pulling
Measurement area the T-to-R cable upwards the T-to-R cable upwards
3xφ5.5
49.5 3xφ5.5 (80) (80) M5 Mounting hole (24) (38)
30 M5 Mounting hole 20 49.5
φ40
65.5 ±0.3
21.9
(117.5)
97.5
97.5
88
88
Cable length
650±35
5
10 10 2xφ3.6
5
20
(19) 47 6.5 8 (10) Mounting hole
109.3
29 Thickness 6
98
58.5
105.5 90 90 84.9
3.5
(370.4) 3.5
19
4xM4 26
6
50
115 115
With the protective cover on
156 161.15
(317.15)
15.75
31
31
25 65 65 25
15.75
15.75
TM-X5065
4xφ5.5 cut
4xM4 115 65 φ9.5 Depth 5.5
35 35
94
70
47±0.6
12
Measurement area
3xφ5.5 When pulling When pulling
80.5 3xφ5.5 (150) (100) M5 Mounting hole the T-to-R cable upwards the T-to-R cable upwards
M5 Mounting hole 76.5 (30)
50 30 (16)
φ65
130.6
120
(150)
115
130
82 ±0.6
28
Cable length
5
10 10
5
20
650±35
Thickness 6
98
66.5 (4)
143.8 160 110 110.2
(524)
3.5
19
3.5
4xM5 26
12
200 130
243 195
(438)
47
24.75
24.75
24.75
24.75
25 135 85 25
53 176 131.5 44
Unit : mm
6-10
TM-X5000 Series User’s Manual Dimensions
TM-X5120
130 130 4xφ10 cut
4xM6 φ16 Depth 8.5
70 70
164
140
82±1.0
12
56 (171) (167.7)
35.8
Measurement area
20 3xM8 3xM8 140
Depth 16mm Depth 16mm
40
φ124
200.5
200.5
238
(258)
238
156±1.0
9
25
31
9
20
(34.2) 142 88.8
149.5 49 49 113.3 (9.9)
9 9
210.5 220 (216.7) 172.3
(819.5)
8xM8
12
With the protective cover on
140
211 179
361 329
379 347
(726)
3xM8 3xM8
42.5 42.5
42.5 42.5
82
82
6-11
TM-X5000 Series User’s Manual Dimensions
31.4
φ12.5
φ14
φ12
φ12
1000 or 3000
31
Unit : mm 54 L 41
12.7
Unit : mm
Model Cable length (L)
CB-C3R 3m
CB-C5R 5m
CB-C10R 10m
Repeater for head connection extension (TM-CX10U) / Head connection extension cable (CB-C10RX)
TM-CX10U CB-C10RX
112.6 Head side Controller side
φ7.6
105
Controller side Head side
98
φ12.5
φ12.5
φ14
φ14
3.5
26
19
2xφ3.6
Unit : mm
Mounting hole
21
6 11 6 11.5
Unit : mm
(85) (85)
Unit : mm
M3 Mounting hole x4
M3 Mounting hole x4
63.8
54.5
83.6
95.8
42.8 25
45 The slot that the projection
60.6 on the head side goes into
63
Unit : mm 25
67.6 The slot that the projection
92.6 on the head side goes into
Unit : mm
6-12
TM-X5000 Series User’s Manual Dimensions
63.6
120.4
161.6
The convex part that goes into
the concave part on the head side Unit : mm
Panel thickness
29.8
227.2
(Mounting bracket)
121.3
6 50.9
35.1
37
6.4
31.4
75 4xM4 Panel cutout When the panel is installed (front)
Effective screw depth:9
75
+1
0
227.5
1.5
88.3
12.4
103.2 301.5 +1
0
58.6
85.4
6°
10
116.1
17.4 Unit : mm
6-13
TM-X5000 Series User’s Manual Dimensions
200
5 4 x 2 x R2.5
8 85
45
250
260 Unit : mm
Mouse (OP-87506)
57.9
31.2
φ12.4
φ3.3
39.2
Unit : mm
6-14
TM-X5000 Series User’s Manual
7
TM-X Navigator
7-1
TM-X5000 Series User’s Manual TM-X Navigator
TM-X Navigator
TM-X Navigator is a PC application for the TM-X5000 Series.
Connecting TM-X Navigator to the controller enables the same operations to be performed as the dedicated display.
In addition, by using the simulator function, the controller measurement content can be simulated on a PC and measurement settings can be created and/or
changed.
(1)
(2)
(3)
(4)
(5)
(2) Simulator
Clicking this button displays the list of workspaces and starts the selected workspace simulator.
New workspaces can be created and controller settings can also be transferred (uploaded, downloaded, imported, and exported).
To download settings from the controller, first delete the reference images for the Program numbers to be downloaded to the workspace.
(3) Connection
Configure the settings to connect to the controller (USB or Ethernet).
To connect via Ethernet, specify the controller IP address and port number.
(4) Language
Select the language to be displayed on TM-X Navigator and the simulator.
(5) Update
Updates the controller firmware.
7-2
TM-X5000 Series User’s Manual Operating Environment
Operating Environment
To use TM-X Navigator, the environment must meet the requirements shown below.
Free hard disk space 2 GB or more (an area for saving image data is required separately)
Display resolution Minimum: 1366 × 768 pixels or higher; recommended: 1920 × 1080 pixels or higher
• In order to prevent a decrease in performance, it is recommended that software other than TM-X Navigator are closed when using
this application.
• Do not use multiple instances of TM-X Navigator at the same time. Additionally, do not start the same workspace at the same time.
• To use the simulator, “Activation” (Page 7-3) is required.
Installation method
Run the TM-X Navigator installation file (setup.exe) downloaded from the TM-X5000 Series user’s support site (www.keyence.com/tmxus) and follow the
instructions displayed on the screen.
• If the PC being installed to does not have the necessary runtime components used by this software, it will be asked to install those components.
Install all the necessary components at that time.
• Installation must be performed by a user with Administrator privileges.
• The USB driver is also stored in “[Installation_folder]\TM-X Navigator\driver”.
• To uninstall the application, click the Windows [Start] menu → [KEYENCE TM-H1X] → right-click [TM-X Navigator], and then select [Uninstall].
Activation
To use the simulator function, the activation code issued by KEYENCE is required.
The procedure to obtain the activation code is as follows.
2 Take note of the displayed user ID (8-digit alphanumeric characters) and save it. It will be required for input later.
Clicking the [Copy] button enables the user ID to be copied.
3 Access the simulator use registration (activation code issuance) page from the TM-X5000 Series user’s support site (www.
keyence.com/tmxus).
To issue a request for the activation code, perform the user registration on the KEYENCE website.
4 Enter the user ID displayed in step 2 into the [User ID] field, and then click [Next].
KEYENCE will send an “Activation code” to the registered email address within one business day.
To prevent input errors, copy and paste the activation code from the e-mail that is received.
7-3
TM-X5000 Series User’s Manual Simulator
Simulator
Start the Simulator Differences Between the Controller and
Simulator
1 Click [Simulator]. Select the workspace displayed on the
screen, and then click [Start simulator].
The main screen and image strip start.
Useful functions unique to the simulator
z Keyboard
Forward execution
Press the “T” key.
trigger
Cycle execution
Press the “T” key for 0.3 seconds or longer.
trigger
Trigger buttons
Differences between the controller and simulator
z Measurement time/capture time
As the hardware configuration is not the same on the PC and controller,
the measurement time is different even for the same process.
z Program Operation
• When Programs are copied, the images registered on the image strip
are also automatically copied.
• Programs cannot be backed up nor restored.
• CAD data (DXF files) can be loaded using [CAD Import] to create
Programs.
7-4
TM-X5000 Series User’s Manual Simulator
Note: The folders inside the dotted line are equivalent to one
controller.
SD1
tm-x
setting
HeadAlignAdj *1
Tolerance_Table *2
SimImage
001
SD2
capture *3
save_image
To use the simulator function, an environment must be created in which the simulator operates on the PC. This is called a “Workspace” and the
folder that stores the workspace is called a “Base path”.
7-5
TM-X5000 Series User’s Manual Simulator
CAD Import
CAD data (DXF files) can be loaded to create Programs that include CAD elements.
• To use [CAD Import], a USB key for CAD import TM-H1C (sold separately) is required.
• The DXF file versions that you can import are AutoCAD Versions 2.5 to 2018.
• Only figures drawn with continuous lines can be extracted.
• Only figures drawn in the model space can be extracted. Figures drawn only in the paper space cannot be extracted.
• [CAD Import] is a TM-X Navigator function and it is not available on the dedicated display.
• If it is not a closed shape (if there is a gap in the CAD line), it cannot be filled correctly.
• The tolerance created as dimension allowance deviation will be applied to the upper and lower limit settings (tolerance entered as
simple text will not be applied).
• Dimension lines and elements may not be correctly linked and applied depending on the CAD data to be imported.
1 Select [Program Operation] → [CAD Import]. 4 Perform [Create image] and then click [Next].
When two heads are connected, data is imported to the
connected head. To import to a different head, select the
other head, and select [CAD Import].
z View settings
Scale Specify the scale of the view range to be displayed
specification on the preview screen.
Rotation/ Rotate or mirror the CAD data (DXF file) displayed
Mirroring in the preview display.
Specify whether to handle the data (numerical
Unit
values) of the CAD data (DXF file) in millimeters
specification (mm) or inches (in).
7-6
TM-X5000 Series User’s Manual
Appendix
A-1
TM-X5000 Series User’s Manual Error Messages
Error Messages
System error messages
Errors that occur within the controller can either be hardware (head connection errors, etc.), or software related (improper settings, etc.). While the controller
operates in RUN mode, any error occurrence can be detected via the ERROR terminal which turns on in the event of an error.
Head connection
Error
Error Message Cause
Number
An error occurred in the connection with the head. The head is being used
No head has been found.
beyond its rating.
10001 Please turn off the controller and connect to Head A, then
(For example, the ambient temperature of the head is beyond the
reboot the controller.
specification, or a non-supported head cable is being used.)
10002 Head B is not connected. An unconnected head is specified in the tool settings.
An old head version is connected. Unsupported functions will An old head version is connected and functions that are not compatible with
10030
be disabled. that head are set.
External unit
Error
Error Message Cause
Number
System File
Error
Error Message Cause
Number
The last used (saved) Program file is corrupt or has been deleted.
Unable to load the selected program file. The program will be
11001 The Program that was exported using the Program backup does not contain
started with initialized settings.
the open Program.
• The resources memory or the image memory for the program file loaded at
Failed to load because the image memory of the program is startup is full.
11002
beyond the size. Some settings will be initialized. • The program being loaded exceeds the available resources memory or
image memory.
Failed to load because the resource memory of the program • Resource memory is full in the program setting file loaded at startup.
11011
is beyond the size. • The Program being loaded exceeds the available resources memory.
In the check when going into operation mode, there is a circular reference in
11032 Dependency between tools is cycling.
the dependency between tools.
A-2
TM-X5000 Series User’s Manual Error Messages
SD Card
Error
Error Message Cause
Number
12001 Failed to access SD Card 1. • A problem occurred while trying to access the SD memory card.
• There is a problem accessing the SD memory card.
• The controller could not recognize the format of SD memory card.
12002 Failed to access SD Card 2. • An unsupported SD memory card is being used.
12012 Unable to export to SD Card 2 due to a full output buffer. SD Card 2 output buffer is full.
Please turn off the power and reboot after having inserted the
12014 No firmware SD card is in the slot.
firmware SD card.
12103 Unable to output to the USB HDD due to a full output buffer. The output buffer for output to the USB HDD is full.
12104 The USB HDD is full. There is not enough free space on the USB HDD.
12105 The USB HDD is write-protected. The write-protect switch on the USB HDD is enabled.
An unsupported USB device was connected. A device other than mass storage class devices, such as a mouse, is
12107
Please remove the connected USB device. connected to the USB 3.0 connector.
RS-232C
Error
Error Message Cause
Number
RS-232C communication has been down for 60 or more seconds with data
13101 An RS-232C communication time out error has occurred.
output via the RS-232C port specified in the output settings.
13102 Unable to output to RS-232C due to a full output buffer. The controller output buffer for outputting via the RS-232C port is full.
Ethernet
Error
Error Message Cause
Number
An error occurred with the Ethernet cable when data output via the Ethernet is
13201 Ethernet cable is not connected.
specified in the output settings.
Ethernet communication has been down for 10 or more seconds when data
13202 An Ethernet communication time out error has occurred.
output via the Ethernet is specified in the output settings.
An error occurred with the Ethernet communication when data output via
13203 Failed in the Ethernet (Non-Procedural) communication.
Ethernet is specified in the output settings.
13204 Unable to output to Ethernet due to a full output buffer. The controller output buffer for outputting via the Ethernet port is full.
A-3
TM-X5000 Series User’s Manual Error Messages
PLC-Link
Error
Error Message Cause
Number
The delay of the handshake control causes skipping of the As the amount of data output overflows the buffer, data output is suspended
13303
PLC communication result output. partially.
Terminal I/O
Error
Error Message Cause
Number
13401 Unable to make the terminal output due to a full output buffer. The output buffer for output via the terminal is full.
The delay of the handshake control causes skipping of the I/ As the amount of data output overflows the buffer, data output is suspended
13402
O terminal output. partially.
FTP
Error
Error Message Cause
Number
13502 Failed to log in to FTP server. The user ID and/or password for logging in to the FTP server is incorrect.
The controller logged in and began writing a file but was unable to complete
13503 Timeout error occurred during output to FTP server.
the process within the specified time.
The controller was able to log into the FTP server, but was not able to create
13504 Failed to output the file to FTP server.
a file.
EtherNet/IP
Error
Error Message Cause
Number
13602 Ethernet/IP output failed due to a full buffer. The controller output buffer for outputting via the EtherNet/IP port is full.
The delay of the handshake control causes skipping of the As the amount of data output overflows the buffer, data output is suspended
13603
EtherNet/IP communication result output. partially.
EtherNet/IP unit was not recognized and the controller cannot use EtherNet/
13604 The EtherNet/IP unit cannot be recognized.
IP communication.
PROFINET
Error
Error Message Cause
Number
13702 PROFINET output failed due to a full buffer. The output buffer for output via PROFINET is full.
The delay of the handshake control causes skipping of the As the amount of data output overflows the buffer, data output is suspended
13703
PROFINET communication result output. partially.
The PROFINET unit is not recognized and the controller cannot use
13704 The PROFINET unit cannot be recognized.
PROFINET communication.
A-4
TM-X5000 Series User’s Manual Error Messages
EtherCAT
Error
Error Message Cause
Number
13802 EtherCAT output failed due to a full buffer. The controller output buffer for outputting via EtherCAT is full.
The delay of the handshake causes skipping of the EtherCAT When the EtherCAT handshake is on, a delayed handshake caused results
13803
communication result output. output via EtherCAT to be skipped.
The EtherCAT unit is not recognized and the controller cannot use EtherCAT
13804 EtherCAT unit is not recognized.
communication.
Processing Memory
Error
Error Message Cause
Number
Firmware
Error
Error Message Cause
Number
The controller was booted using an unsupported firmware. The controller was started with a firmware version not supported by the
14301
Please turn off the power once and then update the firmware. controller.
Communication expansion unit n* is not found. • Please turn off the power temporarily and check the connection of the
Please turn off the power temporarily and check the connection expansion units.
14501
of the expansion units. • If this error cannot be solved, malfunction of the expansion unit is
*n: communication expansion unit number (1 to 16) considered. Please contact a local KEYENCE office.
• Please turn off the power temporarily and check the connection of the
Expansion unit initialization failed.
expansion units.
14502 Please turn off the power temporarily and check the connection
• If this error cannot be solved, malfunction of the expansion unit is
of the expansion units.
considered. Please contact a local KEYENCE office.
• A device that consumes large current is connected to the USB host (the
Overcurrent was detected on the connected USB device.
14506 maximum rating is USB 2.0: 500 mA and USB 3.0: 900 mA).
Please check the device connected to the USB.
• The cable is short-circuited.
Normal errors
General
Error
Error Message
Number
30006 IP address collision has occurred between the controller and other system on the network.
Execution Errors
Error Error
Error Message Error Message
Number Number
20003 Detect line failed. 20051 The maximum detectable limit has been exceeded.
20005 Point detection failed. 20053 No contours were found that match the base contour.
20008 The timeout error has occurred. 20090 No measurements were performed in the measurement period.
20018 The settings of the tool to be referenced are invalid. The measurement result of the referenced tool is invalid
20091
(ALARM).
20034 Not measurable.
20099 Tool execution error has occurred.
20042 Pitch detection failed.
20112 Position adjustment failed.
20050 Contour detection failed.
A-5
Revision history
September 2021 2nd revision Revisions in accordance with the release of Ver. 1.2.
1st edition
February 2022 3rd revision Revisions in accordance with the release of Ver. 1.3.
1st edition
January 2023 4th revision Revisions in accordance with the release of Ver. 1.5.
1st edition
WARRANTIES AND DISCLAIMERS
(1) KEYENCE warrants the Products to be free of defects in materials and workmanship for a period of one (1) year
from the date of shipment. If any models or samples were shown to Buyer, such models or samples were used
merely to illustrate the general type and quality of the Products and not to represent that the Products would
necessarily conform to said models or samples. Any Products found to be defective must be shipped to KEYENCE
with all shipping costs paid by Buyer or offered to KEYENCE for inspection and examination. Upon examination by
KEYENCE, KEYENCE, at its sole option, will refund the purchase price of, or repair or replace at no charge any
Products found to be defective. This warranty does not apply to any defects resulting from any action of Buyer,
including but not limited to improper installation, improper interfacing, improper repair, unauthorized modification,
misapplication and mishandling, such as exposure to excessive current, heat, coldness, moisture, vibration or
outdoors air. Components which wear are not warranted.
(2) KEYENCE is pleased to offer suggestions on the use of its various Products. They are only suggestions, and it
is Buyer’s responsibility to ascertain the fitness of the Products for Buyer’s intended use. KEYENCE will not be
responsible for any damages that may result from the use of the Products.
(3) The Products and any samples (“Products/Samples”) supplied to Buyer are not to be used internally in humans,
for human transportation, as safety devices or fail-safe systems, unless their written specifications state otherwise.
Should any Products/Samples be used in such a manner or misused in any way, KEYENCE assumes no
responsibility, and additionally Buyer will indemnify KEYENCE and hold KEYENCE harmless from any liability or
damage whatsoever arising out of any misuse of the Products/Samples.
(4) OTHER THAN AS STATED HEREIN, THE PRODUCTS/SAMPLES ARE PROVIDED WITH NO OTHER
WARRANTIES WHATSOEVER. ALL EXPRESS, IMPLIED, AND STATUTORY WARRANTIES, INCLUDING,
WITHOUT LIMITATION, THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, AND NON-INFRINGEMENT OF PROPRIETARY RIGHTS, ARE EXPRESSLY DISCLAIMED. IN NO
EVENT SHALL KEYENCE AND ITS AFFILIATED ENTITIES BE LIABLE TO ANY PERSON OR ENTITY FOR
ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, SPECIAL OR CONSEQUENTIAL DAMAGES (INCLUDING,
WITHOUT LIMITATION, ANY DAMAGES RESULTING FROM LOSS OF USE, BUSINESS INTERRUPTION,
LOSS OF INFORMATION, LOSS OR INACCURACY OF DATA, LOSS OF PROFITS, LOSS OF SAVINGS, THE
COST OF PROCUREMENT OF SUBSTITUTED GOODS, SERVICES OR TECHNOLOGIES, OR FOR ANY
MATTER ARISING OUT OF OR IN CONNECTION WITH THE USE OR INABILITY TO USE THE PRODUCTS,
EVEN IF KEYENCE OR ONE OF ITS AFFILIATED ENTITIES WAS ADVISED OF A POSSIBLE THIRD PARTY’S
CLAIM FOR DAMAGES OR ANY OTHER CLAIM AGAINST BUYER. In some jurisdictions, some of the foregoing
warranty disclaimers or damage limitations may not apply.
E 1101-3
Copyright (c) 2023 KEYENCE CORPORATION. All rights reserved. 218083GB 2023-1 D64GB Printed in Japan
Mask regions play a crucial role in edge detection, especially when dealing with complex shapes. They allow certain areas to be excluded from measurement, which is vital when the target has a complicated shape or when specific areas need to be ignored to prevent interference in the detection process. Up to four mask regions can be specified, improving accuracy by focusing only on the relevant parts of the image . Mask regions help reduce the effects of noise and reflections which might otherwise cause false edge detections in intricate designs . By excluding these from edge detection, the measurement can be more precise, ensuring high accuracy even in environments where exterior factors could affect the results .
Cyclic communication under EtherNet/IP ensures a continuous and synchronized exchange between devices. It involves predefined intervals ensuring real-time data updates, which is essential for maintaining operational coherence and responsiveness. This approach minimizes latency, leading to real-time control and monitoring. Errors such as data buildup in the output buffer are minimized through careful configuration, ensuring efficient and reliable data flow necessary for industrial control tasks .
Choosing between maximum or minimum edge detection affects how peak lines and circles are identified. Maximum edge detection targets the most extreme points, creating peak lines that pass through the largest edges in the scan direction. Conversely, minimum edge detection focuses on the smallest edges. The choice impacts the resultant circle or line fitting drastically, as it alters the anchor points for geometric calculations and subsequent analyses, therefore directly influencing the precision of the measured outcome .
Setting a measurement pattern in dimensional assessment is crucial as it ensures consistency and reliability in results. Using standardized patterns allows for comparison and analysis over time, reducing the impact of external factors like ambient temperature or vibrations which may cause measurement fluctuations . Statistical tools, such as trend graphs and histograms, help in visualizing these patterns and detecting any deviations from expected results, which could indicate errors in the measurement process or instrument malfunction . Therefore, standardized measurement patterns contribute significantly to achieving accurate and dependable measurement outcomes.
Moving averages are significant in processing settings as they help in minimizing measurement fluctuations caused by environmental factors such as vibration and atmospheric motions. By averaging multiple readings, the influence of transient anomalies is reduced, leading to more stable and accurate measurements . Additionally, using a moving average can reduce the sensitivity to noise, ensuring that only significant variations are detected and thus enhancing accuracy . Increasing the number of moving averages can further improve measurement accuracy by compensating for vibrational influences .
Configuring exclusion areas ensures accuracy by preventing specific unwanted regions from affecting measurement results. This is especially critical in precision applications where including irrelevant data can degrade the quality of the measurement by introducing unnecessary variability or errors in the data. Having the ability to exclude these areas focuses on the measurement's target features exclusively, ensuring more precise and reliable outputs .
Adjusting the lower limit of edge sensitivity specifies the minimal contrast variation required for detection, which impacts outcomes by selectively ignoring insignificant edges. In noisy environments, raising the lower limit suppresses detection of noise-induced edges, thus enhancing the robustness and accuracy of the edge detection process. However, too high a threshold may also miss relevant low-contrast features, requiring an optimal balance to maintain measurement integrity .
Removing defects aims to eliminate edge points away from the main edge trail as abnormal points, which can occur due to burrs or contamination. This enhances accuracy as errors from these irrelevant points are excluded from calculations for fitting lines, leading to more precise determination of the target's true edge. Using a stronger setting for defect removal can also minimize the impact of small gaps mistaken as valid edges .
Adjusting segment size and filter width is crucial for balancing sensitivity and noise. Increasing segment size reduces detection sensitivity but decreases noise interference, useful in high-noise environments. Conversely, expanding the filter width can decrease false detections caused by noise. This trade-off requires strategic adjustment based on specific application contexts to optimize edge detection reliability without compromising detail accuracy .
The edge direction settings available are [Both], [Light to Dark], and [Dark to Light]. Choosing [Both] allows detection of edges that change from dark to light or light to dark. [Light to Dark] focuses on detecting edges transitioning from lighter to darker areas, while [Dark to Light] detects the opposite transition. Selecting the appropriate edge detection direction can affect the accuracy and relevance of the edges detected based on the specific application and the nature of the target image area .