Accessing all lonworks function block data, Input data from function blocks in[1] to in[24, Output data from function blocks out[1] to out[24 – ProSoft Technology PS56-LON-001 User Manual

Page 11

Advertising
background image

SlotServer Supplement – LonWorks Open Profile

Page 11 of 16

ProSoft Technology, Inc. is the exclusive provider of FieldServer SlotServers.

For Technical Support call +1 661.716.5100

5

ACCESSING ALL LONWORKS FUNCTION BLOCK DATA

The Quickstart example is for accessing only LonWorks Data in Functional blocks:

In[0] and Out[0]

5.1

Input Data from Function Blocks In[1] to In[24]

To access Input Data Blocks In[1] up to In[24] simply add to the existing ladder program as shown in the Quickstart
example.

Add a branch after the CPS element that copies the input image Tag and copy and paste EQU and CPS
elements from the first rung.

Create a new Input Tag for Lon_In_02 of type REAL and dimension 76.

Finally, remember to set the EQU Source B value to 2 to compare for incoming data from the 2

nd

LonWorks functional block which is In[1].

See the ladder program below how to add In[1].

Very Important Note!

To ensure that the input data is from a specific LonWorks Function Block, make a synchronous copy of the input
image data before using it.

5.2

Output Data from Function Blocks Out[1] to Out[24]

To access more output blocks it is necessary to create a Multiplexer in Ladder. The Flash Drive supplied with the
product includes an ACD file with an example of multiplexing use.

The basic steps are:

Create a Counter which counts up every 100ms.

Place the counter value into the Lon_Out_xx Tag at offset 2.

Copy the whole Tag into the output Data Image Tag for transferring to the LonWorks network.

Advertising