block. SIMATIC BATCH controls the IEPH/IEOP block via the S7 DOS connection between
SIMATIC BATCH and the AS. As shown in the previous image, the IEPH/IEOP block passes
its control commands on to the interconnected user block.
BATCH-related input and output parameters
The user block interconnected with the IEPH/IEOP block requires the following parameters:
IN parameter OUT parameter Parameter type Description
BA_EN BOOL Enable for BATCH
START BOOL Command: Start
HOLD BOOL Command: Hold
STOP BOOL Command: Stop
ABORT BOOL Command: Abort
RESET BOOL Command: Reset
COMPLETE BOOL Command: Complete
CONT BOOL Continuous operation
STEP_NO DWORD Batch step number
BA_ID DWORD Batch ID
BA_NAME STRING[32] Batch name
OCCUPIED BOOL Unit allocation
BA_STATE DWORD Status word for BATCH
Allocation of the status word "BA_STATE"
The status word BA_STATE must have the following allocation:
Bit Hex value Meaning Bit Hex value Meaning
0 0x0000 0001 IDLE 16 0x0001 0000 Reserved
1 0x0000 0002 RUNNING, ISA-88
state
17 0x0002 0000 Automatic /
manual
2 0x0000 0004 COMPLETED,
ISA-88 state
18 0x0004 0000 Release for
batch
3 0x0000 0008 HELD, ISA-88 state 19 0x0008 0000 Error monitor‐
ing time
4 0x0000 0010 ABORTED, ISA-88
state
20 0x0010 0000 Reserved
5 0x0000 0020 READY, ISA-88
state
21 0x0020 0000 Update (write
setpoint and
process val‐
ues)
6 0x0000 0040 STOPPED, ISA-88
state
22 0x0040 0000 Lock start
7 0x0000 0080 Not used 23 0x0080 0000 Continue op‐
tion
8 0x0000 0100 Not used 24 0x0100 0000 Allocated
Recommended procedure
12.5 How are IEPH/IEOP blocks connected to the user blocks?
SIMATIC BATCH V8.2
Operating Manual, 02/2016, A5E35958174-AA 683