0% found this document useful (0 votes)
61 views

Chapter 5: Digital/Analog I/O System

This document discusses digital and analog input/output systems for programmable logic controllers (PLCs). It covers various types of digital inputs such as buttons, switches, and sensors. It also discusses digital output devices and circuits. The document then covers analog inputs, including types of analog sensors and modules. It discusses analog to digital conversion and determining transfer functions. Finally, it discusses analog outputs, including voltage and current outputs and analog output modules.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views

Chapter 5: Digital/Analog I/O System

This document discusses digital and analog input/output systems for programmable logic controllers (PLCs). It covers various types of digital inputs such as buttons, switches, and sensors. It also discusses digital output devices and circuits. The document then covers analog inputs, including types of analog sensors and modules. It discusses analog to digital conversion and determining transfer functions. Finally, it discusses analog outputs, including voltage and current outputs and analog output modules.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 82

Chapter 5: Digital/Analog I/O System

Peripheral interface

2
Digital (discrete) Inputs

Thumbwheel switch (TWS)

3
Digital Inputs - Button

4
Digital Inputs – Proximity Switch

5
Digital Inputs – Photoelectric Switch

6
Digital Inputs – Limit Switch

7
Typical AC/DC Input Circuit

8
Device Connections
DC Inputs – Source/Sink

10
DC Inputs – Source/Sink

11
12
DC Inputs – Source/Sink

Sinking sensors allow current to flow into the sensor to


the voltage common, while sourcing sensors allow
current to flow out of the sensor from a positive source.
Isolated AC/DC Inputs
PLC (Mitsubishi) Wiring

 Digital Inputs

15
PLC (Mitsubishi) Wiring

Sink Input Type Source Input Type

16
Quiz

 Given components and digital input with specific type as


following, draw the connection:
 2 switch to sink digital inputs
 1 limit switch to source digital input
 1 sink sensor to sink input
 1 source sensor to source input

17
Register/BCD Inputs
Register/BCD Inputs
Register/BCD Inputs

20
21
Digital Outputs
Digital Devices
Digital Devices
Typical AC/DC Output Circuit
AC Outputs
AC Outputs
DC Outputs – Sink/Source

28
DC Outputs - PLC (Mitsubishi) Wiring

29
DC Outputs - PLC (Mitsubishi) Wiring

Transistor Output (Sink)

Transistor Output (Source)

30
Contact Outputs - PLC (Mitsubishi) Wiring

 Digital Outputs

31
Contact Outputs - PLC (Mitsubishi) Wiring

32
Quiz

 Given components and digital output with specific type as


following, draw the connection:
 1 DC motor sink (device) wiring
 1 Light source (device) wiring
 1 Solenoid AC power actuating
 1 Three phases AC motor

33
Register/BCD Outputs
Register/BCD Outputs
Register/BCD Outputs
Analog Inputs

37
Analog Inputs
Analog Devices
Analog Inputs
Analog Inputs

41
Analog Inputs

42
Analog Inputs

43
Analog Inputs

44
Analog Inputs

45
Analog Inputs

46
Analog Inputs

 A/D 12-bit resolution

47
Analog Inputs

 A/D 10-bit resolution

48
Analog Inputs

49
Analog Inputs

50
How to determine coefficients of the linear equation

 y=mx+c

51
How to determine coefficients of the linear equation

52
Quiz

 Define transfer equation for the following hardware


 Humidity sensor: 0-100%, 0-10VDC; Analog input: 12bit ADC
 Pressure sensor: 0-150 kPa, 4-20 mA; Analog input: 14bit ADC
 Temperature sensor: 0-500 0 C, -10-10 VDC; Analog input: 16bit ADC

53
Analog Inputs

 Wiring

54
Analog Module - PLC (Mitsubishi) Wiring

55
Allocation of Buffer Memories (BFM)

FX2N – 4AD module

56
FX2N – 4AD Configuration

57
FROM – TO Instructions

 A Block Location – This is the physical position to the Right Hand Side (R.H.S) of
the base unit. For example, if two special units are attached to the PLC, the first
will be block 0 (K0), and the second special unit will be block 1 (K1).
 B Buffer memory area – This position writes to the required buffer memory
location. For example, K0 means that channel initialization data, i.e. H3320 will be
transferred to buffer memory 0 (BFM 0).
 C Data requirements of the FX2N-4AD – Information in this location is sent to the
buffer memory defined in B. In the above example, the data value H3320 is
transferred to BFM 0.
 D Amount of information to be transferred – This indicates the amount of data to
be transferred to the analogue unit. For example, as shown in the example above
‘K1’ indicates that only one word of information, i.e.H3320 is to be transferred to
BFM0.

58
FROM – TO Instructions

 A Block Location – This is the physical position of the unit, to the R.H.S. of the base
unit. For example if two blocks are attached to the PLC, the first will be block 0
(K0), and the second block will therefore be block 1 (K1).
 B Buffer memory area – This position reads from the required buffer memory
location. In the above example, the CH1-converted digital value, which is stored in
BFM 5 will be transferred to D0.
 C Destination of data read by the analogue unit – In the example shown above,
the converted digital output value for CH1 is transferred to data register D0.
 D Amount of information to be transferred – This indicates the amount of data to
be transferred from the analogue unit. For example as shown in the example
above, ‘K4’ indicates that four words of information are to be transferred to the
PLC.

59
FROM – TO Instruction

 Therefore with just one instruction the following would


occur:
 1. The contents of BFM 5 – CH1 – would be transferred to D0.
 2. The contents of BFM 6 – CH2 – would be transferred to D1.
 3. The contents of BFM 7 – CH3 – would be transferred to D2.
 4. The contents of BFM 8 – CH4 – would be transferred to D3.

60
Quiz

 Given:
 Pressure sensor: 0-150 kPa, 4-20 mA; Analog input: 12bit ADC
 Analog input module at slot 0
 Sensor is connected to CH1
 Task:
 Draw the connection
 Define H value
 Write “To” instruction to configure the analog module
 Write “From” instruction to read the value from channel 1 and write
value to D10

61
Reference

 (1) analog input and output modules FX0N-3A The module has two analog input (0 to 10 V
DC or 4 to 20 mA DC) channels and one analog output channel. Its resolution digital input
channels for eight, and A / D conversion time is 100 μ s, in between analog and digital
signals using photoelectric isolation, and applied to FX1N, FX2N, FX2NC-series, occupied
eight I / O points.
 (2) Analog Input Module FX2N-2AD the module for 2-way voltage input (0 to 10 V DC, 0 to
5V DC) or current input (4 ~ 20 mA DC), 12 high-precision resolution, the conversion rate is
2.5 ms / channel. This module occupied eight I / O points, applicable to FX1N, FX2N,
FX2NC-series.
 (3) Analog Input Module FX2N-4AD The module has four input channels, a resolution of 12.
Choice of current or voltage input, users choose wiring to achieve. Optional simulated
values for the range of ± 10VDC (resolution of 5 mV), or 4 to 20 mA, -20 ~ 20mA (μ A 20-bit
resolution). The highest conversion rate of 6 ms / channel. FX2N-4AD occupied eight I / O
points.
 (4) analog output modules FX2N-2DA The module will be 12 for the digital conversion 2:00
analog outputs. Output voltage can be in the form of, for the current. Their choice depends
on the different wiring. Voltage output, two analog output channels output signal is 0 to 10
V DC, 0 to 5V DC; current output of 4 to 20 mA DC. Resolution of 2.5 mV (0-10V DC) and 4 μ
A (4 ~ 20mA). Digital-to-analog converter features can be adjusted. Conversion rate of 4 ms
/ channel. The modules occupy eight I / O points. Apply to FX1N, FX2N, FX2N-series.

62
Reference

 (5) analog output modules FX2N-4DA The module has four output channels. Provide a
resolution of 12 high-precision digital input. Conversion rate of 2.1 ms / 4-channel, the use
of the channel will not change a few changes in conversion speed. Performance and other
similar FX2N-2DA.
 (6) Analog Input Module FX2N-4AD-PT module and the PT100 temperature sensor match
will come from the four foil temperature sensor (PT100, 3-wire, 100 Ω) input signal
amplification, and data into readable 12 data stored in the host cell. Degrees centigrade
and data can be read. Its internal temperature transmitter and analog input circuits,
nonlinear sensor can be corrected. Reading a resolution of 0.2 ℃ to 0.3 ℃. Conversion rate
of 15 ms / per channel. All the data transmission and parameter settings can be adopted
FX2N-4AD-PT software configuration completed by the FX2N TO / FROM Application
instructions to achieve. FX2N-4AD-PT occupied eight I / O points can be used to FX1N,
FX2N, FX2NC subsystems for the temperature control system to provide more convenient.
 (7) Analog Input Module FX2N-4AD-TC and the thermoelectric module coupling
temperature sensor match will come from the four thermal coupling sensor input signal
amplification, and data conversion into a 12-readable data stored in the Main Unit, Celsius
and Fahrenheit data can be read, read in the type of resolution K at 0.2 ℃; types at 0.3 ℃ J,
and K-type (-100 to 1200 ℃) and J-(-100 ~ 600 ℃) supporting the use of thermoelectric
coupling, four-channel, using K, or J-conversion rate of 240 ms / channel. All data and
parameter settings can be adopted FX2N-4AD-TC software configuration completed,
occupied eight I / O points.
63
Analog Outputs

64
Analog Devices
Analog Outputs

66
Analog Outputs

67
Analog Outputs

68
Analog Outputs

69
Analog Outputs

70
Analog Outputs

71
Analog Outputs

Decimal = ?%
Valve open = 30%

72
Analog Outputs

73
Analog Outputs

74
Analog Outputs

 Phương pháp kết nối

75
Analog Outputs

76
Analog Outputs

 Bypass/Control Station

77
Allocation of Buffer Memories (BFM)

FX2N – 4DA module

78
Allocation of Buffer Memories (BFM)

79
FX2N - 4DA Configuration

80
Position and Wiring

TO K1 K0 H2110 K1

81
Quiz

 Given

1/ Define H value.
2/ Write TO function to configure new H value to analog output
module.
3/ Write TO function to write controlled value which stored in D100
to analog output module.
82

You might also like