Вы находитесь на странице: 1из 23
DECKEL DIALOG 4. Serial Interface for Data Input/Output Edition 4,86-/511/874 E CONTENTS: ae 3. V.24 interface General information Interchange circuits Polarity and signal level allocation Connection of peripheral equipment to CNC DIALOG control via V.24 interface 20 mA interface General information Interchange circuits Signal characteristics Connection of peripheral equipment to CNC DIALOG control via 20 mA interface Cassette recorder interface 3.1 General information +2 Interchange circuits 3.3 Signal characteristics 3.4 Connection of peripheral equipment to CNC DIALOG control via cassette recorder interface RS_485 interface 4.1 General information 4,2 Interchange circuits 4.3. Signal characteristics 4.4 Connection to CNC DIALOG control via RS 485 interface Pin assignment complies with the DIN 66020 standard, with the CNC DIALOG con- trol designated as a data terminal unit. Transmit data Receive data Rovest to send DIALOG 4 Clear to send Signal ground V.24 interchange circuits (Fig. 2) Which of the available control and status signal circuits are used depends on the peripheral equipment. If the status signal circuit (CTS) is not connected, it will be switched to "on" by internal pull-up resistors. 5. Quick-reference information on interfaces 5.1 Pin assignment for serial interface 5.2 Signal identification 5.3 Structural layout of serial signal transmission Program format 6.1 Permissible ASCII codes 6.2 Punched tape format 6.3 Memory load and checksum 6.4 Word structure Selection of interface and baud rate aa V.24 interface 1 General information The V.24 interface of the CNC DIALOG control employs V.24 receivers and v.24 transmitters which comply with the DIN 66020 standard. The DIN 66020 specification defines the inter- face connecting data terminal equipment (DTE) with data communications equipment (DCE). It is based on recommendations v.24 and V.28 issued by the CCITT (Comite Consultativ International Telegraphique et Telephonique), which, in turn, are derived from the U.S, EIA RS232 standard. The interface employed in the CNC DIALOG control represents a combination of all standard v.24 and/or RS232 signals and thus complies with their electrical characteristics. Interchange circuits All of the interface signals described in the following refer to the CNC DIALOG control sys- tem, which is defined as data terminal equipment (DTE). Ground circuits: E Signal ground (102) This is the common return for all inter- change circuits. 1.3. Polarity and signal level allocation -nv4 5 Data circuits Control circuits All signal levels are based on signal ground £2 (102). The signal level is not defined in the transition region (+3V to -3V). Receive data ‘Transmit data Clear to send Request to send Signal ground Fig. 4 Which of the available control and status signal circuits are used depends on the peripheral equipment. If the status signal circuit (CTS) is not connected, it will be switched to "oN" by internal pull-up resistors, 2 20_mA interface 2.1 General information This interface is not standardized. Due to its widespread use, however, it has become virtually a working standard (TTY = eleTYpe interface). On the CNC DIALOG 4, it is available only on the universal interface I. Interchange circuits All of the interface signals described below refer to the CNC DIALOG control system. The 20 mA interface on the CNC DIALOG 4 is active, i.e. it supplies the 20 mA current loop. Data circuits: Txt: Transmitted data + Tx- : Transmitted data - The current loop of the transmitted signal is carried through these two circuits. 2.4 Connection of peripheral equipment to CNC DIALOG control via 20 mA interface A 25-pin female connector (subminiature DB25S) is located on the bottom panel of the CNC Dialog 4 control unit. Connector Fig. 5 The connector pin assignment is shown in Fig. 6. Transmit data Receive data Fig. 6 3. Cassette recorder interface 3a General information The cassette recorder interface operates in accordance with the so-called "Kansas City" standard, in which the transmitted signal is modulated and/or the received signal demodu- lated. Interchange circuits Ground circuits: Signal grouna This circuit is the common return for send and receive signal. Data circuits: Tx: Transmitted data Modulated data are carried from the CNC DIALOG control to the cassette recorder though this circuit. Rx: Received data Modulated data are transferred from the cassette recorder to the CNC DIALOG control though this circuit. Connection of peripheral equipment to CNC DIALOG control via cassette recorder interface A 3-conductor jack is provided for this inter- face on the bottom panel of the CNC DIALOG 4 control system. Jack Fig. 7 4 RS485 interface at 4.2 General information This interface of the CNC DIALOG control system employs a driver and receiver module whose elec- trical characteristics conform to the U.S. EIA standard. hes drivers permit the development of a linear data network (bus system) with up to 32 devices. Symmetrical transfer provides for increased reliability of data links. Interchange circuits Data circuit: A, Bi The send and receive signal is carried via this paired circuit in the form of differential voltage. Signal level Signal level aldecation 4,4 Connection to CNC DIALOG control via RS4@5 interface Connection to the CNC DIALOG 4 is made via the universal interface I (optional). This addition- al jack connector (subminiature DB25S) is lo- cated on the bottom panel. Connector Universal interface IT Pin assignment is shown in Fig. 10. Differential send Fig. 10 and receive circuits Dialog 4 5. Quick-reference information on interfaces 5.1 Pin assignment for serial interfaces 5.1.1 V.24 interface a) Universal interface I (DTE assignment) Transmit data Receive data Request to send DIALOG 4& Clear to send Signal ground b) Universal interface II (DCE assignment) Receive data Transmit data Clear to send Request to send Signal ground 5.1.4 25 Dialog 4 RS485 interface (universal interface II only) Differential send and receive circuits 5.2 Signal identification ™ RD RTS crs sc Tk Tx. RXe RX- ™ RX sc ‘Transmit data Receive data Request to send Clear to sen@ Signal ground Transmit date + Transmit data - Receive data + Receive data ~ Transmit data Receive data Signal ground Send and receive differential circuits v.24 v.24 Vi24 v.24 v.24 20mA 20ma, 20ma 20ma Cassette recorder Cassette recorder Cassette recorder RS 485 RS 485 5.3.2 Cassette recorder interface format Transmit format: 5319 dogs 2 pia (0st) 499 Aaraeg = 5 wy wn 5979 exp 2 ~ Pe ™ ai § N 3 a ol = —____ 3 379 yams, al ao 3 eae a Hi L | 39 dogs 1 S379 op g ara ae 1 Program format 6.1 Permissible ASCII codes + Permissible code x Permitted in tape leader and trailer only ASCII input ASCII inout: [| ascrr input ASCII input | we coe} rex came | [rex coe | [vex cove +0 0 NUL | f4z0 o o a if ol” SoM a 1’ ta A a . a sm fla «||xe » fle » os OETK as . +e e Ag - om por ile os plea ov lla « w% motes « |fxe file nee file a fee or [fe + oom ils - flee co ile ¢ 3 as [xze t Kas a ee 2 % a [x29 d t+ t @ i gon ou lene lear [low 8 vw ftze + +a x 6B » weom iic . lee 2 fle 2 to x Ht - i]t ow [low woe dhe I ffee eff f o os tke 7 Hlxe o fle 6 wot liso 0 Hx s oe || > noc tn 1 Iixs eo f/m ¢ woe [lie 2 P+ on bine WS bes Hh less in + ss s s . Mo ee Hse 4 tu hi ” ' wom dhs 6 lass ou flay wom dhe 6 lx ov dines pore Hie 2 lee wll « woe Tie 8 fee ox fia wom thas 6 Hla oy fly m8 Hl sm ta oe dla oe wom dis ; so df= ot wom ils < x 4 fife 4 wos ii/m> © i ffm | wos fle > e+ fife wows dha sw oon Line feed Last block number Space M function Line feed Line feed N9999 m2 1st subroutine number wt Space Milling cycle Space Line feed 3rd subroutine number Space M function Line feed End of program Line feed Checksum (hex) Line feed Line feed Trailer (63) Explanatory notes: Leader Consists of 50 ASCII on NAS 430 5E3D codes "NUL", CR LF NUL NUL SP CR LF NUL NUL CR LF NUL NUL SP SP CR LF NUL NUL, SP CR LP NUL NUL CR LF NUL NUL CR LP NUL NUL CR LF NUL NUL NUL 6.3 Trailer Consists of 63 ASCII codes "NUL". ASCII codes "NUL" "CR" "LF" "SP" serve only to make the printout more legible and are ignored by the control system. The cassette format differs from the this punched tape format only in that the former uses a different LEADER. The cassette leader has 50 ASCII codes “U" Memory load and checksum Sample program: (@K1/000058" EXAMPLE) NI GO XO Yo Z100 NZ TL Na GO 20 DI NC_progren N4 Gi X100 Y50 FSo0 S+o NS M30) B48 Memory load : dec 88 (hex 000058) Checksum: dec 2891 (hex OB45) | | 6.4 Word structure (metric) $06, $06*03, NOG, N*06, GO2, XL+043, ¥L+043, 2L+043, CL+043, D+02, D043, JD043, KDO43, FO4, S+04, MO2, TO2, LO2, ADO43, WL+043 Key 1st letter 2nd letter 2nd letter Prefix sign ist numeral 2nd numeral 2nd and 3rd numeral address L D decades decades Absolute/incremental Incremental Absolute dimensions with positive or negative prefix. Leading zeros may be omitted: variable word length. Number of digits Number of digits before and after decimal point. (coordinate values x, ¥,2,T,5,K in mm) Selection of interface and baud rate You can select the desired type of interface and the baud rate for both universal interfaces from an on-screen menu in operating mode 14. Please refer to your Operator's Manual for further details. Suppliers. 3-conductor plug, type PI 068: available from the firm Biirklin, Munich and Diisseldorf.

Вам также может понравиться