EasyManua.ls Logo

Toshiba Vm Series - Finalizing Scan Talker Block Configuration; Downloading and Checking Talker Block Data

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
Loading...
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

Related product manuals