Produkte


dd

Beispielskripts: Kategorien

Produkte » Produkte

Beispiel-Scripts

Kategorie: Device Control

example_Basisboard_Set_RS_FB_StateLED
 
Sets the given parameter to the const-value. The parameter is one of the parameters defined for this command, the value must be one of the valid values for this parameter.
Download  example_Basisboard_Set_RS_FB_StateLED.dss
example_Basisboard_Set_RS_StateLED
 
Sets the given parameter to the const-value. The parameter is one of the parameters defined for this command, the value must be one of the valid values for this parameter.
Download  example_Basisboard_Set_RS_StateLED.dss
example_databits_9_bit
 
It is possible to set the number of data bits for the serial communication.
Download  example_databits_9_bit.dss
Example_delay
 
Execution of the actual script is delayed for given time. The time is in milliseconds and can take directly values from 0 to 65535. It is not possible to hold the time in a variable.
Download  Example_delay.dss
example_Errorcode
 
Sets the given parameter to the const-value. The parameter is one of the parameters defined for this command, the value must be one of the valid values for this parameter.
Download  example_Errorcode.dss
example_FieldbusID
 
Sets the given parameter to the const-value. The parameter is one of the parameters defined for this command, the value must be one of the valid values for this parameter.
Download  example_FieldbusID.dss
example_Get_FieldbusLen
 
read or write the actual size of the bus input side, input is seen from the device's view.
Download  example_Get_FieldbusLen.dss
example_gw_control_set_baudrate
 
Sets the given parameter to the const-value. The parameter is one of the parameters defined for this command, the value must be one of the valid values for this parameter.
Download  example_gw_control_set_baudrate.dss
example_gw_control_set_RS_StateLED
 
only for SC Set RS_State_LED will set the bicolor Led on the RS side
Download  example_gw_control_set_RS_StateLED.dss
example_gw_control_set_select_ID
 
only for SC Set SelectID will set static the 4 yew Led´s on the RS side
Download  example_gw_control_set_select_ID.dss
example_gw_control_set_warningTime
 
only for SC Set Errorcode will set the 4 yew led´s on the RS side during a default value of 60.000 ms (1 min) or your customer value.
Download  example_gw_control_set_warningTime.dss
example_IC_CO_set_ID_and_baudrate_with_basebord
 
This example need the base board to set the CO ID and baudrate over the dip switch. Sets the given parameter to the const-value. The parameter is one of the parameters defined for this command, the value must be one of the valid values for this parameter.
Download  example_IC_CO_set_ID_and_baudrate_with_basebord.dss
example_IC_functions_DirectAccess
 
This value is to be used for ShiftRegisterInputType and ShiftRegisterOutputType. It is necessary to set Input and Output Type to the same value. This is a possibility to direct access the µP port pins.
Download  example_IC_functions_DirectAccess.dss
example_InitFIFO
 
Sets a virtual ringbuffer to a user defined lenght.
Download  example_InitFIFO.dss
example_ParamBusStateLED
 
This script shows how the state of the bus may be detected from a script.
Download  example_ParamBusStateLED.dss
example_ReadWriteEEROM
 
This script demonstrates saving a number of values permanently in the devices EEROM those values remain even if the device is restarted.
Download  example_ReadWriteEEROM.dss
example_RS485
 
Determine the kind of the RS interface. Possible values range from 0 to 2, reflecting RS232, RS422 and RS485. If you like to use a UNIGATE-SC in RS485 mode or if you like to use a UNIGATE-IC's TE pin set the corresponding RS-type.
Download  example_RS485.dss
example_SetSerialInBufLen
 
Set the system serial input buffer to a user defined lenght. The serial input data stored now in the buffer "a_Source".
Download  example_SetSerialInBufLen.dss
example_ShiftRegister_Basis_FB_FB
 
Example for shift registers and the base board the LED's of the base board are connected to the shift register. In this example a simple value is shifted, so some LED are on and some other are off. The calculate function ignores any overflow, so we have an ring counter, and the 4 yellow LEDs behave like a binary counter. This script will compile and run from Version 1.28 of Protocol Developer, earlier Versions produce compile errors.
Download  example_ShiftRegister_Basis_FB_FB.dss
example_ShiftRegister_Basis_IC
 
Example for shift registers and the base board. The LED's of the base board are connected to the shift register. In this example a simple value is shifted, so some LED are on and some other are off. The calculate function ignores any overflow, so we have an ring counter, and the 4 yellow LEDs behave like a binary counter. This script will compile and run from Version 1.28 of Protocol Developer, earlier Versions produce compile errors.
Download  example_ShiftRegister_Basis_IC.dss
example_Watchdog
 
An internal timer decrease with a frequency of 1 millisecond. The parameter is write only.
Download  example_Watchdog.dss

 

« Zurück