P18A - Human Machine Inetrface
P18A - Human Machine Inetrface
Contains the Ladder This is the bridge that Uses variable names to
Program, I/O addresses, cross references between assign properties to
and memory addresses the PLC addresses and buttons, indicators and
used in application. the Panel View variable other display functions.
names.
Bit addresses
I/O addresses Tag Names
Word addresses Data Types
Node addresses Descriptions
Tag List Generation
Begin your tag list by determining all the bit addresses
that will be transferred to and from the PLC.
Next determine the number of data words that will be
transferred between the HMI and PLC.
Check the data type of each tag to be sure it is correct.
If more than one PLC is on line, group the tags by PLC
node.
Be sure you have a word tag for screen calls and alarm
messages.
Project Screen Design
Our application will require three HMI screens:
auto mode, manual mode, and system data.
Note that there is no screen for diagnostics. In the
Panel View system, diagnostic messages are
handled as Alarm Messages and these will pop up
on top of whatever screen is currently showing.
Project Screen Design:
Auto Mode
For the auto mode screen, we need to be able to
start and stop the machine from the panel and be
able to see if all the stations are in their home
positions before the machine is started. We also
want to be able to switch to the system data screen
to get the production and maintenance
information.
Project Screen Design:
Manual Mode
This screen will appear when we switch to the
manual mode setting. We want to be able to
extend or return any of the 5 cylinders from this
screen and have feedback as to the prox switch
status on all 5 cylinders. We also want to be able
to index the line from the manual screen and be
able to see that the index cam is working.
Project Screen Design
System Data
This screen is entered from the Auto Mode screen
and will show production and maintenance
information. The top half of the screen is
intended for troubleshooting a slow system or to
warn of possible problems by indicating which
station is responding slowly. On the bottom half
of the screen we will display the number of good
parts and bad parts the line has created. We also
need a way to clear these counters at the end of
the shift. In addition we need to display the type
of parts that are currently being run on the line: A,
B or C.
Computer Interface Problem
One problem you may encounter if you decide to use
a DH485 unit is in interfacing it to the 1747PIC
module. None of the Allen Bradley documentation
warns you that the DH485 interface needs a 12V DC
supply voltage and neither the Panel View terminal
nor the PIC module contains one. The PIC module
interfaces between your computer’s RS232 COM port
and the Panel View terminal or PLC controller. There
is no problem when interfacing to a PLC controller
because the controller has the required power supply
inside. The Panel View does not have a supply and
will not accept a down load without one present.
Normal Connection for DH485 Interface
PANEL VIEW TERMINAL SLC 500 CONTROLLER
Text Background
TEXT Text Foreground
Object Background
Object Foreground
TEXT Push button with the text foreground set to one color and
the text background, object background and object foreground
all set the same.
Multistate Indicator Setup Screen
Multistate Indicator Properties Screen
Push Button setup screen
Color setup for push buttons
GOTO push button setup screen
Final version of Auto Mode screen
Manual Mode screen
Completed system data screen
Numeric data display setup screen
Multistate indicator setup screen
Control tags setup for the screen call tag
Alarm banner setup with clear button
Alarm main setup window
Alarm trigger tag setup window
Alarm message setup window
Rungs to call manual and auto screens
AUTO / MAN
SEL SW MANUAL MODE SCREEN PULSE
1:0.0 TON
30 Timer ON Delay EN
Timer T4:23
21
Base 0.01
Preset 100 DN
ACCUM 0
MANUAL MODE
SCREEN SET PULSE
T4:23 MOV
31 MOVE
SOURCE 2
TT
DEST N7:2
AUTO / MAN
SEL SW AUTO MODE SCREEN PULSE
1:0.0 TON
32 Timer ON Delay EN
21
Timer T4:24
Base 0.01
Preset 100 DN
ACCUM 0
Rungs to call manual and auto screens
AUTO MODE
SCREEN SET PULSE
T4:24 MOV
33 MOVE
SOURCE 1
TT
DEST N7:2
MANUAL SCREEN
SELECT PULSE DONE
T4:23 CLR
34 CLEAR
DN
AUTO MODE SCREEN DEST N7:2
SELECT PULSE DONE
T4:24
DN
Rungs to collect station times
LOAD STA
EXTEND SOL LOAD STATION CYCLE TIMER
O:1.0 RTO
43 Timer ON Delay EN
Timer T4:25
1
Base 0.01
LOAD STA
RET SW
Preset 9999 DN
I:0.0 ACCUM 0
3
OPER #1 OPER#1 STATION CYCLE TIMER
EXT SOL RTO
O:1.0 Timer ON Delay
44 Timer T4:26 EN
5 Base 0.01
OPER #1
Preset 9999
ACCUM 0 DN
RET SW
I:0.0
7
OPER #2 OPER#2 STATION CYCLE TIMER
EXT SOL RTO
O:1.0 Timer ON Delay
45 Timer T4:27 EN
9 Base 0.01
OPER #2
Preset 9999
RET SW ACCUM 0 DN
I:0.0
Rungs to move station times to display
SAVE CYCLE TIMER PULSE
INDEX CAM SW TON
I:0.1 Timer ON Delay
48 Timer T4:30 EN
3 Base 0.01
Preset 25
SAVE CYCLE ACCUM 0 DN
TIMER DATA
PULSE
T4:30 MOV
49 MOVE
Source T4:25/ACC
TT
Dest N7:4
MOV
MOVE
Source T4:26/ACC
Dest N7:5
MOV
MOVE
Source T4:27/ACC
Dest N7:6
MOV
MOVE
Source T4:28/ACC
Dest N7:7
MOV
MOVE
Source T4:29/ACC
Dest N7:8
Rungs to clear station timers
MOVE TIMER
DATA DONE
T4:30 T4:25
50 RES
DN
T4:26
RES
T4:27
RES
T4:28
RES
T4:29
RES
END
PanelView 5310 Series is a 12” Size HMI.
Example for PanelView 5310: We used the
SQO commands to accomplish the given tasks of the
following outputs and delay between steps:
1. Add the HMI module PanelView to the controller tree.
2. Name the HMI module and assign static IP address.
IP address set to 192.168.1.82
3. Configure the HMI program in View Studio to
allow the HMI to properly locate the PLC format
values (assign PLC path of 192.168.1.1)
4. Download updated HMI program with simulated
motors/LED’s/bells to the HMI to simulate activities
1, 2 and 3. (Downloading GUI for activities to HMI)
HMI connection screen showing IP configuration
with controller.
Network of PLC, HMI, and Ethernet switch
HMI used for Sequencer Output (SQO) with
simulated motors, LED’s and bell
Ladder logic code on the PC Screen showing use of
start/stop button added to HMI.
Questions?