0% found this document useful (0 votes)
633 views92 pages

18 22 91 A2 BA02 - Interfaces

This document provides information about the digital input/output interfaces of the CPX V3 and V4 central processors, including the parallel I/O, real-time, Sync I/O, and decentralized I/O interfaces. It describes the connector locations, technical specifications, assigned signals, configuration, and testing options for the digital inputs and outputs. It also covers how to use the interfaces for various applications and the messaging, timing, and energy saving aspects of the parallel I/O interface.

Uploaded by

vutrung23113163
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
633 views92 pages

18 22 91 A2 BA02 - Interfaces

This document provides information about the digital input/output interfaces of the CPX V3 and V4 central processors, including the parallel I/O, real-time, Sync I/O, and decentralized I/O interfaces. It describes the connector locations, technical specifications, assigned signals, configuration, and testing options for the digital inputs and outputs. It also covers how to use the interfaces for various applications and the messaging, timing, and energy saving aspects of the parallel I/O interface.

Uploaded by

vutrung23113163
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 92

Interface description

Digital I/O interface of the CPX


Parallel I/O, real-time and Sync I/O and decentralized I/O
interface of the CPX V3 and V4 standard
Interface description

Digital I/O interface of the CPX


Parallel I/O, real-time and Sync I/O and
decentralized I/O interface of the CPX V3
and V4 standard

Edition 2017-08
Order Information Please specify when ordering this document:
Interface description
Digital I/O interface of the CPX
Edition 2017-08
Document number 18-22-91-A2-BA02

TRUMPF Laser GmbH


Address for orders Vertrieb
Aichhalder Straße 39
78713 Schramberg
Fon: +49 7422 515 - 0
Fax: +49 7422 515 - 436
Internet: http://www.trumpf-laser.com
E-Mail: [email protected]

TRUMPF Laser GmbH


Address for service Technischer Kundendienst
Aichhalder Straße 39
D-78713 Schramberg
Fon: +49 7156 303 - 37 444
Fax: +49 7422 515 - 148
Internet: http://www.trumpf-laser.com
E-Mail: [email protected]
E-Mail: [email protected]

© TRUMPF Laser GmbH


Before you proceed ...

This interface description provides you with information regarding


the following interfaces of the CPX V3 and V4 standard central
processor:
■ Parallel I/O interface
■ Real-time interfaces
■ Sync I/O interface
■ Decentralized I/O interface

This interface description contains the following information:


■ location of the connectors for the digital inputs and outputs of
the interfaces.
■ technical data of the digital inputs and outputs.
■ signals assigned to the interfaces.
■ how to use the interfaces.
■ how to configure the digital inputs and outputs via the operat-
ing software to use them as parallel I/O, real-time or Sync
I/O interface.
■ how real-time interfaces (max. 3) are assigned to a parallel I/
O interface or any desired number of field bus interfaces.
■ available testing options.

Target group This interface description is intended for system integrators and
system administrators who are entrusted with integrating a laser
device into a system environment.

Supplementary documents Document Document no.


Software manual 10-06-80-A1-CR
TruControl 1000
Programming manual 09-14-11-A4-CP
OPC Unified Architecture for CPX
Interface description 09-14-11-A5-BA
OPC UA for CPX
Interface description 18-22-91-A1-BA
Field bus interfaces for CPX – CPX V3 and
CPX V4
Interface description 18-22-12-A1-AB
TRUMPF Peripheral Bus
Tab. 1

18-22-91-A2-BA02 2017-08 Before you proceed ... I


Laser standby mode: Most laser devices by TRUMPF do not require the Laser
Standby mode, due to their state-of-the-art design. The Standby
mode does not exist in these laser devices. However, it cannot
be ruled out for all future times that the Laser Standby mode will
be required for individual laser types. Therefore, the present
interface description still includes information with regard to the
laser Standby mode. How should you - the user - handle the
information about the laser standby mode? Detailed information
on this is given in a separate section, (see "LASER_STANDBY",
pg. 22).

II Before you proceed ... 2017-08 18-22-91-A2-BA02


Table of contents

1 Overview 3
1.1 Digital I/O interface of the CPX V3 3
Input channels 4
Output channels 5
1.2 Digital I/O interface of the CPX V4 Standard 6
Input channels 7
Output channels 7
1.3 Possible digital I/O interface applications 8
Funktionen der Parallel-I/O-Schnittstelle 8
Functions of the real-time interface 9
Functions of the Sync I/O interface 9
Functions of the decentralized I/O interface 9
1.4 Use of the digital inputs and outputs 10

2 Technical data 13

3 Parallel I/O interface 14


3.1 Interfaces 14
Pin assignment of the connector for input 14
channel 1 (D IN BLOCK1)
Pin assignment of the connector for input 15
channel 2 (D IN BLOCK2)
Pin assignment of the connector for input 16
channel 3 (D IN BLOCK3)
Pin assignment of the connector for output 17
channel 1 (D OUT BLOCK1)
Pin assignment of the connector for output 18
channel 2 (D OUT BLOCK2)
Pin assignment of the connector for output 19
channel 3 (D OUT BLOCK3)
3.2 Signal descriptions of the parallel I/O interface 20
Input signals 20
Output signals 30
3.3 Using the parallel I/O interface 40
Timing diagrams 40
Messaging and RESET behavior 49
Saving energy 52
3.4 Configuring the parallel I/O interface 53
3.5 Testing options 57

18-22-91-A2-BA02 2017-08 Table of contents 1


Multi SPS-interface (MPI), overview 57
Diagnosis parallel I/O interface 58

4 Real-time interface 59
4.1 Pin assignment of a real-time interface 59
4.2 Signal descriptions of the real-time interface 61
Input signals 61
Output signals 62
4.3 Using the realtime interface 65
External single-triggering of laser pulses 65
Starting program lines in real-time 66
Example of a laser program 67
Timing diagram for real-time interface 68
4.4 Configuring the real time interface 69
Assigning Real-time interface to an MPI 72
interface
4.5 Testing options 73
Multi SPS-interface (MPI), overview 73
Real-time interface status information 74

5 Sync I/O interface 75


5.1 Pin assignment of the Sync I/O interface 75
5.2 Signal descriptions of the Sync I/O interface 76
Input signals 76
Output signals 76
5.3 Using the Sync I/O interface 77
Example of a laser program 77
5.4 Selecting the Sync I/O interface 78
5.5 Testing options 79
Diagnosis Sync I/O interface 79

6 Decentralized I/O interface 80


6.1 Selecting the decentralized I/O interface 82
6.2 Testing options 83
Decentralized I/O interface diagnostics 83

7 Terms and abbreviations 84

2 Table of contents 2017-08 18-22-91-A2-BA02


1. Overview

1.1 Digital I/O interface of the CPX V3

CPX V3

RESCUE
X7 RS232 X24 VGA
UC
V2
V1

X5
D IN

X26

X22

MODEM
X22 BLOCK1

X12
1

1
2

X6D SERVICE
X26 BLOCK2

USB
4

4
D IN

RESET
5

5
X26 BLOCK3

6
7

X6C ETH2
D OUT
X19 BLOCK1

0
1

1
2

X6B LAN
X25 BLOCK2

3
D OUT
4

4
5

5
X25 BLOCK3

X6A ETH0
6
7

7
VCC

VCC

COM
SYS
X25

X19

BLOCK1
BLOCK3

BLOCK2

X6
X14

NET
JACK

TE-02400
CPX

Digital inputs an outputs of the central processor (CPX V3) Fig. 1

The connection of the digital I/O interface is located on the front


plate of the central processor (CPX).
The digital inputs and outputs are distributed to 3 input and out-
put channels.

18-22-91-A2-BA02 2017-08 Overview 3


Input channels

D IN BLOCK1 CPX V3

0
.
.
D IN BLOCK1 X22
.

TE-04610
(GND) ^

D IN BLOCK1 Fig. 2

D IN BLOCK2 CPX V3

0
.
.
D IN BLOCK2 X26
.

TE-04611
(GND) ^

D IN BLOCK2 Fig. 3

D IN BLOCK3 CPX V3

0
.
.
D IN BLOCK3 X26
.

7
TE-04611

(GND) ^

D IN BLOCK3 Fig. 4

4 Overview 2017-08 18-22-91-A2-BA02


Output channels

D OUT BLOCK1 CPX V3

0
.
.
.
D OUT BLOCK 1 X19

7
(GND) ^

TE-04613
VCC

D OUT BLOCK1 Fig. 5

D OUT BLOCK2 CPX V3


0
.
.
.
D OUT BLOCK2 X25

7
(GND) ^

TE-04614
VCC

D OUT BLOCK2 Fig. 6

D OUT BLOCK3 CPX V3


0
.
.
.
D OUT BLOCK3 X25

7
(GND) ^
TE-04615

VCC

D OUT BLOCK3 Fig. 7

18-22-91-A2-BA02 2017-08 Overview 5


1.2 Digital I/O interface of the CPX V4
Standard

BLOCK1
CPX V4 Standard

BLOCK2

D OUT

D IN
X31

USB 3.0
D OUT

VCC
D IN

X8
X32
X31 D IN BLOCK1

UC
VCC

V2
V1
7

6
6
X31 D OUT BLOCK1

5
7

5
7

4
6

3
5

3
5

X6D SERVICE
X32 D IN BLOCK2

2
4

2
4

1
3

1
3

0
2

0
2
X32 D OUT BLOCK2

1
1

0
0

RESCUE
X5
USB2

X6C ETH2
VCC
X33 D IN BLOCK3

7
7

X6B LAN
X33 D OUT BLOCK3

6
6

USB1
X4
5

RESET
5

4
4

3
3

X6A ETH0
2
2

1
1

RS232
X7
0

D IN
X33
D OUT

X6
JACK
NET
X14

TE-02413
BLOCK3
CPX

Digital inputs and outputs of the central processor (CPX V4 Fig. 8


Standard)

The connection of the digital I/O interface is located on the front


plate of the central processor (CPX).
The digital inputs and outputs are distributed to 3 input and out-
put channels.

6 Overview 2017-08 18-22-91-A2-BA02


Input channels

D IN BLOCK1, 2, 3 CPX V4

(GND) ^
7
D IN BLOCK1 X31
D IN BLOCK2 X32
D IN BLOCK3 X33

.
.
.

TE-04616
0

D IN BLOCK1, 2, 3 Fig. 9

Output channels

D OUT BLOCK1, 2, 3 CPX V4


VCC
(GND) ^
7
D OUT BLOCK1 X31
D OUT BLOCK2 X32
D OUT BLOCK3 X33

.
.
.
TE-04617

D OUT BLOCK1, 2, 3 Fig. 10

18-22-91-A2-BA02 2017-08 Overview 7


1.3 Possible digital I/O interface
applications

The digital I/O interface can optionally be configured as:


■ Parallel I/O interface with a real-time interface
■ Real-time interfaces (max. 3)
■ Sync I/O interface
■ Decentralized I/O interface

Funktionen der Parallel-I/O-Schnittstelle

Via the parallel I/O interface, an external control (e.g. PLC) can:
■ request the laser device.
■ Switching the laser on and off.
■ select a laser program.
■ start and end the selected laser program.
■ synchronize the sequence of a laser program to external
events.
■ synchronize the external sequences to the sequence of a
laser program.
■ evaluate important status signals of the laser device.
■ switch the laser off in the event of an external fault.
■ acknowledge monitoring messages of the laser device.
■ initialize the control unit of the laser device again after a
fault.
■ switch on and off the pilot laser (if existing).
If the parallel I/O interface is configured, then a real-time inter-
face is also configured.

8 Overview 2017-08 18-22-91-A2-BA02


Functions of the real-time interface

The real-time interface enables the following:


■ triggering of individual laser pulses in realtime.
■ starting laser program lines in real time.
■ laser pulses or continuous wave laser power (cw) can be
suppressed or enabled for a short time.

Note
Up to 3 real-time interfaces can be selected.
If the parallel I/O interface is configured, then a real-time inter-
face is also configured.

Functions of the Sync I/O interface

The Sync I/O interface allows to synchronize the the laser pro-
gram sequence with external sequences.
If the Sync I/O interface is selected, 6 parallel inputs are availa-
ble as query inputs and 6 parallel outputs as set outputs of the
CPX. In laser programs, query inputs can be evaluated and set
outputs can be set via the parameter Function.

Functions of the decentralized I/O interface

The digital I/O signals of the CPX via OPC are redirected to an
external control via the decentralized I/O interface. The TruCon-
trol 1000 laser control can neither read inputs nor set outputs
when this is the case.

18-22-91-A2-BA02 2017-08 Overview 9


1.4 Use of the digital inputs and outputs

Use of the digital inputs and outputs, example CPX V3 Fig. 11

10 Overview 2017-08 18-22-91-A2-BA02


Parallel I/O interface The digital inputs and outputs can be configured in TruControl
1000 as a parallel I/O interface via the >Setup >Multi PLC inter-
face (MPI) >Parallel (see "Configuring the parallel I/O interface",
pg. 53) dialog.

The 3 digital input and output channels (24 digital inputs and 24
digital outputs) can optionally be used as follows:
■ as parallel I/O interface with 20 digital inputs and 19 digital
outputs distributed into 3 channels:
− Channel 1:
D IN / D OUT BLOCK1 (8 inputs and 8 outputs).
− Channel 2:
D IN / D OUT BLOCK2 (8 inputs and 8 outputs).
− Channel 3:
D IN / D OUT BLOCK3 (4 inputs and 3 outputs).
■ as parallel I/O interface, together with a real-time interface,
which are assigned to the 3 channels as follows:
− Channels 1 and 2:
D IN / D OUT BLOCK1 and D IN / D OUT BLOCK2 as
parallel I/O interface with 16 digital inputs and 16 digital
outputs.
− Channel 3:
D IN / D OUT BLOCK3 as real-time interface.
■ as parallel I/O interface, with which inputs and outputs of
channel 3 (20 digital inputs and 19 digital outputs) and the
real-time interface of channel 3 can also be used.
For the joint use of channel 3 as parallel I/O and real-time
interface, it is required that the external power supply (VCC)
and the reference voltages (GND) come from a common
source for channel 3.

Real-time interfaces In TruControl 1000, real-time interfaces can be assigned to an


MPI interface via the >Setup >Multi PLC interface (MPI) >New...
or >Change... dialog (see "Assigning Real-time interface to an
MPI interface", pg. 72). A real-time interface can be assigned to
several MPI interfaces.

The 3 digital input and output channels (24 digital inputs and 24
digital outputs) can optionally be used as follows:
■ as real-time interfaces (max. 3), which are assigned to the 3
channels as follows:
− Channel 1: real-time interface 1 (D IN / D OUT BLOCK1).
− Channel 2: real-time interface 2 (D IN / D OUT BLOCK2).
− Channel 3: real-time interface 3 (D IN / D OUT BLOCK3).
■ as parallel I/O interface, together with a real-time interface,
see parallel I/O interface

Sync I/O interface The Sync I/O interface can be selected in TruControl 1000 via
the >Setup >Multi PLC interface (MPI) dialog and the Change
properties interface.

18-22-91-A2-BA02 2017-08 Overview 11


Prerequisite:
The Sync I/O interface can only be selected if no other interface
is configured.

The 3 digital input and output channels (24 digital inputs and 24
digital outputs) can be used as follows:
■ as Sync I/O interface which is assigned to channel 1 as fol-
lows:
− D IN BLOCK1 (6 inputs).
− D OUT BLOCK1 (6 outputs).

Decentralized I/O interface The decentralized I/O interface can be selected in TruControl
1000 via the >Setup >Multi PLC interface (MPI) dialog and the
Change properties interface.
Prerequisite:
The decentralized I/O interface can only be selected if no other
interface is configured.
The 3 digital input and output channels (24 digital inputs and 24
digital outputs) are made available to an external control via
OPC.

TRUMPF peripheral bus If a parallel I/O interface is needed together with a Sync I/O
interface, a decentralized I/O interface or more than one real-
time interface, the parallel I/O interface can be realized with
TRUMPF peripheral bus.
More information is given in the interface description TRUMPF
peripheral bus, doc. no. 18-22-12-A1-BA.

12 Overview 2017-08 18-22-91-A2-BA02


2. Technical data

Connector on the front plate of the CPX V3


X19 MC 1.5/10-G-3.5 THT, 10-pole, pin
Cable plug: FMC 1.5/10-ST-3.5, 10-pole, socket, mat. no. 1433277
X22 MC 1.5/9-G-3.5 THT, 9-pole, pin
Cable plug: FMC 1.5/9-ST-3.5, 9-pole, socket, mat. no. 1433308
X25 MCDN 1.5/10-G1-3.5 P26THR, 2x10-pole, pin
Cable plug: FMCD 1.5/10-ST-3.5, 2x10-pole, socket, mat. no. 1764350
X26 MCDN 1.5/9-G1-3.5 P26THR, 2x9-pole, pin
Cable plug: FMCD 1.5/9-ST-3.5, 2x9-pole, socket, mat. no. 1764349
Connector on the front plate of the CPX V4 standard
X31 3 x MCDN 1.5/10-G1-3.5 P26THR, 2x10-pole, pin
X32 Cable plug:
X33 3 x FMCD 1.5/10-ST-3.5, 2x10-pole, socket, mat. no. 1764350
Digital inputs
Number 24, distributed over 3 channels with 8 digital inputs each
Electrical isolation: Between the inputs and the CPX as well as between the 3 channels
Reference voltage One reference potential GND per channel
Reverse polarity protection Available
Debouncing time Programmable
Low level ≤ +1.5 V
High level +8 V ... +35 V
Input current 5 mA
Input filter (CPX V3) 10 kHz (limit frequency)
Maximum input frequency ≥ 100 kHz (dependent on the levels of the input voltage)
(CPX V4)
Input protection (ESD) 1 kV
Insulation voltage 1 kV (between input and CPX)
Digital outputs
Number 24, distributed over 3 channels with 8 digital outputs each
Electrical isolation: Between the outputs and the CPX as well as between the 3 channels
Power supply and reference One input each for external power supply VCC and one reference potential
potential GND each per channel
Overtemperature protection Output drivers are switched off at > 150°C
Maximum output frequency 68 kHz (depending on the ohmic load)
Output current max. 500 mA per channel
Overcurrent protection In case of overcurrent, the output driver limits the current to 800 mA
External VCC power supply +9.5 V ... +35 V
Undervoltage protection If VCC ≤ +8.5 V, the output drivers are switched off
Insulation voltage 1 kV (between output and CPX)
Technical Data Tab. 2

18-22-91-A2-BA02 2017-08 Technical data 13


3. Parallel I/O interface

3.1 Interfaces

Pin assignment of the connector for input


channel 1 (D IN BLOCK1)

A signal is active if the bit value is = "1".

Pin Signal name Functions


0 EXT_ External control
ACTIVATION The laser device is controlled via the fieldbus
or parallel I/O interface. The laser control unit
considers the following signals only if this sig-
nal is active.
1 RESET Reset
Fault and monitoring messages are acknowl-
edged. In case of fault, the control unit of the
laser device is reinitialized.
2 LASER_ON Switching on the laser
The laser power supply is turned on.
3 PROG_STOP Cancelling the program
A laser program started with "PSTART_DYN"
is cancelled.
4 PSTART_DYN Dynamic program start
Dynamical start of a laser program that is pre-
defined via the signals PROGRAM_No: bit 6
to bit 0.
5 PROGRAM_No: Laser program number (bits 2 ... 0)
bit 0 The external control unit defines the number
of the laser program to be executed via the
6 PROGRAM_No:
signals PROGRAM_No: bit 6 to bit 0.
bit 1
Bits 4..3: (see "Pin assignment of the connec-
7 PROGRAM_No: tor for input channel 2 (D IN BLOCK2)",
bit 2 pg. 15)
Bits 6..5: (see "Pin assignment of the connec-
tor for input channel 3 (D IN BLOCK3)",
pg. 16)
Format: binary
Significance of the bits:
bit 6 (high), bit 0 (low)
Number of selectable laser programs: max.
127 dec
Example of laser program no. 19 hex:
0001 1001 = 19 hex = 25 dec
GND GND Reference voltage of the input channel
D IN BLOCK1
Input channel 1 D IN BLOCK1 Tab. 3

Figure for connector CPX V3: (see "Fig. 2", pg. 4), CPX V4
Standard: (see "Fig. 9", pg. 7).
Signal description (see "Input signals", pg. 20).

14 Parallel I/O interface 2017-08 18-22-91-A2-BA02


Pin assignment of the connector for input
channel 2 (D IN BLOCK2)

A signal is active if the bit value is = "1".

Pin Signal name Functions


0 LASER_ Activating the laser Standby mode
STANDBY Only required for laser devices with laser
Standby mode.
1 PSTART_ Static program start
STATICAL Static start of a laser program defined in input
word 1.
2 PROGRAM_No: Laser program number (bits 4 ... 3)
bit 3 The external control unit defines the number
of the laser program to be executed via the
3 PROGRAM_No:
signals PROGRAM_No: bit 6 to bit 0.
bit 4
Bit 2..0: (see "Pin assignment of the connec-
tor for input channel 1 (D IN BLOCK1)",
pg. 14)
Bit 6..5: (see "Pin assignment of the connec-
tor for input channel 3 (D IN BLOCK3)",
pg. 16)
4 INQUIRY_1 Query input 1
The procedure of a laser program is
synchronized to the state of this signal if the
wait functions "W1H" and "W1L" are used in
the laser program.
5 INQUIRY_2 Query input 2
The procedure of a laser program is
synchronized to the state of this signal if the
wait functions "W2H" and "W2L" are used in
the laser program.
6 PILOT_LASER_ Switching on the pilot laser
ON The pilot laser is always switched on even if
the laser device has not been assigned.
7 REQUEST_ Requesting the laser
LASER The laser device is requested by an external
control unit.
GND GND Reference voltage of the input channel
D IN BLOCK2
Input channel 2 D IN BLOCK2 Tab. 4

Figure for connector CPX V3: (see "Fig. 3", pg. 4), CPX V4
Standard: (see "Fig. 9", pg. 7).
Signal description (see "Input signals", pg. 20).

18-22-91-A2-BA02 2017-08 Parallel I/O interface 15


Pin assignment of the connector for input
channel 3 (D IN BLOCK3)

A signal is active if the bit value is = "1".

Pin Signal name Functions


0 - Reserved
The inputs pin 0 ... pin 3 are reserved for the
1 -
real-time interface (see "Pin assignment of a
2 - real-time interface", pg. 59).
3 -
4 FAULT_EXT External fault
The laser is switched off and active laser pro-
grams are cancelled.
5 PROGRAM_No: Laser program number (bits 6 ... 5)
bit 5 The external control unit defines the number
of the laser program to be executed via the
6 PROGRAM_No:
signals PROGRAM_No: bit 6 to bit 0.
bit 6
Bit 2..0: (see "Pin assignment of the connec-
tor for input channel 1 (D IN BLOCK1)",
pg. 14)
Bit 4..3: (see "Pin assignment of the connec-
tor for input channel 2 (D IN BLOCK2)",
pg. 15)
7 LOCK_ Locking the operating panel
OPERATING_ The operating panel can only be used as dis-
PANEL play.
GND GND Reference voltage of the input channel
D IN BLOCK3
Input channel 3 D IN BLOCK3 Tab. 5

Note
Input channel 3 can be used both as a parallel I/O interface and
real-time interface if both interfaces have the same reference
potential (GND).

Figure for connector CPX V3: (see "Fig. 4", pg. 4), CPX V4
Standard: (see "Fig. 9", pg. 7).
Signal description (see "Input signals", pg. 20).

16 Parallel I/O interface 2017-08 18-22-91-A2-BA02


Pin assignment of the connector for output
channel 1 (D OUT BLOCK1)

A signal is active if the bit value is = "1".

Pin Signal name Functions


0 PROG_ Laser program is completed
COMPLETED A laser program has been run and is com-
pleted.
1 FAULT_LASER A fault message of the laser device is
active
A limit value for malfunction is outside the
permitted range.
2 LASER_READY The laser of the laser device is ready
The laser of the laser device is ready to gen-
erate laser power.
3 PROG_ACTIVE Laser program is active
A laser program has been started and is
being executed.
4 MONITORING A monitoring message of the laser device
is active
A limit value for monitoring is outside of the
permitted range.
5 PROG_ Laser program has been cancelled
CANCELLED A laser program has been cancelled during
execution.
6 LIGHT_PATH_ Light path number (bits 1 and 0)
No: Bit 0 The external control unit outputs the number
of the set light path via the signals
7 LIGHT_PATH_
LIGHT_PATH_No: bit 2 to bit 0.
No: Bit 1
Bit 2: (see "Pin assignment of the connector
for output channel 2 (D OUT BLOCK2)",
pg. 18)
Significance of the bits:
bit 2 (high), bit 0 (low)
Number of light paths: max. 6
GND GND Reference voltage of the output channel
D OUT BLOCK1
VCC VCC External voltage supply of the output channel
D OUT BLOCK1
Output channel 1 D OUT BOCK1 Tab. 6

Figure for connector CPX V3: (see "Fig. 5", pg. 5), CPX V4
Standard: (see "Fig. 10", pg. 7).
Signal description (see "Output signals", pg. 30).

18-22-91-A2-BA02 2017-08 Parallel I/O interface 17


Pin assignment of the connector for output
channel 2 (D OUT BLOCK2)

A signal is active if the bit value is = "1".

Pin Signal name Functions


0 LASER_IS_ON The laser of the laser device is switched
on
The laser can now generate laser light.
1 EXT_ External activation is active
ACTIVATION_ The laser device can be controlled by an
ACTIVE external control unit (e.g. PLC) via a parallel I/
O interface or a fieldbus interface.
2 LIGHT_PATH_ Light path number (bit 2)
No: Bit 2 The external control unit outputs the number
of the set light path via the signals
LIGHT_PATH_No: bit 2 to bit 0 (see "Pin
assignment of the connector for output chan-
nel 1 (D OUT BLOCK1)", pg. 17).
3 SIK_OPEN The safety circuit (SIK) is open
The safety circuit (SIK) of a shutter or of a
shutter switch in the selected light path is
interrupted.
4 SET_1 Set outputs 1 and 2
External procedures can be synchronized to
5 SET_2
the procedure of a laser program if set func-
tions (S1H, S1L, S2H, S2L) are used in the
laser programs.
6 POWER_LIMIT The power limit of the laser has been
reached
The state can be corrected by adapting the
laser parameters.
7 LASER_ The laser device is assigned to an external
ASSIGNED control unit
Acknowledgement of the input signal
"REQUEST_LASER".
GND GND Reference voltage of the output channel
D OUT BLOCK2
VCC VCC External voltage supply of the output channel
D OUT BLOCK2
Output channel 2 D OUT BLOCK2 Tab. 7

Figure for connector CPX V3: (see "Fig. 6", pg. 5), CPX V4
Standard: (see "Fig. 10", pg. 7).
Signal description (see "Output signals", pg. 30).

18 Parallel I/O interface 2017-08 18-22-91-A2-BA02


Pin assignment of the connector for output
channel 3 (D OUT BLOCK3)

A signal is active if the bit value is = "1".

Pin Signal name Functions


0 - Real-time interface
The outputs pin 0 ... pin 4 are reserved for
1 -
the real-time interface (see "Pin assignment
2 - of a real-time interface", pg. 59).
3 -
4 -
5 PILOT_LASER_ Pilot laser is switched on
IS_ON At least one pilot laser is switched on.
6 LASER_ The laser warning lamp is on
WARNING_ The capacitors of the laser device contain
LAMP_IS_ON enough energy to allow laser light to be gen-
erated.
7 - Reserve
GND GND Reference voltage of the output channel
D OUT BLOCK3
VCC VCC External voltage supply of the output channel
D OUT BLOCK3
Output channel 3 D OUT BLOCK3 Tab. 8

Figure for connector CPX V3: (see "Fig. 7", pg. 5), CPX V4
Standard: (see "Fig. 10", pg. 7).
Signal description (see "Output signals", pg. 30).

18-22-91-A2-BA02 2017-08 Parallel I/O interface 19


3.2 Signal descriptions of the parallel I/O
interface

Input signals

EXT_ACTIVATION

Functions Input signal determines if the laser is controlled:


■ from the operating panel (OP).
■ by an external control unit (e.g. PLC).
Active signal The laser can be operated by an external control unit. The following functions can be exe-
cuted via the operating panel:
■ it is NOT possible to start laser programs.
■ laser parameters can be transferred to the laser device.
■ messages can be acknowledged.
Feedback With active input signal EXT_ACTIVATION, the output signal EXT_ACTIVATION_ACTIVE is
activated.
Information A laser device is only assigned to an external control unit if it is requested via the input sig-
nal REQUEST_LASER.
When, additionally, the LOCK_OPERATING_PANEL input signal is active, laser parameters
can no longer be transferred to the laser device via the operating panel.
Tab. 9

FAULT_EXT

Functions The external control reports an error in the environment of the installation.
Active signal The laser device
■ closes the central shutter.
■ Switches off the laser.
■ immediately stops laser pulses.
■ aborts the active laser program.
■ switches off the power supplies of the pump sources, the cooling unit and the optical
components.
■ terminates the laser standby mode (only for laser devices with laser standby mode).
Feedback A monitoring message is displayed.
The output signal MONITORING becomes active.
Information The laser device can only be controlled again via the interface when the RESET input signal
has been activated.
Note:
A fault message is not displayed, and the output signal FAULT_LASER is not activated.
Tab. 10

20 Parallel I/O interface 2017-08 18-22-91-A2-BA02


INQUIRY_1 and INQUIRY_2

Functions Both input signals INQUIRY_1 and INQUIRY_2 allow synchronization of the sequence of a
laser program to external sequences.
Information If a line of the laser program contains a maintenance instruction (W1H, W1L, W2H or W2L),
this line is not processed until the respective input signal INQUIRY_1 (with W1H, W1L) or
INQUIRY_2 (with W2H, W2L) adopts the required state (high or low).
Tab. 11

LASER_ON

Funktion Versorgung des Lasers wird eingeschaltet


Aktives Signal Die Versorgung des Lasers wird eingeschaltet. Laserlicht wird noch nicht erzeugt.
Rückmeldung Ca. 5 ... 10 s nach Aktiveren des Eingangssignals LASER_ON werden die Ausgangssignale
LASER_IS_ON und zeitgleich LASER_READY aktiviert.
Lasergerät mit Laser-Standby-Modus:
Ca. 8 ... 15 s nach Aktiveren des Eingangssignals LASER_ON wird das Ausgangssignal
LASER_IS_ON aktiviert.
Information Die Versorgung des Lasers bleibt eingeschaltet, solange das Eingangssignal LASER_ON
aktiv ist.
Wenn das Ausgangssignal LASER_READY aktiv ist, kann ein Laserprogramm gestartet wer-
den.

Hinweise:
■ Der Laser darf nicht zyklisch (mehrmals pro Minute) aus- und eingeschaltet werden. Ein-
maliges aufeinander folgendes Aus- und Einschalten ist erlaubt.
■ Der Laser wird durch das Signal LASER_ON auch eingeschaltet, wenn:
− die externe Ansteuerung nicht aktiv ist (Ausgangssignal EXT_ACTIVATION_ACTIVE
ist inaktiv).
− das Lasergerät der externen Steuerung nicht zugeteilt ist (Ausgangssignal
LASER_ASSIGNED ist inaktiv).
■ TruDisk, TruDiode
Wenn die Kühlwassertemperatur bei Lasergeräten der Serien TruDisk und TruDiode unter
einer bestimmten Schwelle liegt, kann der Laser nicht innerhalb der oben angegebenen
Zeit eingeschaltet werden. Für die Verkürzung der Wartezeit kann das Kühlwasser aufge-
heizt werden.
Das Aufheizen des Kühlwassers wird durch das Eingangssignal LASER_ON oder über
die Schaltfläche Laser in der Haupttätigkeit >Handbetrieb automatisch aktiviert.
Das Aufheizen des Kühlwassers wird abgebrochen oder nicht aktiviert, wenn die Schalt-
funktion "Handbetrieb erzwingen" aktiv ist oder wenn ein Benutzer an der Lasersteuerung
mit Benutzerebene ≥ 70 angemeldet ist.
Die Haupttätigkeit >Handbetrieb und die Funktion "Handbetrieb erzwingen" sind im Soft-
ware-Handbuch TruControl 1000, Dokument-Nr. 10-06-80-A1-CR, beschrieben.
■ Lasergerät mit Laser-Standby-Modus:
Wenn das Ausgangssignal LASER_IS_ON aktiv ist, kann der Laser durch Aktivieren des
Eingangssignals LASER_STANDBY in den Laser-Standby-Modus geschaltet werden. Das
Ausgangssignal LASER_READY wird ca. 2 .. 5 s nach Aktivieren des Eingangssignals
LASER_STANDBY aktiv.
Tab. 12

18-22-91-A2-BA02 2017-08 Parallel I/O interface 21


LASER_STANDBY

Functions Activating the laser Standby mode.


The laser power is stabilized in the laser standby mode.
This signal is only required for laser devices with laser standby mode.
Active signal The laser power defined for the laser standby mode is generated without regulation and con-
ducted from the central shutter into the absorber.
Feedback Approx. 2 ... 5 s after activation of the LASER_STANDBY input signal, the output signal
LASER_READY is activated.
Using the On the basis of the following case description you can find out whether the data about the
signal laser standby mode are relevant for your situation:
■ When a laser device with CPX control without laser standby mode is prepared for its use,
the information on the laser standby mode in this interface description can be ignored.
■ When a laser device with CPX control with laser standby mode is prepared for its use,
please observe the information on the laser standby mode in this interface description.
■ You replace an older laser device with LCU control and laser standby mode with a laser
device with CPX control without laser standby mode. To do so, it is necessary to modify the
existing control programs, for example on a PLC.
− In this case, you are often able to continue using the existing control programs without
change, in particular if you wait for the LASER_READY signal to continue a process.
The LASER_STANDBY signal is inactive.
− The standby line must be removed in laser programs which you want to copy from the
old to the new laser device. The opening and closing of the central shutter must be
programmed explicitly. For further information, refer to the Technical Information "Tru-
Control 1000 for new users", document number: 21-A0-57-CP.
Further ■ If the LASER_READY output signal is active, a laser program can be started. The laser
information standby mode remains active as long as the signal LASER_STANDBY is active.
■ The function Stdby has been automatically entered in the first line of the second column of
a laser program.
■ The service life of the pump sources (lamps or laser diodes) can be increased and the
power required by the laser can be reduced if laser standby mode is switched off during
long waiting times between laser programs.
■ The laser device is also switched to the laser standby mode by the signal
LASER_STANDBY if:
− the external activation is not active (EXT_ACTIVATION_ACTIVE inactive).
− the laser device has not been assigned to the external control unit (output signal
LASER_ASSIGNED inactive).
Tab. 13

LOCK_OPERATING_PANEL

Functions The laser device cannot be controlled any longer via the operating panel (OP).
Active signal The following functions can be executed via the operating panel:
■ laser parameters can no longer be transferred to the laser device.
■ messages can further be acknowledged.
Feedback None
Information An active input signal LOCK_OPERATING_PANEL is only considered if the input signal
EXT_ACTIVATION is active and if the laser device has been assigned.
Tab. 14

22 Parallel I/O interface 2017-08 18-22-91-A2-BA02


PILOT_LASER_ON

Functions Switching the pilot laser of the laser device on and off.
Active signal The pilot laser is switched on.
Inactive signal Pilot laser is switched off.
Feedback The PILOT_LASER_IS_ON output signal becomes active when a pilot laser of the laser
device is switched on.
Information The input signal PILOT_LASER_ON and the software function "Pilot laser on" in the dialog
are linked by OR.
Different hardware types can exist in a laser device as pilot laser. The existing hardware
type is defined as follows in the dialog >Setup >System settings >PilotLaserType:
1 = Central pilot laser
2 = Pilot laser in shutter switch (VW..)
3 = Pilot laser in central shutter (VZ)
The following pilot laser modes can be selected in dialog >Setup >System settings >PilotLa-
serMode for a pilot laser of the hardware type 2 (pilot laser in shutter switch):
0 = Pilot laser is constantly off.
1 = The pilot laser is on when the shutter switch is in the neutral position.
2 = The pilot laser is on when the safety circuit is open.
3 = When the shutter switch is closed, the pilot laser is switched on:
■ via the dialog >Producing >Light path overview >Pilot laser overview
■ or or when the PILOT_LASER_ON input signal is active.
4 = Pilot laser is switched on when the safety circuit is open:
■ via the dialog >Producing >Light path overview >Pilot laser overview
■ or or when the PILOT_LASER_ON input signal is active.
5 = The pilot laser is switched on:
■ via the dialog >Producing >Light path overview >Pilot laser overview
■ or or when the PILOT_LASER_ON input signal is active.
General condi- The following boundary condition applies to the pilot laser modes 3 ... 5:
tion ■ An external control unit sends a valid program number to the control unit of the laser
device via a fieldbus:
− with fixed preset light path in the laser program (e.g. light path = 2).
− or with external preset light path (light path = IW) and defines the number of the
light path in the input word 1.

The following boundary condition additionally applies to the pilot laser mode 4:
■ The safety circuit (SIK) is open.

Exceptions:
If an external control:
■ sends a laser program no. "0", the last program no. unequal "0" will be used.
■ sends a light path no. "0", the last light path no. unequal "0" will be used.
The pilot laser is switched off irrespective of the set pilot laser mode:
■ if the single-channel safety circuit (ASV3, connector X24) is used for internal functions
(e.g. protection of the laser light cables in the user room)
■ and the single-channel safety circuit is interrupted.
Tab. 15

18-22-91-A2-BA02 2017-08 Parallel I/O interface 23


PROGRAM_No: Bit 6 ... Bit 0

Functions The 7 input signals PROGRAM_No: Bit 6 ... Bit 0 are used to select the laser program to
be started.
Coding of the The significance of the 7 input signals is defined from PROGRAM_No: Bit 6 (high) to PRO-
program no. GRAM_No: Bit 0 (low).
Format: Hexadecimal.
Program number 0 is used to set the laser device in a defined state when all signals are set
to 0. In order to be able to create a laser program with program number 0, the system
parameter min. program no. must be set to 0 in the >Set up >Program Settings menu.
Number of selectable laser programs: 127 dec = 7F hex, without program number 0.
Feedback If, during program start, an inadmissible program number is applied by the input signals
PROGRAM_No: Bit 6 ... Bit 0:
■ a monitoring message is displayed.
■ the output signal MONITORING becomes active.
■ no laser program is started.
Information The input signals PROGRAM_No: Bit 6 ... bit 0 are read when the input signal
PSTART_STATICAL or PSTART_DYN has been activated.
The next program number may already be created when the PROG_ACTIVE output signal
is active after the start of a laser program.
Note:
When the PROG_COMPLETED signal becomes active after the completion of a laser pro-
gram and the new program number is already at hand, the control unit keeps the
LASER_READY signal inactive until the optical components are set to the light path of the
new laser program.
If in a laser device of the TruMicro 5000 series the basic frequency in the new laser pro-
gram was changed, the signal LASER_READY will remain active until the new basic fre-
quency has been set, which may take up to 30 sec.
Tab. 16

24 Parallel I/O interface 2017-08 18-22-91-A2-BA02


PROG_STOP

Functions Running laser programs can be ended or canceled.


Active signal Canceling laser program:
A running laser program is canceled when:
■ the input signal PROG_STOP for > 1 ms is activated.
and
■ the operating mode “CONT” (continuous) has not been selected in the laser program for
the number of pulses or pulse duration (CW lasers only).

Ending laser program:


A running laser program is ended when:
■ the input signal PROG_STOP for > 1 ms is activated.
and
■ the operating mode “CONT” (continuous) has been selected in the laser program for the
number of pulses or pulse duration (CW lasers only).
Feedback Laser program canceled:
■ Output signal PROG_ACTIVE becomes inactive.
■ A monitoring message is displayed.
■ The output signals MONITORING and PROG_CANCELLED become active.
The output signal PROG_COMPLETED is not activated because the laser program has not
been completely executed.
Laser program completed:
The PROG_ACTIVE output signal becomes inactive and the PROG_COMPLETED output
signal becomes active for approx. 6 s.
If, before the 6 s have expired, a change in assignment takes place, and the PLC_Clear-
ProgCompletedOnSlotChange system parameter is 1, the PROG_COMPLETED signal will
be set to inactive.
Information A canceled program cannot be continued.

When the PROG_STOP input signal is active, and a laser program is supposed to be
started:
■ a monitoring message is displayed.
■ the output signal MONITORING becomes active.
■ the laser program is not started.
Tab. 17

18-22-91-A2-BA02 2017-08 Parallel I/O interface 25


PSTART_DYN

Function Laser programs can be started by a short impulse of > 1 ms.


Active signal A laser program is started by the ascending edge of the PSTART_DYN input signal when
the LASER_READY output signal is active.
The program number is read in at the start of the program. For this purpose the program
numbers must be available reliably on the PROGRAM_No: Bit 0 ... Bit 6.
Notes:
■ If the attempt is made to start a laser program while the LASER_READY output signal is
not active, a monitoring message is displayed and the MONITORING output signal is acti-
vated.
■ The PSTART_DYN input signal is triggered by the signal edges and starts a laser pro-
gram only once. Before starting a program again, the input signal must be switched to
inactive for at least 50 ms.
Feedback The PROG_ACTIVE output signal is activated if a laser program is started and remains
active until the laser program is completed or canceled.
The PROG_COMPLETED output signal is activated for approx. 6 s after the laser program
has been completed.

The PROG_COMPLETED output signal becomes prematurely inactive if, before the 6 s
have expired
■ a laser program is started again.
■ a change in assinment takes place, and the PLC_ClearProgCompletedOnSlotChange
system parameter is 1.
The output signals MONITORING and PROG_CANCELLED become active if a laser pro-
gram is canceled.
Information The delay in time from the activation of the PSTART_DYN input signal to the delivery of the
laser power at the processing point is called laser delay time (LEZ).
LEZ for pulsed lasers:
35 ... 55 ms, if optical components are traversed as a function of the optical components
used.
15 ... 20 ms if optical components are already set correctly.
< 1 ms depending on the times set per software for delay and debouncing time (see "Con-
figuring the real time interface", pg. 69), if the functions of the real-time interface are used.
LEZ for laser devices with laser standby mode:
35 .. 55 ms (opening time of the shutter)

If the input signal PSTART_DYN or PSTART_STATCAL is activated during the execution of


a laser program:
■ a fault message will be displayed.
■ the output signals MONITORING and FAULT_LASER will be activated.
■ the running laser program will be cancelled.
■ he output signal PROG_CANCELLED will be activated.
Note:
If the operating mode "CONT" (continuous) has been selected within the laser program for
the number of pulses or pulse duration (CW lasers only), the laser program can only be
ended by activating the PROG_STOP input signal.
Tab. 18

26 Parallel I/O interface 2017-08 18-22-91-A2-BA02


PSTART_STATICAL

Function Laser programs can be started, ended or cancelled.


Active signal A laser program is started when:
■ the input signal PSTART_STATICAL is active for > 1 ms and
■ the LASER_READY output signal is active.
The program number is read in at the start of the program. For this purpose the program
numbers must be available reliably on the PROGRAM_No: bit 0 ... bit 6.
Note:
If the attempt is made to start a laser program while the LASER_READY output signal is
not active, a monitoring message is displayed and the MONITORING output signal is acti-
vated.
Setting signal to Ending a laser program:
inactive A laser program started with PSTART_STATICAL is ended when:
■ the PSTART_STATICAL input signal is set to inactive prior to the end of the laser pro-
gram and
■ the operating mode "CONT" (continuous) has been selected for the number of pulses or
pulse duration (CW lasers only).

Canceling a laser program:


A laser program started with PSTART_STATICAL is cancelled when:
■ the PSTART_STATICAL input signal is set to inactive prior to the end of the laser pro-
gram and
■ the operating mode "CONT" (continuous) has not been selected for the number of pulses
or pulse duration (CW lasers only).
Feedback The PROG_ACTIVE output signal is activated if a laser program is started and remains
active until the laser program is completed or canceled.
The PROG_COMPLETED output signal is activated after the laser program has ended.
The output signals MONITORING and PROG_CANCELLED become active if a laser pro-
gram is canceled.
Information The delay in time from the activation of the PSTART_STATICAL input signal to the delivery
of the laser power at the processing point is called laser delay time (LEZ).
LEZ for pulsed lasers:
35 ... 55 ms, if optical components are traversed as a function of the optical components
used.
15 .. 20 ms if optical components are already set correctly.
< 1 ms depending on the times set per software for delay and debouncing time (see "Con-
figuring the real time interface", pg. 69) if the functions of the real-time interface are used.
LEZ for laser devices with laser standby mode:
35 .. 55 ms (opening time of the shutter)

When the PSTART_STATICAL input signal is activated while a laser program that was
started with the PSTART_DYN input signal is running:
■ no static program start is executed.
■ a monitoring message is displayed.
■ the output signal MONITORING becomes active.
Tab. 19

18-22-91-A2-BA02 2017-08 Parallel I/O interface 27


REQUEST_LASER

Function request the laser device.


Active signal The laser device is requested by an external control unit.
Feedback If the laser device has been assigned to the requesting external control unit, the output sig-
nal LASER_ASSIGNED becomes active.
Information The laser device is connected to only one external control unit:
If only one external control unit is connected to the laser device, the input signal
REQUEST_LASER must be activated by an external control unit as long as the external
control unit controls the laser device. The signal REQUEST_LASER can also be set to per-
manently active in this case.
The laser device is connected to two or several external control units via additional
field bus interfaces:
If two or more external control units are connected to the laser device, the input signal
REQUEST_LASER must be activated by an external control unit as long as the external
control unit controls the laser device. This guarantees that the laser device can be assigned
to other external control units.
Assignment process
The assignment of the laser is carried out priority-controlled and in case of the same priority
according to the round robin algorithm. The assignment process is described in detail in a
separate section .
Sleep mode
If the input signal LASER_ON is active and the input signal REQUEST_LASER remains
inactive for a certain period of time, the Sleep mode is activated. The Sleep mode is descri-
bed in detail in a separate section .
Tab. 20

28 Parallel I/O interface 2017-08 18-22-91-A2-BA02


RESET

Function Acknowledges laser device messages and initializes the laser device control again when a
malfunction has occurred.
Active signal The Reset function is carried out when the RESET > input signal 1 ms is active.
Feedback With “Monitoring”:
■ Output signal MONITORING becomes inactive.
■ The displayed monitoring message is deleted.
■ The execution of the laser program is continued.
With "Monitoring" and "Program cancelled":
■ Output signal MONITORING becomes inactive.
■ The displayed monitoring message is deleted.
■ Output signal LASER_READY becomes active.
■ The laser programs can be started.
During “Monitoring” and “Laser fault”:
A reinitialization of the laser control takes place.
Note:
If no fault has occurred during initialization, the laser can be switched on again via the inter-
face and operation can be continued.
Information The signal RESET and the message behavior are influenced by different system
parameters. This is described in detail in a separate section, (see "Messaging and RESET
behavior", pg. 49).
If the frequency of monitoring and fault messages increases, maintenance and repair meas-
ures may be necessary.
Tab. 21

18-22-91-A2-BA02 2017-08 Parallel I/O interface 29


Output signals

EXT_ACTIVATION_ACTIVE

Functions Acknowledgement signal of the EXT_ACTIVATION input signal.


Active signal The laser device can be controlled via the parallel I/O, the fieldbus and the OPC interfaces.
Information As long as the LOCK_OPERATING_PANEL input signal is not active, laser parameters and
laser programs can continue to be modified on the operating panel (OP).
Tab. 22

FAULT_LASER

Function The output signal indicates a fault of the laser device.


Active signal The laser device control activates the FAULT_LASER output signal when a fault limit value
for electrical or optical components has been exceeded.
Information The displayed message indicates possible causes of the fault.

By activating the RESET input signal:


■ the displayed message is reset.
■ the output signals MONITORING and FAULT_LASER are set to inactive.
■ the control unit of the laser device is initialized again.
Note:
If a fault occurs repeatedly, the cause of the fault must be eliminated first.
The message behavior and the RESET signal are influenced by different system
parameters. This is described in detail in a separate section (see "Messaging and RESET
behavior", pg. 49).
Tab. 23

30 Parallel I/O interface 2017-08 18-22-91-A2-BA02


LASER_ASSIGNED

Functions Acknowledgement signal of the REQUEST_LASER input signal.


Active signal The laser device is assigned to the requesting external control unit.
The external control unit receives in the output words status data from the laser.
Assignment The assignment of the laser is carried out according to priority and in case of the same pri-
process ority according to the round robin algorithm. A priority parameter is assigned to every MPI
slot. The value range of the Priority parameter is from 0 to 255. The higher the value, the
higher the priority of the MPI slot.
Further information on the Priority parameter can be found in a separate section
(see "Configuring the parallel I/O interface", pg. 53).
If several MPI slots with different priorities have activated the REQUEST_LASER signal, the
MPI slot with the highest priority is assigned.
If several MPI slots with the same priority have activated the REQUEST_LASER signal, the
assignment is performed in accordance with the round robin algorithm: in the numerical
order of the MPI slots. The assignment process starts at MPI slot 1. As soon as the assign-
ment has finished processing the MPI slots used, it starts again at MPI slot 1.
Example for the round robin algorithm:
The laser is assigned to the external control unit at the MPI slot 1. The MPI slots 1, 2, 3
and 5 have the same priority value. The external control units at the MPI slots 2, 5 and 3
request the laser one after another. As soon as the external control unit releases the laser
at MPI slot 1, the external control unit receives the assignment at MPI slot 2. If this control
unit releases the laser, the external control unit at MPI slot 3 is processed and not the exter-
nal control unit at MPI slot 5. The external control unit at MPI slot 5 receives the assignment
as soon as the external control unit at MPI slot 3 releases the laser.
If the external control unit at MPI slot 1 sends a request to the laser in the meantime, this
request is processed only after release of the external control unit at MPI slot 5.
Information When the LASER_READY output signal is also active, the external control unit can start
laser programs.
An external control unit can start a laser program of type "No pulse triggering", even if the
laser device is not assigned to the external control unit.
The output mask can be used to define what status signals of the laser are received by the
external control even if the LASER_ASSIGNED signal is not active.
Detailed information on the output mask is given in a separate section (see "Configuring the
parallel I/O interface", pg. 53).
Tab. 24

18-22-91-A2-BA02 2017-08 Parallel I/O interface 31


LASER_IS_ON

Functions Acknowledgement signal of the LASER_ON input signal.


Active signal The laser is on.
Information The output signal remains active as long as the laser is switched on. In case of fault of the
laser device, the laser device is automatically switched off.
Note
The output signal remains inactive as long as the output signal CALIBRATION/SELF_TEST
is active.
If the LASER_READY output signal is also active, laser programs can be started.
Laser device with laser standby mode:
The laser device can be switched to the laser standby mode by activating the
LASER_STANDBY input signal.
Energy Save Concept or Sleep mode
If the laser control unit activates an Energy Save Level or Sleep mode, the output signals
LASER_READY and LASER_IS_ON are deactivated. For further information: see Technical
information "Energy Save Concept", doc. no. 21-A0-71-CP.
Tab. 25

32 Parallel I/O interface 2017-08 18-22-91-A2-BA02


LASER_READY

Functions Output signal shows whether laser programs can be started.


Active signal The laser programs can be started.
Information After the start of a laser program, the signal becomes inactive until the laser program has
been ended and a new laser program can be started.
The LASER_READY output signal becomes inactive when the safety circuit is opened
because the laser device, for reasons of safety, becomes disabled to give out laser power.

If the attempt is made to start a laser program while the LASER_READY output signal is
inactive:
■ a monitoring message is displayed.
■ the output signal MONITORING becomes active.
■ the laser program is not started.
If a PCU is available, the output signal LASER_READY is only activated if the PCU is also
ready.
An external control unit can start a laser program of type "No pulse triggering", even if the
laser device is not assigned to the external control unit. The signal LASER_READY
becomes active as soon as the program number of a laser program of the type "No pulse
triggering" is activated.
Laser with optical components:
If after the execution of a laser program the program number of another laser is given, an
active output signal LASER_READY is set to inactive again (approx. 35 ms ... 40 ms) until
the laser control unit has adjusted the optical components to the light path defined in the
laser program. The output signal LASER_READY can only be evaluated again when the
new program number (for fieldbus interfaces only) and light path number (see
"LIGHT_PATH_No: Bit 2 ... Bit 0", pg. 34) were signaled at the interface.
TruMicro 5000:
If, after execution of a laser program, the program number of another laser is given, an
already active LASER_READY output signal is again changed to inactive until the new basic
frequency has been set, which may take up to 30 sec.
Laser device with laser standby mode:
The LASER_READY output signal becomes active approx. 2 ... 5 s after the laser has been
switched into the Standby mode.
Energy Save Concept or Sleep mode
If the laser control unit activates an Energy Save Level or Sleep mode, the output signals
LASER_READY and LASER_IS_ON are deactivated. For further information: see Technical
information "Energy Save Concept", doc. no. 21-A0-71-CP.
Tab. 26

18-22-91-A2-BA02 2017-08 Parallel I/O interface 33


LASER_WARNING_LAMP_IS_ON

Functions The output signal shows whether the laser warning lamp is switched on.
Active signal The control unit activates the LASER_WARNING_LAMP_IS_ON output signal when the
laser:
■ is ready to generate laser power.
■ is generating laser power.
Information Note:
The output signal becomes active when the voltage of a lamp or diode power supply
exceeds 40 V and stays active until the voltage goes below 40 V.
Tab. 27

LIGHT_PATH_No: Bit 2 ... Bit 0

Functions The 3 output signals LIGHT_PATH_No: Bit 2... Bit 0 are used by the laser to output the
light path number which is set for the emission of laser light.
Coding of the The significance of the 3 output signals is defined from LIGHT_PATH_No: Bit 2 (high) to
light path no. LIGHT_PATH_No: Bit 0 (low).
Format: binary.
Information Depending on the output number of the light path, an external control unit can:
■ check whether the set light path is correct.
■ keep a record of the light path used.
■ determine whether the output signal LASER_READY can be evaluated again after a pro-
gram change (see "LASER_READY", pg. 33).
Tab. 28

34 Parallel I/O interface 2017-08 18-22-91-A2-BA02


MONITORING

Functions The output signal indicates when a monitoring message was emitted during operation.
Active signal The MONITORING output signal becomes active when the control unit of the laser device
has detected a condition that:
■ can lead to switching off the laser device.
■ has led to switching off the laser device.
Information If, in connection with the output signal MONITORING, the output signals PROG_CANCEL-
LED, SIK_OPEN and FAULT_LASER are also evaluated, the causes for a monitoring can
be determined more exactly.
MONITORING active:
A condition was detected by the laser device control that has not yet led to the switching off
of the laser device. The displayed message gives hints about the possible causes (e.g., the
conductivity of the DI water has exceeded the monitoring limit value).
MONITORING + SIK_OPEN active:
A monitoring message was emitted because a safety circuit has been interrupted (see
"SIK_OPEN", pg. 39).
MONITORING + FAULT_LASER active:
The laser device was switched off due to a malfunction of the laser device (see
"FAULT_LASER", pg. 30).
MONITORING + PROG_CANCELLED active:
A running laser program has been cancelled, for example using the input signal
PROG_STOP or FAULT_EXT (see "PROG_CANCELLED", pg. 37).
The message behavior and the RESET signal are influenced by different system
parameters. This is described in detail in a separate section (see "Messaging and RESET
behavior", pg. 49).
Tab. 29

18-22-91-A2-BA02 2017-08 Parallel I/O interface 35


PILOT_LASER_IS_ON

Functions Acknowledgement signal of the PILOT_LASER_ON input signal.


Active signal The PILOT_LASER_IS_ON output signal becomes active when a pilot laser is switched on.
Information Notes:
Pilot laser in shutters and shutter switches are controlled by the ASV3 assemblies of the
laser control.
Tab. 30

POWER_LIMIT

Functions The output signal indicates when the power limit of the laser device has been reached (only
with pulsed laser devices).
Active signal The power limit of the laser device has been reached.

The following parameters influence reaching the power limit of the laser device:
■ Pulse power
■ Pulse duration
■ Pulse repetition frequency
Information When the power limit is reached:
■ a monitoring message is displayed that must be acknowledged by means of RESET
before work with the laser device can be continued.
■ the power limit of the laser device can be met by adapting the parameters pulse power,
pulse duration and pulse repetition frequency.
Tab. 31

PROG_ACTIVE

Functions Acknowledgement of the input signals PSTART_STATICAL or PSTART_DYN.


Active signal A laser program has been started and is being executed.
Information The output signal PROG_ACTIVE remains active as long as the laser program is run.
Tab. 32

36 Parallel I/O interface 2017-08 18-22-91-A2-BA02


PROG_CANCELLED

Functions The output signal indicates that the laser program was aborted.
Active signal The output signal PROG_CANCELLED becomes active if a laser program was not com-
pletely executed.

The following actions proceed:


■ a monitoring message is displayed.
■ The output signal MONITORING becomes active.
Note:
Laser programs can only be restarted if the message was reset by activating the input
signal RESET.
Information Laser programs are aborted under the following conditions:
■ Input signal PSTART_STATICAL was inactive before a statically started laser program
was run (not during operating mode "CONT" for pulse duration or pulse number).
■ Input signal PROG_STOP was activated while a laser program was running (not during
operating mode "CONT" for pulse duration or pulse number).
■ Laser control has detected a malfunction.
■ Input signal FAULT_EXT was activated.
■ Safety or EMERGENCY STOP circuit was interrupted during the running of a laser pro-
gram.
The output signal PROG_CANCELLED remains after an assignment change at the affected
MPI slot.
The output signal PROG_CANCELLED must be reset at the affected MPI slot, independent
of the assignment.
If there is a change in assignment, the output signal LASER_ASSIGNED changes from one
MPI slot to another.
If the PROG_CANCELLED output signal is set in the output mask, the output signal is out-
put at this MPI slot, even if this MPI slot is not assigned. That is practical e.g. if a higher-
order system control reacts to this signal.
You can find detailed information on the output mask in a separate section (see "Configuring
the parallel I/O interface", pg. 53).
Tab. 33

18-22-91-A2-BA02 2017-08 Parallel I/O interface 37


PROG_COMPLETED

Functions The output signal indicates the end of a laser program.


Active signal The PROG_COMPLETED output signal is:
■ active if a laser program has been executed completely.
■ not active when a laser program was canceled.
Information The timing of the output signal depends on whether a laser program has been started stati-
cally with the input signal PSTART_STATICAL or dynamically with the input signal
PSTART_DYN.

Program start static:


■ Finite laser program
(without endless loop function and without "continuous" operating mode for number of
pulse):
After the end of a laser program, the PROG_COMPLETED output signal becomes active
and stays active until the PSTART_STATICAL input signal is switched to inactive.
■ Continuous laser program
(with endless loop function or "continuous" operating mode for number of pulses):
If the laser program is finished by setting the PSTART_STATICAL input signal inactive,
the PROG_COMPLETED output signal will be activated for approx. 6 seconds1).
Program start, dynamically:
After the end of a laser program, the PROG_COMPLETED output signal becomes active for
approx. 6 s1).

1)The PROG_COMPLETED output signal becomes prematurely inactive if, before the 6 s

have expired,
■ a laser program is started again (PSTART_STATICAL or PSTART_DYN).
■ a change in assignment takes place, and the PLC_ClearProgCompletedOnSlotChange
system parameter is 1.
Tab. 34

SET_1 and SET_2

Function By using the 2 output signals SET_1 and SET_2, an external control unit (e.g. PLC) can be
synchronized with the sequence of a laser program.
Active signal The output signals can be set by commands in the program lines of a laser program to
active (S1H, S2H) or inactive (S1L, S2L).
Information Output signals SET_1 and SET_2 activated by a laser program remain active and are not
reset until:
■ a laser program is started again.
■ a cancelled laser program is reset with the RESET input signal.
■ they are reset by commands within a laser program.
Note:
The sequence of a laser program can be controlled externally by means of the output sig-
nals SET_1 and SET_2.
Tab. 35

38 Parallel I/O interface 2017-08 18-22-91-A2-BA02


SIK_OPEN

Functions The output signal indicates when a safety circuit of the laser device is interrupted.
Active signal The SIK_OPEN output signal becomes active, when the safety circuit is open:
■ of the central shutter (VZ).
■ of the selected light path.
Information When the SIK_OPEN output signal is active, no laser program can be started.
Determining the safety circuit status
The SIK_OPEN output signal is updated continuously for all external controls (slots), even if
they have not bee assigned.

There are two different cases:


■ The light path is preset in the laser program.
■ The light path is predefined externally.
The light path is permanently defined in the laser program
In this case, the SIK_OPEN output signal is determined for all light paths that occur in the
laser program.
SIK_OPEN = "0",
if the safety circuits of all light paths given in the laser program are closed.
SIK_OPEN = "1",
if a safety circuit is open that is included in the laser program.
The light path is predefined externally
For this case, the SIK_OPEN output signal is only determined for the externally predefined
light path.
SIK_OPEN = "0",
if the safety circuit of the externally predefined light path is closed.
SIK_OPEN = "1",
if the safety circuit of the externally predefined light path is open.
Tab. 36

18-22-91-A2-BA02 2017-08 Parallel I/O interface 39


3.3 Using the parallel I/O interface

The use of the parallel I/O interface is described by the timing


diagrams.

Timing diagrams

The control of a laser device by means of one or several exter-


nal control units (e.g. PLC) is explained using timing diagrams
and a laser programming example with laser parameters of the
external control units.
The external control units are connected to the control of the
laser device by means of a parallel I/O, fieldbus, TRUMPF
Peripheral Bus or OPC interface.

Below, you will see the timing diagrams for:


■ Starting a finite laser program dynamically.
■ Starting a finite laser program statically.
■ Starting a continuous laser program dynamically.
■ Starting a continuous laser program statically.
■ Alternating activation of a laser device.
The shown timing diagrams refer to pulsed laser devices. They
apply similarly to CW laser devices.

40 Parallel I/O interface 2017-08 18-22-91-A2-BA02


Start finite laser program dynamically

An external control unit requests the laser device, switches it on


and starts the finite laser program number 5 dynamically via the
PSTART_DYN input signal.

Fig. 12

In laser program 5, 3 laser pulses are programmed with different


laser power.

18-22-91-A2-BA02 2017-08 Parallel I/O interface 41


t1 The laser device control sets the LASER_READY output signal
to inactive if it has to reset the light path when presetting the
laser program. Setting of the light path may take up to 45 ms if
several optical components are moved.
If in a laser device of the TruMicro 5000 series the basic fre-
quency in the new laser program was changed, the signal
LASER_READY will remain active until the new basic frequency
has been set, which may take up to 30 sec.

t2 The time from the start of the laser program to the acknowledge-
ment by the PROG_ACTIVE output signal is approx. 150 µs.

t3 The time from the start of the laser program to the emission of
the first laser pulse lies within the range of:
■ 15 ms ... 20 ms when no optical component is moved.
■ 35 ms ... 55 ms when an optical component is moved.

Note
The jitter between the call for the laser pulse and the executed
laser pulse can be reduced for pulsed lasers to < ±40 µs by
using a realtime interface.

t4 The time the laser needs after the end of a laser program before
it is ready again.

The time t4 is determined by:


■ the loading time of the capacitor in the laser device (only for
pulsed lasers).
■ the time needed for moving the optical components.
The loading time of the capacitor in the laser device depends on
the pulse energy of the last laser pulse. Depending on the laser
device, loading times for minimum to maximum pulse energy
range from 1 ... 1500 ms.
The time for moving an optical component after the end of a
laser program is max. 40 ms. If several optical components are
moved, the time is approx. 45 ms ... 55 ms.
The time t4 is at least as long as the longest individual time plus
approx. 150 µs of program running time in the laser control.

42 Parallel I/O interface 2017-08 18-22-91-A2-BA02


t5 After the end of a laser program, the PROG_COMPLETED out-
put signal becomes active for approx. 6 s.

The PROG_COMPLETED output signal becomes prematurely


inactive if, before the 6 s have expired,
■ a laser program is started again (with PSTART_STATICAL or
PSTART_DYN).
■ a change in assignment takes place, and the PLC_Clear-
ProgCompletedOnSlotChange system parameter is 1.

Note
The times t1 ... t5 given describe exclusively the behavior of the
laser device control. The runtimes of the field bus transmission
depends on the configuration of a field bus.

18-22-91-A2-BA02 2017-08 Parallel I/O interface 43


Start finite laser program statically

An external control unit requests the laser device, switches the


laser on and starts the finite laser program number 5 statically
via the input signal PSTART_STATICAL.

Fig. 13

Note
The timely sequence of a laser program is identical if the laser
program has been started dynamically or statically.

44 Parallel I/O interface 2017-08 18-22-91-A2-BA02


Start infinite laser program dynamically

An external control requests the laser device, switches on the


laser and starts the infinite laser program No 7 dynamically via
the input signal PSTART_DYN. A dynamically started laser pro-
gram - with the options "Cont" for pulse number with pulsed
lasers or pulse duration for cw-lasers - can stop an external con-
trol by means of the input signal PROG_STOP.

Fig. 14

18-22-91-A2-BA02 2017-08 Parallel I/O interface 45


Start infinite laser program statically

An external control requests the laser device, switches the laser


on and starts the infinite laser program No 7 statically via the
input signal PSTART_STATICAL. A statically started laser pro-
gram - with the options "Cont" for pulse number with pulsed
lasers or pulse duration for CW lasers - can finish an external
control by setting the input signal PSTART_STATICAL inactive.

Fig. 15

Alternating activation of a laser device

Two external controls request the laser device and wait for
assignment and start an infinite laser program when being

46 Parallel I/O interface 2017-08 18-22-91-A2-BA02


assigned. In the timing diagram shown below, the two control
units are connected with the laser device via a field bus inter-
face. The entered times are explained in the following table.

Example for an alternating activation of a laser device Fig. 16

Time of Definition
event
1 The external control 1 activates the input signal EXT_ACTIVATION for an external control of the
laser device.
2 The external control 1 activates the input signal LASER_ON and with laser devices with laser
standby mode also the input signal LASER_STANDBY, so that it is ensured that the laser is already
switched on when being requested.
3 The laser device acknowledges the external activation by the active output signal EXT_ACTIVA-
TION_ACTIVE.
4 The laser device activates the output signal LASER_IS_ON.
5 The laser device is requested by the external control 1 using the active REQUEST_
LASER input signal.

18-22-91-A2-BA02 2017-08 Parallel I/O interface 47


Time of Definition
event
6 The laser device is assigned by the external control 1 and activates the LASER_
ASSIGNED output signal. If the laser is ready (no fault, safety circuit closed), the laser device acti-
vates the output signal LASER_READY. A laser program can be started.
7 The external control 1 starts a laser program.
8 The laser device activates the output signal PROG_ACTIVE.
If the central shutter is closed, it is opened via a command in the laser program.
9 Laser light is emitted via the preset light path.
10 The external control 1 sets the input signal PSTART_STATICAL inactive.
11 The laser control unit activates the output signal PROG_COMPLETED for approx. 6 s.
12 The laser device activates the LASER_READY output signal.
The central shutter can be closed via a command in the laser program.
13 The control 1 sets the input signal REQUEST_LASER inactive.
14 The laser device sets the output signal LASER_ASSIGNED inactive. The output signal PROG_
COMPLETED is likewise deactived if system parameter PLC_ClearProgCompletedOnSlotChange =
1.
30 The external control 2 activates the input signal EXT_ACTIVATION for an external control of the
laser device.
31 The laser device acknowledges the external activation by the active output signal EXT_ACTIVA-
TION_ACTIVE.
32 The external control 2 activates the input signal LASER_ON and with laser devices with laser
standby mode also the input signal LASER_STANDBY, so that it is ensured that the laser is already
switched on when being requested.
33 The laser device activates the output signal LASER_IS_ON.
15 The laser device is requested by the external control 2 using the active REQUEST_
LASER input signal.
16 The laser device is assigned by the external control 2 and activates the LASER_
ASSIGNED output signal. If the laser is ready (no fault, safety circuit closed), the laser device acti-
vates the output signal LASER_READY. A laser program can be started.
17 The external control 2 starts a laser program.
18 The laser device activates the output signal PROG_ACTIVE.
If the central shutter is closed, it is opened via a command in the laser program.
19 Laser light is emitted via the preset light path.
20 The external control 2 sets the input signal PSTART_STATICAL inactive.
21 The laser control activates the output signal PROG_COMPLETED.
22 The laser device activates the LASER_READY output signal.
The central shutter can be closed via a command in the laser program.
23 The output signal PROG_COMPLETED is deactivated approx. 6 seconds after the end of the laser
program.
24 The input signal EXT_ACTIVATION must be set inactive, if the laser device should to be controlled
via the operating panel. The laser device can no longer be accessed via the interfaces parallel-I/O,
fieldbus and OPC.
25 The laser device set the output signal EXT_ACTIVATION_ACTIVE inactive. The laser device can be
controlled via the operating panel.
26 The external control 2 sets the input signal REQUEST_LASER inactive.
27 The laser device is no longer assigned to the external control 2.
Explanation of the times with alternating activation Tab. 37

48 Parallel I/O interface 2017-08 18-22-91-A2-BA02


Messaging and RESET behavior

Note
Only two input and output words are used for parallel I/O inter-
face.
■ This is why only MONITORING and FAULT_LASER signals
can be used for parallel I/O interface.
■ The MONITORING_SLOT and FAULT_SLOT signals as well
as output words 4 and 5 are available only for field bus inter-
faces.
If these signals and output words are needed, a field bus
interface must be used (see interface descriptions Field bus
interfaces for CPX V3 and CPX V4, doc. no. 18-22-91-A1-
BA and TRUMPF Peripheral Bus, doc. no. 18-22-12-A1-BA).

Notifications There are four categories of messages which are ouput at the
MPI interface with the output word 4 and 5.
■ Slot monitoring
Signal MONITORING_SLOT, output word 2 Bit 9
■ Laser monitoring
Signal MONITORING, output word 0 Bit 5
■ Slot fault
Signal FAULT_SLOT, output word 2 Bit 8
■ Laser malfunction
Signal FAULT_LASER, output word 0, bit 4

RESET An external control must respond to messages with RESET,


input word 0 Bit 8.

System parameter These four message categories and RESET are influenced by
the following system parameters:
■ PLC_Word_2_OutShutter
Assignment of output word 2
− 0: Slot fault/ monitoring and status of the focusing optics
− 1: Shutter position
■ LCU_GlobalLaserFaultReset
− 0: RESET for FAULT_LASER only possible from the
assigned MPI slot.
− 1: RESET for FAULT_LASER also possible from an unas-
signed MPI slot.

18-22-91-A2-BA02 2017-08 Parallel I/O interface 49


■ LCU_GlobalSlotReset
− 0: RESET for slot fault/monitoring only for the assigned
MPI slot.
− 1: RESET for slot fault/monitoring for all MPI slots.
■ PLC_SeparatedSlotFault
− 0: In case of a slot fault the laser monitoring is also out-
put.
− 1: In case of a slot fault the laser monitoring is not out-
put.

Status indicators The following symbols show monitoring and fault messages in
the status bar of TruControl 1000.

Slot fault

Laser monitoring

Laser fault

Tab. 38

Slot monitoring

If slot monitoring is used, the message code (output words 4


and 5) and the output signal MONITORING_SLOT are output
only at the relevant MPI slot.
Slot monitoring is output, for example when resetting
REQUEST_LASER as long as the signal PROGRAM_START is
still set.
If it is followed by further slot/ laser monitorings, then they are
output at the MPI interface.
Slot monitoring must be reset using RESET at the relevant MPI
slot irrespective of the assignment.
If the system parameter LCU_GlobalSlotReset is 1, all slot moni-
torings of the assigned slot can be reset by means of RESET.

Laser monitoring

If laser monitoring is used, the message code (output word 4


and 5) and the output signal MONITORING is output at all MPI
slots.
Laser monitoring is output, for example if the level of the cooling
water in the tank is too low.
If it is followed by further slot/ laser monitorings, then they are
output at the MPI interface.

50 Parallel I/O interface 2017-08 18-22-91-A2-BA02


If system parameter LCU_GlobalFaultReset is 0, laser monitor-
ings of the assigned MPI slot can be reset by means of RESET.
If the system parameter LCU_GlobalFaultReset is 1, laser moni-
torings of every MPI slot must be reset by means of RESET.

Slot fault

If slot fault occurs, the message code (output word 4 and 5) and
the output signals FAULT_SLOT, MONITORING_SLOT and
MONITORING are output only at the relevant MPI slot.
A slot fault is output, for example if an attempt is made to start
an existing laser program.
If it is followed by further slot/laser monitorings or slot faults,
then they are output at the MPI interface.
If the system parameter LCU_GlobalSlotReset is 0, a slot fault
must be reset at the relevant MPI slot by means of RESET irre-
spective of the assignment.
If the system parameter LCU_GlobalSlotReset is 1, all slot faults
of the assigned MPI slot can be reset by means of RESET.

Laser fault

If a laser fault occurs, the message code (output words 4 and 5)


and the output signals FAULT_LASER and MONITORING are
output at all MPI slots.
A laser fault is output, for example, if an attempt is made to start
a laser program which contains a deleted light path.
If it is followed by further slot/laser monitoring or
slot/laser faults, then they are not output at the MPI interface.
If the system parameter LCU_GlobalLaserFaultReset is 0, a
laser fault must be reset at the assigned MPI slot by means of
RESET.
If the system parameter LCU_GlobalLaserFaultReset is 1, a
laser fault can be reset at every MPI slot by means of RESET
irrespective of the assignment.

Recommended system settings

We recommend configuring the system as follows:

Setting System parameter


Output word 2 PLC_Word_2_OutShutter = 0
Output of the signals slot fault and
monitoring
Reset of a slot fault/monitoring only LCU_GlobalSlotReset = 0
for an MPI slot

18-22-91-A2-BA02 2017-08 Parallel I/O interface 51


Setting System parameter
Reset of a laser fault only from the LCU_GlobalLaserFaultReset = 0
assigned MPI slot
Differentiation between laser fault PLC_SeparatedSlotFault = 1
and slot fault
Programmable output words 4 and Default setting, i.e., the message
5 code is output.
MPI settings PROG_CANCELLED =0
output mask PILOT_LASER_IS_ON =0
Tab. 39

Saving energy

Information about saving energy can be found in the technical


information Energy Save Concept – Saving energy with PRO-
FIenergy, I/O signals and optimized standby mode, doc. no.:
21-A0-71-CP.

52 Parallel I/O interface 2017-08 18-22-91-A2-BA02


3.4 Configuring the parallel I/O interface

Assigning the interface to an MPI slot and configuring it

(User level ≥ 60)


1. Select the main activity Setup.

2. Select Multi PLC interface (MPI).

3. Select free slot.


The selected slot is highlighted in yellow.
4. Select New.
The PLC interface editor dialog appears.

5. Select parallel.
6. Select Continue.
The Select connection dialog is displayed.

7. Select connection CPX module.


8. Select Continue.
The Enter name dialog is displayed.

9. Enter the name.


10. Select Continue.
The PLC interface editor dialog is displayed.
The parameters are preset at the factory.
11. If you want to change a parameter, select the parameter.
The selected parameter is highlighted in yellow.
The parameters are described in a separate table (see "Tab. 42", pg. 56).
If you do not want to change any parameters, continue with step 16.
12. Select Change properties.

13. Modify parameters.

14. Select Close.

15. If you want to change an additional parameter, select the parameter and change it
(repeat steps 11. - 14.).
16. Select Finish.
The Multi PLC interface (MPI) dialog is displayed.

17. Select Save.


The dialog for applying and restarting the laser control unit is displayed.

18. Select Yes.


The interface has been assigned to a slot and configured.

Tab. 40

18-22-91-A2-BA02 2017-08 Parallel I/O interface 53


Changing the configuration of the interface

(User level ≥ 60)


1. Select the main activity Setup.

2. Select Multi PLC interface (MPI).

3. Select slot with the parallel I/O interface of the CPX.


The selected slot is highlighted in yellow.
4. Select Modify.
The PLC interface editor dialog is displayed.
The parameters are preset at the factory.

5. If you want to change the name of the slot, select Change name.
The dialog for entering the name appears.
If you do not want to change the name of the slot, continue with step 8.

6. Enter name
7. Press the Apply button.

8. If you want to change a parameter, select the parameter.


The selected parameter is highlighted in yellow.
The parameters are described in a separate table (see "Tab. 42", pg. 56).
If you do not want to change any parameters, continue with step 13.
9. Select Change properties.

10. Modify parameters.

11. Select Close.

12. If you want to change an additional parameter, select the parameter and change it
(repeat steps 8. - 11.).
13. Select Close.
If you have not changed either the name of the slot or parameters, the configuration is
complete. The Multi PLC interface (MPI) dialog is displayed. You can ignore steps 14.
- 16.
If you have changed the name of the slot or parameters, the dialog for applying the
changes is displayed.
14. Select Save.
The Multi PLC interface (MPI) dialog is displayed.

15. Select Save.


The dialog for applying and restarting the laser control unit is displayed.

16. Select Yes.


The configuration of the interface has been changed.

Tab. 41

54 Parallel I/O interface 2017-08 18-22-91-A2-BA02


The following table lists the settings possible in the PLC
interface editor dialog for the parallel I/O interface.

Parameter Functions Default Values


File length Setting the data length of the interface. 2
The data length of a parallel I/O interface is limited to 2
words.
Byte swap Setting byte swap. False False, True
The data are interpreted and transmitted by the laser
control unit word by word. The data bytes can be swap-
ped within the data words.
False: Default setting
The two data bytes of the data word are not swapped.
True:
The two data bytes of the data word are swapped.
This setting is required, for example for the external con-
trol units with Intel processors (Siemens PLC).
Note:
If you notice that the data do not arrive at the expected
bit positions, you should change the "byte swap" value.
Light path Assigning a light path. None None 0, 1, ...
A light path can be assigned fixed to the parallel
interface of the laser device if a light path-coded activa-
tion of the laser device is used.
Real-time interface Selecting a realtime interface. 3 3
The realtime interface 3 is assigned fixed to the parallel I/
O interface.
MFO Assigning the manual focusing optics. None None, 1 ... 8
Output mask Output mask
In the dialog of the output mask, it can be set which
internal laser signals are transmitted by the laser control
unit to the outputs of the parallel I/O interface if the laser
device is not assigned to the control unit.
The following output signals can be masked:
■ EXT_ACTIVATION_ ■ SIK_OPEN
ACTIVE ■ MONITORING
■ LASER_IS_ON ■ FAULT_LASER
■ LASER_READY ■ LASER_ASSIGNED
■ PROG_ACTIVE ■ POWER_LIMIT
■ PROG_COMPLETED ■ PILOT_LASER_IS_ON
■ PROG_CANCELLED ■ LASER_WARNING_
■ SET_1 LAMP_IS_ON
■ SET_2

18-22-91-A2-BA02 2017-08 Parallel I/O interface 55


Parameter Functions Default Values
Inverting mask Inverting the inputs.
An inverted input signal applied actively to the parallel I/O
interface is interpreted by the laser control unit as
inactive and inverted.
The following input signals of a parallel interface can be
inverted:
■ EXT_ACTIVATION ■ PROG_STOP
■ LASER_ON ■ RESET
■ LASER_STANDBY ■ FAULT_EXT
(Only for laser devices ■ INQUIRY_1
with laser standby ■ INQUIRY_2
mode)
■ PILOT_LASER_ON
■ PSTART_STATICAL
■ REQUEST_LASER
■ PSTART_DYN
Priority Priority of the MPI slot 3 0 ... 255
This parameter defines the priority of the MPI slot for the
assignment (see "LASER_ASSIGNED", pg. 31). The
higher the value of the parameter, the higher is the prior-
ity of the MPI slot.
Tab. 42

56 Parallel I/O interface 2017-08 18-22-91-A2-BA02


3.5 Testing options

Multi SPS-interface (MPI), overview

Dialog Multi PLC Interface (MPI), overview Fig. 17

Open the dialog Multi PLC Interface (MPI), overview:

User level ≥ 0
1. Select the main activity Production.

2. Select MPI PLC interface (MPI), overview.


The Multi PLC interface (MPI), overview dialog box is
displayed. The statuses of important signals, the pulse
energy, the average laser power and the utilization of
the laser device are displayed for each assigned
machining station (slot).
Tab. 43

When selecting a slot, buttons are displayed in the context bar


which enable activation of further functions. Depending on the
configuration the following buttons are available:
■ Simulation
■ I/O signals.
■ Real time interface
■ Manual focusing optics (option)
Further information can be found in the TruControl 1000 soft-
ware manual, document no. 10-06-80-A1-CR.

18-22-91-A2-BA02 2017-08 Parallel I/O interface 57


Diagnosis parallel I/O interface

Parallel I/O interface diagnostics: channel 1 (D IN BLOCK 1 Fig. 18


and D OUT BLOCK 1), connectors X19 and X22, example
CPX V3

Open the Diagnosis parallel I/O interface, channel 1 dialog:

User level ≥ 0
1. Select the main activity Diagnostics.

2. Select TruControl laser control (CPX).

3. Select the connector of the required input and output


channel.
The overwiev showing the input and output signals of
the respective channel is displayed.
Tab. 44

The diagnosis of the parallel I/O interface can be displayed from


any user level via the >Diagnosis >CPX dialog. By selecting a
plug connector (5), an overview showing the signals of the
respective channel is displayed.

58 Parallel I/O interface 2017-08 18-22-91-A2-BA02


4. Real-time interface

4.1 Pin assignment of a real-time


interface

The real-time interfaces are assigned to the 3 digital input and


output channels as follows:
■ Real-time interface 1: D IN BLOCK1, D OUT BLOCK1.
■ Real-time interface 2: D IN BLOCK2, D OUT BLOCK2.
■ Real-time interface 3: D IN BLOCK3, D OUT BLOCK3.
Note
A real-time interface has 4 input and 5 output signals. When
using a parallel I/O interface, the digital input and output channel
3 (D IN / D OUT BLOCK3) is used for the real-time interface.

The real-time interface 3 of the input and output channel 3


(D IN / D OUT BLOCK3) can be simultaneously used as parallel
I/O and real-time interface
■ if the inputs (D IN BLOCK3) of both interfaces have the
same reference voltage (GND).
■ if the outputs (D OUT BLOCK3) of both interfaces also have
the same external voltage supply (VCC) in relation to the
common reference voltage (GND).
The reference voltages (GND) of the inputs (D IN BLOCK3) and
the outputs (D OUT BLOCK3) can be different.

18-22-91-A2-BA02 2017-08 Real-time interface 59


Inputs of the real-time interface, channels D OUT BLOCK1/2/3
Pin Signal name Functions
0 BREAK Abort the running of program lines in laser
programs.
1 PULSE_ Suppressing of laser pulses or continuous
INTERLOCK wave laser power (cw).
2 REALTIME_ Start the laser pulse in real time.
START
3 EXTERNAL_ External frequency to start a laser pulse.
FREQUENCY
4 - Reserved
The 4 inputs Pin 4 ... pin 7 are reserved for
5 -
the signals of the parallel I/O interface (see
6 - "Pin assignment of the connector for input
7 - channel 3 (D IN BLOCK3)", pg. 16).

GND GND Reference voltage of an input channel


(D IN BLOCK1 / 2 / 3).
Inputs of the real-time interfaces 1 ... 3 Tab. 45

Figures for connector CPX V3: (see "Input channels", pg. 4),
CPX V4 Standard: (see "Input channels", pg. 7)
Signal descriptions (see "Input signals", pg. 61)

Outputs of the real-time interface, channels D OUT BLOCK1/2/3


Pin Signal name Functions
0 XEO1 Output for the pulse number specified via
OPC.
1 PULSE_ Pulse end.
COMPLETED
2 PULSE_ Pulse duration.
DURATION
3 LASER_READY_ Laser is ready to pulse.
TO_PULSE
4 LASER_IS_ Laser is pulsing.
PULSING
5 - Reserved
The 3 outputs Pin 5 ... pin 7 are reserved for
6 -
the signals of the parallel I/O interface (see
7 - "Pin assignment of the connector for output
channel 3 (D OUT BLOCK3)", pg. 19).
GND GND Reference voltage of an output channel
(D OUT BLOCK1 / 2 / 3)
VCC VCC External voltage supply of an output channel
(D OUT BLOCK1 / 2 / 3)
Outputs of the real-time interfaces 1 ... 3 Tab. 46

Figures for connector CPX V3: (see "Output channels", pg. 5),
CPX V4 Standard: (see "Output channels", pg. 7)
Signal descriptions (see "Output signals", pg. 62)

60 Real-time interface 2017-08 18-22-91-A2-BA02


4.2 Signal descriptions of the real-time
interface

Input signals

The signal response of the input and output signals is dependent


on the system parameters RTI_LEVEL_SETTING and
RTI_LEVEL_SETTING_X (see "Configuring the real time inter-
face", pg. 69).

BREAK

Functions Cancel
Active signal The running of program lines of a laser program with a fixed or continuous number of
pulses is aborted.
Information The delay time depends on the debouncing time set via the software (see "Configuring the
real time interface", pg. 69).
Jitter: < ±100 µs
Tab. 47

PULSE_INTERLOCK

Functions Pulse lock / POWER_GATE


Active signal Laser pulses or continuous wave laser power (cw) will be suppressed if this input is active.
Information There are 4 modes for the pulse lock. The system parameter RTI_PULSE_INTER-
LOCK_MODUS can be used in the >Setup >System setting >Real-time interface dialog to
select the following modes:
Mode Description
1 The pulse locking is deactivated, factory setting
2 The pulse triggering is interrupted, a started pulse is still finished.
3 The pulse triggering is interrupted, a started laser pulse is interrupted.
4 POWER_GATE: The laser beam is suppressed.
When mode 4 is selected, the system parameter RTI_DEBOUNCE_TIME ≤ 32 µs
must be set.
The signal response is dependent on the system parameters RTI_LEVEL_SETTING and
RTI_LEVEL_SETTING_X.
Delay time between the POWER_GATE signal and the switching on or off of the laser
power: 50 µs - 600 µs. The actual value depends on the laser device type and the
operating mode set.
The configuration of the real-time interface is described in detail in a separate paragraph
(see "Configuring the real time interface", pg. 69).
Tab. 48

18-22-91-A2-BA02 2017-08 Real-time interface 61


REALTIME_START

Functions Real-time start


Active signal Starts laser pulses (single pulse, pulse train or continuous pulsing) when the function "WRS"
(Wait Real-time Start) has been entered in the program lines of a laser program.
"Continuous pulsing" started with the WRS function is ended by deactivating the REAL-
TIME_START signal.
Information The output signal "LASER_READY_TO_PULSE” must previously be active.

The following can be set via software:


■ Delay time for the start of the laser pulses (see "Configuring the real time interface",
pg. 69). A delay time of 1 ms is set at the factory.
■ Debouncing time of the input signals (see "Configuring the real time interface", pg. 69).
A debouncing time of 32 µs is set at the factory.
Jitter: < ±100 µs
Tab. 49

EXTERNAL_FREQUENCY

Functions External frequency


Active signal Start of a laser pulse when “RT” is entered in the laser program as frequency value:
■ with every positive signal edge.
■ until the number of pulses specified in the laser program has been reached.
Feedback The output signal PULSE_COMPLETED becomes active if no further pulse is triggered.
Information The output signal LASER_READY_TO_PULSE must previously be active.

The maximum permissible frequency can be determined via the operating software TruCon-
trol 1000 as follows:
■ Define laser parameters in manual mode.
■ Raise the frequency until the value “Utilization 100 %” is reached.
Note:
The input signal EXTERNAL_FREQUENCY cannot be used to start a continuous wave
laser power (CW).

The following can be set via software:


■ Delay time for the start of the laser pulses (see "Configuring the real time interface",
pg. 69). A delay time of 1 ms is set at the factory.
■ Debouncing time of the input signals (see "Configuring the real time interface", pg. 69).
A debouncing time of 32 µs is set at the factory.
Jitter: < ±100 µs
Tab. 50

Output signals

The signal response of the input and output signals is dependent


on the system parameters RTI_LEVEL_SETTING and

62 Real-time interface 2017-08 18-22-91-A2-BA02


RTI_LEVEL_SETTING_X (see "Configuring the real time inter-
face", pg. 69).

XEO1

Function Output for the pulse number specified via OPC


Active signal The output delivers a number of pulses that can be specified via OPC by means of the var-
iable "WR_FGD_XEO1".
Condition An OPC server is installed.
Information A maximum number of 255 pulses can be specified.
The pulses are generated in the ratio 1:1 (pulse:pulse break). The pulse cycle is set to
40 ms at the factory.
Note:
This output signal can e.g. be used in order to identify an addressed laser device.
The evaluation of the delivered pulses must be carried out by external devices (e.g. PLC).
Tab. 51

PULSE_COMPLETED

Functions Pulse end


Active signal The output becomes:
■ active for a time set via software, if no further laser pulse is triggered.
■ early inactive when a new laser pulse is triggered.
Information The time for an active output signal is set by means of the "RTI_MAXTIME_PULSE_COM-
PLETED" system parameter (see "Configuring the real time interface", pg. 69).
"RTI_MAXTIME_PULSE_COMPLETED" = 100 ms is set at factory.
This output can be used as feedback signal for the input signal "EXTERNAL_FREQUENCY".
Tab. 52

18-22-91-A2-BA02 2017-08 Real-time interface 63


PULSE_DURATION

Functions Pulse duration


Active signal During a pulse duration, the output is active in the time:
■ from 50 µs to 500 µs before the laser pulse (depending on the settings and the type of
the laser device).
■ up to approx. 300 ms after the laser pulse.
Condition Output will become active during a pulse duration only if the real-time interface has been
assigned to the currently active workstation (MPI slot) (see "LASER_ASSIGNED", pg. 31)
and (see "Configuring the parallel I/O interface", pg. 53).
Information The output can be used as triggering signal, e.g. for external measuring systems or for syn-
chronization of an external camera.
Tab. 53

LASER_READY_TO_PULSE

Function Laser is ready to pulse


Active signal The output becomes active when the laser is ready to emit pulses.
Information The signal first becomes active 20 ... 30 ms after the start of a laser program.
After the triggering of a laser pulse, the signal becomes inactive until the laser is again
ready to emit laser pulses.
The output can be used for synchronizing to the power limit of the laser device.
Tab. 54

LASER_IS_PULSING

Function Laser is pulsing


Active / inactive For every program line, the output becomes:
signal ■ active before the first laser pulse.
■ inactive after the last laser pulse.
Information The output can be used as feed-back signal for the inputs:
■ EXTERNAL_FREQUENCY
■ REALTIME_START.
Tab. 55

64 Real-time interface 2017-08 18-22-91-A2-BA02


4.3 Using the realtime interface

External single-triggering of laser pulses

Note
The continuous wave laser power (cw) cannot be started.

Single laser pulses can be triggered externally via the input sig-
nal EXTERNAL_FREQUENCY of a realtime interface if:
■ a realtime interface is assigned.
■ "Frequency from realtime interface" (RT) is selected in the
laser program as default value for the frequency.
A laser program can be created new or changed from the user
level "40" via the dialog >Programming >the laser program.

W1H Cont

SR-00106.en
Fig. 19

The laser program only goes to the next program line when all
laser pulses entered in the program line’s “Pulse number” field
have been triggered via the “EXTERNAL_FREQUENCY” input
signal.

If the default value "Continuous" (Cont) is entered for the pulse


number in the laser program, a wait function (W1H, W1L, W2H
or W2L) must be used in the program line, if another program
line follows. Without wait function, the laser program gets hung
up in the program line. This condition can only be brought to an
end by:
■ stopping the laser program.
■ activating the input signal BREAK on the realtime interface.

Note
When the EXTERNAL_FREQUENCY input signal is activated
while the “LASER_READY_TO_PULSE” output signal is inactive,

18-22-91-A2-BA02 2017-08 Real-time interface 65


TruControl 1000 reports a fault. Work cannot be continued until
after pressing the Reset button.

Starting program lines in real-time

The running of program lines can be triggered externally via the


REALTIME_START input signal of a real-time interface when:
■ a realtime interface is assigned.
■ the function WRS is selected in the laser program.
A laser program can be created new or changed from the user
level "40" via the dialog >Programming >the laser program.

Fig. 20

After activating the input signal REALTIME_START, the output of


the laser pulses is started with the predefined frequency until the
number of predefined laser pulses is reached.

If the default value "Continuous" (Cont) is entered for the pulse


number in the laser program, pulses are triggered until:
■ the input signal REALTIME_START is set to inactive.
or
■ the BREAK input signal is activated.
or
■ the laser program is stopped.

Note
When the “REALTIME_START“ input signal is activated while the
“LASER_READY_TO_PULSE” output signal is inactive, TruCon-
trol 1000 reports a monitoring. Work cannot be continued until
after pressing the Reset button.

66 Real-time interface 2017-08 18-22-91-A2-BA02


Example of a laser program

SR-00109.en
Fig. 21

The laser program shown above consists of 2 program lines:


■ In program line 1, three laser pulses are triggered individually
via the input signal EXTERNAL_FREQUENCY of the realtime
interface. The default value RT (frequency of realtime inter-
face) is selected for the frequency.
■ In program line 2, the output of 5 square-wave pulses via the
input signal REALTIME_START is started. WRS (wait real-
time start) is selected for the function.

18-22-91-A2-BA02 2017-08 Real-time interface 67


Timing diagram for real-time interface

The timing diagram shows start and execution of the laser pro-
gram number 20 (see "Example of a laser program", pg. 67).

Fig. 22

68 Real-time interface 2017-08 18-22-91-A2-BA02


4.4 Configuring the real time interface

User level ≥ 50
1. Select the main activity Setup.

2. Select "System settings".

3. Select "Real time interface".

4. Select parameter.
The selected parameter is highlighted in yellow.
5. Select Edit.
The Edit parameters dialog is displayed.

6. Select a value.
7. Select Apply.

Tab. 56

The following table list the settings possible for the real-time
interface.

The settings apply to all real-time interfaces, except for the fol-
lowing settings:
■ RTI_LEVEL_SETTING
■ RTI_LEVEL_SETTING_1
■ RTI_LEVEL_SETTING_2
■ RTI_LEVEL_SETTING_3
These settings apply to the respective real-time interface,
depending on its current value.

Variable Function Stand- Values


ard
RTI_DEBOUNCE_TIME Setting the debouncing time of the inputs. 32 µs 30 ns, 8 µs,
32 µs, 128 µs,
The debouncing time can be set in 8 defined lev-
500 µs, 2 ms,
els.
8 ms, 32 ms
If the RTI_PULSE_INTERLOCK_MODUS is = 4, a
value of <= 32 µs must be set here.
RTI_DELAY_TIME Adjusting the delay time for the pulse trigger. 1 ms 0.0 ms ... 100.0
ms
Laser pulses started via the input signals REAL-
Increment: 0.1 ms
TIME_START and EXTERNAL_FREQUENCY are
triggered delayed by the adjusted time.
RTI_EXTERNAL_ Monitoring the input signal EXTERNAL_FRE-
FREQUENCY_NO_ QUENCY outside of the active output signal
READY_TO_PULSE LaserReadyToPulse.
0 = No monitoring message.
1 = Monitoring message.

18-22-91-A2-BA02 2017-08 Real-time interface 69


Variable Function Stand- Values
ard
RTI_EXTERNAL_ Monitoring the input signal EXTERNAL_FRE- 0 0, 1
FREQUENCY_WITHOUT_ QUENCY for trigger pulses outside of the
FG_IS_ON active output signal PROG_ACTIVE.
0 = No monitoring message
1 = Monitoring message
RTI_LEVEL_SETTING Adjusting the active signal level of the real- 1 0, 1
time interface.
The active signal level is valid for all input and
output signals of the real-time interface X (1 ≤ X ≤
3) if the respective system parameter
RTI_LEVEL_SETTING_X = 0 or if system parame-
ter RTI_LEVEL_SETTING_X is not available.
0 = Signal level low active.
1 = Signal level high active.
RTI_LEVEL_SETTING_1 Adjusting the active signal level of the real- 1 0, 1
time interface X (1 ≤ X ≤ 3).
RTI_LEVEL_SETTING_2
The active signal level is valid for the input and
RTI_LEVEL_SETTING_3 output signals of the real-time interface X.
0 = Parameter RTI_LEVEL_SETTING is used for
the real-time interface X.
1 = Signal level for all signals of the real-time
interface X is high active.
2 = Signal level for all signals of the real-time
interface X is low active.
3 = Only signal level for PULSE_INTERLOCK sig-
nal is low active.
RTI_MAXTIME_PULSE_ Setting the time for the active output signal 100 ms 1 ms ... 500 ms
COMPLETED PULSE_COMPLETED. Increment: 1 ms
If the set pulses are triggered, the output signal
PULSE_COMPLETED for the defined time will be
activated.
RTI_PLCVIEW_ACTIVE Recording the real-time signals with PLCView 0 0, 1
activated.
If RTI_PLCVIEW_ACTIVE = 1, the real-time sig-
nals are recorded with PLCView.
If RTI_PLCVIEW_ACTIVE = 0, the recording of
the real-time signals with PLCView is deactivated.
Exception:
If RTI_PLCVIEW_ACTIVE = 0 and
RTI_PULSE_INTERLOCK_MODUS = 4, the
POWER_GATE signals are recorded.

70 Real-time interface 2017-08 18-22-91-A2-BA02


Variable Function Stand- Values
ard
RTI_PULSE_INTERLOCK_ Setting the mode for the pulse locking. 1 1 ... 4
MODUS
1 = The pulse locking is deactivated.
2 = The pulse triggering is interrupted, a started
laser pulse is still finished.
3 = The pulse triggering is interrupted, a started
laser pulse is interrupted.
4 = POWER_GATE: The laser beam is sup-
pressed if the signal PULSE_INTERLOCK is
active.
5 = POWER_GATE via field bus: The laser beam
is suppressed if the signal is active on bit 14.2 (bit
2, input word 14). Available for CW lasers only.
RTI_REALTIME_START_ Monitoring the input signal REALTIME_START 0 0, 1
WITHOUT_WRS_LINE for trigger pulses without programmed WRS
function in the laser program line.
0 = No monitoring message
1 = Monitoring message
RTI_REALTIME_START_ Monitoring the input signal REALTIME_START 0 0, 1
WITHOUT_FG_IS_ON for trigger pulses outside of the active output
signal PROG_ACTIVE.
0 = No monitoring message
1 = Monitoring message
Tab. 57

18-22-91-A2-BA02 2017-08 Real-time interface 71


Assigning Real-time interface to an MPI
interface

Note
Real-time interfaces can be assigned to an MPI slot only if no
parallel I/O interface of the central processor (CPX) is config-
ured.
The real-time interfaces can be assigned to several MPI slots.
The realtime interface 3 is assigned fixed to the parallel I/O inter-
face of the central processor (CPX).

Assigning a real-time interface to an MPI interface:

User level ≥ 60
1. Select the main activity Setup.

2. Multi PLC interface (MPI).

3. Select the desired slot.


The selected slot is highlighted in yellow.
4. Select Edit.
The PLC interface editor dialog is displayed.

5. Select real-time interface parameter.


The parameter is highlighted in yellow.
6. Select Change properties.

7. Select real-time interface number.

8. Select Close.

9. Select Close.
The dialog for applying the changes is displayed.

10. Select Save.


The real-time interface is assigned to the MPI interface.

Tab. 58

72 Real-time interface 2017-08 18-22-91-A2-BA02


4.5 Testing options

Multi SPS-interface (MPI), overview

Dialog Multi PLC Interface (MPI), overview Fig. 23

Open the dialog Multi PLC Interface (MPI), overview:

User level ≥ 0
1. Select the main activity Production.

2. Select MPI PLC interface (MPI), overview.


The Multi PLC interface (MPI), overview dialog box is
displayed. The statuses of important signals, the pulse
energy, the average laser power and the utilization of
the laser device are displayed for each assigned
machining station (slot).
Tab. 59

When selecting a slot, buttons are displayed in the context bar


which enable activation of further functions. Depending on the
configuration the following buttons are available:
■ Simulation
■ I/O signals.
■ Real time interface
■ Manual focusing optics (option)
Further information can be found in the TruControl 1000 soft-
ware manual, document no. 10-06-80-A1-CR.

18-22-91-A2-BA02 2017-08 Real-time interface 73


Real-time interface status information

Fig. 24

User level ≥ 0
1. Select the main activity Production.

2. Select MPI PLC interface (MPI), overview.

3. Select the desired slot.


4. Select Real time interface.

Tab. 60

The status of the real-time interface can be displayed with every


user level via the >Production >Multi PLC Interface (MPI), over-
view dialog for every allocated MPI interface. Select the desired
MPI interface in the >Multi PLC Interface (MPI), overview dialog
and then >Real-time interface.

74 Real-time interface 2017-08 18-22-91-A2-BA02


5. Sync I/O interface

The Sync I/O interface with 6 query inputs and 6 set outputs is
assigned to the digital input and output channel 1
(D IN BLOCK1, D OUT BLOCK1).

5.1 Pin assignment of the Sync I/O


interface

Inputs of the Sync I/O interface, channel D IN BLOCK1


Pin Signal name Functions
0 INQUIRY_INPUT_A Query inputs A ... F
1 INQUIRY_INPUT_B
2 INQUIRY_INPUT_C
3 INQUIRY_INPUT_D
4 INQUIRY_INPUT_E
5 INQUIRY_INPUT_F
6 - Reserved
7
GND GND Reference voltage
Inputs of the Sync I/O interface Tab. 61

Figures for connector CPX V3: (see "Fig. 2", pg. 4), CPX V4
Standard: (see "Fig. 9", pg. 7)

Outputs of the Sync I/O interface, channel D OUT BLOCK1


Pin Signal name Functions
0 SET_OUTPUT_A Set outputs A... F
1 SET_OUTPUT_B
2 SET_OUTPUT_C
3 SET_OUTPUT_D
4 SET_OUTPUT_E
5 SET_OUTPUT_F
6 - Reserved
7
GND GND Reference voltage
VCC VCC External power supply
Outputs of the Sync I/O interface Tab. 62

Figures for connector CPX V3: (see "Fig. 5", pg. 5), CPX V4
Standard: (see "Fig. 10", pg. 7)

18-22-91-A2-BA02 2017-08 Sync I/O interface 75


5.2 Signal descriptions of the Sync I/O
interface

Input signals

INQUIRY_INPUT_A ... _F

Functions Query inputs A ... F


Active signal With the 6 input signals, "INQUIRY_INPUT_A ... INQUIRY_INPUT_F". the running of a laser
program can be synchronized with external sequences.
Information If a line of the laser program contains a query instruction (WxH or WxL), this line is not exe-
cuted until the respective inquiry input acquires the required status "high" or "low".
x = A ... F
Example Command WAH:
The laser program is continued as soon as the query input A acquires the status "high".
Tab. 63

Output signals

SET_OUTPUT_A ... _F

Functions Set outputs A ... F


Active signal The 6 output signals "SET_OUTPUT_A ... SET_OUTPUT_F" can be used to synchronize
external processes with the sequence of the laser program.
Information The states of the output signals in laser programs can be set to the output level "high" or
"low" by means of commands (SxH or SxL).

If an output signal is set to the "high" level by the laser program, this output level remains
active until:
■ a laser program is started again.
■ a cancelled laser program is reset with the "Reset" button.
■ the output level is set to "low" by means of a command SxL in the laser program.
x = A ... F
Note:
The output signals "SET_OUTPUT_A ... SET_OUTPUT_F" can be used to monitor the
sequence of a laser program.
Example The SAH command in the laser program sets the output signal "SET_OUTPUT_A" to the
output level "high".
The SAL command in the laser program sets the output signal "SET_OUTPUT_A" to the
output level "low".
Tab. 64

76 Sync I/O interface 2017-08 18-22-91-A2-BA02


5.3 Using the Sync I/O interface

Query inputs and set outputs of the Sync I/O interface can be
used in laser programs if the Sync I/O interface is selected.
The input signals of the 6 query inputs of the CPX can be used
to synchronize the running of a laser program to external
sequences.
With the output signals of the 6 set outputs of the CPX, external
sequences can be synchronized with the laser program run.

The column "Function" of a program can be used to define:


■ which query input is used and which signal level must be
applied for the program line to be run.
■ which set output is used and at what signal level the set out-
put is set when the program line is run.

Example of a laser program

Fig. 25

The laser program shown above consists of 3 program lines:


■ Program line 1: After the program start, the set output A is
set to the signal level "high" according to the function "SAH"
and the program line is run.
■ Program line 2: The program line is only run if a high level
is applied at query input B according to the function "WBH".
■ Program line 3: The set output A is set to the signal level
"low" according to the "SAL" function and the program line is
run.

18-22-91-A2-BA02 2017-08 Sync I/O interface 77


5.4 Selecting the Sync I/O interface

Fig. 26

Note
The Synch I/O interface can only be activated if neither the par-
allel I/O interface of the central processor (CPX) is assigned to
an MPI slot nor a real-time interface is assigned to an MPI slot.
A Sync I/O interface can also not be combined with a decentral-
ized I/O interface. Synchronized I/O or decentralized I/O (for
OPC master) is alternatively selected.

User level ≥ 60
1. Select the main activity Setup.

2. Select MPI PLC interface.

3. Select Change properties.

4. Enable the Sync I/O option.


5. Select Apply.

Tab. 65

78 Sync I/O interface 2017-08 18-22-91-A2-BA02


5.5 Testing options

Diagnosis Sync I/O interface

Diagnostics Sync-I/O, CPX V3 Fig. 27

Diagnostics Sync-I/O, CPX V4 Fig. 28

User level ≥ 0
1. Select the main activity Diagnostics.

2. Select TruControl laser control (CPX).

3. Select the connector of the input and output channel 1


(CPX V3: X19 D OUT BLOCK 1 or X22 D IN BLOCK1,
CPX V4 standard: X31 D IN/OUT BLOCK1).
The overview showing the set outputs and query inputs
of the Sync I/O interface is displayed.
Tab. 66

18-22-91-A2-BA02 2017-08 Sync I/O interface 79


6. Decentralized I/O interface

CPX

TruControl 1000

D IN D OUT
X.. X..
D IN D OUT

OPC

External Control

TE-02414
D IN: digital inputs X.. Connector to the CPX
D OUT: digital outputs
Decentralized I/O interface, operating principle Fig. 29

The decentralized I/O interface makes the digital I/O signals (D


IN and D OUT) of the central processor (CPX) available to an
external control via the OPC.
The TruControl 1000 laser control can neither read inputs nor set
outputs when this is the case.

80 Decentralized I/O interface 2017-08 18-22-91-A2-BA02


The following figure shows the digital inputs and outputs of the
decentralized I/O interface of the CPX in the OPC master.

D IN BLOCK1
D IN BLOCK2
D IN BLOCK3

D OUT BLOCK1
D OUT BLOCK2

TE-02415
D OUT BLOCK3

Digital inputs and outputs of the decentralized I/O interface Fig. 30


of the CPX in the OPC master

The decentralized I/O interface is used with the TruMark Station


5000 and TruMicro Mark 2000, for example.

For further information on OPC:


■ Interface description OPC UA for CPX, document no.
09-14-11-A5-BA.
■ Programming manual OPC Unified Architecture for CPX,
document no. 09-14-11-A4-CP

18-22-91-A2-BA02 2017-08 Decentralized I/O interface 81


6.1 Selecting the decentralized I/O
interface

Fig. 31

Note
The decentralized I/O interface (for OPC master) can only be
activated if neither the parallel I/O interface of the central pro-
cessor (CPX) is allocated to an MPI slot nor a real-time interface
assigned to an MPI slot. A decentralized I/O interface can also
not be combined with a synchronized I/O interface. Synchronized
I/O or decentralized I/O (for OPC master) is alternatively
selected.

User level ≥ 60
1. Select the main activity Setup.

2. Select MPI PLC interface.

3. Select Change properties.

4. Activate the decentralized I/O option (for OPC master).


5. Select Apply.

Tab. 67

82 Decentralized I/O interface 2017-08 18-22-91-A2-BA02


6.2 Testing options

Decentralized I/O interface diagnostics

Decentralized I/O interface diagnostics, channel 1, CPX V3 Fig. 32

User level ≥ 0
1. Select the main activity Diagnostics.

2. Select TruControl laser control (CPX).

3. Select the connector for the desired channel.


The overview of the inputs and outputs of the selected
channel of the decentralized I/O interface is displayed.
Tab. 68

18-22-91-A2-BA02 2017-08 Decentralized I/O interface 83


7. Terms and abbreviations

ASV assembly Assembly Arbeits- und Sicherheits-Verschluss (operating and


safety shutter)
Each safety circuit is connected to an ASV assembly located in
the control unit of the laser device. The ASV assembly controls
the laser in a way which prevents emission of laser light when
the safety circuit is open.
The shutter switch (VW) of a light path is connected to the
safety circuit (SIK) of this light path by means of an ASV assem-
bly. The central shutter (VZ) is connected via ASV assembly to
the safety circuit (SIK) for all light paths.

CPX Central Processor Extendable,


German: Erweiterbarer Zentralrechner
The CPX is the central unit in the laser control unit of the last
generation. Both the TruControl 1000 operating software and the
plug-in control unit software of the central processor run under
the Linux operating system on the CPX.

D IN BLOCK Digital INput BLOCK,


German: Digitaler Eingangskanal
Input channel with 8 digital inputs.

D OUT BLOCK Digital OUTput BLOCK,


German: Digitaler Ausgangskanal
Output channel with 8 digital outputs.

high-active ■ If a high-level voltage is present at the input or output, then


the bit value of the signal is "1".
■ If a low-level voltage is present at the input or output, then
the bit value of the signal is "0".
The required voltage values for high and low levels are descri-
bed in the Technical Data section .

I/O Input / Output,


German: Ein-/Ausgangs-Schnittstelle
I/O interface for external control of the laser device via digital
input and output signals

LEZ Lasereinsatzzeit (laser delay time)


The delay in time from the activation of the PSTART_DYN or
PSTART_STATICAL input signal to the delivery of the laser
power at the processing point is called laser delay time (LEZ).

84 Terms and abbreviations 2017-08 18-22-91-A2-BA02


low-active ■ If a high-level voltage is present at the input or output, then
the bit value of the signal is "0".
■ If a low-level voltage is present at the input or output, then
the bit value of the signal is "1".
The required voltage values for high and low levels are descri-
bed in the Technical Data section .

MPI Multi-PLC-Interface
PLC stands for "programmable logical control".
The Multi PLC Interface is a system component of the TRUMPF
LaserNetwork (TLN). It is a software interface of the laser control
system which allows different (max. 32) control units of machin-
ing station to request the laser power. The control units are con-
nected to the laser device via fieldbus cables.

MPI interface An MPI interface is a virtual slot for the connection of one exter-
nal control.

OLE Object Linking and Embedding


English: Linking and embedding objects

OPC OLE for Process Control


English: OLE for process control and monitoring

PCU Power Calibration Unit


The Power Calibration Unit is used for measuring the laser
power at the workpiece, see Operator's manual CalibrationLine –
Focus Calibration Program & Power Calibration Program, doc.
no.: 07-12-12-A8-CR.

PLCView >PlcView is a secondary activity in the main activity >Diagnosis.


In the secondary activity >PlcView, the input and output data of
the 32 possible connections of the laser device to the external
controls (MPI slots) are displayed and recorded.

Slot A slot within the Multi PLC Interface (MPI) is a virtual slot for
connection of an external control unit.

PLC Speicherprogrammierbare Steuerung


English: PLC
Programmable Logic Control

18-22-91-A2-BA02 2017-08 Terms and abbreviations 85


VW Verschlussweiche; english: shutter switch
The shutter switch is used to block the laser beam emission or
enable it for individual light paths. If the shutter switch is locked,
the laser beam is guided into the absorber of the shutter switch.
The shutter switch of a light path is connected to the safety cir-
cuit (SIK) of this light path by means of an ASV assembly.

PMS Central shutter


The central shutter is used to block the laser beam emission or
enable it for all light paths. If the central shutter is locked, the
laser beam is guided into the absorber of the central shutter.
The central shutter is connected to the safety circuit (SIK) by
means of an ASV assembly.

WRS Wait Realtime Start,


German: Warten auf Echtzeit-Start
The function WRS is used to trigger laser pulses in a laser pro-
gram by means of the signal REALTIME_START.

86 Terms and abbreviations 2017-08 18-22-91-A2-BA02

You might also like