Herunterladen Inhalt Inhalt Diese Seite drucken

Lon-Spezifische Parameter - DEUTSCHMANN AUTOMATION UNIGATE IC-LONWorks Bedienerhandbuch

Inhaltsverzeichnis

Werbung

Deutschmann Automation GmbH & Co. KG
if bDestination equal b0 then :CheckRS_In;
ReadBus ( aBusInBuf[0] , wBusInSize ) ;
Diese Routine ist ein Auszug aus dem Beispiel „LON_SC.dss", das Sie im Protocol Developer
unter dem Menü „New" finden.
Weitere LON Script Beispiele befinden sich im Ordner Examples.
9.5

LON-spezifische Parameter

// Bus specific -
// LON
// Lon Input SNVT Mapping
LonInMapping ( a_Source[0] , w_NumberChar ) ;
// Lon Output SNVT Mapping
LonOutMapping ( a_Source[0] , w_NumberChar ) ;
// Lon Self Documentation String
LonSelfDocString ( a_Source[0] , w_NumberChar ) ;
Set ( BusdataTriggerMethod , BusEvent ) ; // DataChange
// BusStart:
BusStart ;
// Device Control -
// Wait State:
Wait ( Bus_Active ) ;
//
**********************************************************************
********
Get ( AvailableBusData , w_word ) ;
Get ( BusDataChanged , b_byte ) ;
// Read Busdata:
ReadBus ( a_Destination[0] , w_NumberChar ) ;
// Write Busdata:
WriteBus ( a_Source[0] , w_NumberChar ) ;
// Wait for changing Busdata:
WaitBusDataChanged ( w_Timeout , w_NumberChar ) ;
// Get Parameter:
// ==============
Get ( BusInputSize , b_byte ) ;
Get ( BusOutputSize , b_byte ) ;
24.7.20
Bedienerhandbuch UNIGATE
// -
0..BusInputSize
Set Parameter
==============
// 0..255
// 0..255
®
IC - LONWorks (62) V. 2.4
LONWorks
38

Werbung

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Unigate ic-lonworks 62

Inhaltsverzeichnis