Topic: DMD0206

Built-in Data Blocks


Each data-block in the Do-more controllers are strongly-typed, contiguous blocks of homogenous size and type. By implementing strong typing with its data blocks, the instruction set becomes very easy to use since the instructions can know by the element reference what data-type it is.

 

For example, a Counter preset parameter can tell by the data-type of the element how to interpret the value in that memory location. If the preset parameter is V10, the counter instruction knows it’s a 16 bit unsigned integer. If the preset parameter is D23, it knows it’s a 32 bit signed integer. No longer is there a burden on the programmer to convert register value from one data type to another in order to provide the ”correct” data-type needed by every parameter of every instruction.

 

The Do-more controllers are preconfigured with the following strongly-typed, built-in data-blocks:

 

Block Name

Data Type

Default Range

Description

 

System Status Bits and Status Values

ST

Bit

ST0 - ST1023
(not configurable)

System Assigned Bit locations.

Click this link for a list of the system-nicknamed status bit locations.

DST

DWord

DST0 - DST511

(not configurable)

System Assigned DWords

Click this link for a list of the system-nicknamed numeric locations.

 

Date & Time Structures

SDT

Date/Time Structure

SDT0 - SDT7

(not configurable)

System Assigned Date/Time locations.

Click this link for a list of the system-nicknamed date/time structures.

UDT

Date/Time Structure

UDT0 - UDT31

User Date/Time locations

 

Physical I/O

X

Bit

X0 - X2047

Discrete Inputs

Y

Bit

Y0 - Y2047

Discrete Outputs

WX

Signed Word

WX0 - WX255

Analog Inputs

WY

Signed Word

WY0 - WY255

Analog Outputs

 

Internal Bits

C

Bit

C0 - C2047

General Purpose Internal Control Relays

 

Internal Numeric Values

V

Unsigned Word

V0 - V4095

General Purpose Registers for 16-bit Unsigned values
(0 to 65535)

N

Signed Word

N0 - N4095

General Purpose Registers for 16-bit Signed values
(-32767 to +32768)

D

Signed DWord

D0 - D4095

General Purpose Registers for 32-bit Signed values
(-2147483648 to +4127483647)

R

Real

R0 - R4095

General Purpose Registers for 32-bit Real values
(-3.4e+038 to +3.4e+038)

 

Timers and Counters

T

Timer Structure

T0 - T255

General Purpose Timers

CT

Counter Structure

CT0 - CT255

General Purpose Counters

 

Strings

SL

String Structure

SL0 - SL63

Long Strings, each element holds up to 255 characters

SS

String Structure

SS0 - SS127

Short Strings, each element holds up to 64 characters

 

PeerLink memory

PL

Unsigned Word

PL0 - PL255

(not configurable)

For use by the Share Data with PLCs (PEERLINK) instruction

 

Memory Accessed by External DirectLOGIC Master Devices

DLX

Bit

DLX0 - DLX777

Numbered in Octal

Also referenced by ERM modules.

DLY

Bit

DLY0 - DLY777

DLC

Bit

DLC0 - DLC777

DLV

Unsigned Word

DLV0 - DLV3777

 

Memory Accessed by External Modbus Master Devices

MI

Bit

MI1 - MI1023

1-based
Numbered in decimal

MC

Bit

MC1 - MC1023

MIR

Signed Word

MIR1 - MIR2047

MHR

Signed Word

MHR1 - MHR2047

 

The built-in data block configuration can be altered to fit the needs of the programmer through the Memory Configuration dialog of the System Configuration utility. Block sizes can be increased or decreased, the retentive range settings for each data block can be changed, unused data blocks can be minimized if more space is required for other data blocks.

 

The instruction editors, the Element Browser (F9), and the auto-complete (down-arrow) work in concert to present the programmer with a complete list of the valid PLC data elements for any given field.

 


See Also:

 


Related Topics:

 


Copyright © Host Engineering, Inc. ALL RIGHTS RESERVED