8 constant, structure definitions, 1 constant definitions, Constant, structure definitions 8.1 – KEYENCE LJ-V7000 Series User Manual

Page 8: Constant definitions, 8constant, structure definitions

Advertising
background image

8

LJ-V7000_COM_RM_E

8

Constant, Structure Definitions

8.1

Constant definitions

Name

Setting value storage level designation

Definition

Typedef enum {

LJV7IF_SETTING_DEPTH_WRITE = 0x00,

// Write settings area

LJV7IF_SETTING_DEPTH_RUNNING = 0x01,

// Running settings area

LJV7IF_SETTING_DEPTH_SAVE = 0x02

// Save area

} LJV7IF_SETTING_DEPTH;

Description

This enumeration designates the operation target level in functions that modify or read
settings. For details on the setting value storage level, refer to "9.2.9.3 Write processing for
settings".

Comment

The controller retains three sets of settings data.
Those levels are used in the applications below.
Write settings area

Settings that do not affect operation.
In order to not allow an error in controller operations from inconsistencies in settings that
occur temporarily when changing multiple settings, the operation of the controller can be
changed without causing an error by reflecting the settings from this area to the running
settings area after writing the settings to this area.

Running settings area

The settings the controller is using in its operation.
When the controller starts, this area is initialized with the settings in the save area.

Save area

The settings that are saved even when the controller's power is turned off.

Name

Initialization target setting item designation

Definition

Typedef enum {

LJV7IF_INIT_SETTING_TARGET_PRG0 = 0x00,

// Program 0

LJV7IF_INIT_SETTING_TARGET_PRG1 = 0x01,

// Program 1

LJV7IF_INIT_SETTING_TARGET_PRG2 = 0x02,

// Program 2

LJV7IF_INIT_SETTING_TARGET_PRG3 = 0x03,

// Program 3

LJV7IF_INIT_SETTING_TARGET_PRG4 = 0x04,

// Program 4

LJV7IF_INIT_SETTING_TARGET_PRG5 = 0x05,

// Program 5

LJV7IF_INIT_SETTING_TARGET_PRG6 = 0x06,

// Program 6

LJV7IF_INIT_SETTING_TARGET_PRG7 = 0x07,

// Program 7

LJV7IF_INIT_SETTING_TARGET_PRG8 = 0x08,

// Program 8

LJV7IF_INIT_SETTING_TARGET_PRG9 = 0x09,

// Program 9

LJV7IF_INIT_SETTING_TARGET_PRG10 = 0x0A,

// Program 10

LJV7IF_INIT_SETTING_TARGET_PRG11 = 0x0B,

// Program 11

LJV7IF_INIT_SETTING_TARGET_PRG12 = 0x0C,

// Program 12

LJV7IF_INIT_SETTING_TARGET_PRG13 = 0x0D,

// Program 13

LJV7IF_INIT_SETTING_TARGET_PRG14 = 0x0E,

// Program 14

LJV7IF_INIT_SETTING_TARGET_PRG15 = 0x0F,

// Program 15

} LJV7IF_INIT_SETTING_TARGET;

Description

This enumeration designates which settings to initialize in settings initialization function.

Comment

-

Advertising