pascalSCADA OPM: S7Types

Pascal SCADA OPM

Unit S7Types

Description

Common types used by Siemens PLC's.

:

Overview

Classes, Interfaces, Objects and Records

Name Description
Record TPDUHeader  
Record TPDU  
Record TS7DB  
Record TS7ReqListItem  
Record TS7CPU  
Record TS7Req  

Types

PPDUHeader = ˆTPDUHeader;
PPDU = ˆTPDU;
TS7DBs = array of TS7DB;
TS7ReqList = array of TS7ReqListItem;
PS7CPU = ˆTS7CPU;
TS7CPUs = array of TS7CPU;
PS7Req = ˆTS7Req;
TISOTCPConnectionWay = (...);

Constants

vtS7_200_SysInfo = $03;
vtS7_200_SM = $05;
vtS7_200_AnInput = $06;
vtS7_200_AnOutput= $07;
vtS7_200_Counter = 30;
vtS7_200_Timer = 31;
vtS7_Peripheral = $80;
vtS7_Inputs = $81;
vtS7_Outputs = $82;
vtS7_Flags = $83;
vtS7_DB = $84;
vtS7_DI = $85;
vtS7_Local = $86;
vtS7_V = $87;
vtS7_Counter = 28;
vtS7_Timer = 29;
S7FuncOpenS7Connection = $F0;
S7FuncRead = $04;
S7FuncWrite = $05;
S7FuncRequestDownload = $1A;
S7FuncDownloadBlock = $1B;
S7FuncDownloadEnded = $1C;
S7FuncStartUpload = $1D;
S7FuncUpload = $1E;
S7FuncEndUpload = $1F;
S7FuncInsertBlock = $28;

Description

Types

PPDUHeader = ˆTPDUHeader;

: Points to a PDU structure header.

PPDU = ˆTPDU;
 
TS7DBs = array of TS7DB;

: Identifies a set of DB's of S7-1200/S7-300/S7-400 PLC's.

TS7ReqList = array of TS7ReqListItem;

: A request list.

PS7CPU = ˆTS7CPU;

: Points to a PLC.

TS7CPUs = array of TS7CPU;

: Represents a set of Siemens S7-200/300/400 PLC's.

PS7Req = ˆTS7Req;

bits and low bytes

TISOTCPConnectionWay = (...);

: Identifies the connection way with PLC.

Values
  • ISOTCP
  • ISOTCP_VIA_CP243

Constants

vtS7_200_SysInfo = $03;

: Identifies a S7-200 information area.

vtS7_200_SM = $05;

: Identifies the S7-200 SM's

vtS7_200_AnInput = $06;

: Identifies the analog inputs of S7-200.

vtS7_200_AnOutput= $07;

: Identifies the analog outpus of S7-200.

vtS7_200_Counter = 30;

: Identifies the counters of S7-200.

vtS7_200_Timer = 31;

: Identifies the Timers of S7-200.

vtS7_Peripheral = $80;

: Identifies the analog inputs of S7-300/400.

vtS7_Inputs = $81;

: Identifies the digital inputs.

vtS7_Outputs = $82;

: Identifies the digital outputs.

vtS7_Flags = $83;

: Identifies the Flags (M's).

vtS7_DB = $84;

: Identifies the DB's and V's area of S7-200.

vtS7_DI = $85;

: Identifies the instantiated DB's.

vtS7_Local = $86;

DB Instanciado : Unknown.

vtS7_V = $87;

not tested : Unknown.

vtS7_Counter = 28;

: Identifies the Counters of S7-300/400.

vtS7_Timer = 29;

S7 counters : Identifies the Timers of S7-300/400.

S7FuncOpenS7Connection = $F0;

S7 timers : Unknown/Not tested.

S7FuncRead = $04;

: Identifies a read request.

S7FuncWrite = $05;

: Identifies a write request.

S7FuncRequestDownload = $1A;

: Unknown/Not tested.

S7FuncDownloadBlock = $1B;

: Unknown/Not tested.

S7FuncDownloadEnded = $1C;

: Unknown/Not tested.

S7FuncStartUpload = $1D;

: Unknown/Not tested.

S7FuncUpload = $1E;

: Unknown/Not tested.

S7FuncEndUpload = $1F;

: Unknown/Not tested.

S7FuncInsertBlock = $28;

: Unknown/Not tested.

Author


Generated by PasDoc 0.14.0.