RS7Hosts worksheet

Top  Previous  Next

The RS7Hosts worksheet contains the communication parameters for the RS7 communication driver for S7 PLCs. This communication driver enables communication via Ethernet TCP/IP to all S7 PLCs with an Ethernet interface, incl. Soft-PLC AT-S7.

 

#Hostname

IP address

Delay[ms]

DelayOnError [s]

Retry

Loglevel

Optimize (Yes/No)

CChn

Rack

Slot

PDU-MaxSize

Reserved

Symbol file

S1

EPAM4-PLCHOST

200

3

6

0

No

2

0

0

 

DB_Comment

00000001.AWL

 

Driver DLL:        drvRs7.dll

Communication with S7 PLCs via CP or S7-1200 series

Parameters

M/O

Default

Description

Hostname

M

 

Unique name

IP address

M

 

IP address of the PLC or EPAM4-PLCHOST (=Localhost: 127.0.0.1)

Icon-HinweisIf the RTS is to communicate with the local PLC and the Ethernet cable is not plugged in, communication is only possible via Localhost. EPAM4-PLCHOST should therefore be set as IP address so that the communication also functions from the simulation.

Delay[ms]

O

200

Delay between two read operations (cycle time of communication task)

Timeout[s]

O

3

Maximum time that must not be exceeded when accessing the PLC. (Connect, Read, Write)

Retry

O

3

Number of retries up to error

DelayOnError[s]

O

3

Delay after an error has occurred. Prevents, for example, too fast connections during an online change

Loglevel

O

 

Levels of error output. Not implemented.

Optimize

M

No

Optimized communication Yes/No (summary of variables from the same DB)

CChn

M

16

Communication channel from S7 hardware configuration.

AT-S7: 16
S7-CP: 2
S7-1200: 0

Rack

O

0

Rack number from S7 hardware configuration.

AT-S7: 0
S7-CP: 0
S7-1200: 0

Slot

O

3

Slot number from S7 hardware configuration.

AT-S7: 3
S7-CP: 0
S7-1200: 0

PDU-MaxSize

O

400

Max. PDU-Size, depends on the PLC-CPU:

240 byte with CPU-3xx and MPI
480 byte with CPU-4xx and MPI
960 byte with CPU-4xx and CP4xx

 

This parameter may be empty when using an ATS7-Soft PLC.

Variable name

M

DB_Number

Prefix for the variable import from the AWL:

DB_Number : Prefix is created from the DB number, e.g. DBxx
DB_Title : Prefix is transferred from the DB name (Header)
DB_Comment : Prefix is transferred from the DB comment

Path symbol file

O

 

Path and name of the imported symbol file