EasyManuals Logo
Home>IDEC>Controller>MICRO3

IDEC MICRO3 User Manual

IDEC MICRO3
235 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 #182 background imageLoading...
Page #182 background image
15: INTERFACE INSTRUCTIONS
USERS MANUAL 15-3
82 DGRD (Digital Read)
Key Operation
Valid Operands (Standard Processing)
In the high-speed processing mode, operands for advanced instructions are limited. See page 6-1.
Conversion
BCD: To connect BCD digital switches
BIN: To connect hexadecimal digital switches
Input Points
The inputs are used to read the data from the digital switches. The quantity of required input points is always 4. Four input
points must be reserved starting with the input number designated by operand I. Make sure that actual input terminals are
available for all input numbers. Do not let the input numbers straddle the base and expansion stations in the expansion link
system.
Output Points
Outputs are used to select the digits to read. The quantity of required output points is equal to the quantity of digits to read.
When connecting the maximum of 5 digital switches, 5 output points must be reserved starting with the output number
designated by operand Q. Make sure that actual output terminals are available for all output numbers. Do not let the output
numbers straddle the base and expansion stations in the expansion link system.
Digital Switch Data Reading Time
Reading digital switch data requires the following time after the input to the DGRD instruction is turned on. Keep the
input to the DGRD instruction for the period of time shown below to read the digital switch data.
Operand Function I Q M T C R D Constant Repeat
I First input number to read 0-32
Q First output number for digit selection 0-31
D1 (Destination 1) Destination to store results 0-287 0-99
Scan Time Digital Switch Data Reading Time
2 scan times × (Quantity of digits + 1)
(Soft filter + 3 msec) × (Quantity of digits + 1)
First input number:
0 to 32
First output number:
0 to 31
Conversion:
BCD or BIN
Quantity of digits:
1 to 5
When input is on, data designated by operands I and Q is set to 16
internal relays or a data register designated by destination operand
D1.
This instruction can be used to set preset values for timer (TIM,
TMH, and TMS), counter (CNT), and counter comparison instruc-
tions using digital switches. The data that can be read using this
instruction is 0 through 65535 (5 digits), or FFFFh.
Note: The DGRD instruction can be used on transistor output type
MICRO
3
base units only.
The DGRD instruction can be used only once in a user program.
Note: Do not use the DGRD instruction between JMP and JEND
instructions or between MCS and MCR instructions.
DGRD I
****
Q
****
BCD4
D1
****
ADV
1 D1
DGRD *BCD L:4
(I: 0)
(Q: 0)
Enter operand D1, quantity of digits, first input number to
read (I#), and first output number for digit selection (Q#).
To select the conversion, press the REP key.
To exit, press the key.
8
MCS/R
2
BRD
Scan
time
Soft
filter 3
msec
+
2
--------------------------------------------------
>
Scan
time
Soft
filter 3
msec
+
2
--------------------------------------------------

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC MICRO3 and is the answer not in the manual?

IDEC MICRO3 Specifications

General IconGeneral
BrandIDEC
ModelMICRO3
CategoryController
LanguageEnglish

Related product manuals