Neg - Allen-Bradley Micro800 General Instructions Manual

Programmable controllers
Hide thumbs Also See for Micro800:
Table of Contents

Advertisement

Chapter 5
Arithmetic instructions

Neg

90
Neg converts a value to a negated value.
Arguments
Parameter
Parameter Type
EN
Input
i1
Input
o1
Output
ENO
Output
Example
(* ST equivalence: *)
ao23 := - (ai10);
ro100 := - (ri1 + ri2);
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
Data Type
BOOL
SINT - INT - DINT - LINT - REAL - LREAL Input and output must be the same data type.
SINT - INT - DINT - LINT - REAL - LREAL Input and output must be the same data type.
BOOL
Description
Function enable.
When Enable = TRUE, execute current convert to
negative computation.
When Enable = FALSE, there is no computation.
Applies only to LD programs.
Enable out.
Applies only to LD programs.

Advertisement

Table of Contents
loading

Table of Contents