0% found this document useful (0 votes)
94 views5 pages

Log2 Ladder for Feed Mill Operations

The document describes the modes, registers, and logic for a feed mill control system. It contains sections on the modes of operation, hopper controls, valve and mixer controls, formula selection, load cell details for weighing ingredients, comparator logic, stepper logic, wiring details, and data logging. The system uses registers and bits to control hoppers, valves, mixing, formula selection, weighing and logging of feed batches.

Uploaded by

asnanfarooq
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)
94 views5 pages

Log2 Ladder for Feed Mill Operations

The document describes the modes, registers, and logic for a feed mill control system. It contains sections on the modes of operation, hopper controls, valve and mixer controls, formula selection, load cell details for weighing ingredients, comparator logic, stepper logic, wiring details, and data logging. The system uses registers and bits to control hoppers, valves, mixing, formula selection, weighing and logging of feed batches.

Uploaded by

asnanfarooq
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/ 5

Feed Mill Code Details

Modes
Auto Mode: X1 , X0 = 0
Semi Auto: X0 = 1
Manual: X1 = 1

M0: Auto Mode


M1: Start Button (HMI)
M2: Stop Signal
M3: Semi Auto2
M4: Manual
M5: Stop Button (HMI)

R0: Off Time (x 0.01s)


R1: On Time (x 0.01s)
R2: Value 1 and Value 2 Open Time
R3: Mixing Time

M11 (Hopper_1 Operational)


M12 (Hopper_2 Operational)
.
.
.
M25 (Hopper_15 Operational)

Inching Mode
M61 (Hopper_1 Operational)
M62 (Hopper_2 Operational)
.
.
.
M75 (Hopper_15 Operational)

M30 (Valve 1 Open, before the mixer) ---> Y17


M31 (Valve 1 Close, before the mixer) ---> Y18
M32(Valve 1 Full Close Switch, N.C.)
M33(Valve 1 Full Open Switch, N.C.)

M35 (Mixer)

M40 (Valve 2 Open, After the mixer) ---> Y15


M41 (Valve 2 Close, After the mixer) ---> Y16
M42(Valve 1 Full Close Switch, N.C.)
M43(Valve 1 Full Open Switch, N.C.)

M101 (Formula 1 Selection, Pulse )


M102 (Formula 2 Selection, Pulse)
.
.
.
M110 (Formula 10 Selection, Pulse)

R40-R55 (Current Hopper Wieghts Accumulated - R38(Outset to Start Inching))

R59-60 (Current Formula Selected in ASCII) (2 Word)


R61-R75 (Current Hopper Weights)
R81-R95 (Current Hopper Weights Accumulated)

R99-100 (F1 stored in ASCII)


R101-R115 (Formula 1 Hopper Weights)

R119-120 (F2 Stored in ASCII)


R121-R135 (Formula 2 Hopper Weights )
.
.
.
R199-200 (F10 stored in ASCII)
R201-R215 (Formula 10 Hopper Weights )

Load Cell Details


Configuration Table R5000-R5005
Reading and Controlling Registers R300 - R
Working Register D0-D12
Load Cell Output R300
Load Cell Raw Value R301
Load Cell Tare R303 (Bit0 - 0 to 1)
Load Cell Full Scale Value: R302
Load Cell High Reference Engineering Value: R302

M50: Tare Signal (Momentarily ON)


M51: Maximum Signal (Momentarily ON)

DR350: Load Cell Reading in kg in Float

DR352: Load Cell Calibration Weight Input from HMI in Float

DR354: Load Cell Reading in kg in Integer (16-bit)

DR360: Load Cell Output in Float

DR362: Load Cell Full Scale Value (Reading) in Float (R302 converted into float) in kg

DR364: Load Cell Full Scale Value from HMI (Transferred when M51 goes from 0 to 1)
DR366: Load Cell Full Scale Value from HMI x 10 in float (To be sent to R302)

DR368: DR360/DR362 in Float (Float Divide)

Load Cell Details


M200: In Step 0 (Ready and Waiting for Start Signal)

Comparators
M301: R354 greater than (R81-R38) = R41
M302: R354 greater than (R82-R38) = R42
.
.
.
M315: R354 (Load Cell Reading) greater than (R95-R38) = R95

M321: R354 greater than R81


M322: R354 greater than R82
.
.
M334: R354 Greater than R94
M335: R354 (Load Cell Reading) greater than R95

SFCs
R400: ASCII Value of Current Running Step
S0: Ready
S21: H1
S22: 1I
S23: H2
S24: 2I

Wiring
Load Cell:
Red and Yellow: Excitation
Blue and Green: Signal

Data Logging
Log 1
Complete Trigger: M500
Complete: M501
Incomplete:M502
Comparison Bit :M503
R400: ASCII Value of Current Running Step (2 Words)
R402: Current Formula (ASCII) (2 Word)
R404: C or I (Complete or Incomplete) (1 Word)
R405: ASCII Value of the last step(2 Words)
R408: Intermediate Step

R410: History Control Register (Fixed to 0)


R411: History Control Register (0 means current, 1 mean yesterday and so on) Log 1
R412: History Control Register (0 means current, 1 mean yesterday and so on) Log 2

Log 2

Log 2 Clear Bit: M510


R501: Hopper 1 Total Weight Put in the Mixer
R502: Hopper 2 Total Weight Put in the Mixer
.
.
.
R514: Hopper 14 Total Weight Put in the Mixer

You might also like