How to wire a pump and tank level control

This pump and tank level control feeds a 2 HP three-phase pump from a 480 VAC feeder through a motor protection circuit breaker and a contactor. A CompactLogix 5380 rack has an analog input module, a digital input module and a digital output module. The field devices are a level transmitter, a flow transmitter, a float level switch and a solenoid valve, and a 24 VDC supply powers the controls.
Wire it
Motor feeder
FD1 L1toQ2 1/L1AC Phase L1FD1 L2toQ2 3/L2AC Phase L2FD1 L3toQ2 5/L3AC Phase L3Q2 2/T1toK1 1/L1AC Phase L1Q2 4/T2toK1 3/L2AC Phase L2Q2 6/T3toK1 5/L3AC Phase L3
Motor starter
K1 2/T1toP-101 U1Motor Lead (U/V/W)K1 4/T2toP-101 V1Motor Lead (U/V/W)K1 6/T3toP-101 W1Motor Lead (U/V/W)TB1 5toK1 1324VDC (+)K1 14toDI1 I1Digital I/O (24V)DO1 O0toK1 A1Digital I/O (24V)TB2 1toK1 A20VDC (-)
Control power
PSU1 +24VtoF1 124VDC (+)TB1 1toPLC1 A124VDC (+)TB1 2toLT-101 +24VDC (+)TB1 3toFT-101 +24VDC (+)TB1 4toLSH-101 124VDC (+)TB2 2toSV-101 A20VDC (-)TB2 3toPLC1 A20VDC (-)F1 2toTB1 124VDC (+)PSU1 0VtoTB2 10VDC (-)
PLC rack
LT-101 -toAI1 CH0Analog SignalFT-101 -toAI1 CH1Analog SignalLSH-101 2toDI1 I0Digital I/O (24V)DO1 O1toSV-101 A1Digital I/O (24V)
Parts on the Codex
- Feeder 480VAC 3-Phase 30A
- Motor Protection Circuit Breaker 6.3-10A
- Contactor 4kW 24VDC 1NO
- Pump Motor 3-Phase 2HP
- QUINT4-PS 24V 5A
- Fuse Terminal Block 5x20 with LED
- CompactLogix 5380 Controller
- Analog Input Module 4ch 4-20mA
- Digital Input Module 8pt 24VDC
- Compact 5000 Digital Output 16pt
- Level Transmitter 4-20mA
- Flow Transmitter 4-20mA
- Float Level Switch
- Solenoid Valve 24VDC
Check ratings against the datasheet for the parts you buy before wiring.