DL-05 Addressing
DL-05 Addressing
Word memory references can be declared with the following data types: Short, Word, Long, DWord, Float, BCD and LBCD. The default data type for dynamically defined DDE memory reference tags is Word. When using 32-bit data types (such as Long, DWord, Float and LBCD) two consecutive 16-bit registers will be used. This means that if address V1400 is declared as type DWord, both addresses V1400 and V1401 will be used to store the 32-bit value. For more information, refer to
Data Types Description.
This driver supports array notation for V memory addresses defined using the Short and Word data types. To specify an array, append the array size to the address specification as follows: address[array size] or address[rows][cols]. Array size is limited to 64 elements.

Note: All address ranges are specified in octal.
Bit Access to V Memory
Bit information can be directly accessed within V memory registers. To access a bit within a V memory register, a bit number can be appended to any V memory address. V memory addressing with bit access would appear as follows: V<xxxxx>.<yy> where xxxxx is the V memory register location and yy is the bit number (0 to 15) within that register. For example, address V00000.02 or V00000.2 must be used to access bit 2 of the register V00000.
Address Specifications
Memory Type | Discrete Range | Data Type | Word Range | Access |
|---|
Input Points | X0-X377 | Boolean | V40400-V40417 | Read/Write |
Output Points | Y0-Y377 | Boolean | V40500-V40517 | Read/Write |
Control Relays | C0-C777 | Boolean | V40600-V40637 | Read/Write |
Special Relays | SP0-SP777 | Boolean | V41200-V41237 | Read/Write |
Timer Status Bits | T0-T177 | Boolean | V41100-V41107 | Read/Write |
Timer Current Values | N/A | N/A | V0-V177 | Read/Write |
Counter Status Bits | CT0-CT177 | Boolean | V41140-V41147 | Read/Write |
Counter Current Values | N/A | N/A | V1000-V1177 | Read/Write |
Data Words | N/A | N/A | V1200-V7377 | Read/Write |
Data Words Non-Volatile | N/A | N/A | V7400-V7577 | Read/Write |
Stages | S0-S377 | Boolean | V41000-V41017 | Read/Write |
System Parameters | N/A | N/A | V7600-V7777 | Read/Write |

Note: For the BCD data type only, the syntax Vaddress:B for V memory registers is allowed. For example, V0000:B.
Address Examples | Description |
|---|
CT65 | Counter contact 65 |
S57 | Stage control bit 57 |
V40500 | Output Points 0-17* |
V1400[4] or V1400[2][2] | Both notations define an array of four data words with base address V1400. |
*Octal