EasyManuals Logo

Toshiba Vm Series Operating Instructions (Functional Manual)

Toshiba Vm Series
62 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #48 background imageLoading...
Page #48 background image
Chapter 3 Functions
6F8C1657
32
3.3.1 VmsCreateFile
Interface
VmsCrateFile – Get a handle to access each memory
Prototype
HANDLE VmsCreateFile(DWORD how, void *p);
Description
As the first argument, specify 0 indicating the data type DWORD
specified by the second argument.
For the second argument, pass a DWORD type pointer whose value
is the slot number to be accessed.
Slot 1 : PLC / DCS
Slot 2 : PLC
Slot 3 : Windows
Slot 11 : PLC
Slot 12 : PLC
Slot 13 : Windows
Return value
Normal return is a file handle.
Abnormal return is zero.
Note
If the argument is correct but the return value is zero, Windows access control may be
working. In that case, run the application with administrator privileges to get the file handle.
Note
Slot number 11, 12, 13 are for B side PUB of the multi base unit configuration.
"VmsGetMultiType" is used to determine which PUB on the A side and the B side application
is carried out in.
3.3.2 VmsCloseHandle
Interface
VmsCloseHandle – Release a handle
Prototype
BOOL VmsCloseHandle(HANDLE hDevice);
Description
Release the handle taken with VmsCreateFile.
Return value
Normal return is TRUE.
Abnormal return is FALSE.

Other manuals for Toshiba Vm Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Toshiba Vm Series and is the answer not in the manual?

Toshiba Vm Series Specifications

General IconGeneral
BrandToshiba
ModelVm Series
CategoryController
LanguageEnglish

Related product manuals