EasyManua.ls Logo

Omron NX1P

Omron NX1P
106 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
101
6-3 ST Programming Exercise
6-3-1 Exercise of Numerical Calculation Programming
Create a ladder program including inline ST to calculate the distance between two points.
Exercise
Create a program to execute the ST code to calculate the distance between two points
when the Switch SW3 is pressed.
[Pythagoras' theorem]
𝐋𝐞𝐧𝐠𝐭𝐡 =
(𝐗𝟏 𝐗𝟎)
𝟐
+ (𝐘𝟏 𝐘𝟎)
𝟐

Table of Contents

Related product manuals