2 structure definitions, Structure definitions – KEYENCE LJ-V7000 Series User Manual
Page 11

11
LJ-V7000_COM_RM_E
8.2
Structure definitions
Name
Ethernet settings structure
Definition
Typedef struct {
BYTE
abyIpAddress[4];
WORD
wPortNo;
BYTE
reserve[2];
} LJV7IF_ETHERNET_CONFIG;
Description
This structure contains the settings passed during an Ethernet communication connection.
abyIpAddress
The IP address of the controller to connect to.
For 192.168.0.1:
Set abyIpAddress[0]=192, abyIpAddress[1]=168,
and so on.
wPortNo(in)
The port number of the controller to connect to.
Comment
-
Name
Date/time structure
Definition
Typedef struct {
BYTE
byYear;
BYTE
byMonth;
BYTE
byDay;
BYTE
byHour;
BYTE
byMinute;
BYTE
bySecond;
BYTE
reserve[2];
} LJV7IF_TIME;
Description
The date/time for the controller.
byYear
Year. Set from 0 to 99, which means 2000 to 2099.
byMonth
Month.1 to 12.
byDay
Day.1 to 31.
byHour
Hour.0 to 23.
byMinute
Minute.0 to 59.
bySecond
Second.0 to 59.
Comment
-