KEYENCE LJ-V7000 Series User Manual
Page 88

88
LJ-V7000_COM_RM_E
[Checking read profiles]
Profiles read using the callback function each have a header that contains the following information.
• Whether the encoder Z phase has been input. (Refer to "Profile header information structure" in "8.2
Structure definitions")
• Trigger counter - Indicates which number trigger from the start of measurements this profile is.
• Encoder count - The encoder count. (The encoder trigger count value can be checked in A-2 of the
User's Manual.) If the encoder input period is faster than the set sampling period, the encoder input is
not regarded as a trigger, but is counted as an encoder count value. (When a pulse exceeding the
encoder minimum input time is input)
Use this information to specify the profile position according to the intended use.
13.2 High-speed communication without using the batch
setting
Use this to continuously measure the target profile, as in the diagram below.
Use this to measure and output the results of the profile with no upper data limit.
[Command procedure]
Commands are sent using the following procedure.
Start high-speed data communication
When the start high-speed data communication command is sent to the controller profile data measured
on LJ-V starts to be output. Measurement is carried out on LJ-V each time a trigger is input.
Start ethernet communication
LIV7IF_EthernetOpen
Initialize ethernet high-speed data
communication
LIV7IF_HighSpeedDataEthernetCommunicationInitialize
Request preparation for high-speed data
communication
LIV7IF_PreStartHighSpeedDataCommunication
Start high-speed data communication
LIV7IF_StartHighSpeedDataCommunication
Stop high-speed data communication
LIV7IF_StopHighSpeedDataCommunication
Finalize high-speed data communication
LIV7IF_HighSpeedDataCommunicationFialize
Callback function
Deliver profile data to the application using the
Callback function.
Discharge
Disconnect ethernet
communication
LIV7IF_CommClose