EasyManuals Logo

Delta DVP-PLC User Manual

Delta DVP-PLC
586 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 #521 background imageLoading...
Page #521 background image
9 Application Instructions API 150-199
DVP-PLC Application Manual
9-49
API Mnemonic Operands Function
170
D GRY P
BIN Æ Gray Code
Controllers
ES/EX/SS SA/SX/SC EH/SV
Bit Devices Word Devices Program Steps Type
OP
X Y M S K H KnX KnY KnM KnS T C D E F
S * * * * * * * * * * *
D * * * * * * * *
GRY, GRYP: 5 steps
DGRY, DGRYP: 9 steps
PULSE 16-bit 32-bit
ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV
Operands:
S: Source device for BIN value D: Device for storing Gray code
Explanations:
1. If S and D are used in device F, only 16-bit instruction is applicable.
2. See the specifications of each model for their range of use.
3. This instruction converts the BIN value in the device designated in S into Gray code and stores the value in D.
4. See the ranges of S as indicated below. If S exceeds the ranges, the program will regard it as an operation
error and the instruction will not be executed. M1067 and M1068 will be On and D1067 will record the error
code 0E1A (hex).
In 16-bit instruction: 0 ~ 32,767
In 32-bit instruction: 0 ~ 2,147,483,647
Program Example:
When X0 = On, the instruction will convert constant K6,513 into Gray code and store the result in K4Y20.
X0
GRY K6513 K4Y20
00011 100 0111 1000
b15
b0
K6513=H1971
00000 00001111111
K4Y20
Y37 Y20
GRAY6513

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta DVP-PLC and is the answer not in the manual?

Delta DVP-PLC Specifications

General IconGeneral
ManufacturerDelta Electronics
ModelDVP-PLC
CategoryController
Humidity5% to 95% RH, non-condensing
Programming LanguageLadder Diagram (LD), Instruction List (IL), Sequential Function Chart (SFC)
CPU TypeVarious, depending on the specific model within the DVP series (e.g., ES2, EX2, SX2, SA2, EH3, etc.)
Operating TemperatureTypically 0°C to 55°C (32°F to 131°F)
Storage TemperatureTypically -25°C to 70°C (-13°F to 158°F)

Related product manuals