Speak with authority, quality is trustworthy.

PLC instructions exactly explain in detail and interpretation

by:Coolmay     2020-07-11
Directive statements table programming languages are all PLC are the most basic programming language. The instruction statement table program is composed of a command of a stack. Therefore, it is necessary to further instruction description and interpretation.

1, the instruction format PLC instruction statement table program and computer assembly language is very similar, we are also in assembly language instruction and instruction system way.

instruction refers to an operation command of PLC controller, PLC told how to do? People designed a series of commands, and binary code to him. But for people to design and communication, which is easy to remember, read and write binary. Further and designed the mnemonic form said, this is the assembly language of mnemonic instruction format. Mnemonic instruction is very easy to remember, easy to read and write. Better is that it can directly use the keyboard input, and then by the PLC internal compiler turn it into a series of binary coding operation, performed by PLC of the CPU.

then a operation instruction is made up of what? In general, an instruction is composed of operation code and the operands, example:

operation code also called mnemonics. Said the nature of this instruction and function of PLC is to ask what to do, an instruction, operation code is essential.

operands and address code, address of the operand, or the address of the data involved in operating data, in PLC controller, can also call it a programming element. Operands tell PLC to do. Above this instruction presentation and a normally open contact X0 phase in series, and complete the logic 'and' operation.

in the PLC instruction system, operands dispensable, not the number of operating instructions only said to complete a function, such as the following instruction:

END

it's no operands, saying only that the program ended.

instruction the function, the operand can have 1 - Four, for example, the following instructions:

ADD D0 D1, D2

this instruction operand has three D0, D1, D2. By this time the operands are divided into source number ( The source address) And purpose operands ( Final address) 。 Source address, said the source of the operands, and final address said instructions operating results store address. Said this instruction to do addition on the top and D0 and D1 addition, additive results in D2. Apparently D0 and D1 as the source address, D2 to finally address. Editor of LK


Looking for an innovative range of plc controller price plc manufacturers products? Shenzhen Coolmay Technology Co., Ltd. supplies a diverse range of consumer, commercial and specialty industrial products including plc manufacturers, programmable control systems, plc controller price,etc.Click Coolmay PLC to learn more!
For more tips and strategies on effective programmable control systems solutions, get your choice at Coolmay PLC.
With the help of a plc controller price plc manufacturers, programmable control systems becomes a reasonably easy job that you can take care of simply and swiftly.
There is growing awareness about the health benefits of among the consumers resulting in its increasing popularity.
Chat Online
Chat Online
Chat Online inputting...
Sign in with: