Mitsubishi Electronics SW2D5C-GTD2-E ユーザーズマニュアル
7 - 2
7.3 Internal Device Interface Function
7.3 Internal Device Interface Function
The internal device interface function is used to operate internal devices from a created program.
The following describes the internal device interface function.
The following describes the internal device interface function.
The following files are required when using the internal device interface function.
The above files are stored in the CD-ROM (DISC1) of GT Works2/GT Designer2.
When using an application that uses the internal device interface function, store GDevlib_GT16.dll in the
same folder as the application or in a folder with a path specified.
The folder storing the above files is shown below.
When using an application that uses the internal device interface function, store GDevlib_GT16.dll in the
same folder as the application or in a folder with a path specified.
The folder storing the above files is shown below.
Internal device interface function
Description
Reference
unsigned long GDev_OpenMapping()
Opens and maps the shared memory of the GOT internal device.
long GDev_Read()
Reads from the GOT internal device.
long GDev_Write()
Writes to the GOT internal device.
void GDev_CloseUnMapping()
Unmaps and closes the shared memory of the GOT internal device.
File name
Description
GDevlib_GT16.dll
DLL for the internal device interface
GDevlib_GT16.lib
LIB for the internal device interface
GDevlib_GT16.h
Header file for the internal device interface
CD-ROM drive
GDevlib
Module
GDevlib_GT16.dll
GDevlib_GT16.lib
GDevlib_GT16.h
DLL for internal device interface
LIB for internal device interface
Header file for internal device interface