FS-RA-CLX-LON-000_SlotServer_LonWorks_Open_Interface_(T17010)
5.4.
Step 4: 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]
You can create a User Defined Data Type to replace the type of Lon_Out_01 mapping the
points to LonWorks point names.
Very Important Note!
It is very important to only update all the data of the Output Image Tag once using a
Synchronous File Copy element. It is not permissible to update the block number into the
Output Image Tag and then the data as this will cause an asynchronous transfer of data.
5.5.
Step 5: Download the RSLogix Program and Run
Use the Who Active or Communications Path directly to Download and Run the Program on
the Controller / CPU.
5.6.
Step 6: Bind LonWorks Variables
The SlotServer's LonWorks Network Variables must be bound to other devices using a
Network Management Tool such as LonMaker. See Appendix C for more details on how to
use a Network Management Tool to make the bindings.
5.7.
Step 7: Interpret the Network Variable Data
LonWorks Input Variable Values can be found in the Lon_In_01 Tag.
Lon_In_01 Tag Layout:
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-2296 Toll_Free: 888-509-1970 email: support@fieldServer.com
Page 14 of 28