75
4-2 Programming Exercise
4-2-1 Application Example
Create a program to store the first 10 values measured by the Displacement Sensor when the
Photoelectric Sensor (PH1) turns ON.
The value measured by the Displacement Sensor is stored in variable data1 as analog data
and then stored as an element of array variable All_Data.
4-2-2 Programming
This section describes the procedure to check operation using the Simulator in the Sysmac
Studio, without using physical devices.