ADD (63)


ADD (63)

ID                          63

 

 

Application:

PLC

SIM

 

Group: MATH

 

Short description:

Fuction that adds two numbers.

 

Inputs (2):

no.

type

impulse

mark

notes

1

I

no

a

Long int input no 1

2

I

no

b

Long int input no 2

 

Outputs (2):

no.

type

impulse

mark

notes

1

I

no

a+b

Addition result
2 B no limit Marker of exceeding the range of long int

 

Settings: none

Function operation:

The ADD function performs the addition of two numbers. The limit output informs about exceeding the long int range (−2 147 483 648 - +2 147 483 647 (with sign)).


R registers and M markers used: none