Home

IB IL RS 232-PRO (-PAC) - Configurators

image

Contents

1. 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 DTR Transmit Receive error error DTR if DTR control enabled Receive error Code Meaning Code Meaning Ohex DTR Logic 0 Ohex No action Thex DTR Logic 1 Thex Reset receive error The DTR signal can only be controlled when DTR z Transmit error control is enabled via process data that is when the DTR control bit has been enabled in the Code Meaning configuration see Write Configuration Ohex No action command on page 17 Thex Reset transmit error Status word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 Amount of CTS Receive Transmit Receive Res Transmit Receive Receive received data buffer not buffer full buffer full error error buffer not empty empty CTS if configured Receive buffer full Code Meaning Code Meaning Ohex CTS Logic 0 Ohex Not full Thex CTS Logic 1 Thex Full The CTS bitis only updated when the Mapping aneneen the CTS signal bit was set in the configuration see Write Configuration command on Code Meaning page 17 Ohex No error Thex Error Send buffer not empty Code Meaning Receive error Ohex Popy Code Meaning hex Nerempyy Onex No error Thex Error Send buffer full Gode veering Re
2. 25 13 O Junction D SUB socket 25 pos 7112B008 Inline connector Connector 2 Figure 3 V 24 RS 232 interface wiring with handshake for DTE 25 pin Inline connector Connector 2 D SUB socket 9 pos 7112B012 V 24 RS 232 interface wiring with handshake for DTE 9 pin Figure 4 7112_en_03 PHOENIX CONTACT 7 IB IL RS 232 PRO PAC 6 3 V 24 RS 232 interface wiring without handshake For wiring without handshake the transmission can only be executed with the help of both TxD and RxD signals In the same way as the GND contacts Both wires for the TxD and RxD signals are connected to the IB IL RS 232 PRO terminal male connector and are soldered to the socket on the side of the device to be connected In addition a jumper is connected on the male connector between the terminal points for the 5 V and CTS signals and on the socket between the pins for the RTS and CTS signals In this way permanent readiness to receive of the peer is simulated and the connected device is again able to transmit data via the V 24 interface In Figure 5 and Figure 6 the shield connector is connected on the right hand side of the terminal In this case a capacitor is placed between the shield and FE If the shield is to be placed directly on FE the shield connector must be connected on the left hand side of the terminal Observe the connection
3. Not enough space in the intermediate buffer 10 4 The transmit data is stored in an intermediate buffer which can store 330 characters No characters are transmitted The OUT parameter determines the number of characters The Transmit Characters command is used for transmitting Store Characters Temporarily command the data stored temporarily In this way character blocks of up to 330 characters can be transmitted They are divided over 20 telegrams with 11 characters each Process data assignment for the Save Characters command and subsequent Transmit Characters command with 41 characters C1 C41 Word 0 1 2 3 4 Byte 0 1 2 3 4 5 6 7 8 9 10 11 OUT 2Bhex C1 C2 C3 C4 C5 C6 C7 C8 c9 C10 C11 IN 2Bhex OUT 6Bhex C12 C13 C14 C15 C16 C17 C18 C19 C20 C21 C22 IN 6Bhex OUT 2Bhex C23 C24 C25 C26 C27 C28 C29 C30 C31 C32 C33 IN 2Bhex OUT 18hex C34 C35 C36 C37 C38 C39 C40 C41 IN 18hex For protocols with end identifiers the end identifier is added Reasons for an error bit set after every transmitted block 41 characters OUT parameter 0 or gt 11 Not enough space in the intermediate buffer 7112_en_03 PHOENIX CONTACT 15 IB IL RS 232 PRO PAC 10 5 Read Characters command This command is used to read a maximum of eleven characters The IN par
4. the DTR signal is set to High and the terminal is ready to receive With the transparent and XON XOFF protocols DTR is set to 0 if fewer than 15 characters are free in the receive FIFO a 7112_en_03 PHOENIX CONTACT 6 IB IL RS 232 PRO PAC 6 2 V 24 interface wiring with four wire handshake The TxD RxD DTR and CTS signals are used for a four wire handshake connection between the terminal and the device to be connected Each signal corresponds to one wire in the connecting cable An Inline male connector is required on the terminal side A 9 pin or 25 pin socket is required on the opposite side depending on the device to be connected Both GND pins are also wired In Figure 3 and Figure 4 the shield connector is connected on the right hand side of the terminal In this case a capacitor is placed between the shield and FE If the shield is to be placed directly on FE the shield connector must be connected on the left hand side of the terminal Observe the connection notes on page 9 i In Figure 3 and Figure 4 it is assumed that the signal assignment of the connectors for the device to be connected corresponds to the assignment of a PC connector In individual cases however the signal assignment of the pins might be different as the DTE DTE connections as well as the connections between 25 pin and 9 pin connectors and sockets are not standardized
5. x x x x x x x x Err error x O or 1 the assignment depends on the command La Bit 15 error Is not valid for the Read Characters command For the meaning of bit 15 for this command please refer to Section Read Characters command on page 16 Code Code Command Bin hex With bit 15 0 000 0 Read status bits Input word 1 contains the number of characters received 001 1 Transmit characters 010 2 Store characters temporarily 011 3 Read characters OUT parameter Chex Read FW version OUT parameter Dhex Read configuration 100 4 Write configuration 101 5 Toggle command 1 Transmit characters 110 6 Toggle command 2 Store characters temporarily 111 7 Toggle command 3 Read characters Command toggling Command toggling is used to execute a command ona terminal again In this way a second command code is available for the same function This applies for the following commands Transmit characters Store characters temporarily Read characters Here bit 14 is used for toggling If for example you wish to transmit character strings in sequence use the command code 001 pex for the first transmission and then use 101hex and 001 pe alternately 7112_en_03 PHOENIX CONTACT 12 IB IL RS 232 PRO PAC 10 2 Read Status Bits command Format of the process data word 0 Control word
6. 2 are not automatically reset They can only be reset by the process data output word In the transparent and XON XOFF protocols the input word 1 contains the total number of characters received With the Read Status Bits command the content of the input data is continuously updated Unlike with other commands toggling is not required 7112_en_03 PHOENIX CONTACT 14 IB IL RS 232 PRO PAC 10 3 Transmit Characters command Characters stored in the intermediate buffer are transmitted first After the command has been executed successfully the intermediate buffer is cleared Process data is stored in the transmit memory and then directly transmitted via V 24 RS 232 A maximum of eleven characters can be transmitted The OUT parameter determines the number of characters to be transmitted Process data assignment for the Transmit Characters command with 17 characters C1 C17 Word 0 1 2 3 4 Byte 0 1 2 3 4 5 6 7 8 9 10 11 OUT 1Bhex C1 C2 C3 C4 C5 C6 C7 C8 c9 C10 C11 IN 1Bhex OUT 56hex C12 C13 C14 C15 C16 C17 IN 56hex For protocols with end identifiers the end identifier is added Reasons for an error bit set after every transmitted block 11 characters maximum OUT parameter 0 and intermediate buffer empty OUT parameter gt 11 Not enough space in the transmit memory
7. IBS SYS ADDRESS 9000990 1 24 4 mm x 136 mm x 72 mm with connectors 90 g without connectors 135 g with connectors Process data mode with 6 words 500 kbps 25 C to 55 C 25 C to 85 C 10 to 95 according to DIN EN 61131 2 70 kPa to 106 kPa up to 3000 m above sea level IP20 Class 3 according to EN 61131 2 IEC 61131 2 Spring cage terminals 0 08 mm to 1 5 mm solid or stranded 28 16 AWG Through data routing V 24 RS 232 interface with DTR CTS handshake Data terminal equipment DTE Electrical data according to EIA RS 232 CCITT V 28 DIN 66259 Part 1 5 KQ typical 30 V to 30 V 0 8 V to 2 4 V 0 5 V typical 6 7 V typical 6 7 V typical lt 25 V 2 25V 7112_en_03 PHOENIX CONTACT 2 IB IL RS 232 PRO PAC Interfaces continued Permissible load capacity 2500 pF Short circuit protected against GND Yes Short circuit current 60 mA maximum Power consumption Communications power UL 7 5V Current consumption at U 155 mA typical 225 mA maximum Total power consumption 1 163 W typical 1 688 W maximum approximately All connections of the serial interface are short circuited This terminal takes no current from the Uy and Us potential jumpers Supply of the module electronics by the bus terminal module Connection method Potential routing Power dissipation Power dissipation in the module Pe 1 163 W Power dissipation of the housing Phou 1 2 W maxi
8. Specify DBC in the output byte 6 To determine DBC change the equation to read DBC basic clock baud rate 1 Example The baud rate is 15625 baud A basic baud rate of 500 kbaud code 0Dhex is chosen Determine the direct baud rate DBC 500000 baud 15625 baud 1 31 gec 1Fhex Here is an example for the first 4 output words 40 00 00 D2 00 00 1F hex B Programming of the direct baud rate theoretically enables a maximum value of 500 kbaud Proper operation of the terminal is tested and guaranteed for up to 38400 baud Operation with higher baud rates depends on the application 7112_en_03 PHOENIX CONTACT 20 IB IL RS 232 PRO PAC 10 7 Read Configuration command Process data assignment for the Read Configuration command Word 0 1 2 5 Byte 0 1 2 3 4 5 6 7 8 9 10 11 kK fo 2 fat x x x x x x x x lt x lt x x lt e o 2 c D lt 3 88 2 2e e z 2 gS S ae 3 z 2 2 2 2 2 E a E Fz 8 W 7 Al A 10 8 Read Firmware Version command With a control word 3C00p the second input word supplies the firmware version and the type code 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Firmware version g 100hex Type code 8hex Type code 8he is identical to the type code of the IB IL RS 232 PAC 7112_en_03 PHOENIX CONTACT GmbH amp Co KG 32823 Blombe
9. a V 24 RS 232 interface can be connected to the V 24 RS 232 interface on the terminal Both the terminal and the device connected to the V 24 RS 232 interface can act as a transmitter and a receiver for data exchange As errors can occur during data exchange if both devices transmit or receive simultaneously the handshake is used as a procedure for the mutual signaling of clear to receive and clear to transmit V 24 module handshake signals The terminal supports DTR and CTS handshake signals Each uses one wire of the connecting cable The connecting signals are described from the point of view of the terminal i e from the point of view of the DTE Signal Meaning Direction CTS The terminal receives the CTS Input Clear signal from the connected device via To the V 24 RS 232 interface If the Send CTS signal is set to High the terminal can transmit data The exception is 3964R la XON XOFF Protocol B You can disable the CTS signal evaluation see Transmission without hardware handshake on page 17 DTR The DTR signal is transmitted from Output Data the IB IL RS 232 PRO terminal i e Ter set to High once it is ready to minal receive The peer connected to the Ready V 24 RS 232 interface is now able to transmit After 4 095 characters 4 kbytes the terminal receive buffer is full and the DTR signal is set to Low As soon as more characters are read from the bus side
10. each in input and output direction For the assignment of the illustrated word bit or byte bit view to your INTERBUS control or computer system please refer to the DB GB IBS SYS ADDRESS data sheet i The terminal has six process data words Word 0 1 2 3 4 5 Bytein O 1 2 3 4 5 6 7 8 9 10 11 the Motorola format Bytein 1 0 3 2 5 4 7 6 9 811 10 the Intel format St co 2 2 S S T S S S sjsj sjs gt EESSl Slslolosloslololala oa O E SJIAJAJIAJIAIAIAJAJAIAIAJA D g Selslalalalalalalalalala zZ Z Ells S alallala n a BIQIAIAIASAIAaAsa aAs aIs asAaA o 2 The byte representation in the Motorola format also called Big Endian high order byte at starting address corresponds to the INTERBUS standard representation All byte representations in the data sheet have this format i The byte representation in the Intel format is also called Little Endian low order byte at starting address The command is used to determine the function The actually transmitted data depends on the command 10 1 Word 0 general Control word 15 14 13 12 11 10 9 8 0 Command OUT x x x x x x x x parameter Status word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 Err Command IN parameter
11. loops occurring if a shield with two direct connections were placed on FE If you connect the shield via connector 1 you must connect the shield connector on the left hand side of the terminal All wires must be connected to connector 2 Ensure that on connector 2 terminal point 1 2 5 V is exclusively used to provide the 5 V signal for the CTS input terminal point 2 2 in the event of communication without handshake In this case insert a jumper between the terminal points Any other use is not permitted i Use a connector with shield connection when installing the I O device Figure 7 and Figure 8 show the connection schematically without shield connector 7 1 Shield capacitively connected to FE teenaa A BO 7112B005 Connection of an I O device with a serial interface Figure 7 In this example the V 24 interface wiring for communication with 4 wire handshake is shown 7 2 Shield connected directly to FE 7112B006 Connection of an I O device with a serial interface Figure 8 In this example the V 24 interface wiring for communication without handshake is shown You sho
12. notes on page 9 In Figure 5 and Figure 6 it is assumed that the signal assignment of the connectors for the device to be connected corresponds to the assignment of a PC connector In individual cases however the signal assignment of the pins might be different as the DTE DTE connections as well as the connections between 25 pin and 9 pin connectors and sockets are not standardized The terminal sets the DTR signal to Low before the receive FIFO overflows As the DTR signal is not evaluated for wiring without handshake some of the data sent to the module via the V 24 interface may be lost until the module is ready to receive again Inline connector D SUB socket 25 pos Connector 2 7112B009 Figure 5 V 24 interface wiring without handshake for DTE 25 pos Inline connector D SUB socket 9 pos Connector 2 7112B013 Figure 6 V 24 interface wiring without handshake for DTE 9 pos 7112_en_03 PHOENIX CONTACT 8 IB IL RS 232 PRO PAC 7 Connection notes By assigning terminal points 1 4 and 2 4 of both connectors you can connect the cable shield either using a capacitor connector 2 or directly connector 1 to functional earth ground FE With the two connection options you can connect one side of the cable shield directly and one side using a capacitor to FE without any additional effort In this way you can prevent ground
13. with electrical isolation Other symbols used are explained in the IL SYS INST UM E user manual RS 232 Interface L 7112A004 Microprocessor RS 232 Interface Capacitor Ground electrically isolated from ground of the communications power UL 7112_en_03 PHOENIX CONTACT 5 IB IL RS 232 PRO PAC 6 V 24 RS 232 interface The connector set consists of a shield connector and a standard connector i Handshake signals The V 24 RS 232 interface on the terminal represents a piece of DTE data terminal equipment This means that connector 2 terminal point 2 1 TxD is always used to transmit and connector 2 terminal point 1 1 RxD is always used to receive The standard requires that DCE data communication equipment be connected to the V 24 interface as a peer However DTE can also be connected Please refer to the connection notes under 6 2 and 6 3 Measuring the voltage between the connection points for the TxD and GND signals in idle state will determine whether the device to be connected to the V 24 RS 232 interface is a form of DTE or DCE If the voltage measures approximately 5 V the device is a form of DTE If the voltage is approximately 0 V the device is a form of DCE Example When using a 25 pos standard connector see Figure 3 on page 7 the voltage between pin 2 TxD and pin 7 GND must be measured 6 1 Any device with
14. FO is full and further characters are received z ar The first delimiter and the second delimiter contain the First delimiter end characters for the dual buffer and the end to end Code Meaning protocols ODhex Carriage Return CR After successful configuration the characters for XX Any character hex 4 f the receive and transmit FIFO are reset In this way all transmit and receive data that have not Second delimiter yet been processed will be deleted Code Meaning Reasons for an error bit set OAnex Line Feed LF Using a reserved code XXhex Any character Setting a reserved bit 7112_en_03 PHOENIX CONTACT 19 IB IL RS 232 PRO PAC Example Data width 8 data bits with odd parity and one stop bit Default Transparent protocol Baud rate 19200 baud Configuration in hex 4000 0083 0000 0000 Word 0 1 2 3 4 5 Byte 0 1 2 3 4 5 6 7 8 9 10 11 2 D 5 gS 5 2 gZ ke ke ke 2 8 28 28 6 6 2 4 8 s 2 s sels s 2i 3 5 5 2 O a D z a os z D or Q OUT 40 00 00 83 00 00 00 IN 40 z z 7 z z z Direct Baud Rate DBC Direct programming of the baud rate is selected in the output word 1 using the ODhex OEnex and Fhex baud rate codes You can select a basic clock for the baud rate The actual baud rate is calculated according to the following formula Baud rate basic clock DBC 1
15. IB IL RS 232 PRO PAC Inline terminal for serial data transmission firmware version 1 20 or later AUTOMATION Data sheet 7112 _en_03 PHOENIX CONTACT 10 2008 1 Function description Features The terminal is designed for use within an Inline station It is A serial O channel V 24 RS 232 used to operate standard I O devices with serial interfaces DTR CTS handshake supported on a bus system Various protocols supported Transmission speed can be set up to 38400 baud Number of data bits stop bits and parity can be set 4 kbyte receive buffer and 1 kbyte transmit buffer Parameterization and data exchange via the bus using process data Diagnostic and status indicators Difference between IB IL RS 232 and IB IL RS 232 PRO IB IL RS 232 Parameterization and data exchange are carried out via the bus using PCP services IB IL RS 232 PRO Parameterization and data exchange are carried out via the bus using process data This makes faster communication times possible with smaller amounts of data than with the IB IL RS 232 This data sheet is only valid in association with the IL SYS INST UM E user manual Make sure you always use the latest documentation It can be downloaded at www download phoenixcontact com This data sheet is valid for the products listed on the following page ee me ee DOD OO GD GD OGD 0 OOD LUconrsc ODE INSPIRING INNOVATIONS IB IL
16. RS 232 PRO PAC 2 Ordering data Products Description Inline terminal for serial data transmission including connectors and labeling fields Inline terminal for serial data transmission Type Order No Pcs Pkt IB IL RS 232 PRO PAC 2878722 1 IB IL RS 232 PRO 2878515 1 l The listed connector set is needed for the complete fitting of the IB IL RS 232 PRO terminal Accessories Description Connector set with a standard connector and a shield connector Documentation Description Automation terminals of the Inline product range user manual INTERBUS addressing data sheet 3 Technical data General data Housing dimensions width x height x depth Weight Operating mode Transmission speed Permissible temperature operation Permissible temperature storage transport Permissible humidity operation storage transport Permissible air pressure operation storage transport Degree of protection Class of protection Connection data for Inline connectors Connection method Conductor cross section Interfaces Bus Local bus Serial interfaces Type Input impedance Permissible input voltage range Switching thresholds Hysteresis Output voltage HIGH with 3 kQ load Output voltage LOW with 3 kQ load Output voltage HIGH no load operation Output voltage LOW no load operation Type Order No Pcs Pkt IB IL AO CNT PLSET 2732664 1 Type Order No Pcs Pkt IL SYS INST UME 2698737 1 DB GB
17. ameter contains the number of valid characters available in the input data Process data assignment for the Read Characters command with eleven characters C1 C11 Word 0 1 2 3 4 5 Byte 0 1 2 3 4 6 7 8 9 10 11 OUT 30 z IN 3Bhex C1 C2 C3 C4 C6 C7 C8 C9 ci c1 For the end to end dual buffers and 3964R protocols bit 15 in the status word is not used as error bit but indicates whether there are still other characters from the received block that remain to be read For the indicated protocols a data transfer is handled as block that is identified by a special end identification When reading the characters received it is important to know whether the characters provided with this command all belong to one single block or whether there are still characters that remain to be read The status bit Receive buffer is not empty does not provide this information as it also indicates whether additional blocks have been received For this reason bit 15 is used in this case A maximum block length of 330 characters is supported Bit 15 in the status word Bit Effect Protocol status Bit15 The characters read are the 0 last ones in the received End to end block 7 dual buffer Bit15 There are still some more 3964R 1 characters to be read from the received block Together with the toggle bit the upper nibble of
18. ange l The options in bold are default settings DTR control Code Meaning Representation in CMD PC WORX Transmission without Ohex Automatic Automatic hardware handshake Thex Via process data Via process data Code Meaning Representation in CMD PC WORX Ohex Transmission Transmission CTS signal mapping dependent on CTS dependent on CTS Code Meaning Representation in signal signal CMD PC WORX Exception 3964R Onex CTS signal is not CTS signal is not XON XOFF Protocol mapped to input mapped to input CTS 0 T i process data process data 0 Transmission A disabled Thex CTS signal is mapped CTS signal is mapped CTS 1 Tanshicsion to input process data to input process data enabled Thex Transmission Transmission independent of CTS independent of CTS signal signal 7112_en_03 PHOENIX CONTACT 17 IB IL RS 232 PRO PAC Protocol Baud rate Code Meaning Code Value 00hex Transparent OOhex 110 baud O1hex End to end O1hex 300 baud O2hex Dual buffer 02 hex 600 baud O3hex 3964R with low priority O3hex 1200 baud O4nex 3964R with high priority O4nex 1800 baud O5hex XON XOFF O5hex 2400 baud 06 nex 4800 baud O7hex 9600 baud O8hex 19200 baud O9hex 38400 baud ODhex Directly basis 500 kbaud OEhex Directly basis 62 5 kbaud OF hex Directly basis 15625 baud B The specified baud rates of 110 baud to 38400
19. baud are adequate for most applications However you can freely choose the baud rate by direct programming For this use the ODhe OE hex and OF pe baud rate codes in output word 1 See Direct Baud Rate DBC on page 20 Data width Code Meaning Representation in CMD PC WORX Data bits Parity Stop bits O0hex 7 Even 1 7 data bits even parity 1 stop bit O1hex 7 Odd 1 7 data bits odd parity 1 stop bit O2nex 8 Even 1 8 data bits even parity 1 stop bit O3hex 8 Odd 1 8 data bits odd parity 1 stop bit O4hex 8 None 1 8 data bits without parity 1 stop bit O5hex 7 None 1 7 data bits without parity 1 stop bit O6nex 7 Even 2 7 data bits even parity 2 stop bits O7hex 7 Odd 2 7 data bits odd parity 2 stop bits O8hex 8 Even 2 8 data bits even parity 2 stop bits O9hex 8 Odd 2 8 data bits odd parity 2 stop bits OAhex 8 None 2 8 data bits without parity 2 stop bits OBhex 7 None 2 7 data bits without parity 2 stop bits 7112_en_03 PHOENIX CONTACT 18 IB IL RS 232 PRO PAC The error pattern contains the character that is written into Error pattern the FIFO if a character was received with an error not valid Code Meaning for the 3964R protocol Reasons are e g parity errors 24 exceeded value range noise interference In the hex transparent and XON XOFF protocols the pattern is also XXhex Any character used if the receive FI
20. c status indicators and 4 3 Terminal point assignment terminal point assignment Connector Terminal Signal Assignment point 1 1 4 2 4 FE Functional earth ground All other terminal points of this connector are not used 2 1 1 RxD Serial data input 2 1 TxD Serial data output 1 2 5V_ Control output internally wired to 5 VDC 2 2 CTS Control input for hardware handshake 1 3 DTR Control output for hardware handshake 2 3 GND GND for serial interface 1 4 2 4 Shield Shield connection Observe the connection notes on page 9 7112A003 Figure 1 IB IL RS 232 PRO PAC 4 1 Local diagnostic and status indicators Des Color Meaning D Green Diagnostics Serial interface RxD Yellow Terminal is receiving data from the connected device TxD Yellow Terminal is transmitting data to the connected device 4 2 Function identification Orange 7112_en_03 PHOENIXCONTACT 4 IB IL RS 232 PRO PAC 5 Internal circuit diagram Local bus U Ana UL 24 V Us 24 V Um A Figure 2 Internal wiring of the terminal points Key Protocol chip bus logic including voltage ES conditioning ie Diagnostic and status indicators with function information Optocoupler DC DC converter
21. ceive buffer not empty Ohex Mot tal Code Meaning Thex Full Ohex Empty Thex Not empty 7112_en_03 PHOENIX CONTACT 13 IB IL RS 232 PRO PAC Bit status Effect Protocol Bit 0 1 The receive buffer is not empty there are characters to be read All Bit 1 1 The receive error indicates that a 3964R telegram could not be received without error after 3964R six transmit attempts by the serial peer or after the block waiting time had elapsed Bit 2 1 The transmit error indicates that a 3964R telegram could not be transmitted from the module 3964R to the serial peer without error after six transmit attempts The telegram was rejected Bit3 1 Reserved Bit 4 1 The receive buffer is full Transparent Transparent and XON XOFF protocol Residual capacity lt 15 characters end to end 3964R and end to end protocol Residual capacity none 3964R XON XOFF Bit 5 1 The transmit buffer is full All 3964R protocol Residual capacity none Dual buffer transparent end to end and XON XOFF protocol Residual capacity lt 30 characters Bit 6 1 The transmit buffer is not empty characters to be transmitted are available All Bit 7 1 The CTS status is mapped here when the Mapping the CTS signal bit was set in the All configuration Bits 8to 11 Number of characters received If the code Fpex more than 14 characters have been received Both error bits bits 1 and
22. dshake Data transmission with this protocol is controlled by the XON and XOFF characters XON is set to 11hex and XOFF to 13hex If the terminal receives an XOFF no more serial data will be sent until an XON is received The terminal itself will transmit an XOFF if the available space in the receive memory is less than 15 bytes As soon as more memory becomes available again the module will transmit a single XON Serial data is not filtered when it is transmitted So any characters occurring with the code defined for XON and XOFF are transmitted and may trigger undesirable events at the receiver When serial data is received the XON and XOFF characters are filtered and are not available as data Any characters with the XON or XOFF code are lost Ensure that characters with these codes do not appear in the data stream 9 Programming data configuration data 9 1 Local bus INTERBUS ID code BFhex 191 dec Length code 06 hex Process data channel 96 bits Input address area 12 bytes Output address area 12 bytes Parameter channel PCP 0 bytes Register length bus 12 bytes 9 2 Other bus systems a For the programming configuration data of other bus systems please refer to the corresponding electronic device data sheet e g GSD EDS 7112_en_03 PHOENIX CONTACT 11 IB IL RS 232 PRO PAC 10 Process data The terminal process image comprises six data words
23. es If the terminal receives another character after the 4095th character the error pattern is stored in the receive FIFO All further characters are ignored 8 3 End to end protocol The serial data is conditioned for the end to end protocol If serial data is sent from the bus side two additional characters the first and second delimiters are attached for transmission to the serial interface The first and second delimiters are defined upon terminal configuration Serial data sent from the serial interface can only be read by the user if the terminal has received the first and second delimiters The two delimiters confirm that the serial data has been received without error and the maximum data length of 330 bytes has been observed The delimiters are filtered out when the data is read by the bus side Unlike in the transparent protocol the receive memory is not organized as a FIFO but as a buffer 3 buffers with 330 bytes each are available If the buffer size of 330 bytes is exceeded without the two delimiters being detected the buffer is overwritten again The transmit FIFO consists of 1023 bytes The delimiters are attached to and stored with the data to be sent 8 4 Dual buffer protocol With this protocol the last received data block is stored A data block is defined as a sequence of characters with the first and second delimiter as in the end to end protocol As soon as a new data block is received the previous
24. mum within the permissible operating temperature Limitation of simultaneity derating No limitation of simultaneity no derating Protective equipment None Electrical isolation isolation of the voltage areas Electrical isolation of the logic level from the serial interface is ensured by the DC DC converter Common potentials The serial interface control and data lines have galvanically the same potential FE is a separate potential area Separate potentials in the system consisting of bus terminal power terminal and I O terminal Test distance Test voltage 5 V supply incoming remote bus 7 5 V supply bus logic 500 V AC 50 Hz 1 min 5 V supply outgoing remote bus 7 5 V supply bus logic 500 V AC 50 Hz 1 min V 24 RS 232 interface 7 5 V supply bus logic 500 V AC 50 Hz 1 min V 24 RS 232 interface 24 V supply I O 500 V AC 50 Hz 1 min V 24 RS 232 interface functional earth ground 500 V AC 50 Hz 1 min 7 5 V supply bus logic 24 V supply I O 500 V AC 50 Hz 1 min 7 5 V supply bus logic functional earth ground 500 V AC 50 Hz 1 min 24 V supply I O functional earth ground 500 V AC 50 Hz 1 min Error messages to the higher level control or computer system None Approvals For the latest approvals please visit www download phoenixcontact com or www eshop phoenixcontact com 7112_en_03 PHOENIX CONTACT 3 IB IL RS 232 PRO PAC 4 Diagnosti
25. one is overwritten This is achieved by means of two buffers which are written alternately In this way there is always one buffer ready to receive serial data while the second buffer stores the most recently received data block A data block is only regarded as complete once both delimiters have been detected one after the other It can then be read from the bus side If the buffer size of 330 bytes is exceeded without the two delimiters being detected the buffer is overwritten again When transmitting serial data the same is valid as for the end to end protocol If serial data is sent from the bus side two additional characters the first and second delimiters are attached for transmission to the serial interface 7112_en_03 PHOENIX CONTACT 10 IB IL RS 232 PRO PAC 8 5 3964R protocol This protocol developed by Siemens is the most complex It uses beginning and end identifiers checksum and a time monitoring function 3 buffers are available for transmitting 3 buffers are available for receiving Character delay time 220 ms Acknowledgment delay time 2s Block waiting time 10s Number of attempts to establish aconnection 6 The optional 3964 priority defines which device may send first high priority if there is an initialization conflict several devices attempting to send data simultaneously 8 6 XON XOFF protocol This protocol operates like the transparent protocol however using a software han
26. rg Germany Phone 49 0 5235 3 00 www phoenixcontact com PHOENIX CONTACT P O Box 4100 Harrisburg PA 17111 0100 USA Phone 717 944 1300 21
27. the status word might have the values Bre 101 1 bin and Frex 1 11 1bin Example In the 3964R protocol a block with 20 characters was received For reading the Read Characters command must be given twice The second time the command is given the toggle bit is set Process data assignment for the Transmit Characters command with 20 characters C1 C20 Word 0 1 2 3 4 5 Byte 0 1 2 3 4 6 7 8 9 10 11 OUT 30hex z z IN BBnex C1 C2 C3 C4 C6 C7 C8 eo co cn OUT 70hex 2 2 7 z IN 7 ex C12 c13 c14 c15 Cie C17 Cia C19 C20 7112_en_03 PHOENIX CONTACT 16 IB IL RS 232 PRO PAC 10 6 Write Configuration command Process data assignment for the Write Configuration command Output words 0 to 5 Word 0 1 2 3 4 5 Byte 0 1 2 3 4 5 6 7 8 10 11 eo 2 S 2s 5 2 5 ke ke hy a 8 og E S 2 2 o D D D O 5 e as 2 2 z S 8 8 E a a amp B D ac a a fo zZ Sy z lt Output word 1 for the Write Configuration command 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Transmission DTR control Mappingthe Protocol Baud rate Data width w o HW CTS signal handshake Element value r
28. uld insert a jumper between connection points 1 2 5 V and 2 2 CTS 7112_en_03 PHOENIXCONTACT 9 IB IL RS 232 PRO PAC 8 Data storage and transmission The terminal stores the received serial data in an intermediate buffer until it is requested from the serial interface by the bus controller board or the device Serial data traffic can be managed using various protocols The protocol used depends on the type of protocol supported by the peers 8 1 Overview of supported protocols Protocol Receive Transmit Special features buffer memory when receiving Transpa 4096 bytes 1023 bytes rent End to 3 buffers 1023 bytes Two end characters end with including are filtered out 330 bytes end each characters Dual 2 buffers 1023 bytes Only stores the most buffer with including recently received 330 bytes end data endcharacters each characters are filtered out 3964R 3 buffers 3 buffers Data exchange with with with software 330 bytes 330 bytes handshake time each each monitoring and checksum XON 4096 bytes 1023 bytes Software XOFF handshake 8 2 Transparent protocol If the transparent protocol is used serial data is transmitted through the terminal in the same format it was received from the serial interface or the bus side The transmit FIFO First In First Out memory can store 1023 bytes 1 kbyte and the receive FIFO can store 4096 bytes 4 kbyt

Download Pdf Manuals

image

Related Search

Related Contents

Bisley BY13997      ws/18-35 DT  Datalogic Scanning F734-E User's Manual  ZyPer4K™  Operation Manual 11/2000  User Guide - UK Data Service    取扱説明書 nec-6ー /62 / 63 / 64 / 65 ~T^ND 田  

Copyright © All rights reserved.
DMCA: DMCA_mwitty#outlook.com.