Posts

Showing posts from September, 2018

Types of PLC Programing Language

Image
The plc programming language specified in IEC 61131-3 includes instruction lists and structured text (ST) as text languages, as well as graphics such as ladder diagrams, function block diagrams (FBD), continuous function diagrams (CFC), and sequential function diagrams (SFC). Language.

1. Instruction List (IL)

The instruction list language is the most basic language for PLC programming. However, the program compiled with it is less readable.

2. Structured Text Language (ST)

The ST language is similar to the BASIC language, the PASCAL language, or the C language. It does not have a single instruction, only a complete set of statements that consist of a set of instructions. Specific statements include assignment statements, conditional statements, selection statements, loop statements, and other statements (EXIT statements, RETURN statements, function block call statements, etc.).



The functions and operators provided by the ST language of different brands of PLCs may be slightly different.

Th…

WD3A and RD3A instructions in the PLC

Image
WR3A/RD3A: The FX1N and FX2N PLCs only support these two commands, the module name FX0N-3A, but make it read-only using the FX0N FROM / TO instruction.

WR3A: special function module write instruction; K0: Module number:

K1: Analog input channel K1 or K2 (physical interface number); D15: Meaning of the analog module to write the specified value: Write D15 value? 0N3A module D / A;

The D / A physical interface has only K1 unchanged values;

For example: LDX1 WR3A K0 K1 D15 is closed, when the analogy of X1's D15 value is output to analog output channel 1;

Example of reading slave data instruction: RD3AK1 H0 D0

The RD3A was originally an analog module read command, and the original command function could not be used.

The RD3A instruction corresponds to the Modbus 03 function and reads the (4X type) register.

In the instruction, K1 is the station number representing the slave device being read, the range is 1-247; H0 is the address number 0000 (indicated by the hexadecimal number) representin…

Ladder program for plc siemens S7 200PLC clock reading and writing

Image
ladder diagram plc siemens s7 200 1.Read the system clock

2. Year, month, day, hour, minute, and second - week is stored in 8 bytes starting from the start address set at the time of reading.

3. The data read out is the BCD code and needs to be converted into an integer.


PLC set and reset

Image
PLC set and reset In the PLC control system, the self-locking control can be implemented with the set command





1 SET instruction The SET instruction is called a set instruction. Its function is to drive the coil to have a self-locking function and maintain the on state. In Fig. 1, when the moving contact X0 is closed, the SET command is executed to turn on the Y0 coil. After X0 is disconnected, the Y0 coil remains on. To de-energize the Y0 coil, the reset command RST must be used.

The operating elements of the set command are output relay Y, auxiliary relay M, and status relay S.
2 RST instruction The RST instruction is called a reset instruction. Its function is to reset the coil. In Fig. 1, when the moving contact X1 is closed, the RST command is executed to reset the Y0 coil. After X1 is disconnected, the Y0 coil continues to remain open.

The operating elements of the reset command are the output relay Y, the auxiliary relay M, the state relay S, the integrated timer T, and the coun…

How to write system time to SIEMENS 1200PLC

Image
1) WR_SYS_T (write system time) writes the DTL value of the input IN to the PLC real time clock.


2) RD_SYS_T (read system time) saves the current system time of the read PLC in the output OUT with the data type DTL.


3) RD_LOC_T (read local time) saves the read PC local date and time in the output OUT with the data type DTL.



How does SIEMENS PLC set up system time?

Image
SIEMENS PLC set up system time There are two ways to set PLC time and real-time time synchronization.
1. In SIMATIC Manager, open the project in turn to the CPU (such as CPU 315-2DP), then right-click the CPU to select "PLC/Set Time of Day", set the corresponding time in the interface, directly modify the CPU time and date;

2. You can also open your project in SIMATIC Manager and select the menu PLC/Diagnostic/Setting/Setting Time of Day (Diagnosis/Setting/Setting Date Time of Day). In the open interface, you can change the date of the CPU with the same settings as above.

How to understand M8000 m8001 m8002 in MITSUBISHI PLC

Image
M8000- runs normal open contacts and PLC runs ON all the time.

M8001- runs normal closed contacts and PLC runs OFF all the time.

M8002- initializes the pulse normally open contact. PLC runs ON with a scan cycle.

M8003- initializes pulse normally closed contacts. PLC runs OFF with a scan cycle.




this is Operation sequence diagram of special relay

MITSUBISHI PLC instruction MOV, MOVP

Image
1,MOV is the transfer instruction in MITSUBISHI PLC. Its function is to transmit the source data to the specified target.
For example

LD X0

MOV K100 D10

When X0 is ON, K100 is sent to D10 and automatically converted to binary numbers.

The MOVP instruction is the pulse execution mode of the MOV instruction. Instructions are executed on the rising edge of execution conditions.



2,Mov refers to the continuous transmission of PLC in each scan cycle.

For example.

MOVE sends the preceding condition of the instruction.

Such as M8000 or X0 is usually closed.

PLC performs a transmission instruction once per scan.

Movp refers to the execution of a single instruction only when the preceding condition is satisfied.

X0 from normally open to normally closed, can only hold a transmission instruction, X0 does not change, it does not hold transmission.

For example, the preceding condition is variable, such as M8013 (one pulse per second).

Then transmit instructions once per second.

What is the difference between Relay and Transistor outputs?

Image
PLC transistor output response is fast, can be used for high-speed output, but control solenoid valve or need to add intermediate relay; relay output response is slow, but can save external relay, simple wiring. What output should be chosen depends on the load.



Transistors are mainly used for position control, and they need to send pulses through the output of crystals. And the relay can not use the pulse, nor can it control it. If the relay is used to control the positioning servo or step, then the positioning module is added, which is not economical. The output of one transistor can control servo and so on. That's all.

Although both are controllers, the transistor input and output are not electrically isolated, and relays are electrically isolated. When the volume is limited, the response time is very short, they are often controlled by transistors, and when the voltage is relatively high, the current is relatively large, to pay attention to personal safety, often using relays..…

What module is dvp16sp11r?

Image
DVP16SP11R  is the Delta plc module. 8-channel input, 8-channel relay output hybrid IO expansion module.

dvp16sp11r  manual

Model Item DVP14SS211R DVP14SS211T DVP12SS211S Power supply voltage 24 VDC (-15 to 20%) (with counter-connection on the polarity of DC input power) DVPPS01/PS02: input 100 to 240 VAC, output 24 VDC/1A (PS02: 2A) Inrush current Max. 7.5 A@24 VDC Fuse capacity 1.85 A/30 VDC, Polyswitch Power consumption 1.8W 1.5W Power With counter-connection on the polarity of DC input power Insulation resistance > 5 M Ω (all I/O point-to-ground: 500 VDC) Noise immunity ESD (IEC 61131-2, IEC 61000-4-2): 8kV Air Discharge EFT (IEC 61131-2, IEC 61000-4-4): Power Line: 2kV, Digital I/O: 1kV, Analog & Communication I/O: 1kV RS (IEC 61131-2, IEC 61000-4-3): 26MHz ~ 1GHz, 10V/m Grounding The diameter of grounding wire cannot be smaller than the wire diameter of terminals L and N (All DVP units should be grounded directly to the ground pole). Operation / storage Operation: 0 to 55°…

Hitech touch screen homemade data line

Image

DDCSV1.1 offline controller review

Image
This video shows a CNC controller based on the DDCSV1.1 control panel, designed to run a variety of machines including a CNC router and milling machine. More details are available at www.nvcnc.net


amsamotion driver

Image
Amsamotion is china plc cable brand. Is a research and development and production of PLC and programming cable, wireless communication, the Internet of things, servo, touch screen and other automation products of high-tech enterprises.We adhering to the "strives for the survival by the quality, seek development by innovation" concept of development, always give top priority to quality and innovation.

Here we give you amsamotion driver

samkoon ea-043a manual

Image
Samkoon EA-043A 4.3 inch HMI touch Screen can instead of sa-4.3a


Software: Embedded type Linux

HMI certification: CE

configuration software: SamDraw3.3

HMI port can communicate with most of the PLC , in especial

Mitsubishi; Omron; Zhenghang; Yokogawa; Xinjie; Vigor; Techwayson; Tailing; Taian; Siemens; Nanda; Modicon; Modbus; Matsushita; LG; Koyo; Keyence; Inovance; IDEC; Hollysys; Hitachi; Haiwell; GE; Fuji; Fatek; Emerson; Delta; Allen-Bladley; AIBUS_master, etc
Samkoon Hmi Software Download

XHC MK4-V 5TH generation CNC Mach3 USB 4 Axis Motion Control Card

Image
XHC MK4-V 5TH generation Is upgrade  XHC MK4-IV ,the new version  adds some functions and is more stable.


How to program MITSUBISHI PLC timer?

Image
Timer: T0-T199 (200 points) is a 100 ms timer (set value: 0.1-3276.7 S); T200-T245 (46 points) is a 10 ms timer (set value: 0.01-327.67 S); T246-T149 (4 points) is a 1 mS cumulative timer (set value: 0.001-32.767 S, power loss retention, i.e. interruption); T250-T255 (6 points) is a 100 ms timer (set value: 0.01-327.67 S); Cumulative timer (set value: 0.1~3276.7 S, power loss maintenance, that is, interrupt action).

If T192-T199 and T246-T249 are used in subroutines or interrupt programs, the current value of the timer is modified when the END instruction is executed. When the current value of the timer is equal to the set value, its output contacts act when executing the timer coil instruction or the END instruction. If the timer is not used, the work of the timer may not be normal under special circumstances.

If a 1ms timer is used to interrupt programs and subroutines, its contacts act when executing the first coil instruction of the timer after its current value reaches a set valu…

Proface hmi programming cable

Image
Proface hmi programming cable have two type . GPW-CB03 GPW-CB02

but there are different

GPW-CB03 is USB Port.
GP2-CB02 is Serial port 

simatic s7 pc adapter usb 6es7 972-0cb20 0xa0 driver

Image
Siemens 6es7972-0cb20-0xa0 driver installation instructions, if you are not using a special cable, you only need to fully install the corresponding software, higher version. Some low version software does not have integrated chip drivers.
SIMATIC PC ADAPTER USB
1. If SIMATIC PC ADAPTER USB appears in Device Manager, it means that the driver has been installed automatically and there is no need to install the chip driver anymore.


2, S7-200 PLC needs STEP 7 MicroWIN SP9 can not be lower than SP9

All three indicators are valid, first switch to STOP state, then connect the computer with plc, and then set up the programming software.

3, S7-300/400 series PLC connection. The version must be higher than v5.5.. You can install the driver without installing it.

PLC is first stopped and set up PG / PC, select PC adapter, and then click OK.





USB-PPI+driver download ,Siemens PLC adapter

6es7972-0cb20-0xa0 Driver ,Siemens PLC adapter

more plc cable driver and video How to use plc cable program

How To connect CNC MPG Terminal to DDCSV CNC offline controller

Image
The cnc mpg pendant port picture is showed as the Picture



From the reverse side of the product, it is the 8+9 double raw interface which is close to the USB interface. The reference of interface  definition is Picture
As the picture shows, the MPG port totally have 17 wiring terminals, and the
reference of eachwiring terminal definition is table



The reference of corresponding relation,between system and MPG wiring is table
Note: It you want to use the single-terminal MPG (namely there is no A-B-MPG),  please look at the wiring table, the table   for reference. As for the unlisted one, please take the differential MPG wiring mode

How to use TSXPCX3030 upload and save the project file from the Neza PLC

Image
If you want connect Neza plc you need use PL7-07 and TSXPCX3030 plc cable.

1, you need install the drive.



here is successed.



2,add the setting,




go...




the red is must choose,





now open PL7-07 software,








here have video you can see


how to use TSXPCX3030 upload and save the project file from the Twido PLC

Image
Upload project file from the Twido PLC, you need install Twidosoft and use TSXCSX3030 plc program cable.

1, connect cable to plc , power on ,you need open software Twidosoft ,



2, check the com port ,our is com2.



3,click file ------first choice----choose port com2.









4,click connect , Wait a moment and it will show success.




TSXPCS3030 driver Download
here is video you can see 



MITSUBISHI FX2N PLC special auxiliary relay

Image
mitsubishi plc special relays include M8000 ...M8008  M8011....M8019  M8020....M8029  M8030...M8039   Different functions of different special relays serve MITSUBISHI PLC at the same time. 

here  have some mitsubishi plc special relays example you can see
RUN monitoring M8000, M8001 RUN monitoring (M8000, M8001) which shows the running state of PLC can be used as the driving condition of instructions and the external display of "display in normal operation"




RUN is in ON state when normal, and Y0 leads.

M8001 is in OFF state when RUN is normal.


Initial pulse M8002, M8003 After the start of PLC operation, M8002 is ON in one instant (one operation cycle) and remains OFF in the rest of the time. The read pulse is used as initialization signal in the case of program initialization and writing specified value.
M8003 is OFF only at one instant (one operation cycle) after the start of PLC operation, and the rest of the time is in ON state.

SHAPE \* MERGEFORMAT
Operational error flag…