![background image](http://html.mh-extra.com/html/sick/flexi-soft/flexi-soft_operating-instructions-manual_1264304072.webp)
Chapter
5
Operating Instructions
Flexi Soft Gateways
72
© SICK AG • Industrial Safety Systems • Germany • All rights reserved
8012664/XB29/2013-06-11
Subject to change without notice
Ethernet gateways
5.2.7
Example for the configuration of explicit messaging
This section gives an example how to configure explicit messaging using RSLogix.
Required gateway settings
In the
Gateway configuration
dialog of the Flexi Soft Designer, the following settings have
to be activated:
PLC requests
PLC writes
Required RSLogix settings
In RSLogix, the following settings must be made:
PLC is Active (explicit messaging enabled)
128 connections possible
Each Data Set must have the correct size.
Main program sends a message with command to SET or GET (either
Get_Attribute_Single or Get_Attributes_All, see Tab. 46).
Step 1:
Create two tags. One for the MESSAGE and one to store the data from the GET
command.
The MESSAGE tag will be for the MSG block which is used for explicit messaging. The MSG
command in this example will request Data Set 1. The received Data Set 1 will then be
placed into a tag of our choosing, called “WhatIWant”.
The destination tag must be set to the size of the Data Set. In this case, it would be 50
bytes or INT[25].
Step 2:
On one line in the program, create a NOT connected to the MSG command
Select “message.EN” for the NOT symbol. This ensures that the message will be
requested repeatedly.
Note
Fig. 31: Creating tags for
explicit messaging
Fig. 32: Main routine pro-
gramming for explicit
messaging