plc module

plc module
显示标签为“plc IO module”的博文。显示所有博文
显示标签为“plc IO module”的博文。显示所有博文

2015年10月4日星期日

Programmable Controllers and IO Modules What are the similarities and different

programmable logic controller, ie PLC, can be considered a microcontroller or CPU + interface circuitry. Under normal circumstances, the microcontroller, CPU, including the IO module plc are just low-level output signal of a weak signal, you want to direct drive packed load is generally not possible, because their output current is too small, but because the PLC plus the interface circuit, you can put a weak signal amplification signal can directly drive high current take-load, general load current can be achieved PLC 1A.

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年4月27日星期一

PLC IO module and the electrical circuit


The pace of work from the vibration signal control. The operation is used for digital or logic operation, under the command of the controller work. Register to participate in operations, input module plc and to store intermediate results of operations, it is under the command of the controller.

CPU speed and memory capacity of PLC is an important parameter, which determines the pace of work PLC, IO number and software capacity, limiting the size of control.

PLC and the electrical circuit is through the input and output interface, complete the part (I/O). The IO module plc  integrated circuit PLC, the input registers to reflect the state of the input signal, the output reflects the state of the output latch.