PLC Programming-1

By IKTech May 29, 2017

We were discussing the Fx series device. Today will be:

D – Register the database, R and ER – register the file and register the extension file, V and Z – index register, P – pointer, K, H, and E – Numerical Constant, U \ G – buffer memory access.

Those who did not wear the previous tunes did not know anything about it. So you can take a look at the past.
D – Data register

 

D devices are data registers. It can be used for any purpose. All data registers are 16 bits, which means number based data limit is 32768 to 32767. You can perform 32-bit operations in the Ledger diagram, in which case 2 consecutive D registers should be used simultaneously and the maximum numeric value can be 2.147.483.647 to -2.14.483.648. It is possible to configure D battery on battery life in GX-Developer software. This means that even if the power loss is, the bits can maintain their current values. It is possible to hold all the registers data on a special relay M8033.

Files and data registers are saved on a PLC basis through a program. Their parametres are announced in 500 group categories. Each registered 500 group has reduced the amount as 500 steps.

Data registers have been identified for PLC’s own problems and special functions from D8000 to D8511. You will find them in the programming manual of FX3U.

FX3U PLC has the ability to access the direct bit in a single word. This is possible by setting a decimal point between the word’s address and bit address. You can specify a single bit state in a word. An example would be a meaningful bit of the word D100 at least in reference to D100.0.

R and ER – File Register and Extension File Register

R registers are file registrations. File registers are the list of enhanced data sets that are supported by Battery. They are stored in PLC’s internal memory, and it can be launched from the Ledger Logic program.

ER registers register the extension files. When the memory cassette is installed in the PLC, the extension file is stored in the register, the ER data is stored in memory cassette. There are dedicated commands in PLC to access data in the extension file register. Access the ER registers by copying their content into the R file register.
V and Z – Index Register

Index registers are specified by V and Z codes. V and Z can be used for both 16-bit applications, here only can be used with Z 32 bit instructions. The stored value of the index register can be used as offset of a specific device. Generally there are 8 quality V indexes (V0-V7) and Z indexes (Z0-Z7). Indexes are used as a suffix of address address in their address program. If V or Z is specified without a number, then the number 0 is implied.

If the value of V0 is captured in K2, then D10V is D10 + 2 = D12. If the value of Z2 is captured in K8, then Y1Z2 = Y11. Remember that the address of X and Y are at octal, so the offset number becomes octal and adds the base address. Because the decimal 8 is octal 10, the address is increasing at 10. Such devices are generally useful to use a large number of data without using a ring number.
P – Pointer:

P addresses are pointer Pointer is used for breaking jumps, calls and instructions to change the program flow. Call and JMP instructions can scan programs and move them to one area, although it can do a subroutine calling or anywhere else on the same program.

Pointer is commonly used – 1) a jump or call instruction destination and 2) as a point, subroutine or jumbo.
K, H, and E – Numerical Constant

K, H and E are used to indicate a Numeric Constant. A PLC installation can not recognize the relay “1” relay ladder code, but can recognize K1 or H1. Because “K” indicates a consignment decimal. And “H” are designed as hexadecimal concerts. “Floating point” indicates a floating point numeric value. The number of concurrent numbers may be 16bit (32768 to 32767) or 32bit (-2,147,483,648 to 2,147,483,647).
U \ G – buffer memory access (older than 3x)

Using a U / G address system in a special function module, you can activate live buffer memory addresses. The number of buffer memory is specified by the U number by SFM number, and G number.

This is the FX series device’s location. In the next tune, we will discuss some about digital electronics. Although many know about digital electronics. Nevertheless, we will discuss some information on PLC.

Today is the same …………….

Leave a Reply

Your email address will not be published.