2015年5月28日星期四

Analog sampling values transfer


MAX187 has an internal reference voltage, both 4 # pin (REF) is 4.096V, therefore, compact plc ,A / D conversion of the full range of 4.096V. The input signal is 0 ~ 5V, therefore, to add an op amp to 0 ~ 5V 0 ~ 4.096V after converted into MAX187. AT89C52 the P1.3 and chip select (CS) MAX187 connected, AT89C52 the P1.4 terminal and serial clock signal (SCLK) MAX187 is connected to the serial data output of AT89C52 the P1.5 and MAX187 (DOUT) connected. Value stored in the microcontroller memory analog sampling, plc analog input module and then by the microcontroller serial port to send to the PLC. A / D conversion of the C51 program is as follows,

#include
#include
sbit IC4_S = P1 ^ 4;
/ * AD input port settings * / sbit IC4_D = P1 ^ 5;
sbit IC4_C = P1 ^ 3;
void input (void)
{Unsigned char idata i;
unsigned int idata result = 0x0000;
IC4_C = 0;
/ * CS terminal is low * / for (i = 0; i <12; i ++)
{Result = result << 1;
  IC4_S = 0; / * clock terminal generates a clock pulse * /
IC4_S = 1;
if (IC4_D) result ++;
  / * Read from the serial data output of the A / D conversion data * /}
  IC4_C = 1; / * CS side is high * / pdat [1] = result;}


2015年5月20日星期三

Analog input module expansion

Here take a 12 bit analog input as an example, analog signal to 0 ~ 5V standard voltage form into the signal input, plc digital input application 12 bit MAX187 conversion chip A/D realize analog conversion.

MAX187 is the 12 serial A/D, with a high conversion speed, the sampling frequency is 75kHz, input module plc and it is suitable for the process control of higher precision.

Taking into account the high frequency interference in the real industrial scene, the low-pass filter is used before the sampling signal MAX187.


2015年5月14日星期四

PLC analog output module with low cost expansion

Programmable controller (hereinafter referred to as PLC) due to the high reliability, simple programming, strong versatility, small size, compact structure, installation, plc analog output module maintenance is convenient wait for a characteristic, and in industrial control has been widely used. General PLC module for the following categories, switch quantity input module, switch module output, analog input module and analog output module.

In the industrial control especially process control in the field of analog acquisition and control needs to be more, more and need of PLC Analog input and output module, and analog input and output module is more expensive and increase the analog input and output module increases the cost and reduce the price of the entire system, limit the application of PLC. This paper presents a method of extended analog input output module,  high-speed counter modules communication based on trying to solve this problem.


2015年5月6日星期三

The role of the PLC input and output module


PLC input module is used for receiving, the various parameters of production process. (start stop input) output module plc  ,input module plc

The PLC output module is used to send can be obtained after computing the controller programming information, programmable logic controller manufacturer  and implementing agencies through the outside to complete all kinds of industrial field control. (the output)

1, have good anti disturbance ability.
2, can meet the requirements of all kinds of industry scene signal