EasyManua.ls Logo

Omron SYSMAC C200HS User Manual

Omron SYSMAC C200HS
503 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 #311 background imageLoading...
Page #311 background image
301
5-28 Advanced I/O Instructions
Advanced
I/O instructions enable control, with
a single instruction, of previously
complex
operations involving external I/O devices (digital switches, 7-segment
displays, etc.).
There
are five advanced I/O instructions, as shown in the following table. All of
these
are expansion instructions and must be assigned to function codes before
they can be used.
Name Mnemonic Function
7-SEGMENT DISPLAY OUTPUT 7SEG(––) BCD output to 7-segment dis-
play
DIGITAL SWITCH INPUT DSW(––) Data input from a digital switch
HEXADECIMAL KEY INPUT HKY(––) Hexadecimal input from 16-key
keypad
TEN-KEY INPUT TKY(––) BCD input from 10-key keypad
MATRIX INPUT MTR(––) Data input from an 8 x 8 matrix
Although
TKY(––) is used only to simplify programming, the other advanced I/O
instructions
can be used to shorten cycle time, reduce the need for Special
I/O
Units,
and reduce system
cost. With the exception of TKY(––), however
, the ad
-
vanced
I/O instructions can only be used once each in the
program and cannot
be
used for I/O Units mounted to Slave Racks, where Special I/O Units must be
used.
5-28-1 7-SEGMENT DISPLAY OUTPUT – 7SEG(––)
S: First source word
IR, SR, AR, DM, HR, TC, LR
Ladder Symbols Operand Data Areas
7SEG(––)
S
O
C
C: Control data
000 to 007
O: Output word
IR, SR, AR, HR, LR
Limitations S and S+1 must be in the same data area.
Do not set C to values other than 000 to 007.
Overview When
the execution condition is OFF
, 7SEG(––) is not executed. When the exe
-
cution
condition is ON, 7SEG(––) reads the source data (either 4 or 8-digit), con
-
verts
it to 7-segment display data, and outputs that data to the 7-segment display
connected to the output indicated by O.
The
value of C indicates the
number of digits of source data and the logic for the
Input and Output Units, as shown in the following table.
Source data Display’s data input logic Display’s latch input logic C
4 digits (S) Same as Output Unit
Same as Output Unit 0000
g()
p
Different from Output Unit 0001
Different from Output Unit
Same as Output Unit 0002
p
Different from Output Unit 0003
8 digits
(S S 1)
Same as Output Unit
Same as Output Unit 0004
g
(S, S+1)
p
Different from Output Unit 0005
Different from Output Unit
Same as Output Unit 0006
p
Different from Output Unit 0007
Advanced I/O Instructions Section 5-28

Table of Contents

Other manuals for Omron SYSMAC C200HS

Questions and Answers:

Omron SYSMAC C200HS Specifications

General IconGeneral
ModelC200HS
ManufacturerOmron
SeriesSYSMAC
Humidity10 to 90% RH (non-condensing)
Programming LanguageLadder logic
Program MemoryRAM/EPROM/EEPROM
Communication ProtocolsSYSMAC LINK, SYSMAC NET
Communication PortsRS-232C, RS-422
Power Supply100-240V AC, 24V DC
Operating Temperature0 to 55°C
Vibration Resistance10 to 57 Hz, 0.075mm amplitude

Summary

SECTION 1 Introduction

1-1 Overview

Provides a general introduction to Programmable Controllers (PCs), their operation, and programming concepts.

SECTION 2 Hardware Considerations

2-1 CPU Components

Details the main components of the C200HS CPU, including indicators, fuses, and connection ports.

SECTION 3 Memory Areas

SECTION 4 Writing and Inputting the Program

4-4 Basic Ladder Diagrams

Introduces fundamental concepts of ladder diagram programming, including rungs, conditions, and instructions.

4-7 Inputting, Modifying, and Checking the Program

Details the procedures for entering, editing, checking, and debugging programs using the Programming Console.

SECTION 5 Instruction Set

5-8 Ladder Diagram Instructions

Details fundamental instructions used in ladder diagrams like LOAD, AND, OR, and their variations.

SECTION 6 Program Execution Timing

6-4 I/O Response Time

Details the time taken for the PC to respond to input signals and produce output signals.

SECTION 7 Program Monitoring and Execution

7-1 Monitoring Operation and Modifying Data

Covers procedures for observing and modifying PC data like bits, words, timers, and counters.

SECTION 8 Communications

8-2 Parameters for Host Link and RS-232C Communications

Details essential PC Setup parameters required for enabling Host Link and RS-232C communications.

SECTION 10 Troubleshooting

10-4 Error Messages

Lists common error messages, their probable causes, and possible corrections for diagnosing system problems.

SECTION 11 Host Link Commands

11-3 Host Link Commands

Details the various commands used for host computer communication with the C200HS PC.

Appendix B Programming Instructions

Appendix D Memory Areas

Appendix E PC Setup

RS-232C Port Settings (DM 6645 to DM 6649)

Details the specific parameters for configuring the RS-232C port, essential for communication setup.

Related product manuals