SINUMERIK 8052
SINUMERIK 810 T / 810 TE (GA 1)2
SINUMERIK 810 M / 810 ME (GA 1)2
SINUMERIK 810 G1
SINUMERIK 810 T / 810 TE (GA 2)2
SINUMERIK 810 M / 810 ME (GA 2)2
SINUMERIK 820 T/ TE2
SINUMERIK 820 M/ ME2
SINUMERIK 810 T / 810 TE (GA 3)1
SINUMERIK 810 M / 810 ME (GA 3)1
SINUMERIK 820 T/ TE (GA 3)1
SINUMERIK 820 M/ ME (GA 3)1
SINUMERIK 840T1
SINUMERIK 840M1
SINUMERIK 840C5
SINUMERIK 850 T/ TE4
SINUMERIK 850 M/ ME4
SINUMERIK 880 T/ TE5
SINUMERIK 880 M/ ME5
SINUMERIK 880 N4
December 1995 Edition
SINUMERIK® documentation
Printing history
Brief details of this edition and previous editions are listed below.
The status of each edition is shown by the code in the ”Remarks” column.
Status code in
”Remarks”
column
:
A . . . .New documentationB . . Unrevised reprint with new Order No.
C . . . .Revised edition with new status. If factual changes have been made on the page since
the last edition, this is indicated by a new edition coding in the header on that page.
EditionOrder No.Remarks
10.86E80210-T77-X-A3Revised edition
10.886ZB5 410-0AQ02-0BA0C
07.906ZB5 410-0AQ02-0BA1C
07.906ZB5 410-0AQ02-0BA2C
03.916ZB5 410-0AQ02-0AA3C
12.956ZB5 410-0AQ02-0AA4C
Other functions not described in this documentation might be
executable in the control. This does not, however, represent an
obligation to supply such functions with a new control or when
servicing.
This publication was produced on the Siemens 5800 Office
System.
Subject to change without prior notice.
The reproduction, transmission or use of this document or its
contents is not permitted without express written authority.
Offenders will be liable for damages. All rights, including rights
created by patent grant or registration of a utility model or
design, are reserved.
Siemens AG 1986, 1988, 1990, 1991, 1995 All Rights Reserved
Preface
Notes for the reader
This documentation is intended for manufacturers of machine tools with the SINUMERIK
System 800.
It describes data exchange with input/output devices (e.g. tape reader, tape punch,
programmer, printer, magnetic tape unit, etc).
The SINUMERIK documentation is divided into three parts:
•General Documentation
•User Documentation
•Manufacturer Documentation
•Service Documentation
The manufacturer documentation for the SINUMERIK System 800 controller is divided into
the following parts:
•
Instruction Manual
•
Interface
Part 1: Signals
Part 2: Cables and Devices
•PLC Programming Guide
•Function Blocks
•Universal Interface
•Measuring Cycles
•CL - 800 Description
You can obtain more detailed information from your Siemens representative.
The V.24 interfaces of the SINUMERIK System 800 contain V.24 receivers and V.24 senders,
conforming to DIN 66020.
DIN 66020 defines the interface between a DTE (data terminal equipment) and a DCE (data
circuit terminating equipment). It is based on recommendations V.24 and V.28 of the CCITT,
which were derived from the American EIA Standard RS 232.
The interfaces also conform to VDI guideline 2880, which specifies process and data traffic of
programmable controllers.
The interface signals used in SINUMERIK System 800 are a subset of V.24 or RS 232
standard signals and therefore possess the same electrical characteristics.
1.2V.24 (RS232C) interface lines
In terms of the DIN standard, SINUMERIK is regarded as a DTE (data terminal equipment).
SINUMERIK–DTE
Transmission line–DCE
I/O devices–DTE
The abbreviations E1, E2, D1, D2, S1.2, S2, M1, M2 refer to DIN 66020, the abbreviations 101
to 108.2 refer to CCITT (V.24).
Ground lines
E1:Protective Ground
(101)
E2:Signal Ground
(102)
This is the common return cable for all interface lines
(except E1).
1.3 Polarity and voltage level assignment of V.24 interface signals
1.3Polarity and voltage level assignment of V.24 interface signals
Data linesV
+15 V
+12 V
Logical ''L''
+3 V
0 V
–3 V
Logical ''H''
–12 V
–15 V
t
Control linesV
+15 V
+12 V
''On'' state
+3 V
0 V
–3 V
t
''Off'' state
–12 V
–15 V
Signal level of SINUMERIK interfaces: ±12 V
All signal levels refer to the signal ground E2 (102).
Within the transition range (+3 to –3 V) the signal state is undefined.
(Hysteresis range of the receiver circuits 75189 A)
In all signal names and directions, the SINUMERIK is taken to be a DTE.
Which of the available control and message lines are used will depend on the I/O device. In
the simplest case, lines E2 and D1 suffice for a receiving device (printer, punch) or E2 and D2
for a sending device (reader). The specification of an I/O device determines how it is
connected.
In the interface link diagram, a device is assumed to comply with the RS232C standard. The
interfaces conform to VDI guideline 2880 with SINUMERIK as a DTE. If it is linked to an I/O
device which is also wired as a DTE, the appropriate lines must be crossed in the cable
(sender with receiver).
Some of the interfaces contain both the V.24 signals and the signals for 20 mA current loop
operation. A V.24 sender and a 20 mA sender may not be connected to a SINUMERIK interface at the same time.
As pins 10, 12, 13, 14, 16, 19, 21 and 24 are permanently reserved for
the 20 mA interface at the SINUMERIK end, it is important to make sure
that they are not connected to the I/O device in V.24 mode.
The interface is not set to V.24 or 20 mA operation by jumpers but by the pin assignments in
the cable plug.
1.6Length of the transmission line
The maximum cable length for V.24 transmission is 30 m.
The 20 mA interface is configured to VDI guideline 2880 as a duplex interface with two pairs of
lines. At the SINUMERIK end it can be operated as an active or passive interface with the
available sources of current by changing the pin assignments in the cable connector. This
interface is also often referred to as a TTY interface.
The following is equivalent in V.24 and 20 mA interfaces (except the signal level):
20 mA
SignalV.24
+–
Transmitted data
Received data
In the signal designations, the SINUMERIK is taken to be a DTE.
D1
D2
TTY2
TTY4
TTY1
TTY3
2.220 mA signal level
In the 20 mA interface, unlike the V.24 interface, information is not transmitted by the voltage
level but by impressed current.
Logical ”L”:I=0
Logical ”H”:I=20 mA
Level 1 Signal20 mA±30 %
(max. open-circuit voltage
30 V)
0 signal0 mA to 2 mA
Voltage for current loop source at
SINUMERIK =12 V
In all signal names and directions, the SINUMERIK is taken to be a DTE.
The specification of the I/O device determines how it is connected.
In the interface link diagram, the I/O device is assumed to comply with the VDI 2880
specification.
2.4Length of the transmission line
The maximum cable length for the 20 mA current loop interface is 1 km.
The function of the signals in the RS 422 interface is identical to those of the V.24 interface.
However, instead of the V.24 signal level, transmission is via two-wire cables using differential
drivers and receivers.
The RS 422 interface combines the advantages of the V.24 interface (modem capability by
control signals) with those of the 20 mA interface (large transmission distances).
The following signals are the same for the V.24 interface and the RS 422 interface (except
signal level):
Data signals
SignalV.24RS 422
Transmitted data
Receive data
Control signals
SignalV.24RS 422
Data terminal ready
Request to send
Data set ready
Clear to send
In all signal names and directions, the SINUMERIK is taken to be a DTE.
Which of the control and message lines are used will depend on the I/O device. The speci-
fication I/O device peripheral unit determines how it is connected.
In the interface link diagram, a device is assumed to comply with the SINUMERIK specifica-
tion. The RS 422 interface is on a special connector.
3.5Length of the transmission line
The maximum cable length for RS 422 transmission is 1 km.
3.6Level conversion from V.24 to RS 422
With the SINUMERIK System 800 the V.24 level of the V.24 interfaces can be converted into a
RS 422 level with a special cable. The converter electronics are integrated into the specific
SINUMERIK cable connector (housing of fibre glass conductor).
The adjustable interfaces are listed in Section 7.1 corresponding to the controls.
CTSClear to Send
DSRData Set Ready
DTRData Terminal Ready
MEXTExternal Ground
RTSRequest to Send
RxDReceive Data V.24
R20mA Receive Source 20 mA
TxDTransmit Data V.24
TTY1Teletype (– 20 mA) Transmit Data
TTY2Teletype (+20 mA) Transmit Data
TTY3Teletype (– 20 mA) Receive Data
TTY4Teletype (+20 mA) Receive Data
T20mA Transmit Source 20 mA
0V(R)0V – Receive 20 mA
0V(T)0V – Transmit 20 mA
4.3Format of a serially transmitted character
T x D
R x D
Quiescent
state
Start
element
21
Data bits
687543
Stop
elements
Parity
bit (optional)
In the SINUMERIK universal interface the 8th bit of a character, which is normally the parity
bit, is designated as 8th data bit.
The parity bit is an optional 9th bit added to an ASCII character on even, and to an EIA
character on odd bit combinations. The 8th bit is always part of the data.
An additional parity bit (9th. bit) may be generated via setting data if desired for adaptation to
certain I/O devices.
Peripheral devices are subdivided according to the type of data transmission:
•Line-controlled devices:
–Control via the control lines DSR, DTR, CTS, RTS
•Uncontrolled devices:
–Asynchronous transmission without control
•Character-controlled devices:
–Control using control characters on the data lines
Each interface and data direction is defined at the SINUMERIK end for the I/O device using
setting data (see selection tables). The control lines are activated by connecting them.
On startup the default values of the machine data and setting data adapt the interface to the
Siemens PT 80 page printer (universal device).
SINUMERIK System 800 has one set of 8 bytes per interface for adapting the I/O devices. The
input and output directions are set separately.
The setting of the EIA code for special characters ”@”, ”:”, ”=”, ”[”, ”]” and ”,” and the
definition for the character ”End of transmission” is entered in 7 additional bytes for two
interfaces.