Movicon Examples on using Basic Scripts

ID

TOPIC

DESCRIPTION

DOWNLOAD

E0007

Basic Script

This example shows how to pass  parameters to a Basic Script.

 

E0015

Commands

This example explains how to execute commands usually available on the 'Command List' using the VBA methods.

 

E0021

Basic Script

This example shows how to use the IO Interface to access to the serial com ports.

 

E0031

Basic Script

This example shows how to share a VBA routine with other VBA routines.

 

E0034

Basic Script

This example verifies if a specified process running inside the Windows' task manager is already in execution on the device.

 

E0035

Basic Script

This example shows how to end a running process in Windows.

 

E0036

Basic Script

This example shows how to stop the OS.

 

E0037

Basic Script

This example shows how to play a sound file without using any external application.

 

E0038

Basic Script

This example shows how to use the Windows' ROT interface for referencing the Movicon application from an external Visual Basic or VisualC program.

 

E0076

Basic Script

This example shows how to use the Windows' ROT interface for referencing the Movicon application from an external Visual Basic program and access to the child project variables.

 

E0047

Dispatcher

This example shows how to send messages with AlarmDispatcher with a basic Script routine.

 

E0054

Basic Script

This example allows you to get the IP address of a PC.

 

E0056

Basic Script

This example shows how to use the Windows' API to perform a machine's  Ping command.

 

E0067

Services

This example shows how to run or stop a Windows service.

 

E0098

Basic Script

This example shows you how to use Collection objects in Movicon scripts.

 

E0099

Basic Script

This example shows how you can use the ".NET" code in Movicon script.

 

E0100

Basic Script

This example shows you how to use the Microsoft ActiveX WinSock for sending/receiving data via TCP.

 

E0111

Basic Script

This example shows you how to keep a script continuously in execution without using too many system resources.