beautypg.com

Rockwell Automation 1760 Pico GFX-70 Controllers Quick Start User Manual

Page 38

background image

Publication 1760-QS002A-EN-P - April 2004

6-6 Lesson 4

setpoint SH). We can use this signal in the circuit diagram to reset
marker byte 1 to zero.

The function block coils are located on the left of the function block
and are also shown in normal type. These coils are needed for
activating a function block or supplying it with count pulses. We have
already implemented the supply of the count pulses via C_.

If you have used any contacts or coils in the circuit diagram, this is
highlighted in the function block with green circles .

To complete the wiring of our circuit diagram let's move back to it
(menu: View, Function Blocks or via the

button).

The aim of our task is to visually display the actual value of the
counter using outputs Q1-Q4. As the actual value is stored in marker
byte 1, we can use marker bits 1-4 (M1 - M4) for controlling the
outputs (see the following table).

The control of Q1-Q4 is implemented as follows:

Applicable to
MD, MW, MB,
M

Left = Most
significant bit,
byte, word

Right = Least
significant bit,
byte, word

32-bit

MD1

16-bit

MW2

MW1

8-bit

MB4

MB3

MB2

MB1

1-bit

M32...M25

M24...M17

M16...M9

M8...M1