Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 128

Sysmac cs/cj/one nsj series programmable controllers
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
938
Required
Output
941
Required
Output
946
Required
89

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 01-2008 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents