Get setting  initialize setting – KEYENCE LJ-V7000 Series User Manual

Page 34

Advertising
background image

34

LJ-V7000_COM_RM_E

Get setting

Initialize setting

Format

LONG LJV7IF_GetSetting(LONG lDeviceId, BYTE byDepth,
LJV7IF_TARGET_SETTING TargetSetting, void* pData, DWORD dwDataSize);

Parameters

lDeviceId(in)

Specifies the communication device to communicate with.

byDepth(in)

Specifies the level of the setting value to get. (LJV7IF_SETTING_DEPTH)

TargetSetting(in)

Identifies the item that is the target to get.

pData(out)

Specifies the buffer to receive the setting data that was acquired.

dwDataSize(in)

The size of the buffer to receive the acquired data in BYTEs.

* For details on the parameters, see the appendix.

Return value

No individual return code

Explanation

This function gets the setting for the specified item from the controller.

Supported version

1.00

Format

LONG LJV7IF_InitializeSetting(LONG lDeviceId, BYTE byDepth, BYTE
byTarget);

Parameters

lDeviceId(in)

Specifies the communication device to communicate with.

byDepth(in)

Specifies the level to reflect the initialized setting. (LJV7IF_SETTING_DEPTH)

byTarget (in)

Specifies the setting that is the target for initialization.
(LJV7IF_INIT_SETTING_TARGET)

Return value

No individual return code

Explanation

This function initializes the setting specified as the initialization target.
For the procedure to reflect the setting on the controller, see "9.2.9.3 Write
processing for settings".

Supported version

1.00

Advertising