363
CHAPTER
9
Programming
Languages
Industrial Text & Video Company 1-800-752-8398
www.industrialtext.com
SECTION
3
PLC
Programming
Figure 9-117. Fill-in-the-blanks screen.
control, while the middle and bottom outputs indicate low- and high-limit
alarms, respectively. Some PLC manufacturers provide a fill-in-the-blanks
screen (see Figure 9-117) during the programming of a PID instruction, so
that the user can input the different parameters.
Some controllers provide PID capabilities without the PID block instruction.
In this case, the controller uses a special PID module that contains all of the
input/output parameters. An output instruction, such as block transfer out or
move data, transfers the set point and gain parameters to the module during
initialization of the program. The control program can alter this module data
if any parameter changes are required. Chapter 15, which explains process
controllers and loop tuning, provides more information about PID control.
9-14 NETWORK COMMUNICATION INSTRUCTIONS
Local area networks (LANs) provide communication channels between
independent computers (referred to as nodes) located in a small radius.
Because they connect different computers, LANs have created a need for
instructions that communicate and exchange information between the PLCs
in a network. Therefore, PLC manufacturers now offer network communi-
cation instructions, which transfer information like contact status, output
coil status, and register status between PLCs. These network instructions are
often specific to the manufacturer’s family of PLCs.
Table 9-11 describes typical instructions used in a PLC network environ-
ment. These instructions are very easy to implement; however, the program-
mer must enforce compliance with the PLC network’s rules. Also, the
programmer should assign registers and organize the program to avoid
confusion on the network.
PID LOOP# (1-64) TITLE: (8 charac.)
PID LOGORITHM: (Position or Velocity)
LOOP FLAG ADDRESS: (WY, V, C, NONE)
PROCESS VARIABLE ADDRESS: (WX, WY, V)
SQUARE ROOT OF PV? (Yes or No)
PV RANGE: HIGH: (Eng. Units)
LOW: (Eng. Units)
SAMPLE RATE: (0.1 to 6553.5 secs)
DERIVATIVE GAIN LIMITING
COEFFICIENT. . . (Eng. Units)
SPECIAL CALCULATION ON: (PV or SP)
SFPGM NUMBER
RAMP/SOAK FOR SP (Yes or No, Yes forces Remote Setpoint to No)
REMOTE SETPOINT? (Yes or No)
CLAMP SETPOINT LIMITS: HIGH: (Eng. Units or No entry)
LOW: (Eng. Units or No entry)
ERROR OPERATION: (Squared, Deadband, None)
LOCK SP? (Yes /No)
LOCK AUTO/MANUAL? (Yes /No)
LOCK CASCADE? (Yes /No)
PV IS BIPOLAR? (Yes /No)
20% OFFSET? (Yes /No)
PERFORM DERIVATIVE
GAIN LIMITING. . . (Yes /No)
REMOTE SP ADDRESS: (WX, WY, V, or K)