Chapter 21 A/D Conversion Instructions; Switching The Mode - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

21
A/D CONVERSION INSTRUCTIONS
This chapter describes the instructions used commonly by MELSEC iQ-R series modules. When using
MELSEC-Q series modules, refer to the manual for each module used and create programs.
For precautions when using modules, refer to the following.
 MELSEC iQ-R Module Configuration Manual
21.1

Switching the Mode

G(P).OFFGAN
RnPCPU
RnCPU RnENCPU
(Process)
These instructions switch the analog module mode.
Ladder
(U)
FBD/LD
EN
ENO
U
s
■Execution condition
Instruction
G.OFFGAN
GP.OFFGAN
Setting data
■Description, range, data type
Operand
Description
(U)
Start I/O number (first three digits in four-digit hexadecimal
representation) of a module
(s)
Switching the mode
• 0: Shift to normal mode (normal output mode)
• 1: Shift to offset/gain setting mode
Setting a value outside the above range results in "Shift to
offset/gain setting mode".
EN
Execution condition
ENO
Execution result
*1 The mode name differs depending on the module used: normal output mode for the R60DA4, R60DAV8, R60DAI8, and R60DAH4 and
normal mode for other analog modules.
21 A/D CONVERSION INSTRUCTIONS
1724
21.1 Switching the Mode
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(s)
Execution condition
ST
ENO:=G_OFFGAN(EN,U,s);
ENO:=GP_OFFGAN(EN,U,s);
Range
00H to FEH
0, 1
*1
Data type
Data type (label)
• 16-bit unsigned
ANY16
binary
• 16-bit signed binary
• 16-bit unsigned
ANY16
binary
• 16-bit signed binary
Bit
BOOL
Bit
BOOL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents