KEYENCE LJ-V7000 Series User Manual

Page 35

Advertising
background image

35

LJ-V7000_COM_RM_E

Request to reflect settings in the write settings area

Update write settings area

Check the status of saving to the save area

Format

LONG LJV7IF_ReflectSetting(LONG lDeviceId, BYTE byDepth,
DWORD*pdwError);

Parameters

lDeviceId(in)

Specifies the communication device to communicate with.

byDepth (in)

Specifies to what level the settings written in the write settings area will be
reflected to. (LJV7IF_SETTING_DEPTH)

pdwError(out)

The buffer for receiving detailed setting errors (see "9.2.9.4 Detailed setting
errors").

Return value

No individual return code

Explanation

This function reflects the settings stored in the write settings area to the running
settings area.
When LJV7IF_SETTING_DEPTH_SAVE is specified as a parameter, the settings
in the save area can be saved.
When the controller was instructed to overwrite the settings in the save area with
this function, ensure that you check the access status to the save area with the
LJV7IF_CheckMemoryAccess function before turning the power off.

Supported version

1.00

Format

LONG LJV7IF_RewriteTemporarySetting(LONG lDeviceId, BYTE byDepth);

Parameters

lDeviceId(in)

Specifies the communication device to communicate with.

byDepth (in)

Specifies the level of the settings to update the write settings area with.
(LJV7IF_SETTING_DEPTH)

Return value

No individual return code

Explanation

This function updates the contents of the write settings area with either the
settings in the running settings area or the settings saved in the save area.

Supported version

1.00

Format

LONG LJV7IF_CheckMemoryAccess(LONG lDeviceId, BYTE* pbyBusy);

Parameters

lDeviceId(in)

Specifies the communication device to communicate with.

pbyBusy(out)

The buffer for receiving information on whether the save area is being
accessed
Other than 0: Accessing the save area, 0: no access.

Return value

No individual return code

Explanation

This function checks whether or not the controller is accessing the save area
with an operation such as that to save settings.
When the controller was instructed to save settings to the save area with the
LJV7IF_RetrunToFactorySetting function (see "9.1.3 System control"), the
LJV7IF_SetSetting function, the LJV7IF_InitializeSetting function, or the
LJV7IF_ReflectSetting function, check that access to the save area has
completed with this function before turning off the power.

Supported version

1.00

Advertising