4–4 Write Ladder Logic
Publication
65566.5.1 - October 1996
Bit Example Ladder LogicExample ApplicationON/OFF StatesAddress
Auxiliary Valve 1
Cycles with
Clutch Valve
B151/16 ON - auxiliary valve energizes with clutch valves
OFF - energizes with brake valves
Controls the order in which press
valves sequence.
B151/16
----------------------( )-
Auxiliary Valve 2
Cycles with
Clutch Valve
B151/17 ON - auxiliary valve energizes with clutch valves
OFF - energizes with brake valves
B151/17
----------------------( )-
Main Motor
Forward
B151/18 ON - simulates main motor in forward direction
OFF - simulates main motor stopped or reversed
Uses rotational signals from a DC
drive to detect motor rotation
Drive Status B151/18
--] [--] / [--------------( )-
Auxiliary Valve 1
Enabled
B151/19
ON - default for using corresponding hardware
and standard wiring
When NOT using hardware/wiring:
1. Program a rung for the bit.
B151/19
----------------------(U)-
Auxiliary Valve
Stems Enabled
B151/20
OFF - tells software to ignore corresponding
hardware inputs because they are absent.
2. Delete hardware and wiring.
3. Correct your wiring drawings:
Figures 3 10 3 11 3 21 3 22
B151/20
----------------------(U)-
C/B Valve Stems
Enabled
B151/21
gures
.
,
.
,
.
,
.
4. Write ladder logic similar to
Figure 4.15.
B151/21
----------------------(U)-
Auxiliary Valve 2
Enabled
B151/22
.
.
B151/22
----------------------(U)-
Fault Reset B151/23
[ 1 ]
ON - enables a 1shotclear of faults and prompts
OFF - must cycle to off before the next 1shot
Clears all fault and prompt bits.
Latched bits will reappear.
PB Enable B151/23
--] [------------------( )-
Remote
Microinch Mode
B151/24
[ 1 ]
ON - lets the logic switch the mode to microinch
OFF - inhibits Simulate Inch Button, bit 09
Logic must select another remote mode.
Allows automatic microinch
motion with Simulated Inch Button,
bit 09.
Enable
B151/24
--] [------------------( )-
Simulate Run
Buttons for: Auto
Single Mode
B151/25
ON - initiates automatic start of singlestroke
cycle from near top position.
OFF - Must cycle ON/OFF every cycle.
Operator must cycle one stroke in
automatic singlestroke mode.
Then set this bit to start next cycle.
Enable B151/25
--] [------------------( )-
Continuous
on Demand
[ 1 ]
ON - initiates automatic start of continuous mode
OFF - prevents same
Your logic must set this bit within 5
minutes of setting bit 27.
Remote
Automatic
SingleStroke
B151/26
[ 1 ]
ON - lets the logic switch the mode to auto single
OFF - prevents same. When OFF, your logic
must select another remote mode.
Allows automatic single stroke
with Simulated Run Button, bit 25.
Enable B151/26
--] [------------------( )-
Armed for
Continuous
on Demand
B151/27
[ 1 ]
ON - in remote continuous mode, arms C/B logic
for 5 min to start continuous on demand.
OFF - toggles after timed out
Set bit 25 after setting this bit (27).
For a completely automatic press.
Ingores mechanical run buttons.
Enable B151/27
--] [------------------( )-
Inch Output
Enabled
B151/28 ON - last logical condition to start inch
OFF - prevents starting inch, or stops it once ON.
Use with inch buttons, pressed
and held until this bit is set.
Enable B151/28
--] [------------------( )-
Initiate
Automatic
Single Stroke
B151/29
[ 1 ]
ON - lets you start the press in auto single mode
without first cycling the press.
OFF - operator must start auto single mode by
cycling the press with Run buttons.
Used in remote operation
(with bits 25, 26, and 27)
Refer to Figure 4.19
Enable B151/29
--] [------------------( )-
[ 1 ] Important: These bits are held OFF in ladder logic unless your custom ladder logic turns them ON.
Important: We designed the clutch/brake code in PF16 with the
requirement that you must program most of the command bits with
nearly identical logic and hardware conditions for processors A and B.
The following table designates which command bits do NOT have that
requirement:
Logic and Hardware Conditions Can be Different for Processors A and B For These Bits:
Permit cycle start (B151/03) Permit upstroke (B151/06)
Permit run (B151/04) Permit cycle start (B151/08)
Permit downstroke (B151/05) Press in motion (B151/12)