EasyManua.ls Logo

Allen-Bradley PLC-5 User Manual

Allen-Bradley PLC-5
388 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #309 background imageLoading...
Page #309 background image
Publication 1785-UM012D-EN-P - July 2005
Instruction Set Quick Reference D-9
Clear
CLR
Cosine
COS
Instruction Description
Division
DIV
Instruction Description
CLR
CLR
Dest D9:34
0000
When the input conditions are true, clear decimal file 9, word
3
(set to zero).
Status
C
V
Z
S
Description
always reset
Bit
always reset
always set
always reset
COS
COSINE
Source
Dest
F8:13
F8:14
0.7853982
0.7071068
When input conditions go true, take the cosine of the value
in F8:13 and store the result in F8:14.
always resets
sets if overflow is generated;
sets if the result is zero;
Status
C
V
Z
S
Description
Bit
otherwise resets
otherwise resets
sets if the result is negative;
otherwise resets
DIV
DIVIDE
Source A
Source B
Dest
N7:3
N7:4
N7:12
3
1
3
When the input conditions are true, divide the value in
Source A (N7:3) by the value in Source B (N7:4) and store
the result in the Destination (N7:12).
Status
C
V
Z
S
Description
always resets
Bit
sets if division by zero or overflow;
sets if the result is zero;
sets if the result is negative;
otherwise resets
otherwise resets; undefined if overflow is set
otherwise resets; undefined if overflow is set

Table of Contents

Other manuals for Allen-Bradley PLC-5

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley PLC-5 and is the answer not in the manual?

Allen-Bradley PLC-5 Specifications

General IconGeneral
Programming SoftwareRSLogix 5
Programming LanguagesLadder Logic
Power Supply120/240V AC or 24V DC
Communication PortsDH+, Remote I/O, Ethernet/IP, ControlNet
Operating Temperature0 to 60°C (32 to 140°F)
Relative Humidity5 to 95% non-condensing
MemoryUp to 64K words (user program and data)

Summary

Preface

Manual Overview

Outlines the manual's three main sections: Design, Operate, and Maintain.

Chapter 1 Understanding Your Programmable Controller

Lay Out the System

Guides on determining network configuration and component placement for PLC-5 systems.

Programming Features

Highlights the programming features of a PLC-5 controller, including ladder logic and SFCs.

Chapter 2 Selecting and Placing I/O

Selecting I/O Modules

Guides on selecting I/O modules to interface with machines and processes.

Chapter 3 Placing System Hardware

Determining the Proper Environment

Details acceptable environmental conditions for controller placement.

Grounding Your System

Provides information on proper grounding guidelines for system hardware.

Chapter 4 Addressing I/O and Controller Memory

I/O Addressing Concept

Explains how controller memory segments are used to address I/O terminals.

Assigning Racks

Details how chassis size and addressing mode determine the number of I/O racks.

Chapter 6 Communicating with Remote I/O

Designing a Remote I/O Link

Outlines steps and guidelines for designing a remote I/O link.

Chapter 8 Communicating with Extended-Local I/O

Configuring the Controller as an Extended-Local I/O Scanner

Guides on configuring channel 2 for extended-local I/O as a scanner.

Chapter 10 Communicating with Devices on a Serial Link

Configuring Channel 0

Explains how to configure channel 0 for DF1 point-to-point, master, slave, or user mode.

Chapter 11 Communicating with Devices on an Ethernet Network

Configuring Channel 2 for Ethernet Communication

Guides on configuring channel 2 for Ethernet communication using manual or BOOTP methods.

Using Advanced Ethernet Functions

Explains advanced functions like broadcast address, subnet masks, and gateways.

Chapter 12 Protecting Your Programs

Passwords and Privileges

Explains how passwords and privileges restrict access to controller files and functions.

Chapter 13 Programming Considerations

Forcing

Explains how to turn input/output bits on/off for testing purposes.

Extended Forcing

Describes how to force discrete I/O, analog I/O, and block-transfer data words.

Chapter 15 Preparing Fault Routines

Understanding the Fault Routine Concept

Explains how fault routines execute when a major fault is encountered.

Monitoring Faults

Describes how to monitor controller faults using the status screen.

Appendix F Troubleshooting

PLC-5 controller

Lists general problems for PLC-5 controllers, probable causes, and recommended actions.

Extended-Local I/O system

Offers troubleshooting guidance for the 1771-ALX adapter module.

Appendix G Cable Reference

Channel 0 Pin Assignments

Shows pin assignments for channel 0 (RS-port) for different serial communication modes.

Ethernet Cable Connections

Describes Ethernet cable connections and transceiver specifications.

Related product manuals