beautypg.com

Rockwell Automation 1775-S4B,D17756.5.3 User Manual SCANNER/MSG HND User Manual

Page 148

background image

Floating Point Values on the 1775ĆS4B Scanner

Appendix B

BĆ7

Figure B.1

Floating Point Conversion User Program (continued)

Rung Number RS15

NEG

Ć A = R

A : WCACC:0000

0

R : WH000:0002

37

GRT

A > B

A : WCACC:0000

0

B : WN000:0002

0

Rung Number RS16

NEG

MOVE FROM A TO R

A : WN000:0002

0

R : WH000:0002

37

EQU

A = B

A : WCACC:0000

0

B : WN000:0002

0

EQU

A = B

A : WCACC:0001

0

B : WN000:0002

0

Rung Number RS17

(RET)

Rung Number RS19

(RET)

Rung Number RS20

(EOP)

Rung Number RS18

(L)

B0000

05

00005

LBL

MOV

MOVE FROM A TO R

A : WF000:0000

0

R : WF000:0001

0