7 batching control commands, Batching control commands – Rice Lake 520 HMI Digital Weight Indicator Installation Manual User Manual

Page 65

Advertising
background image

59

520 Indicator Installation Manual

9.1.7

Batching Control Commands

The commands listed below provide batching control through the EDP port.

BATSTART

If the BATRUN digital input is active (low) 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. Run the BATRESET command after

making changes to the batch configuration.

BATPAUSE

Stops the batch program at the current step. All digital outputs set on by the current step are set off. The

BATSTRT DIGIN or BATSTART EDP commands 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 9-15. 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 9-15 shows the low order bit assignments for bytes

3–12. Use Table 9-16 on page 60 to interpret the status of the low order bits for a given ASCII

character.

Table 9-15. BATSTATUS Command Structure

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

N/A

10

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)

Advertising