Address Instruction; Adr - Delta DVP-15MC Series Operation Manual

Motion controller
Table of Contents

Advertisement

Address Instruction

FB/FC
FC
ADR is used to get the address of a variable.
Parameters
Parameter
Meaning
name
In
Input vlaue
Operation
Out
result
Bit string
In
Out
Note:
The symbol ● indicates that the parameter is allowed to connect to the variable of the data type.
1.
2.
The data type xx of 'Pointer To xx' must be the same as that of IN.
Function Explanation
The ADR instruction is used to get the address of a variable. Get the variable address and then find
the value stored in the variable address by using the symbol ^.
Programming Example
The ADR instruction is used to get the address of input variable ADR_In and place it in the output
variable ADR1. The address of ADR_In is %MW0. After the ADR instruction is executed, ADR1 points
to %MW0. After ADD is executed, ADR1 points to %MW1. ADR1^ means to get the value from the
address of ADR1. (ADR1 value is %MW1 and ADR1^ means to get the value in %MW1.) The value
in %MW1 is moved to the OUT1 variable through executing MOVE instruction.
Explanation

ADR

EN
In
Input/
Output
The variable of which the address is to be
Input
ouput
Output
Output variable address of IN
Integer
Chapter 8 Logic Instructions
ENO
Ou t
Description
Real
number
Applicable model
DVP15MC11T
DVP15MC11T-06
Valid range
Depends on the data type
of the variable that the
input parameter is
connected to.
Depends on the data type
of the variable that the
output parameter is
connected to.
Time, date
8-325
8_

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dvp15mc11tDvp15mc11t-06

Table of Contents