background image

18

SERIAL INPUT COMMANDS:

To get a unit on line you must address it by it's device number.

This is done by typing DXX(S), XX= device number.  The unit

comes on line and echoes back DEVICE# XX.  Insure that

"DEVICE# XX:" is received before requests are sent.  The unit

is now ready to receive a command or string of commands

separated by a space.  A carriage return (enter) will enter the

commands and processing of requests begins.  The carriage

return  (Hex Code "D") puts the unit "off line" after data is

processed.

COMMANDS:

EP ......................... Unit will enter program mode.

DA ......................... Unit will display (transmit) Count A.

DB ......................... Unit will display (transmit) Count B.

DR ......................... Unit will display (transmit) rate A.

GO......................... Unit will START. (relays energize)

ST.......................... Unit  will STOP if batch is in progress

(relays drop out)

KA ......................... Unit will display K-factor A.

†*KA(S)XXXXX ..... Unit  will load K-factor A with entered

number.

PA ......................... Unit will display Preset A.

†PA(S)XXXXX ....... Unit will load Preset A with entered num-

ber.

PB ......................... Unit will display Preset B

†PB(S)XXXXX ....... Unit will load Preset B with entered num-

ber.

RA ......................... Counter A will reset

†*RA(S)XXXXXX ... Unit will set Counter A to

entered number.

RB ......................... Counter B will reset.

†*RB(S)XXXXXX ... Unit  will reset Batch / Grand Counter

(Counter B) to entered number.

*THE UNIT WILL RECOGNIZE A DECIMAL IF ONE IS
PLACED IN ANY OF THESE DATA VALUES.

†THE UNIT WILL ONLY RECOGNIZE THE LAST FIVE
DIGITS ENTERED (SIX DIGITS FOR RA & RB).
IF A NEGATIVE SIGN IS PRESENT, IT WILL NOT BE
CHANGED.

The following is an example of requests and responses:

Transmit from terminal Receive from unit

(s)=Space

D5(s) [Unit #5 Activated]

DEVICE# 5:

PA(s)12345(s)PA

PA 12345 PA

KA(s)1576(s)KA

KA 1576 KA

RA(s)RB[RETURN]

RA RB

(UNIT PRESETS AND A K-FACTOR ARE SET AND BOTH

COUNTERS ARE RESET)

12345

1576

SERIAL INTERFACE OPERATION:

Data is received and transmitted over standard EIA RS232 or

RS422 levels.  Each ten bit  character is made up of a start bit,

seven  bit ASCII code, a parity bit and a stop bit.  Device

number, baud rate, parity and strobe list are entered in the

program setup mode and will remain in memory even if power

is lost.

The input impedance of RS232 is 3Ký to 7Ký worst case.  The

terminal addressing the unit must be capable of driving all

loads in the loop.  The input impedance of RS422 is much

higher and there should be no problem driving as many as 99

units.  The transmit line remains in a high impedance "off"

state until addressed.  Only one unit is to be on line at a time!!!

More than one unit on line could damage the unit or destroy the

transmitted data.

When the unit is active (on line) it will operate in a full duplex,

echo back mode, so that data sent from the terminal will be

transmitted back for verification.  When the unit is "on line",

use the proper serial transmit commands to request data or

set a new value.  Up to 80 characters of data can be linked

together and transmitted to the unit in a string as long as there

is a space between the commands.  If an error is made, a

correction can be made by back spacing and retyping correct

data before the return (enter) is sent.  Once a return (enter) is

sent, the unit begins processing the data and will transmit the

requested data on a non-priority basis over the data transmit

line.   A keypad entry or incoming data will halt the data

communication cycle.  Therefore, there should be a pause

after  data is requested to insure that all data has been

transmitted  before making another request or addressing

another unit.  If the unit is not busy, it should not take longer

than 300 msec to process each request.  To find the cycle time

to process and transmit a request, calculate the bit transmit

time by using this formula: [(1÷ baud rate) x (80) + .005] x

number of requests made.  This time will be extended if the unit

must service the front keypad.  If transmission has not started

within two seconds after data is requested, it can be assumed

that there is a problem.  The unit transmits a carriage return

and line feed after each data value.  Any new communication

must be started with DXX(S) (device number and space).

RS232/RS422 - IBM-PC INTERFACE:

The following program is for IBM basic to set up RS232/RS422

on  serial port (#1) at 300 baud.  Run this program after

connecting the serial interface connections.

10 SCREEN 0,0:WIDTH 80

20 CLS:CLOSE

30 OPEN "COM1:300,n,7,1,CS,DS,CD" AS #1

40 ON ERROR GOTO 110

50 B$=INKEY$

60 IF B$< >"" THEN PRINT #1,B$;

70 IF EOF (1) THEN 50

80 A$=INPUT$  (LOC(1),#1)

90 PRINT A$;

100 GOTO 50

110 RESUME

Summary of Contents for MINI-BATCHER MB2

Page 1: ...MINI BATCHER INSTALLATION OPERATING INSTRUCTIONS MODELS MB2 99484 9 24 97 KESSLER ELLIS PRODUCTS INDUSTRIAL DYNAMICS CO 1 800 940 0453...

Page 2: ...THIS PAGE IS BLANK...

Page 3: ...UT JUMPER SELECTIONS 7 FRONT PANEL OPERATIONS 8 PROGRAMMING FLOW CHART 8 DEFINITIONS OF MENU PROMPTS 9 CALCULATING SCALE FACTORS 11 PROGRAMMING 12 RS232 RS422 INTERFACE CARD OPERATION 17 RS232 RS422 W...

Page 4: ...THIS PAGE IS BLANK...

Page 5: ...NOTE Hold either front or remote reset active to inhibit any start inputs Start Front Panel START button Starts batch by energizing Relay A and Relay B if Prewarn selected Remote 4 30 VDC positive edg...

Page 6: ...front panel Dimensions 3 622 92 1 772 45 3 925 99 7 4 437 112 7 2 625 66 68 587 4 245 107 8 BEZEL GASKET CUSTOMER PANEL Panel Thickness 0 062 1 5 to 0 187 4 7 max SPECIFICATIONS continued The MINI Bat...

Page 7: ...s than 125 of an inch thick the possibility exists that there will be some flexing Should this flexing occur the resulting deformation of the panel could cause a loss of the water tight seal In case t...

Page 8: ...r input lines Also keep these input lines isolated from inductive lines from devices drawing heavy loads If there is a possibility of electrical noise we recommend using shielded cable with the shield...

Page 9: ...C INPUT 12 A C INPUT RELAYS A B 13 V 14 I SINK ANALOG OUTPUT ON CAL 0 20mA COUNT SET OFF RUN 4 20mA RATE RUN 1 2 3 4 ON SWITCH Contact Closure Input AC Power 1 COMMON 2 N O N C NPN 3 COMMON 4 N O N C...

Page 10: ...is se lected All decimal points are inverted when Grand Batch Total is being displayed Batching After the batcher has been programmed it will operate as follows The unit will reset to 0 count up mode...

Page 11: ...J2 C J3 O J1 C J2 O J3 C Output Jumper Selections Output Jumper Selections Before making any board modifications be sure power is disconnected and locate the plastic extender to the case at the rear o...

Page 12: ...N MODE PRGM PRGM PRGM PRGM pre b RUN MODE ENTER ENTER PRGM hi cps lo cps PRGM SECS NNiNS hours PRGM tot preuu PRGM Start Here PROGRAMMING FLOWCHART A STOP RST B C D E ENTER LOCK PRE A PROG VIEW START...

Page 13: ...here the decimal is desired Changing the decimal will change the decimal location in the counters presets and rate display gr tot GRAND TOTAL This sets the second counter to count the Grand Total ba t...

Page 14: ...ewed but not changed Start and Stop buttons will still operate CODE LOCK CODE This message code will flash on display for approximately 3 seconds It will be followed by a 5 digit number xxxxx The numb...

Page 15: ...387 for whole gal Under count set dploc to dplo c to read tenths of gallons Set PRE A at 55 0 Wire Relay A to solenoid valve Conveyer Batching You want to batch the amount of conveyer distance in fee...

Page 16: ...he digit where the decimal is desired To clear the decimal press the arrow key fur thest to the right PRGM This is the scaling factor for the count input To change press the arrow key under the digit...

Page 17: ...clear the decimal press the arrow key furthest to the right Press the ENTER key to enter the displayed location This section sets the second counter operation Press the program key to choose GR TOT G...

Page 18: ...d digits to change Press ENTER to enter displayed value This sets the number of significant figures to be displayed Press the arrow key un der the digit to change Press ENTER to enter displayed value...

Page 19: ...fter CODE flashes the display will show the existing lock code To change the code press the key under each digit to be changed Press ENTER to enter displayed value see below to turn lock ON or OFF Key...

Page 20: ...elected This is the duration 01 to 99 99 sec that relay B will remain energized If 00 00 is selected the relay will latch until reset PRE A Preset A Batch Amount The set point at which output A will d...

Page 21: ...rompt you to choose another baud rate This will occur until a valid baud rate is entered or escape is pressed PARITY Parity is a bit of information that is inserted before the stop bit and is used to...

Page 22: ...case The terminal addressing the unit must be capable of driving all loads in the loop The input impedance of RS422 is much higher and there should be no problem driving as many as 99 units The trans...

Page 23: ...it to a computer with RS 422 five connections are needed These connections are Re ceive data A Receive data B Transmit data A Transmit data B and Ground The connections should be made as follows DP 9...

Page 24: ...alues SWITCH 2 Select Count or Rate SW2 OFF down Analog output follows rate SW2 ON up Analog output follows count SWITCH 3 Select 4 20mA or 0 20mA SW3 OFF down Selects 4 20mA output range SW3 ON up Se...

Page 25: ...auses the counter to auto reset at the preset 1 The menu flow chart and the setup steps show the setup for units with all of the available options Options not ordered will be suppressed in the program...

Page 26: ...therwise abused ALL OTHER WARRANTIES EXPRESSED OR IMPLIED ARE EXCLUDED INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE Example MB2 A 3 1 A S...

Reviews: