Difference between revisions of "S7-PCI315:Integrated blocks"

From IBHsoftec Wiki English
Jump to: navigation, search
(Integrated system function blocks:)
Line 116: Line 116:
 
! SFB-Nr !! SFB-Name !! Description
 
! SFB-Nr !! SFB-Name !! Description
 
|-
 
|-
|style="width: 5em"| SFB 0 ||style="width: 7em"| CTU ||style="width: 22em"| Count up
+
|style="width: 5em"| SFB 0 ||style="width: 7em"| CTU ||style="width: 14em"| Count up
 
|-
 
|-
 
| SFB 1 || CTD || Count down
 
| SFB 1 || CTD || Count down

Revision as of 11:53, 6 August 2012

The S7-PCI315 series have the listed integrated STEP®7 standard blocks.

Integrated system functions:

SFC-Nr SFC-Name Description
SFC 0 SET_CLK Set system clock
SFC 1 READ_CLK Read system clock
SFC 2 SET_RTM Set run-time meter
SFC 3 CTRL_RTM Start/Stop run-time meter
SFC 4 GET_RTM Read run-time meter
SFC 5 GADR_LGC Query logical address of a channel
SFC 6 RD_SINFO Read OB start information
SFC 12 D_ACT_DP Deactivation and activation of DP slaves
SFC 13 DPNRM_DG Slave diagnostic of a DP slave
SFC 14 DPRD_DAT Read consistent data from DP slave
SFC 15 DPWR_DAT Write consistent data to DP slave
SFC 20 BLKMOV Copy PLC-variable in target-area
SFC 21 FILL Preoccupy PLC-variable in target-area
SFC 22 CREAT_DB Create data block
SFC 23 DEL_DB Delete data block
SFC 24 TEST_DB Test attributes of a data block
SFC 25 COMPRESS Compress load memory
SFC 28 SET_TINT Set time alarm
SFC 29 CAN_TINT Stop time alarm (do not execute)
SFC 30 ACT_TINT Enable time alarm
SFC 31 QRY_TINT Status of time alarm
SFC 32 SRT_DINT Start delay alarm
SFC 33 CAN_DINT Stop delay alarm
SFC 34 QRY_DINT Status query of delay alarm
SFC 36 MSK_FLT Mask a synchron error occurrence
SFC 37 DMSK_FLT Demask a synchron error occurrence
SFC 38 READ_ERR Read out the occurrence status register
SFC 39 DIS_IRT Lock the asynchron and alarm error processing
SFC 40 EN_IRT Enable the asynchron and alarm error processing
SFC 41 DIS_AIRT Delay high-priority asynchron and alarm error processing
SFC 42 EN_AIRT Enable high-priority asynchron and alarm error processing
SFC 43 RE_TRIGR Retrigger the Watchdog
SFC 46 STP Change the CPU to STOP
SFC 49 LGC_GADR Query the module slot belonging to a logical address
SFC 50 RD_LGADR Query all logical addresses of a module
SFC 51 RDSYST Read out system status list (SSL)
SFC 52 WR_UMSG Write a user-defines diagnostic event to the diagnostic buffer
SFC 58 WR_REC Write a data record
SFC 59 RD_REC Read a data record
SFC 64 TIME_TCK Timer Tick
SFC 70 GEO_LOG Determine start address of a module
SFC 71 LOG_GEO Determine the slot belonging to a logica address
SFC 81 UBLKMOV Uninterruptible block move
SFC 82 CREA_DBL Create a data block in the load memory
SFC 83 READ_DBL Read from a data block in the load memory
SFC 84 WRIT_DBL Write to a data block in the load memory
SFC 85 CREA_DB Create a data block
SFC 1008 CIFXCOM Read information from cifX driver
SFC 1009 CIFXBUS Bus diagnostics of cifX driver
SFC 1010 CIFXMSG Exchange telegrams with cifX driver
SFC 1011 S7PCI315 Query state of S7-PCI315

Integrated system function blocks:

SFB-Nr SFB-Name Description
SFB 0 CTU Count up
SFB 1 CTD Count down
SFB 2 CTUD Count up and down
SFB 3 TP Generate pulse
SFB 4 TON Generate ON-delay
SFB 5 TOF AGenerate OFF-delay
SFB 32 DRUM Implement sequencer
SFB 52 RDREC Reading a data record
SFB 53 WRREC Writing a data record
SFB 54 RALRM Receiving an interrupt

Integrated organization blocks:

OB-Nr

Description

OB 1

Main program

OB 10 - OB 17

Time alarm

OB 20 - OB 23

Delay alarm

OB 30 - OB 38

Time blocks (cyclic call)

OB 40

Hardware interrupt OB

OB 55

Status interrupt OB

OB 56

Update interrupt OB

OB 57

Manufacturer specific interrupt OB

OB 80

Time error OB

OB 82

Diagnostic interrupt OB

OB 83

Insert/Remove interrupt OB

OB 85

Priority class error OB

OB 86

Rack failure OB

OB 90

Background OB

OB 100/OB 101

Warm or hot restart

OB 121

Programming error OB

OB 122

I/O access error OB