beautypg.com

Logic input functions & status, Ai’n’, in, Ai assign input ‘n’ [ index 0x2074 and 0x2076 – Flintec DAD 141.1 User Manual

Page 43: In read status of the logic inputs [ index 0x210c, Logic input functions & status – ai’n’, in

background image

DAD 141.1 Technical Manual, Rev. 2.2 - February 2014

Page 43 of 54

10.8. Logic Input Functions & Status

– AI’n’, IN

10.8.1. AI

Assign input

‘n’

[

Index 0x2074 and 0x2076

]

This command reads / setup the function of the logical inputs.

The values for ‘n’ are 0 or 1.

Master (PC / SPS) sends

Slave (DAD 141.1) responds

Meaning

AI_1

I1:+00000

Reading Input 1: no function

AI_1_10

OK

Setup accepted

AI_1

I1:+00010

Input 1: display set to

‘Peak to Peak’ value

The 2 logic inputs

‘n’ can be used for the different functions:

00 - Input "n" has no function
01 - Input "n" acts as Zero button
02 - Input "n" acts as Tare button
03 - Input "n" acts as Up arrow button
04 - Input "n" acts as Down arrow button
05 - Input "n" starts the Trigger function
06 - Input "n" displays the Average value
07 - Input "n" displays the Peak value (maximum)
08 - Input "n" deletes the Peak value (maximum)
09 - Input "n" displays the Hold value
10 - Input "n" displays the Peak to Peak value
11 - Input "n" displays the Valley value (minimum)
12 - Input "n" disables the buttons
13 - Input "n" stores the actual weight (Hold value)
14 - Input "n" tares the displays and deletes all other values
15 - Input "n" turn off display

10.8.2. IN

Read status of the logic inputs

[

Index 0x210C

]

This command reads the status of the digital inputs.

Master (PC / SPS) sends

Slave (DAD 141.1) responds

Meaning

IN

I:0000

Reading: Input 0 or 1 inactive

IN

I:0001

Reading: Input 0 active

IN

I:0010

Reading: Input 1 active

IN

I:0011

Reading: Input 0 and 1 active

The status response is in the form

of a four digit code where 0 = false and 1 = true (inputs are active ‘high’).

The least significant bit corresponding to Input 0.