12 appendix, 1 sending/receiving settings, 2 batch sending/receiving – KEYENCE LJ-V7000 Series User Manual

Page 65

Advertising
background image

65

LJ-V7000_COM_RM_E

12 Appendix

12.1 Sending/Receiving Settings

With the LJ-V7000 Series, settings can be sent and received for each item using send settings
(LJV7IF_SetSetting) and receive settings (LJV7IF_GetSetting). (Each item refers to set parameters for
Environment settings/Common measurement settings/settings for programs 0 to 15.)
To send and receive Environment settings, Common measurement settings and settings for each program
together in a batch, refer to "12.2 Batch sending/receiving".

This section explains Target Setting and pData, which are input and output into Sending/Receiving Settings
commands. (Refer to "9.2.9.3 Write processing for settings" for information about byDepth)

Target Setting: Specify the item to send/receive settings for. Members are as follows. For detailed parameters
for each member refer to "Details of Items for Sending/Receiving Settings" on the following page.

pData: Specifies the setting data to send/receive. For details, refer to "Details of Items for Sending/Receiving
Settings" on the following page.

12.2 Batch sending/receiving

Specify FFh in Category above to send/receive Environment settings/Common measurement settings/
settings for each program in a batch.

Example 1: Sending/receiving Common measurement setting data in a batch

Type: 02h, Category: FFh, Item: 00h, Target 1 to 4: 00h

Example 2: Sending/receiving program No. 5 settings in a batch

Type: 15h, Category: FFh, Item: 00h, Target 1 to 4: 00h

Refer to the sample program for details.

* When sent/received as a batch, Environment settings are 60 bytes, Common measurement settings are

12 bytes, and program settings are 10932 bytes.

Type

Specify the settings to send/receive from Environment settings (01h), Common
measurement settings (02h) and program 0 to program 15 (10h to 1Fh).

Category

When sending/receiving program 0 to 15 settings, specify the settings to send/
receive from Trigger settings, Imaging settings etc.
Specify 0 when sending/receiving Environment settings and Common
measurement settings.

Item

Specify the settings to send/receive for the item specified in Category.

Target1

Specification may be required according to the setting to be sent/received.
When no setting is required, specify 0.

Target2

Target3

Target4

Advertising