0% found this document useful (0 votes)
9 views1 page

Arithmetic Instruction

The document outlines the details of an offline Organization Block (OB1) for a SIMATIC S7-300 CPU312 system, including its execution cycle and data structure. It specifies various data types and addresses related to the block, such as event class, scan priorities, and cycle times. Additionally, it includes a brief description of arithmetic instructions used in the block's programming.

Uploaded by

Santunu Barik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

Arithmetic Instruction

The document outlines the details of an offline Organization Block (OB1) for a SIMATIC S7-300 CPU312 system, including its execution cycle and data structure. It specifies various data types and addresses related to the block, such as event class, scan priorities, and cycle times. Additionally, it includes a brief description of arithmetic instructions used in the block's programming.

Uploaded by

Santunu Barik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

SIMATIC S7_Pro3\ 07/09/2025 09:09:21 PM

SIMATIC 300 Station\CPU312(1)\...\OB1 - <offline>

OB1 - <offline>
"Cycle Execution"
Name: Family:
Author: Version: 0.1
Block version: 2
Time stamp Code: 07/09/2025 07:41:26 PM
Interface: 02/15/1996 04:51:12 PM
Lengths (block/logic/data): 00146 00026 00020

Name Data Type Address Comment


TEMP 0.0
OB1_EV_CLASS Byte 0.0 Bits 0-3 = 1 (Coming event), Bits 4-7 = 1 (Event class 1)
OB1_SCAN_1 Byte 1.0 1 (Cold restart scan 1 of OB 1), 3 (Scan 2-n of OB 1)
OB1_PRIORITY Byte 2.0 Priority of OB Execution
OB1_OB_NUMBR Byte 3.0 1 (Organization block 1, OB1)
OB1_RESERVED_1 Byte 4.0 Reserved for system
OB1_RESERVED_2 Byte 5.0 Reserved for system
OB1_PREV_CYCLE Int 6.0 Cycle time of previous OB1 scan (milliseconds)
OB1_MIN_CYCLE Int 8.0 Minimum cycle time of OB1 (milliseconds)
OB1_MAX_CYCLE Int 10.0 Maximum cycle time of OB1 (milliseconds)
OB1_DATE_TIME Date_And_Time 12.0 Date and time OB1 started

Block: OB1 "Main Program Sweep (Cycle)"

ARITHMETIC INSTRUCTION IN PLC

Network: 1

ADD_I Q0.0
EN ENO

MW0 IN1 OUT MW6

MW2 IN2

Network: 2

SUB_I
EN ENO

IN1 OUT

IN2

Page 1 of 1

You might also like