Functions related to modifying or reading settings, Send setting – KEYENCE LJ-V7000 Series User Manual
Page 33

33
LJ-V7000_COM_RM_E
Clear memory
9.2.5 Functions related to modifying or reading settings
For communication devices, see "9.2.9.1 Communication devices".
Send setting
Format
LONG LJV7IF_ClearMemory(LONG lDeviceId);
Parameters
lDeviceId(in)
Specifies the communication device to communicate with.
Return value
No individual return code
Explanation
When the operation mode is "high-speed (profile only)", this function clears the
profile data accumulated in internal memory.
When the operation mode is "advanced (with OUT measurement)", the
accumulated storage data is cleared.
Supported version
1.00
Format
LONG LJV7IF_SetSetting(LONG lDeviceId, BYTE byDepth,
LJV7IF_TARGET_SETTING TargetSetting, void* pData, DWORD dwDataSize,
DWORD* pdwError);
Parameters
lDeviceId(in)
Indicates the communication device to communicate with.
byDepth(in)
Specifies the level to reflect the setting value to that was sent.
(LJV7IF_SETTING_DEPTH)
TargetSetting(in)
Identifies the item that is the target to send.
pData(in)
Specifies the buffer that stores the setting data to send.
dwDataSize(in)
The size in BYTEs of the setting data to send.
pdwError(out)
The buffer for receiving detailed setting errors (see "9.2.9.4 Detailed setting
errors").
* For details on the parameters, see the appendix.
Return value
No individual return code
Explanation
This function sends the setting for the specified item to the controller.
For the procedure to reflect the setting on the controller, see "9.2.9.3 Write
processing for settings".
Supported version
1.00