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

The text of a manual · part 4 of 25

SYSMAC C200H Programmable Controllers (CPU21-E/23-E/31-E) Installation Guide: SECTION 1 Introduction

Pages 11 to 17 of 186, from SYSMAC C200H Programmable Controllers (CPU21-E/23-E/31-E) Installation Guide

The original document is the PDF (1.6 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 Omron C200H-OD212 and Omron C200H-OD218

Page 11

SECTION 1 Introduction This section provides general information about Programmable Controllers (PCs) and how they fit into a Control System. 1-1 1-2

1-3

What is a Control System? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The Role of the PC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2-1 Input Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2-2 Output Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How Does a PC Work? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2 4 4 5 6

1

Page 12

Section 1-1

What is a Control System?

1-1

What is a Control System? A Control System is the electronic equipment needed to control a particular process. It may include everything from a process control computer, if one is used, to the factory computer, down through the PCs (and there may be many of them networked together) and then on down through the network to the control components: the switches, stepping motors, solenoids, and sensors which monitor and control the mechanical operations.

Process Control Computer

Factory Computer

PCs PC

PC

PC

Control Components A Control System can involve very large applications where many different models of PC are networked together or it could be an application as small as a single PC controlling a single output device.

2

Page 13

Section 1-1

What is a Control System? A Position Control System

Position Control Unit

Input Unit

PC

Signal line for Servomotor driver control

Power source

Hand-held Programming Console

Control panel Control switch DC Servomotor Driver

Power source

DC Servomotor

DC Servomotor Driver

DC Servomotor

In the typical Control System example shown above, a PC controls the movement of the workpiece bed across two horizontal axes using Limit Switches and Servomotors to monitor and control movement.

3

Page 14

Section 1-2

The Role of the PC

1-2

The Role of the PC The PC is the part of the Control System that directly controls the manufacturing process. According to the program stored in its memory, the PC accepts data from the input devices connected to it, and uses this data to monitor the controlled system. When the program calls for some action to take place, the PC sends data to the output devices connected to it, to cause that action to take place. The PC may be used to control a simple, repetitive task, or it may be connected to other PCs, or to a host computer in order to integrate the control of a complex process.

1-2-1 Input Devices PCs can receive input from either automated or manual devices. The PC could receive data from the user via a pushbutton switch, keyboard, or similar device. Automated input could come from a variety of devices: microswitches, timers, encoders, photosensors, and so on. Some devices, like the Limit Switch shown below, turn ON or OFF when the equipment actually makes contact with it. Other devices, like the Photoelectric Switch and Proximity Switch shown below, use other means, such as light or inductance, in order to get information about the equipment being monitored.

Photoelectric switch

Limit switch

Proximity switch

4

Page 15

Section 1-2

The Role of the PC

1-2-2 Output Devices A PC can output to a myriad of devices for use in automated control. Almost anything that you can think of could be controlled (perhaps indirectly) by a PC. Some of the most common devices are motors, Solenoids, Servomotors, Stepping Motors, valves, switches, indicator lights, buzzers, and alarms. Some of these output devices; such as the motors, Solenoids, Servomotors, Stepping Motors, and valves; affect the controlled system directly. Others; such as the indicator lights, buzzers, and alarms; provide output to notify personnel.

Solenoid

Servomotor

Stepping motor

5

Page 16

Section 1-3

How Does a PC Work?

1-3

How Does a PC Work? PCs operate by monitoring input signals and providing output signals. When changes are detected in the signals, the PC reacts, through the user-programmed internal logic, to produce output signals. The PC continually cycles the program in its memory to achieve this control.

Block Diagram of PC

Power Supply

Memory

Signals from switches, sensors, etc.

Input

CPU

Output

Signals to Solenoids, motors, etc.

Programming Device

A program for your applications must be designed, and stored in the PC. This program is then executed as part of the cycle of internal operations of the PC. Cycle

When a PC operates, that is, when it executes its program to control an external system, a series of operations are performed inside the PC. These internal operations can be broadly classified into the following four categories: 1, 2, 3...

1. Common (or overseeing) processes, such as watchdog timer operation and testing the program memory. 2. Data input and output. 3. Instruction execution. 4. Peripheral device servicing.

Cycle Time

The total time required for a PC to perform all these internal operations is called the cycle time. The flowchart and diagram on page 7 illustrate these internal operations for a typical PC. Timing is one of the most important factors in designing a Control System. For accurate operations, it is necessary to have answers to such questions as these: • How long does it take for the PC to execute all the instructions in its memory? • How long does it take for the PC to produce a control output in response to a given input signal? The cycle time of the PC can be automatically calculated and monitored, but it is necessary to have an understanding of the timing relationships within the PC for effective System design and programming.

6

Page 17

Section 1-3

How Does a PC Work? PC Operation Flowchart

Power application

Clears data areas and resets System counters Initial processing on power application

Checks I/O Units

Resets watchdog timer

Checks hardware and program memory

No

Sets error flag and lights indicator

Check OK?

Common processes

Yes

Alarm Error or alarm?

Resets watchdog timer and program counter

IR data to Output Units

Error Proceses remote I/O

Remote processing

Executes program

Resets watchdog timer

Output refreshing

No End of program? Yes

Services peripherals

Servicing peripheral devices

PC cycle time

No End of program? Yes Resets watchdog timer

Input Unit data to IR area

Instruction execution

Input refreshing

7