Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

Release 09/02

Contents

Contents
1 2 3 4 5 Configuration - FREE SERIAL.................................................................... 1 Commissioning - FREE SERIAL ................................................................ 3 Parameters - FREE SERIAL ........................................................................ 5 Permissible data types - FREE SERIAL................................................... 7 Interface assignment .................................................................................... 9
5.1 5.2 Connecting cable: RS232 15-pin > 9-pin ............................................. 10 Connecting cable: RS232, 15-pin > 25-pin .......................................... 11

Process communication Free serial interface Printout of the Online-Help

Contents

Release 09/02

ii

Process communication Free serial interface Printout of the Online-Help

Release 09/02

Interface assignment

Configuration

Configuration - FREE SERIAL


The following operating units can be connected to FREE SERIAL: Graphics displays Touch panels Windows CE OP 27, OP 37, OP 25, OP 35 TP 27, TP 37 TP 170A, TP 170B, Mobile Panel 170, MP 270 TOUCH, MP 370 TOUCH

Operating units suitable for connection

Select PLC When creating a new project, select the driver you require from the "Project Assistant - Select PLC" dialog box first. Click the "Parameters..." button to set the driver parameters and the station address of the Cnet module.

Note The settings on the operating unit and on the PLC must match. For commissioning, ProTool must not be integrated in STEP 7 (the menu option "Integration in STEP 7" is deactivated). To modify the parameters later, select the "PLC" in the project window and select "Properties" > "Parameters...".

Process communication Free serial interface Printout of the Online-Help

Interface assignmentConfiguration - FREE SERIAL

Release 09/02

Process communication Free serial interface Printout of the Online-Help

Release 09/02

Interface assignment

Commissionin

2
Cable

Commissioning - FREE SERIAL

The following cables are available for connecting the operating unit to FREE SERIAL: FREE SERIAL (RS232) 9-pin RS232, 15-pin 6XV1440 - 2K... FREE SERIAL (RS232) 25-pin 6XV1440 - 2L...

Process communication Free serial interface Printout of the Online-Help

Interface assignmentCommissioning - FREE SERIAL

Release 09/02

Process communication Free serial interface Printout of the Online-Help

Release 09/02

Interface assignment

Parameters

Parameters - FREE SERIAL

Parameters you need to set To connect by means of the serial interface, set the following parameters: Data blocks Here you set the priority of the different data block pairs. The priority specifies the frequency with which a data block pair is exchanged between the operating unit and the PLC. Priority 0 The data block pair is replaced when the operating unit: - has made a change in the block that has to be sent. - requires a data area or a tag of a receive data block as a result of the configured acquisition cycle. Priorities 1, 2 to 9 The data block pair is replaced in every, every second to ninth cycle. A cycle always begins with the transfer of data block 1 to the PLC, which then sends data block 0 to the operating unit.

Character delay time The character delay time specifies the time delay between two received characters. If no character is received by the operating unit within that period, a system message is generated. Pause Here you configure a time interval in milliseconds [msec], during which the operating unit waits after a data block pair has been transferred until the next data block pair is transferred. In this way you artificially slow down communication, thus reducing the loading on the interface. But the update rate is similarly reduced. Memory organization Here you set whether high bytes or low bytes of a data word are transferred first. Interface Here you select the interface of the operating unit on which you wish to establish the connection to the PLC. Baud rate Here you set the transfer rate from the operating unit to the PLC. Interface type You can choose between TTY and RS232, or between RS422 and RS485. Data bits 8 bit is set here. Parity Set Even here.

Process communication Free serial interface Printout of the Online-Help

Interface assignmentParameters - FREE SERIAL

Release 09/02

Stop bits 1 bit is set here.

Note The freely programmable serial interface is not available for the TD 17, OP 3, OP 7, OP 17 or Windows-based devices. The data block pairs must be of equal length and the number of words contained in each block pair must be even. For further information about the freely programmable interface refer to the "Communication" User's Manual. In Part V "Data block interface" in "18 Communication management for block drivers" and "19 Free serial interface".

Process communication Free serial interface Printout of the Online-Help

Release 09/02

Interface assignment

Permissible d

Permissible data types - FREE SERIAL

Suitable data types The table below lists the user data types that can be used when configuring tags and area pointers. Data type Block Word Addressing 0 9 through 1023 Format INT, UINT, LONG, ULONG, FLOAT, STRING INT, UINT, LONG, ULONG, FLOAT, STRING INT, UINT, LONG, ULONG, FLOAT, STRING

Block Word

1 19 through 1023

Block Word

2 through 15 2 through 1023

Process communication Free serial interface Printout of the Online-Help

Interface assignmentPermissible data types - FREE SERIAL

Release 09/02

Process communication Free serial interface Printout of the Online-Help

Release 09/02

Interface assignment

Interface assignment
Here you will find a presentation of the interface assignments for the FREE SERIAL PLC driver.

Process communication Free serial interface Printout of the Online-Help

Interface assignment

Release 09/02

5.1

Connecting cable: RS232 15-pin > 9-pin

6XV1440 - 2K...

Large area of shield connected on two sides to housing 2 Cable: 5 x 0.14 mm , shielded, maximum length 15 m

10

Process communication Free serial interface Printout of the Online-Help

Release 09/02

Interface assignment

5.2

Connecting cable: RS232, 15-pin > 25-pin

6XV1440-2L...

Large area of shield connected to housing 2 Cable: 5 x 0.14 mm , shielded, maximum length 15 m

Process communication Free serial interface Printout of the Online-Help

11

Release 09/02

Index

Index

C
Commissioning FREE SERIAL Configuration FREE SERIAL Connecting cable FREE SERIAL 3 3 1 1 10, 11 10, 11

D
Data types FREE SERIAL 7 7

F
FREE SERIAL Commissioning Configuration Connecting Cable Data types Parameters 1 3 1 10, 11 7 5

P
Parameters FREE SERIAL 5 5

Process communication Free serial interface Printout of the Online-Help

I-1

Index

Release 09/02

I-2

Process communication Free serial interface Printout of the Online-Help

You might also like