Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 129

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Instruction Functions
Instruction
Symbol/Operand
Mnemonic
Code
7-SEGMENT
SDEC(078)
DECODER
SDEC
@SDEC
078
S: Source word
Di: Digit
designator
D: 1st destination
word
DIGITAL SWITCH
DSW (210)
INPUT
DSW
210
(CS/CJ-series
CPU Unit Ver. 2.0
or later only)
I:
Data i nput word
(D0 to D3)
O:
Output word
D:
1st result
word
C1:
Number of
digits
C2:
System word
TEN KEY INPUT
TKY (211)
TKY
211
(CS/CJ-series
CPU Unit Ver. 2.0
or later only)
I:
Data input
word
D1: 1st register
word
D2: Key input
word
Converts the hexadecimal contents of the designated digit(s) into
8-bit, 7-segment display code and places it into the upper or lower
8-bits of the specified destination words.
S
Di
D
7-segment
Reads the value set on an external digital switch (or thumbwheel
switch) connected to an Input Unit or Output Unit and stores the 4-digit
or 8-digit BCD data in the specified words.
I
O
D
C1
C2
Reads numeric data from a ten-key keypad connected to an Input Unit
and stores up to 8 digits of BCD data in the specified words.
I
D1
D2
Function
Di
Number of digits
First digit to convert
Rightmost 8 bits (0)
Section 2-2
Location
Page
Execution
condition
Output
937
Required
Output
940
Required
Output
945
Required
89

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents