Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 6 of 7

Technical Description CLX200 Network Controller, pages 51 to 60

Pages 51 to 60 of 68

The original document is the PDF (4.0 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Sick CLX200

Page 51 read from a scan by OCR; it may hold reading errors

Issue: 28/06/93 Technical Description "Network Controller CLX 200"

14.2. Connection diagram for SICK network

Nai (82

= a 2 : <|? > Zi im wm ey < Vuela a rasp qt & SI yyy A | te = | | | iti tl, wey | la | Wk aNd +u/+1 tr S&S §s +U/+1 ee ‘dr

TST TTT

A un Sy" [fd] oo ao + S Olle = I~ M7 Oe “ +15 << we O]FE mM [7 [! & & 1 . T | I £ hy ty K, - sgt : aria ZAR [BO 87 > x . { QO __ la to/4+1 = | | I | 5 f P= ~ wal Fy} | dt $ i +d/+h ow b \ wip SS} ue u 2 n 7) 2 range I DBSEESR 1 - mn, ~ - -Wt - ---- re) CMAN a Lil Aaa rete pte hq 2 |e Ho o 8 <|* Ge-ablica « « | 8 ole}. = Le 2 GFE m 7 aos ne | CL . ee a ; | | . > > ° agg bs l 3 a . ri ee {4 +e/+L ' s > yy. oO Cpe ~~ | ONY | = 8 a +utt] 4 = uri] Co

Fig, 10, Electrical conncetions via AMV/ AMS Connection Moduls

Erwin Sick GmbH, Optik-Elektronik, Material Handling Automation, Nimburger Strage 11, D-79276 Reute Page 51

Page 52 read from a scan by OCR; it may hold reading errors

Technical Desription "Network Controller CLX 200" Issue: 12/07/94

15. Appendix

Supplements to Technical Description CLX 200

15.1 Software version V 2.00

Based on the software version V 1.02 the CLX 200 contains the following new features:

e Additional output format of host interface: block telegrams e Data strings of host interface: insertion of a check-digit (blockcheck)

1. Output formats of host interface 1.1 Single telegram (SICK standard)

With the single telegram (standard output format), the CLX 200 immediately generates a separate output string for each reading result that it receives from a network station (Fig. 1). The structure of the string for the host interface is defined in the menu ("Protocol - CLX Standard"). Optionally, the parameters between the square brackets may also be used.

START CLV_ID Data [FF] [BCC] STOP with: [FF] = End code (only if SC version is selected, see menu item "Block telegram”) [BCC] = Blockcheck (protocol)

Fig. 1. Standard output format "Single telegram” of host interface

1.2. Block telegram

With block telegram output, the CLX 200 can send several reading results (max. 30) to the host in an output string (Fig. 2). Output is performed when at least one reading result from a network station is available and the defined output interval after output of the last character of the last block telegram has elapsed. The CLX 200 takes the reading results received from the network stations during the output interval into consideration when the following block telegram is output.

With the block telegram, the individual reading results (data blocks) are separated by a separator. The number of characters in the reading data block (LE) is given at the beginning of each reading result. From the entire block telegram, the CLX 200 display shows only the data blocks from a selected code reader without LE and CLV_ID.

START (LE CLV_ID Data SEPARATOR) (LE CLV_ID Data SEPARATOR)... [FF] [BCC] STOP setorsnnnn n= Data block 1 Data block 2 ------------- with: [LE] = Data block length [CLV_ID] = Station identification [FF] = End code (only if SC version of block telegram is selected) [BCC] = Blockcheck (protocol)

Fig. 2, Output format "Block telegram" of host interface

Page 52 Erwin Sick GmbH, Optik-Elektronik, Material Handling Automation, Nimburger StraBe 11, D-79276 Reute

Page 53 read from a scan by OCR; it may hold reading errors

Issue: 12/07/94 Technical Description "Network Controller CLX 200"

With the block telegram, the ACK/NAK protocol can also be used. If the CLX 200 receives an NAK string from the host computer, it repeats all of the data blocks sent since the end of the last block telegram. In addition, it also transmits the other data blocks received from the network stations by polling before output of the repeat telegram.

2. Structure of host interface data string

2.1 Header (START)

Max. 6 characters can be parameterized as the header. At least one character must be selected. Input takes the form of a HEX value (e.g.: STX = 02 hex)

2.2 Terminator (STOP)

Max. 6 characters can be parameterized as the terminator. At least one character must be selected. Input takes the form of a HEX value (e.g.: ETX = 03 hex)

2.3 Station identification (CLV_ID)

The CLX 200 enters the station identification (device number DN of the code reader) in the string in front of the code data in the form of a 2-digit ASCII number. The station identification (underlined in the example) is used to identify the data blocks for all output formats

(e.g: STX Q1 ...ETX for standard output format).

2.4 Data block length (LE)

With the block telegram, the CLX 200 gives the data block length in the form of a 2-digit ASCII number at the beginning of each data block. This number contains all of the characters in the data block (underlined in the example).

eg: STX 09 O01 abcd * ETX Data block lengths greater than 99 characters are output as the number 00. 2.5 Separator

With the block telegram, a separator is used in the string to separate two reading results.

2.6 End code (FF)

If the SC version of the block telegram is used, the end code for both output formats is inserted after the last data block in the form of 2 ASCII "F" characters.

2.7 Protocol blockcheck (BCC)

The CLX 200 gives host data strings to be transmitted a check sum (blockcheck). The check sum is inserted as 2 ASCII characters BCC1 and BCC 2 before the 1st character of the protocol stop character. The CLX 200 checks incoming host data strings to ensure that they have the correct check sum. If the check sum calculated by the CLX 200 does not match the check sum contained in the string, the CLX 200 does not transfer the string to the addreseed code reader.

Exception: The strings of the ACK / NAK protocols are sent and received without BCC!

Erwin Sick GmbH, Optik-Elektronik, Material Handling Automation, Nimburger StraBe 11, D-79276 Reute Page 53

Page 54 read from a scan by OCR; it may hold reading errors

Technical Desription "Network Controller CLX 200" Issue: 12/07/94

Example showing calculation of blockcheck (XOR logic operation):

String: STX 01 123 BCC? BCC2ETX Character Hex value Binary value STX 03 0000 0011

‘0’ 30 0011 0000 ‘q' 31 0011 0001 4" 31 0011 0001 '2' 32 0011 0010 '3' 33 0011 0011 XOR 32 0011 0010 ‘3! 33 > BCC1 2' 32 > BCC2 ETX 03

If the CLX 200 detects an error in this field when the protocol blockcheck is active, an error message is issued at the display (#20. string error).

2.8 SC version

With the SC version, a special host output format is set in the CLX 200:

- after the last data block, the CLX 200 inserts two "F" characters in the string (for all output formats)

- with the block telegram, the number of characters in each data block is increased to an even number by the addition of a separator character (max. 2 separator characters are possible).

- with the block telegram, the data block length is given in word-size units (underlined in the example).

eg: STX 05 01 ab cd ** FF ETX

3. Output control at host interface 3.1 Output interval

The output interval gives the minimum output delay for a series of block telegrams. A new block telegram is not output until the defined time interval after output of the last byte of the last block telegram has elapsed. The CLX 200 continues the polling process during this time and enters the data received from the network stations into the next block telegram to be output.

3.2 Maximum telegram length

The maximum telegram length restricts the string length of the block telegram to values which can still be processed by the connected host computer. If the number of characters entered in the block telegram exceeds the defined maximum telegram length, the CLX 200 interrupts any further entry of reading results into the block telegram. New reading data is not entered into any subsequent block telegram until the restricted block telegram has been output.

Page 54 Erwin Sick GmbH, Optik-Elektronik, Material Handling Automation, Nimburger StraBe 11, D-79276 Reute

Page 55 read from a scan by OCR; it may hold reading errors

Issue: 12/07/94 Technical Description "Network Controller CLX 200"

4. Device Ready (DEV_RDY)

The output "DEV_RDY" is active during network operation. It indicates when the CLX 200 is ready for operation as network controller. In contrast, the output remains inactive throughout parameterization. 5. Number of input buffers

In version V 2.00, the number of buffers for the incoming host data strings in the CLX 200 has been reduced from 16 to 14 buffers.

6. CLX 200 operating and parameterization menu

With version V 2.00, the names of the CLX 200 parameters in the menu (Fig. 3) have been adapted to the names used for the code reader CLV 2xx.

Erwin Sick GmbH, Optik-Elektronik, Material Handling Automation, Nimburger StraBe 11, D-79276 Reute Page 55

Page 56 read from a scan by OCR; it may hold reading errors

Technical Desription "Network Controller CLX 200" Issue: 12/07/94

Values printed in bold are set as the basic setting by factory.

Parametrization Net interface Baud rate *19200 Bd

| | *38400 Bd

| SW handshake ____ *No

| *Yes

|

Host interface Data format Baud rate *300,.., 9600... 38400 Bd | Data bits *7 | | *8 | Parity *no | | *even | | *odd | | *space | | *mark | Stop bits *1 | *2 Output format ____ *CLX Standard

* Block telegramm_Separator *00 Output interval____ *0 ... 999 ms Max. Tele. length _ *10 ... 4000 Byte SC version)____s*No/ Yes a~-e- err rotocol___ - ss *C LX Standard _Header__ - *02. 00 00 00... Terminator *03 00 00 00... Prot. check digit _*No/ Yes SW handshake _*No | * ACK/ NAK framed | *ACK/ NAK unfram. Prottime-out ___*100 ,.., 2000... | 6000 ms Interface control__ *No

*RTS/ CTS *®XON/ XOFF

*Output configuration Standard configuration *No *Yes

Emulation *CLE 200 | Language shift *deutsch © Start of menu | *english | *italiano | *francais | Quit menu *temporary *no change *permanent

1) SC version: Block length of data block in double byte, number of separator characters completes data block length to an even number of bytes. After the last data block 2 ASCII characters "F" are transmitted.

Fig. 3. Summary of menu (software version V 2,00)

Page 56 Erwin Sick GmbH, Optik-Elektronik, Material Handling Automation, Nimburger StraBe 11, D-79276 Reute

Page 57 read from a scan by OCR; it may hold reading errors

Issue: 09/02/95 Technical Description "Network Controller CLX 200"

15.2 Software version V 2.10

Based on the software version V 2.00 the CLX 200 contains the following new features:

e Additional protocol of host interface: 3964 (R) with RK 512 e New error message: failure of station in network

Note: The emulation of the operating unit CLE 200 is no longer available!

1. Protocol 3964 (R) with RK 512 (host interface)

Apart from the protocol type "CLX standard", it is now possible to exchange data with the host/PLC using the 3964 protocol. The 3964 protocol can be parameterized in order to optimally adapt data communication to the prevailing conditions. To allow data exchange between the CLX 200 and partner device, both connected partners must use the same protocol type with matching protocol parameters (see also 1.6. Settings). When the 3964 protocol is activated, the defined parameters of the standard protocol are disregarded.

1.1 3964 (R) protocol

The 3964 (R) protocol is a data transmission protocol allowing point-to-point connection of two devices. With this protocol, both connected partners control data exchange. Device 1 forwards its line request to the connected partner (device 2) using an <STX>. The data is not sent until device 2 acknowledges receipt of the line request by issuing <DLE> within the timeout. Device 2 then also acknowledges the correct transmission of all data by issuing <DLE>. However, if the data has not been transmitted correctly, device 2 responds with <NAK>; the complete process is repeated up to three times (a total of 6 times with the protocol variant 3964/R). Device 1 indicates the end of the data telegram using the sequence <DLE> <ETX>. The characters <DLE> occurring twice in the data telegram are marked by duplication in the data string. With the 3964/R protocol, device 1 also transmits check character (BCC) after the end code of the data string. This check character takes the form of an XOR logic operation for all of the transmitted characters before the BCC (blockcheck).

CLX 200 (device 1) Host (device 2) STX > aa QVZ. -n---ne-neneee DLE 1st data (SH) + 2nd data (SL) +> 3rd data (Code) 5 vs «max, 128 ( + addresses) ... nth data (Code) +> DLE 5 ETX > BCC (with 3964/ R only) , Goon n nnn QVZ -------------- - DLE/ NAK where QVZ = Acknowledgement delay SH/ SL = Slave address

Erwin Sick GmbH, Optik-Elektronik, Material Handling Automation, Nimburger StraBe 11, D-79276 Reute Page 57

Page 58 read from a scan by OCR; it may hold reading errors

Technical Description "Network Controller CLX 200" Issue: 09/02/95

1.2 Computer coupling RK 512

The RK 512 procedure is superordinate to the 3964 protocol and uses this protocol for data exchange. With the computer coupling RK 512, it is possible to inform the transmitting device of error states. This Is performed using the reaction telegram which the data receiver (device 2) sends to the sender (device 1) as a response after each data transmission.

In the data telegram, a header is used in order to provide the receiver with additional information concerning the transmitted data. The CLX 200 neither expects any station number to be given in the reaction telegram and nor does it issue one. It does not prepare any response telegrams in the RK 512 procedure. As a result, the maximum transmittable data length is 128 bytes. When data is received, the CLX 200 evaluates the telegram header only in order to establish the type of telegram. When data is sent, the CLX 200 enters the parameterized values in the telegram header. The parameters for the SIEMENS protocol driver are used for the settings of the telegram header.

CLX 200 (device 1) Host (device 2) STX >

é OQVZ DLE 1st header (00 hex)

2nd header (00 hex) 3rd header (41 hex) 4th header (DT) 5th header (ZH) 6th header (ZL)

7th header (AH) 8th header (AL)

9th header (KH) 10th header (KL) 1st data (SH)

2nd data (SL)

3rd data (Code)

Ltlilidd

1

L L

LJ w us «. Max. 128 ( +addresses) ... nth data (Code)

DLE ETX BCC (with 3964/ R only)

Ld

L

|

N a QVZ DLE/ NAK where OO hex: Constant 41hex: = "A" (output command) DT: Data type (parameterizable) ZH/L: ‘Target address (parameterizable) AH/L: | Number of bytes/words (see DT) KH/L: Coordination flag (parameterizable) SH/L: Slave address

Page 58 Erwin Sick GmbH, Optik-Elektronik, Material Handling Automation, Nimburger StraBe 11, D-79276 Reute

Page 59 read from a scan by OCR; it may hold reading errors

Issue: 09/02/95 Technical Description "Network Controller CLX 200"

1.3 Reaction telegram

After correct transmission, the receiver sends the reaction telegram:

CLX 200 (device 1) Host (device 2)

ya STX DLE 4+ eK 1st byte (00 hex) e 1st byte (00 hex) < 1st byte (00 hex) < Error No. (00 hex: no error) a BCC (with 3964/ R only)

DLE/ NAK

+ where FE:, Error number in the reaction telegram

With error types "D" and "X", if the length of the user data is not even, the filler byte is sent either to the front of the station address or is placed after the data part. With received data, the target address is always expected directly after the telegram head regardless of the setting for the telegram head.

Device 2 sends the reaction telegram as soon as a correct data telegram has been received from device 1. Device 1 waits for the reaction telegram during a timeout period (RVZ). Device 1 does not output any other data telegrams during this time. If no reaction telegram arrives from device 2 before the end of the timeout, device 1 sends the next data string and an error message.

The reaction telegram can also be deactivated in the RK 512 procedure. However, the structure of the data telegram with its telegram head remains. The CLX 200 does not transfer the reaction telegrams to the network stations. It does not evaluate the error number in the reaction telegram and does not enter any error number in tts reaction telegrams.

1.4 Overview of protocol features

Feature 3964 |3964/R RK 512 Transmitted data length 128 bytes/ CLV telegram 128 bytes Received data length 128 bytes 128 bytes 128 bytes Character delay ZVZ 200 ms 200 ms

Acknowledgement delay QVZ | 550 ms 25s

Buffer delay BVZ 110 ms 400 ms

Waiting delay WVZ 25 4s

Reaction waiting time RVZ 5.5 5.55

Transmission repeats max. 3 max. 6

Priority definable definable

Baud rates definable definable

Data format definable definable Table 1

Erwin Sick GmbH, Optik-Elektronik, Material Handling Automation, Nimburger StraBe 11, D-79276 Reute

Page 59

Page 60 read from a scan by OCR; it may hold reading errors

Technical Description "Network Controller CLX 200" Issue: 09/02/95

1.5 Data reception

With received data, the receiver always expects the target address in front of the user data:

e with the 3964/ R protocol, the first two characters of the telegram form the target address. e with the RK 512 procedure, the first two characters after the telegram head form the target address.

The target address is transmitted as 2 ASCII characters. This string format is independent of the settings being used. The CLX 200 outputs all data strings received at the host interface with a target address of 1 to 31 on the network. The data is transferred to the network station immediately after the data string has been received regardless of the setting for the reaction telegram. The CLX 200 sends all characters above 00 hex transparently to the network station; the character 00 hex is transmitted as the "@" character (40 hex).

1.6 Settings

With the 3964 protocol, the preferred data direction is selected using the transmission priority of the two stations. It must be ensured that the two stations have different settings. In the case of the 3964 protocol

_ with computer coupling RK 512, 8 data bits with even parity are often used as the character format. These parameters are not predefined in the CLX 200 and can therefore not be adjusted.

1.7 Error messages Additional host interface error messages which the CLX 200 shows on its display and outputs via the terminal interface have been introduced for the 3964 protocol driver. However, the CLX 200 does not enter any error number in the reaction telegram.

Error No. Type Possible cause # 50 Protocol error (Error when sending reaction telegram) # 60 Protocol error (Error when sending data) # 70 Protocol error (Error when receiving data telegrams) # 80 Protocol error (Timeout when receiving reaction telegram)

# 90 String/character error (Error during BCC comparison) # AQ, String/character error (Unexpected character in idle state: string length error...)

# BO String/character error (Error when receiving slave address)

1.8 Output control of host interface

Output control synchronizes the transmit/receive telegrams. The settings for the 3964/ R and RK 512 sequence structure form the basis for reaction. As a result, a low-priority telegram sent with RK 512 may in response receive a data telegram from the higher-priority partner instead of the reaction telegram. This functional sequence is also described as a quasi full-duplex operation. However, the transmitting device does not output any further data telegrams until it receives the reaction telegram for the transmitted data. If the output format "block telegram" is selected, the CLX 200 neither outputs the blockcheck in the block telegram nor the string end code.

Page 60 Erwin Sick GmbH, Optik-Elektronik, Material Handling Automation, Nimburger StraGe 11, D-79276 Reute