한국어 | English
An address used in the ladder consists of a memory area name and a number. This page describes the memory areas and their notation, data memory sizes and retentive settings, the symbol table, and how to check which data is used.
| Area | Name | Use | Basic unit |
|---|---|---|---|
P | I/O | Digital input and output points of the device | Bit |
M | Internal relay | Bits used inside the program | Bit |
D | Data | Numeric values | Word |
T | Timer | Timer current values | Word |
C | Counter | Counter current values | Word |
R | Real | Decimal values (1 = 2 words) | Real |
The range of I/O addresses differs from model to model. If you use an I/O address that the model does not have, the cell turns red.
The same memory can be read and written in units of bits, bytes (B), words (W) or double words (D). Put the unit letter in front of the area name.
| Area | Bit | Byte | Word | Double word |
|---|---|---|---|---|
| P | P0 | BP0 | WP0 | DP0 |
| M | M0 | BM0 | WM0 | DM0 |
| D | — | BD0 | D0 | DD0 |
| T | — | BT0 | T0 | DT0 |
| C | — | BC0 | C0 | DC0 |
| R | — | — | — | R0 (real) |
Eight bit addresses make one byte. For example, P0 to P7 are BP0, and P32 to P39 are BP4. Double word numbers overlap in word steps: DD0 occupies D0 and D1, and DD1 occupies D1 and D2. Be careful not to use overlapping double words together.
| Notation | Meaning |
|---|---|
@n | A pulse that is ON for one scan every n×10 ms. Example: @100 is ON for one scan every second. |
@Fn | A blink that toggles ON/OFF every n×10 ms. Example: @F100 has a 2-second period. |
#name · ##name · ###name | User bit, word and double word variables used by name |
Select Setting → Data Memory to open the Data Memory window, where you set the size of each area and the retentive ranges.
The data memory settings are saved with the project. If you use an address outside the area size (for example a D number beyond the D area size), the cell turns red and you cannot download or monitor.
When you change the model in the Device Select window, check Reset the data memory sizes to this model's defaults. to change the memory sizes to the defaults of the new model as well. If you leave it unchecked, the current settings are kept.
For MPA models, select ① MPA, then choose ② Model and ③ the expansion modules (Analog Input X to X5, Analog Output Y to Y4, PT100Ω Input F to F5, Pulse Output K to K4). ④ Device Name shows the name including the module configuration (for example MPA-16A16R(T)-X), along with the CPU and the P area size. If you choose a combination that cannot be fitted, the reason is shown at the bottom of the window.
Symbols are names and descriptions attached to addresses. Select Setting → Symbol or click the Symbol button in the top band to open the SYMBOL TABLE window.
Delete to delete it.Symbols of addresses that are not used in the ladder are marked Not used in ladder. If the same symbol name is used for several addresses, or a name cannot be used, the number of entries to review and the reason are shown.
Turn on View → Show Symbols and View → Show Comments to show symbol names and comments above and below the cells.
Select Run → Used Data or click the Used button in the top band to open the Used Memory window. In the memory grid of each area you can see which locations the program uses.
D0 to D2 are in use.Hover over a grid cell to see its address. Use Rows shown at the top right to change how many rows are visible at once. Use this window to check that a new address does not overlap with locations already in use.