Topic: DMD0207

Built-in and System Structures


Structures represent a named ”container” of heterogeneous data types that are common to a specific function. For example, there is a predefined data-block of Timer structures (T) that are used by the various Timer instructions. Each Timer instruction needs a similar state structure that contains the current ”accumulator” time in milliseconds, a ”done timing” bit state, an ”is timing” bit state, an ”is zero” bit state, and an ”is at reset” bit state. These end up being fields in the Timer structure, namely .Acc  .Done  .Timing  .Zero  and  .Reset, respectively.

 

The Do-more controllers are preconfigured with the following Built-in structures:

 

Structure Name

Structure Type

Description

MSG

String

contains the most recent system generated informational messages

ERR

String

contains the most recent system generated error messages

 

 

SysName

String

the name of the Do-more controller

SystDesc

String

the description of the Do-more controller

 

 

ModbusTCPServer

Server

system generated structure used on controllers with an onboard Ethernet port

IntSerialStruct

Server

system generated structure used by the onboard serial port

IntUSBServer

Server

system generated structure used by the onboard USB port

IntSerial

Stream

system generated structure used by the onboard serial port

 

 

PL

Peerlink

system generated structure used by the onboard Ethernet port for supporting the PEERLINK instruction

 

 

$IntProcSim

ProcSim struct

DM/SIM Process Simulator

 

 

$Main

Program

structure used by the system generated program $Main

$FirstScan

Task

structure used by the system generated task $FirstScan

$t1Second

Task

structure used by the system generated task $t1Second

$t100ms

Task

structure used by the system generated task $t100ms

$t50ms

Task

structure used by the system generated task $t50ms

$tTopOfScan

Task

structure used by the system generated task $TopOfScan

$tBottomOfScam

Task

structure used by the system generated task $BottomOfScan


See Also:

 


Related Topics:

 


Copyright © Host Engineering, Inc. ALL RIGHTS RESERVED