EasyManua.ls Logo

Omron SYSMAC mini SP10 User Manual

Omron SYSMAC mini SP10
176 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 #76 background imageLoading...
Page #76 background image
68
ber of ways in which the work bits can be used. Whenever difficulties arise in
programming a control action, consideration should be given to work bits and
how they might be used to simplify programming.
Work bits are often used with the OUTPUT, OUTPUT NOT, DIFFERENTIATE
UP, DIFFERENTIATE DOWN, and KEEP instructions. The work bit is used
first as the operand for one of these instructions so that later it can be used
as a condition that will determine how other instructions will be executed.
Work bits can also be used with other instructions, e.g., with the SHIFT REG-
ISTER instruction (SFT(33)). An example of the use of work words and bits
with the SHIFT REGISTER instruction is provided 3-7-20 SHIFT REGISTER
- SFT(33).
Although they are not always specifically referred to as work bits, many of the
bits used in the examples later in this section use work bits. Understanding
the use of these bits is essential to effective programming.
Work bits can be used to simplify programming when a certain combination
of conditions is repeatedly used in combination with other conditions. In the
following example, bit 0000, bit 0001, bit 0002, and bit 0003 are combined in
a logic block that stores the resulting execution condition as the status of bit
0103. Bit 0103 is then combined with various other conditions to determine
output conditions for bit 0000, bit 0001, and bit 0002, i.e., to turn the outputs
allocated to these bits ON or OFF.
0000
0003
0001
0004
0002
0005
0004
0009
0008
00050103
0103
0103
0103
0100
0101
0102
Address Instruction Operands
000 LD 0000
001 AND NOT 0001
002 OR 0002
003 OR NOT 0003
004 OUT 0103
005 LD 0103
006 AND 0004
007 AND NOT 0005
008 OUT 0100
009 LD 0103
010 OR NOT 0004
011 AND 0005
012 OUT 0101
013 LD NOT 0103
014 OR 0008
015 OR 0009
016 OUT 0102
Differentiated Conditions Work bits can also be used if differential treatment is necessary for some, but
not all, of the conditions required for execution of an instruction. In this exam-
ple, bit 0100 must be left ON continuously as long as bit 0001 is ON and both
bit 0002 and bit 0003 are OFF, or as long as bit 0004 is ON and bit 0005 is
OFF. It must be turned ON for only one scan each time bit 0000 turns ON
(unless one of the preceding conditions is keeping it ON continuously).
This action is easily programmed by using bit 0200 as a work bit as the oper-
and of the DIFFERENTIATE UP instruction (DIFU(10)). When bit 0000 turns
ON, bit 0100 will be turned ON for one scan and then be turned OFF the next
Reducing Complex
Conditions
Advanced Programming Section 3-6

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC mini SP10 and is the answer not in the manual?

Omron SYSMAC mini SP10 Specifications

General IconGeneral
ManufacturerOmron
SeriesSYSMAC mini
ModelSP10
Output TypeRelay
Number of Inputs6
Number of Outputs4
Communication PortRS-232C
TypePLC
Input Voltage100 to 240 VAC
Storage Temperature-25 to 65°C

Summary

PRECAUTIONS

1 Intended Audience

Manual intended for personnel familiar with electrical systems and FA systems.

2 General Precautions

User must operate product per specifications and consult OMRON for non-specified conditions.

3 Safety Precautions

Precautions against electrical shock and electrocution when handling PC.

4 Operating Environment Precautions

Conditions to avoid for proper PC operation, e.g., temperature, humidity.

5 Application Precautions

Precautions for electrical grounding, power supply, and installation.

SECTION 1 Introduction

1-1 Features

Overview of SP-series PCs' compact size, high-performance, and features.

1-2 PC Basics

Explanation of PC components, operation, and terminology.

1-3 Units

Description of CPU, Programming Console, and Link Adapter components.

1-4 PC Configuration

Details on basic and expanded system configurations using PCs and Link Adapters.

SECTION 2 Installation

2-1 Dimensions

Mounting dimensions for CPUs, Link Adapter, and Programming Console.

2-2 Installation

Information on installation environment, cooling, noise prevention, and mounting.

2-3 Wiring

Guidelines for power supply, I/O connections, and wiring precautions.

2-4 Programming Console

Procedures for connecting and designating the PC and input filters.

SECTION 3 Programming

3-1 Introduction

Overview of basic steps for writing, inputting, and debugging programs.

3-2 Memory Areas

Details on memory areas (Input, Output, Work, Dedicated, DR, LR, TC) and their structures.

3-3 The Programming Console

Explanation of Programming Console functions, keyboard, and modes.

3-4 Basic Programming

Core concepts of ladder diagram, terminology, mnemonic code, and basic instructions.

3-5 Inputting the Program

Step-by-step guide for program input, editing, checking, and transfer.

3-6 Advanced Programming

Techniques for interlocks, bit control, differentiated instructions, and work bits.

3-7 Instruction Set

Detailed explanation of all SP-series PC instructions, formats, and execution times.

SECTION 3 Debugging

3-8-1 Displaying and Clearing Error Messages

Procedure to identify, display, and clear error messages using the console.

3-8-2 Reading the Scan Time

Operation to read present and maximum scan times (SP16/SP20 only).

SECTION 3 Program Execution

3-9-1 Scan

Explanation of the CPU scan cycle and its impact on program timing.

3-10 I/O Response Time

Explanation of I/O response time calculation for single PCs and multiple PCs.

SECTION 4 Operation

4-1 Monitoring Operation and Modifying Data

Procedures for monitoring bits, words, timers, counters, and modifying data.

4-2 Memory Card Initialization

Steps to initialize Memory Cards for program backup.

Appendix A Standard Models

Appendix B Specifications

General Ratings

Technical specifications for SP-series PCs, including general ratings.

Input Specifications

Detailed specifications for PC input voltage, impedance, current, and delays.

Output Specifications

Detailed specifications for PC output switching capacity, delays, and life.

CPU Characteristics

Specifications regarding PC control method, I/O control, instruction length, and speed.

Appendix C Programming Instructions and Execution Times

Basic Instructions

Reference for basic ladder diagram instructions, symbols, key inputs, and operands.

Special Instructions

Reference for special instructions like END, Interlocks, STEP, and timers/counters.

Instruction Execution Times

Table detailing instruction execution times based on conditions and operands.

Appendix D Programming Console Operations

Appendix E Error and Arithmetic Flag Operation

Appendix F I/O Assignment Sheets

I/O Bits

Templates for recording I/O bit allocations and terminal assignments for Units.

TC Area and Work Bits

Templates for recording TC area and work bit usage and notes.

Appendix G Program Coding Sheet

Glossary

Index

Revision History

Related product manuals