Rockwell Automation 1772-AF4,D17726.5.3 User Manual, AUX FUNCT PROM User Manual

Page 34

Advertising
background image

Programming

Chapter 3

3Ć26

Figure 3.17

AF4 Division Function Input and Result Display Rungs

201

000

G

202

400

G

203

000

G

204

200

G

305

000

G

306

002

G

306

000

G

306

000

G

Bit

Storage

Execute Aux

Function

Function Number:
Data Addr:
Result Addr:

04

201
305

Error Message

If you divide by zero, the error bit (bit 14) is set and the result reads zero.

AF4 BCD to Binary Conversion Function

The AF4 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 AF4 BCD to Binary Conversion Function

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

1.

Press [SHIFT][EAF] or [SHIFT][SCT] on the industrial terminal
keyboard. Figure 3.1 appears on the CRT.

Advertising