DIVR (66)


DIVR (66)

ID                          66

 

 

Application:

PLC

SIM

 

Group: MATH

 

Short description:

A function that divides two numbers.

 

Inputs (2):

no.

type

impulse

mark

notes

1

I

no

a

Float type input no. 1

2

I

no

b

Float type input no. 2

 

Outputs (3):

no.

type

impulse

mark

notes

1

I

no

a/b

Division results
2 B no limit Marker of exceeding the range of float
3 B no error Error of 0 in divisor

 

Settings: none

Function operation:

The DIVR function divides two numbers. The limit output informs about exceeding the float range (2.23E-308 to 1.79E + 308). The error output reports a divide by 0 error.

 

R registers and M markers used: none