SUBR (68)


SUBR (68)

ID                          68

 

 

Application:

PLC

SIM

 

Group: MATH

 

Short description:

A function that performs the subtraction of two numbers.

 

Inputs (2):

no.

type

impulse

mark

notes

1

R

no

a

Real type input no. 1

2

R

no

b

Real type input no. 2

 

Outputs (2):

no.

type

impulse

mark

notes

1

R

no

a-b

Subtraction results
2 B no limit Marker of exceeding the range of double

 

Settings: none

Function operation:

The SUBR function performs the subtraction of two numbers. The limit output informs about exceeding the double range (+/- 1.7E308).

 

R registers and M markers used: none