Dil ID: 13
Dil Adı: romaina
Dil Kodu: ro10 Produsele mărcii Elevation Audio
Dünyanın En Büyük
Elektronik Bilgi Kütüphanesi



Programming
Chapter 3
318
Figure 3.13
AF2
Multiplication Function Input and Result Display Rungs
Bit
Storage
204
200
G
203
000
G
202
400
G
201
000
G
305
000
G
306
000
G
307
080
G
307
000
G
Execute Aux
Function
Function Number:
Data Addr:
Result Addr:
03
201
305
AF1 Division Function
An AF1 division function operates on two 6-digit BCD numbers and presents
the results in a 12-digit BCD number.
(+
XXX XXX.) : (+XXX XXX.) = +XXX XXX.XXX XXX
How to Enter an AF1 Division Function
To program an AF1 division 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 04, the function number for AF1 division.
This entry identifies that the function entered is to perform an AF division and
that the processor use the data table format shown in Figure 3.14 when
executed. Operands 1 and 2 represent two 6-digit numbers whose quotient you
wish to find. The six digits of operand 1 are represented in BCD by groups of
bits labeled digit 1 through 6. Digit 1 and 6 are the most significant and least
significant digits respectively. Operand 2 and the 12 digits of the result are
labeled similarly.