10 time data added to storage data, 10 time data added to storage, Data – KEYENCE LJ-V7000 Series User Manual

Page 56: 10 time data, Added to storage data

Advertising
background image

56

LJ-V7000_COM_RM_E

9.2.9.9 High-speed data communication troubleshooting

9.2.9.10 Time data added to storage data

Information that indicates the time that data was accumulated is added to storage data. The
information added is "Base time (LJV7IF_TIME)" and "counter value in 10 ms units".
The counter value refers to the amount of time passed since the base time. If it is 1, 10 ms have
passed, if it is 100, 10 ms x 100 = 1 s has passed. The time at which data was accumulated is
calculated using the following formula: base time + counter value x 10 ms.
Note 1 The most application must calculate "counter value x 10 ms" and change the time so it is

displayed in the following format: year, month, day, hour, minute and second.

Note 2 When the data is accumulated at a frequency greater than 10 ms, multiple pieces of data

may have the same counter value. (The time cannot be shown in units smaller than 10 ms)

Symptom

Item to check

Remedy

The application exits with
an error after high-speed
data communication starts.

Have the callback function call
protocols been specified
correctly?

Match the callback function call
protocols with those in the header
file.

The profile data to be
obtained becomes
abnormal at irregular
intervals.

Is the data that is used by the
main thread being used by a
callback function without first
acquiring exclusive processing
access?

Acquire exclusive processing
access for shared data.

The profile data to be
obtained becomes
abnormal at regular
intervals.

Is heavy processing (such as the
saving of files) being performed
within a callback function?

Change the callback function so
that its processing time becomes
shorter.

Is the communication speed of
your communication path
sufficient?

Change to a high-speed
communication path such as
100BASE-T.

High-speed
communication is
interrupted.

Is heavy processing (such as the
saving of files) being performed
within a callback function?

Change the callback function so
that its processing time becomes
shorter.

Is the communication speed of
your communication path
sufficient?

Change to a high-speed
communication path such as
100BASE-T.

Advertising