PAGE 4
19 APR 2005
MAN0790-01
2.
Build Ladder Code
a.
Write Ladder Code to support the register assignments described in Tables 1 and 2. Example ladder
code is located after the tables.
Table 1 – Transfers From Master Control to PCU Unit
Network
Variable
Source
ID
Example OCS
Register
NAME
MIN
MAX
%AQG1 4
%AI1 PRESSURE
0 1250
psi
%AQG2
4
%AI2
FLOW RATE
0
1250 gpm
%AQG3 4
%AI3 TEMPERATURE
0 1250
degrees
%AQG4 4
%AI4 LEVEL
0 125
feet
Description
%QG1 1
%M1
TREND Momentary
%QG2 1
%M2
CANCEL
Momentary
%QG3
1
%M3
STORE DATA
Toggle - On state stores data
%QG4 1
%M4
CLEAR
DATA Momentary
%QG5 1
%M5
SCALE
RANGE
(Time)
Toggle – On state =
0-25 minutes – samples every
3 seconds.
Off state =
0-25 hours – samples every 30
seconds
%AQG1
1
%R1
Customer name field
length
Number of charters in
customer field
%AQG2
1
%R2
Customer name field
30 ASCII Characters max –
(15 registers)
%AQG1
2
%R21
Job number field
length
Number of characters in job
number field
%AQG2
2
%R22
Job number field
30 ASCII Characters max –
(15 registers)
%AQG1
3
%R41
Purchase order field
length
Number of charters in
Purchase order field
%AQG2
3
%R42
Purchase order field
30 ASCII Characters max –
(15 registers)
Table 2 – Transfers From PCU unit to Master Control Unit (OCS)
Network
Variable
Source
ID
Example OCS
Register
NAME
MIN
MAX
%AQG1
10 *
%R61
Print status bar
0
100 %
* Default PCU Network ID
Содержание HE800PCU100
Страница 10: ...PAGE 10 19 APR 2005 MAN0790 01 NOTES ...