Write ladder program to send lonworks output data – ProSoft Technology PS56-LON-001 User Manual

Page 8

Advertising
background image

SlotServer Supplement – LonWorks Open Profile

Page 8 of 16

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

For Technical Support call +1 661.716.5100

The final ladder program to access data from LonWorks Function Block In[0] is depicted below

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.

4.2

Write Ladder Program to Send LonWorks Output Data

This step is only necessary if you need to write data to the LonWorks Network on Function Block Out[0]

Create a Controller Tag called Lon_Out_01 of type REAL[80].

Add a new rung to the Ladder program and add a MOV element to move a block number value of 1 into
Lon_Out_01[2].

Finally add a CPS ( Synchronous Copy File ) element to copy the full Lon_Out_01 tag into the Output
Image Tag.

The LonWorks Data are present from Lon_Out_01[4] to Lon_Out_01[79]

A User Defined Data Type can be created to replace the type of Lon_Out_01 mapping the points to LonWorks point
names.

Very Important Note!

All Output Image Tag data must be updated once using a Synchronous File Copy element. Attempting to update
the block number into the Output Image Tag folowed by the data will cause an asynchronous transfer of data.

Advertising