beautypg.com

7 store function related, Store function related, Start storage  stop storage  get storage status – KEYENCE LJ-V7000 Series User Manual

Page 41

background image

41

LJ-V7000_COM_RM_E

9.2.7 Store function related

For communication devices, see "9.2.9.1 Communication devices".

Start storage

Stop storage

Get storage status

Format

LONG LJV7IF_StartStorage(LONG lDeviceId);

Parameters

lDeviceId(in)

Specifies the communication device to communicate with.

Return value

0x8080: The operation mode is "high-speed (profile only)"
0x8081: Storage target setting is "OFF" (no storage)
0x8082: The storage condition setting is not "terminal/command"

Explanation

When the storage condition setting is terminal/command, this function requests
the start of storage.

Supported version

1.00

Format

LONG LJV7IF_StopStorage(LONG lDeviceId);

Parameters

lDeviceId(in)

Specifies the communication device to communicate with.

Return value

0x8080: The operation mode is "high-speed (profile only)"
0x8081: Storage target setting is "off" (no storage)
0x8082: The storage condition setting is not "terminal/command"

Explanation

When the storage condition setting is terminal/command, this function requests
the stop (cancellation) of storage.

Supported version

1.00

Format

LONG LJV7IF_GetStorageStatus(LONG lDeviceId,
LJV7IF_GET_STORAGE_STATUS_REQ* pReq,
LJV7IF_GET_STORAGE_STATUS_RSP* pRsp, LJV7IF_ STORAGE_INFO*
pStorageInfo);

Parameters

lDeviceId(in)

Specifies the communication device to communicate with.

pReq(in)

Specifies the target of the storage status to get.
For each member, see "8 Constant, Structure Definitions".

pRsp(out)

Represents the actually acquired storage status.
For each member, see "8 Constant, Structure Definitions".

pStorageInfo(out)

Storage information destination. If dwActiveSurface in pRsp is 0, the storage
status is not updated

Return value

0x8080: The operation mode is "high-speed (profile only)"

Explanation

When the storage target setting is not off, this function gets the storage status.

Supported version

1.00