Omron NX1P Programming Manual page 64

Machine automation controller
Table of Contents

Advertisement

5.
Insert the GetTime function and enter "EndTime" as the output variable name.
6.
Insert the SUB_DT_DT (Subtract Date and Time) instruction to subtract StartTime from
EndTime.
Enter "LapTime" as the output variable name.
7.
Click the Variables Bar at the top of the window to check the variable table.
StartTime and EndTime are registered as DATE_AND_TIME (date and time) data and
LapTime as TIME (durations) data.
The data types are automatically set according to the used instructions.
64

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents