KEYENCE LJ-V7000 Series User Manual

Page 89

Advertising
background image

89

LJ-V7000_COM_RM_E

Callback function

Use the callback function to deliver profile data to the application each time the amount of profile data
specified in high-speed data communication initialization is sent by the computer.

*1 The callback function is called in the following circumstances.

• The specified number of profiles are sent from the controller
• High-speed communication stops (settings are changed, a stop high-speed data

communication command is sent, a clear memory command is sent)

• The program is switched

*2 When the number of profiles specified in batch settings are sent by the computer, the 16th bit of the

8.3.1.1 dwNotify parameter turns ON.

*3 When the number of profiles specified in the callback function is low, the delivery frequency

becomes high and the computer load increases, which may cause the computer processing
speed to decrease. Check and consider the load status of the application when setting the delivery
amount.

Stop high-speed data communication

Stops profiles from being output from the controller to the computer.
When high-speed communication stops, the 1st bit of the 8.3.1.1 dwNotify parameter turns ON.

Restart high-speed data communication

To restart high-speed communication after it has stopped, start the high-speed data communication in the
following order:
"Finalize high-speed data communication"  "Disconnect ethernet communication"  "Start ethernet
communication"  "Initialize ethernet high-speed communication"  "Request preparation for Ethernet
high-speed data communication"

13.3 High-speed communication using the batch function

Use this when measuring each target in the batch individually as it arrives, as in the diagram below.
The batch function has the following advantages.
• Up to 15,000 profiles can be managed as one batch of data, making it easier to handle on the computer.
• When the previously set amount of data is measured, data measuring automatically finishes.
• When high-speed data communication starts, the timing of when profiles are sent to the computer can be

controlled using the batch start timing control for the controller.

Advertising