Download Print this page

Advertisement

Quick Links

Technical Guide for PLC Basic
Introduction
This guide will describe the terminology needed for basic operation of the SYSMAC PLC (Programmable Controller), for clients new to our PLCs.
This guide does not cover technical details regarding the setting of the FA System or PLC programming after purchase.
I/O Refresh
With the PLC (Programmable Controller), commands from user programs designed by the client are executed one by one and processed by
reading and writing information in the internal PLC memory area (At OMRON, we call this the "I/O Memory").
At the same time, packages of data from sensors/switches that are directly connected to the basic I/O unit are exchanged with data in the PLC
internal I/O Memory, at specific times. This process to totally exchange external data and internal I/O memory data is called "I/O Refresh
Operation".
It is important to know the timing by which the I/O Refresh will be executed when considering the operation of the FA System and User Programs
designed by the client. In the case of the SYSMAC PLC, this I/O Refresh operation is performed immediately following the execution of all other
commands. (See Figure below)
Common Processing
(Self-Diagnosis)
Execute Program
PLC
Processing Cycle
I/O Refresh
Peripheral Servicing
Cycle Time
In terms of the PLC processing cycle, the cycle time is the time from the execution (commencement) of the I/O Refresh operation to the execution
(processing) of the following I/O Refresh.
The cycle time includes time for overhead processing (self-diagnosis), execution of user programs, I/O Refresh processing and the processing of
peripheral services.
• When the cycle time is long, the cycle for updating data from outside of the PLC and the I/O response time are also longer, making it impossible
to implement changes that are input at a rate faster than the cycle time.
• When the cycle time is short, I/O response time is also shortened, which allows high speed processing.
• As the cycle time changes, the command execution cycle and I/O response times also change.
In the case of the SYSMAC PLC, the cycle time can be requested in the following manner:
Cycle Time = Overhead Processing Time + Total Command Execution Time + I/O Refresh Time + Peripheral Service Time
The calculation methods for each execution time for the SYSMAC PLC are included in the product manual.
Inside PLC (CPU Unit)
I/O Memory
0 0 0 0 0 0 0 0
Read/Write
0 0 0 0 0 0 0 0
1 1 0 1 1 0 0 0
0 0 1 1 1 0 1 0
1 0 1 0 1 0 0 1
Change (after all
commands executed)
Package
0 1 0 1 0 1 0 0
Exchange
0 1 1 0 1 0 1 0
1 1 0 0 1 0 1 0
1 0 1 1 1 0 1 1
1 0 0 0 1 1 0 1
Refresh with external devices
(Sensor, Switch, Actuator etc.)
CSM_PLC Basic_TG_E_1_1
PLC
Basic I/O Unit
or built-in I/O
External Data
1

Advertisement

loading

Summary of Contents for Omron SYSMAC PLC Basic

  • Page 1 With the PLC (Programmable Controller), commands from user programs designed by the client are executed one by one and processed by reading and writing information in the internal PLC memory area (At OMRON, we call this the "I/O Memory"). At the same time, packages of data from sensors/switches that are directly connected to the basic I/O unit are exchanged with data in the PLC internal I/O Memory, at specific times.
  • Page 2: Interrupt Tasks

    Interrupt Tasks Normally, user programs are executed in order along with the processing of the I/O Refresh etc., within the PLC processing cycle (See "I/O Refresh"). Interrupt Tasks however are executed in precedence to this processing cycle. In the event that certain interrupt conditions are met, the processing cycle will be suspended and the interrupt tasks will be executed first.
  • Page 3 CPU Unit Memory Area The PLC Unit utilizes a variety of different data including user programs, I/O Memory data and comments, CPU Unit and Special I/O units Parameters, and Registered I/O Table information etc. All of this data that is used by the PLC is stored in the memory area within the CPU unit. The SYSMAC PLC has the following types of Memory Areas, which is backed up by a battery.
  • Page 4 What is the OMRON PLC-based Process Control? OMRON PLC-based Process Control system is based on the SYSMAC CS/CJ PLC Series. By adding PLC-based Process Control units to the basic system configuration, PLC process control functions can be simply added on to the basic functions already installed in the PLC.
  • Page 5 Installation of PLC Control Panel CSM_PLC Installation_TG_E_1_1 Introduction In order to ensure the reliability and security of the system, prior to the design of the system it is important to make certain that the conditions in which it will be installed is well understood. Basically, the stresses on the PLC system (temperature, humidity, vibrations, shocks, corrosive gases, overcurrent, noise etc.) need to be reduced as much as possible.
  • Page 6 ■Humidity be protected by rubber so that the shock is not felt. ■Atmosphere In order to maintain the insulating properties of the PLC, relative humidity should be kept within the range of 35% to 85%. In particular in the winter, when heaters are turned on and When using the system in any of the following kind of places, connections off, sudden changes in temperature may be experienced resulting in condensation which can may be loosened or elements and parts may experience corrosion, and an air...
  • Page 7 ■Power System Wiring 3Connect the shield to the ground terminal at the PLC, and leave it (See Diagram 5) unconnected at the input device. 1The power supply for the PLC and I/O devices should be separate, and a 4Wire the lines so that common impedance does not occur. Such noise filter should be installed to the PLC power supply.
  • Page 8 ● Wiring Route 4Do not install power cables and signal cables in parallel as they will adversely affect each other. For the following combination, since signal types, properties, or levels 5When high-voltage devices are installed in the panel, due to noise, of the signal differs, in principle different cables should be used or this should be separated as much as possible from high voltage different routes should be used.
  • Page 9 ● Grounding Method and Precautions 4When grounding the shield conductor in the event of shielded cable used in the wiring of input and output, connect the shield near the (1) Principles of One-point Grounding PLC to the enclosure ground terminal, as shown in Figure 14. For It would be best to consider that it is grounding that "determines electrical communication cables, please be sure to maintain shield potential".
  • Page 10 Connecting a Computer Running Support Software (e.g., CX-Programmer) to a PLC CSM_Connecting_PLC_CG_E_8_2 Connecting Cables for CJ2 USB type A plug connector (male) D-sub connector D-sub connector (9-pin female) (9-pin male) Commercially available USB cable USB type B plug connector (male) USB port XW2Z-200S-CV/500S-CV(2 m/5 m) RS-232C port...
  • Page 11 Connecting a Computer Running Support Software (e.g., CX-Programmer) to a PLC Connecting Cables for CS1/CJ1 RS-232C port D-sub connector D-sub connector CS/CJ-series Peripheral port (9-pin female) CS/CJ-series (9-pin male) D-sub connector D-sub connector peripheral connector peripheral connector (9-pin female) (9-pin female) CS/CJ Series CS/CJ Series CS1W-CN226/626 (2 m/6 m)
  • Page 12 Connecting a Computer Running Support Software (e.g., CX-Programmer) to a PLC Connecting Cables for CP1H/CP1L/CP1E RS-232C port RS-232C D-sub connector Option Board (9-pin female) CP1W-CIF01 D-sub connector USB type A plug connector (male) (9-pin female) CP1H/CP1L/CP1E-N/NA Commercially available USB cable USB type B plug connector (male) USB port XW2Z-200S-CV/500S-CV (2 m/5 m)
  • Page 13 Connecting a Computer Running Support Software (e.g., CX-Programmer) to a PLC Connecting Cables for CQM1H C-series CS/CJ-series CS/CJ-series Peripheral port peripheral connector peripheral connector peripheral connector D-sub connector D-sub connector (9-pin female) (9-pin female) CQM1H CQM1H CS1W-CN226/626 (2 m/6 m) CQM1-CIF02 (3.3 m) Peripheral port CS1W-CN114 (5 cm)
  • Page 14 Connecting a Computer Running Support Software (e.g., CX-Programmer) to a PLC Connecting Cables for CPM1, CPM1A and CPM2A C-series peripheral connector Peripheral port D-sub connector D-sub connector (9-pin male) (9-pin female) D-sub connector CPM1A-V1 CPM1-CIF01 (9-pin female) Peripheral port CQM1-CIF02 (3.3 m) XW2Z-200S-CV/500S-CV (2m/5m) CPM1A-V1 ...
  • Page 15 Connecting a Computer Running Support Software (e.g., CX-Programmer) to a PLC Connecting Cables for CPM2C CS/CJ-series C-series peripheral connector peripheral connector CS/CJ-series D-sub connector D-sub connector Peripheral port Peripheral port peripheral connector (9-pin female) (9-pin female) CPM2C CPM2C CS1W-CN226/626 (2 m/6 m) CQM1-CIF02 (3.3 m) CS1W-CN114 (5 cm) C-series...
  • Page 16 Connecting a Computer Running Support Software (e.g., CX-Programmer) to a PLC Computer Unit Network Type (Serial Connection Model Cable length Communications Mode) Types PC port Unit port CS1W-CN226 *2 CS1W-CN626 *2 CS1W-CN114 0.05 m+3.3 m +CQM1-CIF02 Communications port Peripheral bus *1 or CPM2C-CIF01-V1 Adapter+ 0.05 m (as a peripheral port)
  • Page 17 Connecting a Computer Running Support Software (e.g., CX-Programmer) to a PLC Connecting Cables for C1000H, C2000H, C200H Peripheral port D-sub connector C-series (25-pin male) C1000H, C2000H, C200H Series peripheral connector C1000H, C2000H, C200H Series D-sub connector D-sub connector (9-pin female) (9-pin female) CQM1-CIF02 (3.3 m) C200H-IP007...
  • Page 18 Connecting a Computer Running Support Software (e.g., CX-Programmer) to a PLC Connecting Cables for C500 Peripheral port D-sub connector C-series C500 Series (25-pin male) peripheral connector C500 Series D-sub connector D-sub connector (9-pin female) (9-pin female) CQM1-CIF02 (3.3 m) C200H-IP007 XW2Z-200P-V/500P-V (2 m/5 m) Computer Unit...
  • Page 19 Connecting a Computer Running Support Software (e.g., CX-Programmer) to a PLC Connecting Cables for C20P/C28P/C40P/C60P , C20K/C28K/C40K/C60K Host Link Unit C20-LK201-V1 D-sub connector C20P, C28P, C40P, C60P, C20K, C28K, C40K, C60K Series (9-pin female) D-sub connector (25-pin male) XW2Z-200P-V/500P-V (2 m/5 m) Computer Unit Network Type (Serial...
  • Page 20 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Omron CV500-CIF01...