St Programming Exercise; Exercise Of Numerical Calculation Programming - Omron NX1P Programming Manual

Machine automation controller
Table of Contents

Advertisement

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]
������������ = � (���� − ����)
+ (���� − ����)
��
��
101

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents