Basic Operation; Reading Analog Input Data - Panasonic GM1 Series Reference Manual

Motion controller
Hide thumbs Also See for GM1 Series:
Table of Contents

Advertisement

5.1 Basic Operation

5.1 Basic Operation

5.1.1 Reading Analog Input Data

Analog input is processed as explained below.
Operation of the analog input unit
(1) Receiving analog input
The analog input unit receives analog input signal from analog devices, such as laser analog
sensors and pressure sensors
(2) Digital conversion processing
Analog input signal received by the unit is converted into digital values in sequence
automatically.
(3) Storage of digital values
The converted digital values are stored in the channel next to "Analog_8IN I/O Mapping".
● The asterisk "*" represents the channel number. (0 to 7)
Channel
Ch*_InputValue
Ch*_ ConversionValue
Sample program
The following program reads analog input data of ch0 into the variable "iLocal".
Declaration section
PROGRAM PRG_AIO1
VAR
iCh0_ConversionValue: INT;
iLocal: INT;
END_VAR
5-2
Remarks
Stores a value before "Offset / Gain processing" and "scale conversion" are
executed.
Stores a value after "Offset / Gain processing" and "scale conversion" are
executed.
WUME-GM1AIO-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Agm1ad8Agm1da4

Table of Contents