The text of a manual · part 26 of 46
Pico GFX-70 Controllers User Manual: 4 - Wiring with Pico GFX-70, pages 221 to 230
Pages 221 to 230 of 400, from Pico GFX-70 Controllers User Manual
The original document is the PDF (2.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Allen-Bradley GFX-70 1760-DUB
Page 221
Wiring with Pico GFX-70
4-111
24 hour switching
The time switch is to switch for 24 hours. Switch-on time at 0:00 on Monday and switch-off time at 0:00 on Tuesday.
HW20 A
+
HW20 B
>DY1 MO
>DY1 TU
>DY2
>DY2
>ON
00:00
+
>ON
>OFF
>OFF 00:00
Year Time Switch Pico GFX-70 is equipped with a real-time clock which you can use in the circuit diagram as a 7-day time switch and a year time switch.
IMPORTANT
The procedure for setting the time is described under Setting Date, Time and Daylight Savings Time on page 7-11.
Pico GFX-70 provides 32 year time switches HY01 to HY32 for a total of 128 switching times. Each time switch has four channels which you can use to set four on and off times. The channels are set via the parameter display. The time and date are backed up in the event of a power failure and continue to run. However, the time switch relays will no longer continue to switch. The contacts are kept open when de-energized. See General on page A-1 for information on the buffer time.
Publication 1760-UM002B-EN-P - March 2005
Page 222
4-112
Wiring with Pico GFX-70
Wiring of a Year Time Switch A year time switch is integrated into the circuit diagram as a contact. Figure 4.49 Pico GFX-70 circuit diagram with year time switch HY30Q1---------------------------[ S 08
Parameter display and parameter set for the year time switch HY: HY30
B
+
>ON >OFF
HY30
Year time switch function block number 30
B
Time switch channel B
+
Appears in the parameter display
>ON
Switch on time
>OFF
Switch off time
Channels 4 channels are available per time switch, channels A, B, C and D. These channels all act on the contact of the year time switch.
Date Day.Month.Year: DD.MM. YY Example: 11.11.02
On/Off Switch Points ON: switch on time OFF: switch off time
IMPORTANT
The switch on year must not be later than the switch off year. Otherwise the year time switch will not function.
Displaying the Parameter Set in the PARAMETERS Menu • + Access enabled • - Access disabled
Publication 1760-UM002B-EN-P - March 2005
Page 223
Wiring with Pico GFX-70
4-113
Contacts HY01Q1 to HY32Q1
Memory Requirement for the Year Time Switch The year time switch function block requires 68 bytes of memory plus 4 bytes per channel used.
Function of the Year Time Switch Function Block The year time switch can operate with ranges, individual days, months, years or combinations. Years
ON: 2002 to OFF: 2010 means: Switch on at 00:00 on 01.01.2002 and switch off at 00:00 01.01.2010. Months
ON: 04 to OFF: 10 means: Switch on at 00:00 on April 1st and switch off at 00:00 on October 1st. Days
ON: 02 to OFF: 25 means: Switch on at 00:00 on the 2nd and switch off at 00:00 on the 25th Rules for the year time switch
The contact switches in the defined years (ON to OFF), the defined months (ON to OFF) and in the days entered (ON to OFF). Time ranges must be input with two channels, one for ON and one for OFF. Overlapping channels: The first ON date switches on and the first OFF date switches off.
IMPORTANT
Avoid incomplete entries. It hinders transparency and leads to unwanted functions.
Publication 1760-UM002B-EN-P - March 2005
Page 224
4-114
Wiring with Pico GFX-70
HY01
A
>ON
--.--.02
+
>OFF --.--.05
HY01
A
>ON
__.03.--
+
>OFF --.09.--
HY01
A
>ON
01.--.--
+
>OFF 28.--.--
HY01
A
>ON
25.12.--
+
>OFF 26.12.--
Example 1 Year range selection The year time switch HY01 should switch on at 00:00 on January 1, 2002 and remain on until 23:59 on December 31, 2005. Example 2 Month range selection The year time switch HY01 should switch on at 00:00 on March 1st and remain on until 23:59 on September 30th. Example 3 Day range selection The year time switch HY01 should switch on at 00:00 on the 1st of each month and remain on until 23:59 on the 28th of each month. Example 4 Holiday selection The year time switch HY01 should switch on at 00:00 on December 25th each year and remain on until 23:59 on December 26th. (Christmas program) Example 5 Time range selection The year time switch HY01 should switch on at 00:00 on May 1st each year and remain on until 23:59 on October 31st. (Open air season)
HY01
A
>ON
01.05.--
>OFF --.--.--
Publication 1760-UM002B-EN-P - March 2005
+
HY01
B
>ON
--.--.--
>OFF 31.10.--
+
Page 225
Wiring with Pico GFX-70
4-115
Example 6 Overlapping ranges
The year time switch HY01 channel A switches on at 00:00 on the 3rd of the months 5, 6, 7, 8, 9, 10 and remains on until 23:59 on the 25th of these months.
The year time switch HY01 channel B switches on at 00:00 on the 2nd in the months 6, 7, 8, 9, 10, 11, 12 and remains on until 23:59 on 17th of these months.
HY01
A
HY01
B
>ON
03.05.--
>ON
02.06.--
+
>OFF 25.10.--
+
>OFF 17.12.--
Total number of channels and behavior of the contact HY01Q1: The time switch will switch on at 00:00 from the 3rd May and off at 23:59 on the 25th May. In June, July, August, September, October, the time switch will switch on at 00:00 on the 2nd of the month and switch off at 23:59 on the 17th. In November and December, the time switch will switch on at 00:00 on the 2nd of the month and switch off at 23:59 on the 17th.
Value Scaling Pico GFX-70 provides 32 value scaling function blocks LS01 to LS32. The function block enables you to convert values from one value range to another one. In this way it is possible to reduce or increase values.
Wiring of a Scaling Function Block You can integrate a value scaling function block into your circuit as a coil. Figure 4.50 Pico GFX-70 circuit diagram with LS value scaling M 48----------------------------[ LS27EN
Publication 1760-UM002B-EN-P - March 2005
Page 226
4-116
Wiring with Pico GFX-70
Parameter Display and Parameter Set for the LS Function Block LS27
+
>I1 >X1
LS27
LS value scaling function block number 27
>X2
+
Appears in the parameter display
>Y2
>I1
Input value, actual value source range
QV>
>X1
Lower value of source range
>Y1
Lower value of target range
>X2
Upper value of source range
>Y2
Upper value of target range
QV>
Output value, scaled
>Y1
Inputs The function block inputs >I1, >X1, >X2, >Y1 and >Y2 can have the following operands: • Constants • Markers MD, MW, MB • Analog inputs IA01 to IA04 – IA01: terminal I7 – IA02: terminal I8 – IA03: terminal I11 – IA04: terminal I12 • Analog output QA01 • Actual value … QV> of another function block
Output The function block output QV> can be assigned the following operands: • Markers MD, MW, MB • Analog output QA01
Publication 1760-UM002B-EN-P - March 2005
Page 227
Wiring with Pico GFX-70
4-117
Value Range for Inputs and Outputs
Value range >I1
Input value of the function block
>X1
Lower value of source range
>X2
Lower value of target range
>Y1
Upper value of source range
>Y2
Upper value of target range
QV>
Output value
-2147483648 to +2147483647
Displaying the Parameter Set in the PARAMETERS Menu • + Access enabled • - Access disabled
Coil VC01EN to VC32EN, function block enable
Memory Requirement of the LS Function Block The LS function block requires 64 bytes of memory plus 4 bytes per constant on the function block input.
Function of the LS Function Block
IMPORTANT
The scaling function block must be enabled so that it can work. Coil LS..EN is active. If coil LS..EN is not active, the entire function block is deactivated and reset. The output value is set to zero.
The function block operates according to the following equation: Y(x) = X x Y2 - Y1 + X2 x Y1 - X1 x Y2 X2 - X1
X2 - X1
Y(x)= Actual output value of target range X = Actual input value of source range X1 = Lower value of source range X2 = Upper value of source range Y1 = Lower value of target range Y2 = Upper value of target range
Publication 1760-UM002B-EN-P - March 2005
Page 228
4-118
Wiring with Pico GFX-70
Figure 4.51 Value scaling function block - Reduce value range a X1
X2 b
Y1
Y2
1. Source range 2. Target range Figure 4.52 Value scaling function block - Increase value range a X1
X2 b
Y1
Y2
1. Source range 2. Target range Example 1: The source range is a 10-bit value, source is the analog input IA01. The target range has 12 bits.
Publication 1760-UM002B-EN-P - March 2005
Page 229
Wiring with Pico GFX-70
4-119
Parameter display and parameter set for the LS01 function block: LS01
+
>I1 IA01 >X1 0 >Y1 0 >X2 1023
The actual value at the analog input IA01 is 511. The scaled output value is 2045.
>Y2 4095 QV>
Example 2: The source range has 12 bits. The target range has 16 signed bits. >I1 = DC01QV >X1 = 0 >X2 = 4095 >Y1 = -32768 >Y2 = +32767
The actual value at the analog input DC01QV 1789. The scaled output value is -4137.
Jumps Jumps can be used to optimize the structure of a circuit diagram or to implement the function of a selector switch. For example, jumps can be used to implement whether manual/automatic mode, or different machine programs are to be selected. Jumps consist of a jump location and a jump destination (label).
Publication 1760-UM002B-EN-P - March 2005
Page 230
4-120
Wiring with Pico GFX-70
Circuit Diagram Symbols for Jumps
Contact Make contact(1)
:
Numbers
01 to 32
Coils
[
Numbers
01 to 32
Coil function
[, ],
,
,
(1) can only be used as first leftmost contact
Function If the jump coil is triggered, the circuit connections coming directly after it will not be processed. The states of the coils before the jump will be retained, unless they are overwritten in circuit connections that were not missed by the jump. Jumps are always made forwards, i.e. the jump ends on the first contact with the same number as that of the coil. • Coil = jump when 1 • Contact only at the first left-hand contact position = Jump destination The Jump contact point will always be set to 1
IMPORTANT
Backward jumps are not possible with Pico GFX-70 due to the way it operates. If the jump label does not come after the jump coil, the jump will be made to the end of the circuit diagram. The last circuit connection will also be skipped. If a jump destination is not present, the jump is made to the end of the circuit diagram. Multiple use of the same jump coil and jump contact is possible as long as this is implemented in pairs, i.e.: Coil [:1/jumped range/Contact:1, Coil [:1/jumped range/Contact:1 etc.
Publication 1760-UM002B-EN-P - March 2005