24.01.2015 Views

PLC Programming

  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

General Online Functions...<br />

'Online' 'Communication Parameters'<br />

You are offered a special dialog for setting communication parameters when the communication<br />

between the local PC and the run-time system is running over a gateway server in your system. (If the<br />

OPC or DDE server is used, the same communications parameters must be entered in its<br />

configuration).<br />

See the following items:<br />

Principle of a gateway system<br />

Communication Parameters Dialog for the local PC<br />

Principle of a gateway system<br />

Principle of a gateway system<br />

Let us examine the principle of the gateway system before explaining the operation of the dialog:<br />

A gateway server can be used to allow your local PC to communicate with one or more run-time<br />

systems. The setting concerning which run-time systems can be addressed, which is specifically<br />

configured for each gateway server, and the connection to the desired gateway server, is made on the<br />

local PC. Here it is possible that both the gateway server and the run-time system(s) can run together<br />

on the local PC. If we are dealing with a gateway server which is running on another PC we must<br />

ensure that it has been started there. If you are selecting a locally installed gateway server, it<br />

automatically starts when you log onto the target run-time system. You can recognise this through the<br />

appearance of a CoDeSys symbol on the bottom right in the task bar. This symbol lights up as long<br />

as you are connected to the run-time system over the gateway. The menu points Info and Finish are<br />

obtained by clicking with the right mousekey on the symbol. Finish is used to switch off the gateway.<br />

See the following scheme for presenting a gateway system:<br />

PC_local is your local PC, PC_x is another PC, which gateway addresses. PC_gateway is the PC on<br />

which the gateway server is installed, PC_<strong>PLC</strong>1 through to PC_<strong>PLC</strong>4 are PCs on which the run-time<br />

systems are running. The diagram shows the modules as separated but it is fully possible for the<br />

Gateway server and / or run-time systems to be installed together on the local PC.<br />

Important: Please note that a connection to gateway is only possible over TCP/IP so make sure that your PC is<br />

configured appropriately!<br />

The connections from gateway to the various run-time computers can, on the other hand, run over<br />

different protocols (TCP/IP, Pipe, etc.).<br />

Tips for editing the parameters in the communications parameters dialogue<br />

You can only edit the text fields in the column Value.<br />

Select a text field with the mouse, and get into the editing mode by double clicking or by pressing the<br />

space bar. The text input is finished by pressing the key.<br />

You can use or + to jump to the next or the previous switching or<br />

editing possibility.<br />

4-60 CoDeSys V2.3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!