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

The text of a manual · part 31 of 41

E-terminals Programming manual: 18 Network communication, pages 239 to 247

Pages 239 to 247 of 335, from E-terminals Programming manual

The original document is the PDF (4.1 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 Beijer Electronics AB E200

Page 239

Network communication

18.4 Network services Under Network/Services in the Setup menu you select the services the terminal shall provide from the network. Select current function and klick on Edit...

Application transfer server Function for transferring a project via TCP/IP. Press Edit and enter the number of the port that will enable the transfer. Doesn’t normally need to be changed.

BDTP (Beijer Data Transport Protocol) BDTP (Beijer Data Transport Protocol) replaces the old MAC network. The BDTP server will listen for I/O request from the BDTP client. The terminal can be client, server or both. The client can get data from max 16 servers. The IP addresses of the servers are stated in the BDTP client. Network communication via BDTP is used to connect more than two terminals to a PLC system and maintain good performance. An example of use is production lines, where you need one terminal at each workstation.

228

Page 240

Network communication The figure below shows an example of a network. x=1–254 192.168.1.x BDTP Server

PLC system 1>X0

192.168.1.x

192.168.1.x

192.168.1.x

BDTP Client

BDTP Client

BDTP Client

1>X0

BDTP Server

X0

PLC system

PLC system

192.168.1.x BDTP Client 1 192.168.1.x 2 . 3 . 4 . 5 . .

229

Page 241

Network communication

BDTP Client In the Network service BDTP Client you define IP-addresses for those BDT servers from which the client can retrieve information. When you press Edit the following dialog is shown.

BDTP Server port State the communication port to which the BDTP server/network is connected. Doesn’t normally need to be changed.

Default BDTP Server Here you can specify a default BDTP server. If you don’t specify the address the client will get the value from the default server.

Data register Values in data registers can be transferred between one client and different servers in a network. Under Data register you state the first register in the register block in the client to be transferred to/from the stated server. The type of register must not be the same in the client and the server.

230

Page 242

Network communication Data register

Data register Client

Server

Register 0 1

Value n n+1 n+2 . . . n+m

123 53447 0

Register

Value

0 1

Registers to transfer

265346

. .

n n+1 n+2 . . .

123 53447 0 n+m

265346

. .

Ctrl reg 1 Ctrl reg 2 . . Ctrl reg 5 . .

Control block Under Control Block you state the first register in the control block in the client. The control block takes five registers as follows. Register

Content

Ctrl reg 1

Command

Ctrl reg 2

Handshake

Ctrl reg 3

Server insex

Ctrl reg 4

Index register

Ctrl reg 5

Number of registers

Description Command register which is set in the client. Available commands: 0: No command. 1: Transfer register values from the client to the server stated in control register 3. 2: Transfer register values from the server stated in control register 3 to the client. Handshake register which is set by the client. 0: Ready for a new command. 1: OK 2: Transfer failed. The number of the server in the network handling the transfer. The value in the index register is added to the address off the register stated under Data register. If zero is stated in the register block will start with the address stated under Data register. The number of registers which values shall be transferred to/from the stated server.

231

Page 243

Network communication The transfer handling must bake place according to the following: 1. The handshake register must be 0. If it is not, make sure that the command register is set to 0. 2. Write the command in the command register. 3. Wait for completion or error code in the handshake register. 4. Set the command register to 0. After this, the terminal will set the handshake register to 0.

Synchronize clock with server State if the clock in the client shall be synchronized with selected server. Select server by stating the number of the server in the entry field. If the clock in the client is locally changed, the change is transferred to selected server.

BDTP Server Address Under BDTP Server Address you define the addresses to the servers from which the client can retrieve information. The addresses will be indexed in the order they are stated. When the object is defined in the project you must specify the source server for the address. Specify the following in the address field of the object: server index>device If, for example 2>D15 is entered in the address field the value for the object is loaded from register D15 in server 2. It is possible to change the server index in a client project with the function BDTP Station change. See “Change BDTP station” on page 63.

232

Page 244

Network communication

BDTP Server Handles the request from clients. Press Edit and state port. Doesn’t normally need to be changed.

Data register Values in data registers can be transferred between one server and different clients in a network. Under Data register you state the first register in the register block in the server to be transferred to/from the stated client. The type of register must not be the same in the client and the server. For further information about data transfer see the section BDTP Client. Client

Server

Register 0 1

Value n n+1 n+2 . . . n+m

123 53447 0

. .

Register

Value

0 1

265346

Registers to transfer n n+1 n+2 . . .

123 53447 0 n+m

265346

. .

Ctrl reg 0 Ctrl reg 1 . . Ctrl reg 4 . .

Note! It is only possible to control data transfer from clients.

233

Page 245

Network communication

Clock Server State if the clients in the network shall synchronize with the clock in current server. See also the section BDTP Client.

FTP Server With this function it is possible to fetch and leave files to and from the terminal. The FTP server in the terminal allows transfer in passive mode (PASV). Passive mode should be used if you don’t connect the terminal point-to-point. You don’t always know whats between the client and the server, for example router based fire wall or gateways. By using passive mode you eliminate several errors. Browsers always use this mode. It is possible to use passive mode at point-to-point connection. National characters are not supported. Select FTP Server under Network serveces and click on Edit... to make the settings for the function.

Control Port number

Default is 21 and should not be changed. Data Port number

Default is 20 and should not be changed. Request Login

Here you state if the user must login to get access to the FTP server. Users are defined under Accounts. If you select that no user need to login all users has full access to the FTP server. Pre Login Text

A text shown before request of user is shown.

234

Page 246

Network communication Post Login Text

A text showing when the user has logged in. Connection Timeout

The time the FTP connection may be inactive before the server disconnect the connection. Default is 10 minutes.

Accounts Under Accounts you define user accounts with which you decide if the user will have access to the FTP server.

FTP Access (Read)

The user may use the FTP server (read). FTP Write

The user may write to the FTP server. Require Access.

235

Page 247

Network communication

SMTP Client The function makes it possible to send email from the terminal. Trend and recipe files can be send as attach files to the message. Max 20 messages can be sent at the same time. Select SMTP Client under Network services and click on Edit... Then you make the following settings.

Server port

Connection port 25. Mail server

The IP-adress or the alias name (DNS server) for the SMTP mail server. My Domain Name

The domain name of the terminal or any other used to login on the SMTP server. My Email Address

Enter your email address. The name is shown as sender for the receiver. Please enter a real email address so that the mail server can return any error messages. Send via Connection

State the connection used for sending. Note that Connection 1 must be used before Connection 2 can be used.

236