Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 24 of 55

Hand-Held Terminal (Catalog Number 1747-PT1) User Manual: 13 - The Force Function

Pages 199 to 208 of 486, from Hand-Held Terminal (Catalog Number 1747-PT1) User Manual

The original document is the PDF (1.5 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Allen-Bradley 1747-PT1

Page 199

Chapter

13

The Force Function This chapter briefly describes the force function. Topics include: • forcing I/O • forcing an external input • searching for forced I/O • forcing an external output • forces carried offline

Forcing I/O

The force function allows you to override the actual status of external input circuits by forcing external input data file bits On or Off. You can also override the processor logic and status of output data file bits by forcing output circuits On or Off. You can install and then enable or disable forces with the processor in any mode while monitoring your file online. To force an external input, the following program (the same program used in the last chapter), is used throughout this chapter.

0

1

I:0.0 ] [ 1

B3 ]/[

I:0.0 ] [ 1

B3 ]/[ 10

11

B3 ( ) 12

12

B3 ( ) 11

B3 ] [ 10 B3 ]/[

B3 ] [ 11 2

I:0.0 ] [ 1

B3 ( ) 10

3

B3 ] [

O:0.0 ( ) 0

11

Operation: This program is used to achieve the maintained contact action of an On–Off toggle switch using a momentary contact push button. (Press for on; press again for off.) The first time you press the push button (represented by address I:0/1), instruction B3/11 is latched, energizing output O:0/0. The second time you press the push button, instruction B3/12 unlatches instruction B3/11, de–energizing output O:0/0. Instruction B3/10 prevents interaction between instructions B3/12 and B3/11. Note: If you have not yet entered this program and downloaded, refer to chapter 10. The controller configuration and I/O addresses programmed in the HHT must match the controller you download to. This program is written for a fixed controller.

13–1

Page 200

Chapter 13 The Force Function

Forcing an External Input

Installing forces on input data file bits only affects the input force table. However, enabling the installed forces affects the input force table, input data file, and, thus, the program logic. The effects on the program logic of installed and enabled forces can be seen in both the Run and Test modes. In the following example, the HHT is online, monitoring the program in the Run mode. The cursor is located on external input I:0/1. The display indicates NO FORCE. XIC: I1:0.0/1 ] [ ]/[ ]/[ ] [ ] [ ] [ ] [

NO FORCE ] [ ]/[

2.0.0.0.1 ( ) ( ) ( ) ( ) RUN

MODE

FORCE

EDT DAT

SEARCH

F1

F2

F3

F4

F5

To Close an External Input Circuit To simulate the closing of the external input circuit, you must force the input as follows: 1. Select the force function by pressing [F2], FORCE. The force functions appear: XIC: I1:0.0/1 ] [ ]/[ ]/[ ] [ ] [ ] [ ] [

NO FORCE ] [ ]/[

2.0.0.0.1 ( ) ( )

ON

OFF

REM

REM_ALL

( ) ( ) RUN ENABLE

F1

F2

F3

F4

F5

Note: The HHT does not have access to the force table.

13–2

Page 201

Chapter 13 The Force Function

Function Key

Description

[F1], ON

Enters a 1 in the input force table for the cursored external input bit address. This installs a force. If the Enable function is in effect and the processor is in the Run or Test mode, the force is applied. The data file bit remains forced until: 1) the disable function is in effect, or 2) the force is removed.

[F2], OFF

Enters a 0 in the input force table for the cursored external input bit address. This installs a force. If the Enable function is in effect and the processor is in the Run or Test mode, the force is applied. The data file bit remains forced until: 1) the disable function is in effect, or 2) the force is removed.

[F3], REM

Affects the cursored external input bit address. If applicable, removes the installed force from the force table and the data file. Other forces are unaffected.

[F4], REM_ALL

Affects all forced external input bit addresses and external output circuits. Removes installed forces from all external input bit addresses and output circuits. You must confirm your choice.

[F5], ENABLE

Toggles between enable and disable all forces, both inputs and outputs. You must confirm your choice. The disable function is in effect when no forces are enabled. Note that the processor must be in the Run or Test mode to see the effects of the forced input data bits.

2. Force the input on. Press [F1], ON. FORCE ON is indicated. XIC: I1:0.0/1 ] [ ]/[ ]/[ ] [ ] [ ] [ ] [

FORCE ON ] [ ]/[

ON

OFF

REM

F1

F2

F3

2.0.0.0.1 ( ) ( )

( ) ( ) F RUN REM_ALL ENABLE F4

F5

The force is installed, but not yet enabled. This is indicated by the flashing F appearing on the prompt line. This is also indicated by the FORCED I/O LED on the controller, which is now flashing. 3. Enable the force by pressing [F5], ENABLE. The prompt ARE YOU SURE? is indicated. XIC: I1:0.0/1 ] [ ]/[ ]/[ ] [ ] [ ] [ ] [ ARE YOU SURE? YES F1

F2

FORCE ON ] [ ]/[

2.0.0.0.1 ( ) ( ) ( ) ( ) F RUN NO

F3

F4

F5

13–3

Page 202

Chapter 13 The Force Function

4. To verify enabling of forces, press [F2]. The force is enabled. The letter F on the prompt line is now on continuously. Also, the FORCED I/O LED of the processor is on continuously. XIC: I1:0.0/1 ] [ ]/[ ]/[ ] [ ] [ ] [ ] [

FORCE ON ] [ ]/[

2.0.0.0.1 ( ) ( )

ON

OFF

REM

REM_ALL

( ) ( ) F RUN DISABLE

F1

F2

F3

F4

F5

Rungs 1, 2, and 3 have gone true, as indicated by highlighted (bold) instructions in the display. Note that the output 0 LED of the controller is on.

To Close and Open an External Circuit To simulate closing, opening, closing, and opening of an external circuit (as by pressing and releasing a push button twice), you must force the input off, then on, then off: 1. Press [F2], OFF. Rungs 1 and 3 remain true. XIC: I1:0.0/1 ] [ ]/[ ]/[ ] [ ] [ ] [ ] [

FORCE OFF ] [ ]/[

2.0.0.0.1 ( ) ( )

ON

OFF

REM

REM_ALL

( ) ( ) F RUN DISABLE

F1

F2

F3

F4

F5

2. Press [F1], ON. Rungs 1 and 3 are now false and rung 2 is true. The output 0 LED of the controller is no longer on. XIC: I1:0.0/1 ] [ ]/[ ]/[ ] [ ] [ ] [ ] [

13–4

FORCE ON ] [ ]/[

2.0.0.0.1 ( ) ( )

ON

OFF

REM

REM_ALL

( ) ( ) F RUN DISABLE

F1

F2

F3

F4

F5

Page 203

Chapter 13 The Force Function

3. Press [F2], OFF. All rungs are false. Program operation is back to the starting point. The display shows FORCE OFF, but the force is still enabled. XIC: I1:0.0/1 ] [ ]/[ ]/[ ] [ ] [ ] [ ] [

FORCE OFF ] [ ]/[

2.0.0.0.1 ( ) ( )

ON

OFF

REM

REM_ALL

( ) ( ) F RUN DISABLE

F1

F2

F3

F4

F5

To disable and/or remove forces, you can select DISABLE, REM, or REM ALL. 4. Remove the force by pressing [F3], REM. NO FORCE indicates the force is removed and disabled. The F no longer appears to the left of RUN. The FORCED I/O LED of the processor is off. XIC: I1:0.0/1 ] [ ]/[ ]/[ ] [ ] [ ] [ ] [

NO FORCE ] [ ]/[

2.0.0.0.1 ( ) ( )

ON

OFF

REM

REM_ALL

( ) ( ) RUN ENABLE

F1

F2

F3

F4

F5

5. Press [ESC] to exit the force function: XIC: I1:0.0/1 ] [ ]/[ ]/[ ] [ ] [ ] [ ] [

NO FORCE ] [ ]/[

2.0.0.0.1 ( ) ( ) ( ) ( ) RUN

MODE

FORCE

EDT DAT

SEARCH

F1

F2

F3

F4

F5

13–5

Page 204

Chapter 13 The Force Function

Searching for Forced I/O

To search for forced I/O, you can have the cursor located anywhere in the program at the beginning of the search. In the following display, the cursor is located in rung 0, on a forced instruction. The force is enabled. 1. Set up these initial conditions (a repeat of what was done on page 13–2). XIC: I1:0.0/1 ] [ ]/[ ]/[ ] [ ] [ ] [ ] [

FORCE ON ] [ ]/[

2.0.0.0.1 ( ) ( ) ( ) ( ) F RUN

MODE

FORCE

EDT DAT

SEARCH

F1

F2

F3

F4

F5

2. Select the search function by pressing [F4], SEARCH. The search functions appear. XIC: I1:0.0/1 FORCE ON ] [ ]/[ ] [ ]/[ ] [ ]/[ ] [ ] [ ] [ + CUR–INS CUR–OPD NEW–INS F1

F2

F3

2.0.0.0.1 ( ) ( )

UP

( ) ( ) F RUN FORCE

F4

F5

3. Press [F5], FORCE. XIC: I1:0.0/1 ] [ ]/[ ]/[ ] [ ] [ ] [ ] [

FORCE ON ] [ ]/[

2.0.0.0.1 ( ) ( ) ( ) ( )

ENTER TO FIND FORCE

F RUN UP

F1

13–6

F2

F3

F4

F5

Page 205

Chapter 13 The Force Function

4. Press [ENTER]. As the display shows, the next occurrence of a forced instruction is found in rung 1. XIC: I1:0.0/1 ] [ ]/[ ] [ ] [ ] [

FORCE ON ] [

2.0.0.0.1 ( ) ( ) ( )

<END> ENTER TO FIND FORCE F1

F2

F F3

UP F4

RUN F5

5. Press [ENTER]. The display indicates the next occurrence of a forced instruction, in rung 2. XIC: I1:0.0/1

FORCE ON

2.0.0.0.1

] [ ] [

( ) ( )

<END> ENTER TO FIND FORCE F1

F2

F F3

UP F4

RUN F5

6. Press [ENTER]. The cursor has wrapped around to rung 0, the first occurrence of a forced instruction. XIC: I1:0.0/1 ] [ ]/[ ]/[ ] [ ] [ ] [ ] [

FORCE ON ] [ ]/[

2.0.0.0.1 ( ) ( ) ( ) ( )

ENTER TO FIND FORCE F1

F2

F F3

UP F4

RUN F5

Notes:

• The search locates all forced instructions, regardless of instruction type or address.

• The search for forced instructions can be done online while monitoring, or offline while editing a file.

13–7

Page 206

Chapter 13 The Force Function

Forcing an External Output

A forced external output circuit is independent of the internal logic of the ladder program and the output data file. Installing forces on output circuits only affects the output force table. Enabling installed forces does not affect the output data file or the program logic. However, it does affect the output circuit. The effects of installed and enabled forces can only be seen in the Run mode. The Test mode does not energize output circuits. The procedure for forcing an external output is the same as for forcing an external input. However, the HHT always shows the logical state of the instruction. For example, the following display shows output O:0/0 forced off. The controller output LED is off, yet the rung and output data file show the output to be logically true. OTE: O0:0.0/1 ]/[ ] [ ] [ ] [ ] [

FORCE OFF ]/[

2.3.0.0.2 ( ) ( ) ( )

<END> F

ON F1

Function Key

13–8

OFF F2

REM F3

REM_ALL F4

RUN DISABLE F5

Description

[F1], ON

Enters a 1 in the input force table for the cursored external input bit address. This installs a force. If the Enable function is in effect and the processor is in the Run or Test mode, the force is applied. The data file bit remains forced until: 1) the disable function is in effect, or 2) the force is removed.

[F2], OFF

Enters a 0 in the input force table for the cursored external input bit address. This installs a force. If the Enable function is in effect and the processor is in the Run or Test mode, the force is applied. The data file bit remains forced until: 1) the disable function is in effect, or 2) the force is removed.

[F3], REM

Affects the cursored external input bit address. If applicable, removes the installed force from the force table and the data file. Other forces are unaffected.

[F4], REM_ALL

Affects all forced external input bit addresses and external output circuits. Removes installed forces from all external input bit addresses and output circuits. You must confirm your choice.

[F5], DISABLE

Toggles between enable and disable all forces, both inputs and outputs. You must confirm your choice. The disable function is in effect when no forces are enabled. Note that the processor must be in the Run or Test mode to see the effects of the forced input data bits.

Page 207

Chapter 13 The Force Function

The following display shows output O:0/0 forced on. The controller output LED is on, yet the rung and output data file show the output to be logically false. OTE: O0:0.0/1 ] [ ]/[ ] [ ] [ ] [

FORCE ON ]/[

2.3.0.0.2 ( ) ( ) ( )

<END> F ON F1

Forces Carried Offline

OFF F2

REM F3

REM_ALL F4

RUN DISABLE F5

When your program has forced I/O and you go offline, the FORCE ON and FORCE OFF indications appear in the offline ladder diagram displays, although the I/O data files do not change. If you subsequently remove the forces online, then go offline, the FORCE ON and FORCE OFF indications no longer appear in the offline ladder diagram displays.

13–9

Page 208

This page is a scan with no text; see it in the PDF.