beautypg.com

Rockwell Automation 1772-AF1,D17726.5.1 User Manual MINI-PLC-2/15 User Manual

Page 41

background image

Programming

Chapter 3

3Ć33

Figure 3.29

AF1 Standard Deviation Function Input and Result Display Rungs

Bit

Storage

203

202

G

202

201

G

201

200

G

200

003

G

305

000

G

306

816

G

Execute Aux

Function

Function Number:
Data Addr:
Result Addr:

07

201
305

AF1 BCD to Binary Conversion Function

The AF1 BCD (binary coded decimal) to binary conversion function converts a
BCD number (from 0 to 4095) into a 12-bit binary number.

How to Enter an AF1 BCD to Binary Conversion Function

To program an AF1 BCD to binary conversion function, perform the following
steps:

1. Press [SHIFT] [EAF] or [SHIFT] [SCT] on the keyboard of your

industrial terminal. Figure 3.1 appears on the CRT.

2. Enter 13, the function number for AF1 BCD to binary conversion.

This entry identifies that the function entered is to perform an AF1 BCD to
binary conversion and that the processor use the data table format shown in
Figure 3.30 when executed.