Quickernet.dll; Digital R/W Functions - ICP DAS USA ISaGRAF WinCE ViewPAC User Manual

Table of Contents

Advertisement

6.4

QuickerNET.DLL

This section we will focus on the description of the application example of QuickerNET.DLL functions.
There are some functions that can be used to R/W data from/to the ISaGRAF SoftLogic. The functions
of QuickerNET.DLL can be clarified as two groups as depicted as below:

1. Digital R/W Functions

2. Analog R/W Functions
6.4.1 Digital R/W Functions
■ UserSetCoil
Description:
This function is to set the value to a Boolean variable by Modbus network address.
Syntax:
UserShare.UserSetCoil ( iUserAddress As System.UInt16, iStatus As byte)
Parameter:
iUserAddress : Specify the Modbus Network Address of Variable (1 to 8191) iStatus : Set the status. For
instance, iStatus = 1 for True, iStatus = 0 for False
Return Value:
None
Example:
' Set the output variable of Modbus Network Address "1" to True.
UserShare.UserSetCoil(Convert.ToUInt16(1), 1)
Demo program :
ISaGRAF WinCE ViewPAC CD-ROM: \napdos\isagraf\vp-25w7-23w7\vb.net-2008-demo\wp_vb01
6-6
ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vp-25w7Vp-23w7Vp-4137Vp-25w6Vp-23w6Vp-4136

Table of Contents