Creating the ladder program, Creating the ladder program -19 – KEYENCE LK-CC100/DN100 User Manual
Page 33

2-19
2
2 Connecting to CC-Link
Creating the Ladder Program
Acquiring measurement data, tolerance comparator results, various
statuses (auto-zero, timing, system error), and program number settings
Create the ladder program as follows.
1
Check the status.
Verify the SYSTEM_ERR_FLAG is OFF and READY_FLAG is ON.
2
Store the counter value.
Store the current counter value (COUNTER_LO and COUNTER_HI).
3
Check for counter value updates.
Wait until the current counter value, stored in Step 2, changes.
4
Acquire data.
Acquire the required data.
The counter value will be updated twice after any of the following has happened to the controller: start
up, set, an able tuning performed, a set scaling from a measurement data, or a complete
communication has been performed
NOTE