Mitsubishi FX PLC function instruction format

Function instruction format

 Function instruction by number FNC00 ~ FNC294 representation, and gives the corresponding mnemonic (mostly represented by the English name or abbreviation).
For example FNC45 mnemonic is MEAN (average), type FNC45 if using simple programmer, can also type mnemonic MEAN If smart programmer or programming on your computer.
Some functional commands no operands, while most of the function instruction has operands 1-4. As shown in FIG. 1 is a command to calculate the average, it has three operands, [S] represents the source operand, [D] represents the destination operand, if the index function can be expressed as [S ·] and [ D ·]. When more than one source or target when using [S1 ·], [S2 ·], [D1 ·], [D2 ·] represents. It represents the other operand by n and m, which are often used to represent the constant K and H, or as a source and destination operand supplement, when such a long time is available operands n1, n2 and m1, m2, etc. to represent.
                   
             
Source operand is D0, D1, D2, the destination operand is D4Z0 (Z0 for the index register), K3 expressed three numbers, when X0 is turned on, the operation is performed [(D0) + (D1) + ( D2)] ÷ 3 → (D4Z0), if the content of Z0 is 20, the result of the operation into the D24.Instruction segment function instruction generally comprise a step, 16-bit operands accounted for two-step, 32-bit operands accounted for 4 steps.

评论

此博客中的热门博文

RVNet-S7300 PPI MPI DP To Ethernet Gateway Protocol Converter Module

Profinet Bus IO Temperature Acquisition Module

Ethernet or WiFi Communication Module for Siemens SMART S7-200