ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS
6-7
■
UserGetCoil
Description:
This function is to get the value from a Boolean variable by Modbus network address.
Syntax:
UserShare.UserGetCoil ( iUserAddress As System.UInt16, ByRef iStatus As byte)
Parameter:
iUserAddress : Specify the Modbus Network Address of Variable (1 to 8191)
iStatus : Get the variable status , iStatus = 1 for True, iStatus = 0 for False
Return Value:
None
Example:
‘ Get the variable status of Network Address “1”.
Dim iStatus As Byte
UserShare.UserGetCoil(Convert.ToUInt16(1), iStatus)
Demo program :
ISaGRAF WinCE ViewPAC CD-ROM: \napdos\isagraf\vp-25w7-23w7\vb.net-2008-demo\wp_vb01
Summary of Contents for ISaGRAF WinCE ViewPAC
Page 44: ......
Page 118: ......
Page 177: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 17 VP 23W7 23W6 Unit mm...
Page 178: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 18 VP 25W7 25W6 Unit mm...
Page 179: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 19...
Page 180: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 20 VP 41x7 41x6 Unit mm...
Page 185: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 25...