Host Link (Omron)

                                                                                                                                                                               English                Turkish
IR 0
IR 1
IR 2
IR 3
IR 4
IR 5
IR 6
IR 7

Query Byte Count:
1st Query:16 Byte
IR 0
IR 1
IR 2
IR 3

LR 54
LR 55
LR 56

Query Byte Count:
1st Query: 8 Byte
2nd Query: 6 Byte

Host Link tab
Host Link Adresleri:

According the Host Link standart, variables are located in 5 blocks as IR, LR, HR, AR and DM. Following table shows block addresses and data types.

Mnemonic
Adres Aralığı
Boy
IR
0.0 - 2555.15
Bit
IR
0 - 2555
Word
IRd
0 - 2554
Double Word
LR
0.0 - 63.15
Bit
LR
0 - 63
Word
LRd
0 - 62
Double-Word
HR
0.0 - 99.15
Bit
HR
0 - 99
Word
HRd
0 - 98
Double Word
AR
0.0 - 511.15
Bit
AR
0 - 511
Word
ARd
0 - 510
Double - Word
DM
0 - 9999
Word
DMd
0 - 9998
Double - Word
Data is transferred between Master and Slave stations, which queries and answers respectively.
Host Link tab
Sample Host Link Network
Creating a new Network
Newly Created Network
Sample application scheme
Deleting a Network
Network menu
Network menu - Network group
Host Link communication settings
Deleting a Network
Adding a new station
Station menu
İstasyon menu - Station group
Station Properties
Adding a Group
Grup menu
Determining the Group Cycle
Determining group's name
Deleting a group
Tag List
Tags that belong to station
Creating a Tag
Deleting a Tag
Tag List Menu
Notifying PLC Tags that can not be accessed
Writing a value to PLC
Status Strip
Query Byte Count - 2
Host Link module located in the Connection Manager and used for communicating Omron PLCs.
WinTr can connect multiple Host Link Networks through different serial ports. It is not required to all PLCs located in the same network. In this way, increasing PLC count has no effect on communication speed.

In Host Link protocol, connection is made over serial lines and maximum connected Network count is the number of serial ports on the computer. Com port count can be extended by USB-Serial converters. Networks read and written asynchronously but PLC stations read and written sequently by their addresses.





Host Link Networks connected to computer through Com ports. Therefore maximum Network count is determined by Com port count on the computer.

Can not connected to same device from different networks at same time.
Creating a new Network
Creating a Tag
Tag List Menu
Determining the Group Cycle
Delete, removes the group.
Deleting a group
Status Strip
Boolean
0 or 1
Usigned int16
0 to 65535
Signed int16
-32768 to +32767
Unsigned int32
0 to 4294967295
Signed int32
-2147483648 to +2147483647
Floatpoint
32-Bit Named as Single as well.
BCD
Binary-Coded Decimal
Long BCD
Long Binary-Coded Decimal
Time of Day
Time of day. Day can not be used in this type.
Date
Word defined Day number. Beginning of date is "1.1.1990".
Tag List
Data type table
According to Host Link protocol, one Network can contain maksimum 99 slave device. This devices read and written sequently by their addresses.

Device addresses are located in the devices and they assigned by programmer as unique addresses.

Newly Created Network
Sample application scheme
Network menu
Properties, displays Properties window which contains Network connection settings.
Network menu - Network group
Host Link communication settings
Deleting a Network
Adding a new station
Station menu
Properties, displayes a Station Properties window which contains settings about the station.
This group has only Add command for creating a new group.
İstasyon menu - Station group
Adding a Group
Grup menu
Determining group's name
Name, determines group's name.
Deleting a Network
Host Link connection settings:

Serial Port, determines the serial port that will use for the Network connection.

Baudrate, Parity, Stop Bit, Data Bit and Flow Control are settings for the serial communication.

Poll Interval, determines period of the queries that send to PLC. This value ignored while writing data to PLC. Data is written to PLC immediately at the time of the command executed.

Time Out, waiting period for the establishing a connection.


Station Name, determines station's name in the SCADA.

Station Address, address for the connected station.

Fail Repeated Queries, determines repeating count of the query for failed communications.
Station Properties
Creating a New Network:
In Host Link tab, when right mouse button clicked in the white area at the left, a little menu box opens. A new Network is created by clicking Add Hostlink in this menu.
Deleting a Network:

When right clicked on the Network, a menu opens. Selecting Delete in this menu will delete the Network.
Additionally, Network can be deleted from the Network Menu as described at bottom.
When right clicked on Network, a menu opens which contains Network and Station groups.
Network Menu
Network Menu - Network Group:

Network group made up by two item as Properties and Delete.
Delete command in the Network menu Deletes the Network.
Network Menu - Station Group:

Station group, that in the Network's right click menu, contains Add command which adds a station inside the Network.
Station Menu:
When right clicked on the station, a menu opens which contains Station and Group groups.
Station Menu - Station Group:

Contains two element as a Properties and Delete.
Station Menu - Group Group:

Groups:

Tags are created in Groups.
Maximum 128 group can be created.
Groups are created for improving communication performance.
By creating Tags in different groups, some Tags can be read at each cycle, some Tags can be read rarely according to specified group cycle parameter.
In this way some PLC values can be read quick, some values can be read slow.
Grup Menu:

When right clicked on the Group, Group Menu opens which allows group related operations.
Cycle, determines group's read period in cycle.
In Group Menu;
Tag List:

The list at the right side which contains created tags.
The Tags that read and write to PLC are created in this list. Additionally Tag values can be monitored and set in this list.

Group must be selected to adding or deleting Tags in this list.

If group not selected, Tag values can be monitored or set but Tags can not be added or deleted. 

By selecting the group, only the tags, which belongs to that group, are listed.
Groups that created in the station and Tags that belong to group
All Tags will be listed when Station selected.

When Network selected the Tags listed which belongs to last selected group or station.

Tags that belong to station
Tag Creating and Deleting Operations:
Bottom line of the Tag List will be ready for the creating Tag after selecting the group.

Adress Column: Tag's address inside the PLC should be entered this in column. The Tag which will read and write to register will be created by pressing Enter key after typing register address.
Tag Name Column: Each newly created Tag will be named with a unique name. This name can be changed by user with another unique name.



Value Type Column: Tag's data type determined in this column. All types read and transferred to PLC in Modbus format. But they are displayed in Windows standart.


Displayed Data Types:
In Tag list, Rows can be selected by clicking on left side title of the Row. Multiple Rows can be selected by pressing Ctrl key while selecting rows or dragging the mouse.

Selected rows can be deleted by pressing Delete key on the keyboard or selecting Delete command from the right click menu on the related row.
Tag List Menu
Deleting a Tag
Tag List menu opens when right mouse button clicked on Tag List.
On Tag List menu;

Insert, inserts new Tag above the selected Tag.

Cut, cuts selected row or rows.

Copy, copies selected row or rows.

Paste, pastes copies or cut tags.

Delete, deletes selected row or rows.

Monitoring and Setting Tag Values

Tag values that inside the PLC can be monitored and set in this tab. Network connection must be activated to do this.

Activating Network Connection

Created Network connection can be activated by clicking on Connect button that located in the Host Link toolbar or by clicking Connect button on the WinTr toolbar.
Activating Networks
Connect Button that located on WinTr Toolbar activates all Networks.
Connect button on the Host Link tab activates only selected Network.
Tag values will be read from PLC adresses and shown in the Read Value column in both connection types.

The PLC variables that can not be accessed for any reason will be notified with the red background.
Notifying PLC Tags that can not be accessed
To write a PLC, value must be entered to related row's Write Value column then pressed Enter key on the keyboard.

Writing a value to PLC
Disconnecting Network

If all networks activated by Connect button on the WinTr toolbar, all network connections will be disconnected if pressed again same button.
If Disconnect button pressed that on the Host Link tab's toolbar, network will be disconnected just for a time then it will reactivated immediately.

If Network connection activated by Connect button on the Host Link tab, next Disconnect button will only deactivate that network.



Disconnecting the Network
Status Strip:

StatusStrip that locates bottom of the Host Link tab, contains information about Network connection.
First information in this group is Tag Count.
Good is the number of successul communication since Network has been activated.
Bad indicates failed communication count.

Query Byte Count: Most important information of this group. Query is calculated according to entered variable addresses. Then it is sent to PLC. According to calculated query, the byte count that PLC should sent is shown here.

WinTr tries to read all Tags in the group at once. If entered addresses are sequental, all list read at once. In WinTr, maximum 60 byte can be read at once for Host Link standart. Calculated query size is shown as the Query Byte Count in the Statusstrip. If you see different count than you estimated, there could be an error.


Adjusting Query Byte Count for Best Performance:

Query Byte Count should be maximum to get high performance. For example we have 8 Word data communication in our Network. Communication performance will be change according addresses to be read .

If 8 Word is reached sequentally, communication performance will be maximum. In this case Query Byte Count will indicate 16.

Groups that created in the station and Tags that belong to group
Gap between the bytes that will read has negative effect on communication performance also.
Following illustration showing lower performance communication.
Query Byte Count - 1
Activating Networks
Disconnecting the Network
Scada System        Scada Software        Free Scada            What is Scada
SCADA SOFTWARE