Siemens 6ED1050-1AA00-0BE8 Mathematic instruction error detection, Setting the Par parameter

Models: 6ED1050-1AA00-0BE8

1 372
Download 372 pages 58.41 Kb
Page 268
Image 268

LOGO! functions

4.4 Special functions list - SF

Setting the Par parameter

The following illustration shows the view in programming mode that corresponds to the first example (12 + (6 / 3)) - 1:

% 9  23  35 0

3UHVV

ႱႧ

% 9  23  35 /

3UHVV

ႱႧ

3UHVV

ႱႧ

% 9  23  35 +

% 9  4HQൺ S 

Use the and keys to navigate between the operand value, operator, and operation priority. To change a value, use the and keys to scroll through value choices for each value. Use the key to navigate from one screen to the previous screen when the cursor is on the V1..V4 line, and the key to navigate to the next screen from the PR1..PR3 line. Use the OK key to accept changes.

4.4.33Mathematic instruction error detection

Short description

The mathematic instruction error detection block sets an output if an error has occurred in the referenced Mathematic instruction (Page 265) function block.

 

Symbol in LOGO!

Wiring

Description

 

 

 

 

 

 

Input En

A change in the status from 0 to 1 at input En

 

(Q

 



 

 

 

(Enable) enables the mathematic instruction error

 

 

 

 

 

 

5

 

(ᇄ

 

4

 

detection block.

 

 

 

 

3DU

 

 

 

 

Input R

A signal at input R resets the output.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Parameter

MathBN: block number of a mathematic instruction

 

 

 

 

 

 

 

Err: ZD: Divide by 0 error

 

 

 

 

 

 

 

OF: Overflow error

 

 

 

 

 

 

 

ZD/OF: (Divide by 0 error) OR

 

 

 

 

 

 

 

(Overflow error)

 

 

 

 

 

 

 

AutoRst: Reset the output before the next execution

 

 

 

 

 

 

 

of the mathematic instruction error function block. Y =

 

 

 

 

 

 

 

yes; N = no

 

 

 

 

 

 

Output Q

Q is set high if the error to detect occurred in the last

 

 

 

 

 

 

 

execution referenced mathematic instruction function

 

 

 

 

 

 

 

block

 

 

 

 

 

 

 

LOGO!

268

 

 

 

 

 

 

Manual, 04/2011, A5E03556174-01

Page 268
Image 268
Siemens 6ED1050-1AA00-0BE8 manual Mathematic instruction error detection, Setting the Par parameter