KEYENCE LJ-V7000 Series User Manual

Page 91

Advertising
background image

91

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 data in the batch is all acquired.
• 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.

Repeat

Repeat batch start to continuously output profiles.
Batch measurement stops in the following circumstances.

• The specified number of profiles are acquired.
• The stop batch measurements signal is input

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"

Advertising