This protocol is to be used with Runtime Service systems running several PLC tasks (VMs) and can be used either over ETHERNET or with a peer to peer serial link.

In addition to the ETHERNET or serial parameters, you must specify the task number between brackets at the beginning of the setting string. The first task number is 1.

For instance:

[1]127.0.0.1:1102

Ethernet communication

For an ETHERNET communication, you need to enter the IP address of the target system. The Workbench Studio uses default port 1100. If your target uses another port number, enter it after the IP address, separated by a semicolon.

For instance:

[1]127.0.0.1:1102

Serial Link

In case of a serial link, you must specify the communication port used on the PC, floowed by the communication parameters according to the following syntax:

                [task]COM<np>:<baudrate>,<parity>,<data>,<stops>

Parameter

Description

<np>

number of the serial port used on the PC

<baudrate>

baudrate

<parity>

parity: N (none) or E (even) or O (odd)

<data>

number of data bits (7 or 8)

<stops>

number of stop bits (1 or 2)

The following example shows setting for communicating on COM1 port, at 19200 bauds, with Even parity, 8 data bits and 1 stop bit:

example Example

[1]COM1:19200,E,8,1

Settings of the multiple Runtime Service protocol

IEC 61131-3 Automation platform > IEC 61131-3 Programming Environment > Running the application > Communication parameters > Settings of the multiple Runtime Service protocol

Previous chapterNext chapter


Created with the Personal Edition of HelpNDoc: Add an Extra Layer of Security to Your PDFs with Encryption