
EDP Commands
43
5.1.6
Batching Control Commands
The commands listed below provide batching control through the EDP port.
BATSTART
If the BATRUN digital input is on or not assigned, the BATSTART command can be used to start the batch
program.
BATRESET
Stops the program and resets the batch program to the first batch step.
BATPAUSE
Stops the batch program at the current step. All digital outputs set on by the current step are set off. The
BATSTRT DIGIN, BATSTART EDP command, or a macro configured with STRTBAT=ON can be used to
restart the batch program at the current step.
BATSTATUS
The BATSTATUS command is used to check the current status of various setpoint and batching conditions.
BATSTATUS returns 14 bytes of status data as described in Table 5-14. BATSTATUS is principally used to
provide status information to a controlling batch program when using the Remote I/O Interface option.
Status information returned in bytes 3–12 is coded as ASCII characters @ (hex 40) through O (hex 4F);
only the low order bits of these characters are significant. Table 5-14 shows the low order bit assignments
for bytes 3–12. Use Table 5-15 on page 44 to interpret the status of the low order bits for a given ASCII
character.
Batch Status Data
Byte
Values
Batch Status
0
“S” = stopped
“R” = running
“P” = paused
Current Batch Step
1 – 2
00 – 08
Low Order Bit Assignments for Bytes 3 – 12
ASCII Values
Continuous Setpoint Status
Low order bits of bytes 3–4 are set on
to indicate continuous setpoints for
which conditions are being met. Bits are
assigned to setpoint numbers as shown
at right.
3 – 7
Bit 3
Bit 2
Bit 1
Bit 0
@@@@@ – OOOOO
3
SP 1
SP 2
SP 3
SP 4
4
SP 5
SP 6
SP 7
SP 8
5
N/A
6
7
Digital Output Status
Low order bits of bytes 8–9 are set on
to indicate active digital outputs. Bits
are assigned to digital outputs as
shown at right.
8 – 11
Bit 3
Bit 2
Bit 1
Bit 0
@@@@ – OOOO
8
DIGOUT 1
DIGOUT 2
DIGOUT 3
DIGOUT 4
9
DIGOUT 5
DIGOUT 6
DIGOUT 7
DIGOUT 8
10
N/A
11
Digital Input / Alarm Status
Low order bits of byte 12 are set on to
indicate active digital inputs and
setpoint alarm status. Bits are assigned
as shown at right.
12
DIGIN 1
DIGIN 2
DIGIN 3
Alarm
@ – O
Carriage Return
13
N/A
(CR)
Table 5-14. BATSTATUS Command Structure