The text of a manual · part 22 of 46
Pico GFX-70 Controllers User Manual: 4 - Wiring with Pico GFX-70, pages 181 to 190
Pages 181 to 190 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 181
Wiring with Pico GFX-70
4-71
Retention Counter relays can be operated with retentive actual values. The number of retentive counter relays can be selected in the SYSTEM →RETENTION menu. The retentive actual value requires 4 bytes of memory. If a counter relay is retentive, the actual value is retained when the operating mode changes from RUN to STOP as well as when the power supply is switched off. If Pico GFX-70 is started in RUN mode, the counter relay operates with the retentively saved actual value.
Publication 1760-UM002B-EN-P - March 2005
Page 182
4-72
Wiring with Pico GFX-70
Function of the Counter Function Block Figure 4.30 Signal diagram of counter
1
.........
.........
2 3
4
5 6
7 8
9 10 11
1. counter coil C..C_ 2. upper set point value >SH 3. preset actual value >SV 4. lower set point value >SL 5. counting direction, coil C..D_ 6. accept preset actual value, coil C..SE 7. reset coil C..RE 8. contact (make contact) C..OF upper set point value reached, exceeded 9. contact (make contact) C..FB lower set point value reached, undershot Publication 1760-UM002B-EN-P - March 2005
Page 183
Wiring with Pico GFX-70
4-73
10. actual value equal to zero 11. out of value range • Range A: – The counter has the value zero. – The contacts C..ZE (actual value equal to zero) and C..FB (lower set point value undershot) are active. – The counter receives counter values and increases the actual value. – C..ZE drops out as well as C..FB and also when the lower set point value is reached. • Range B: – The counter counts upwards and reaches the upper set point value. The “upper set point value reached” contact C..OF becomes active. • Range C: – The coil C..SE is briefly actuated and the actual value is set to the preset actual value. The contacts go to the respective position. • Range D: – The counting direction coil C..D_ is actuated. If counting pulses are present, downward count is initiated. – If the lower set point value is undershot, the contact C..FB becomes active. • Range E: – The reset coil C..RE is activated. The actual value is set to zero. – The contact C..ZE is active. • Range F: – The actual value goes outside the value range of the counter. – The contacts become active according to the direction of the values (positive or negative).
Publication 1760-UM002B-EN-P - March 2005
Page 184
4-74
Wiring with Pico GFX-70
High-Speed Functions Pico GFX-70 provides various high-speed counter functions. These counter function blocks are coupled directly to the digital inputs. The high-speed counter functions are only available with DC inputs. The following functions are possible: • Frequency counters, measure frequencies CF.. • High-speed counters, count high-speed signals CH.. • Incremental encoder counters, count two-channel incremental encoder signals CI.. The high-speed digital inputs are I1 to I4. The following wiring rules apply: • I1: CF01 or CH01 or CI01 • I2: CF02 or CH02 or CI01 • I3: CF03 or CH03 or CI02 • I4: CF04 or CH04 or CI02
IMPORTANT
Every digital input I .. may only be used once by the CF, CH, and CI function blocks. The incremental encoder requires an input pair.
Example: • I1: high-speed counter CH01 • I2: frequency counter CF02 • I3: incremental encoder channel A CI02 • I4: incremental encoder channel B CI02
Example: function block list in the FUNCTION RELAYS menu: CI01 CF01 CH01
All function blocks access digital input I1. Only CH01 supplies the correct value.
Publication 1760-UM002B-EN-P - March 2005
Page 185
Wiring with Pico GFX-70
4-75
Frequency Counters Pico GFX-70 provides four frequency counters which are CF01 to CF04. The frequency counters can be used for measuring frequencies. You can enter upper and lower threshold values as comparison values. The high-speed frequency counters are hard wired to the digital inputs I1 to I4. The CF.. frequency counters operate independently of the cycle time.
Counter Frequency and Pulse Shape The maximum counter frequency is 3 kHz. The minimum counter frequency is 4 Hz. The signals must be square waves. The mark-to-space ratio is 1:1.
Measurement Method The pulses on the input are counted for one second irrespective of the cycle time, and the frequency is determined. The result of the measurement is made available as a value to the function block output CF..QV.
Wiring of a Counter The following assignment of the digital inputs apply. • I1 counter input for the counter CF01 • I2 counter input for the counter CF02 • I3 counter input for the counter CF03 • I4 counter input for the counter CF04
Publication 1760-UM002B-EN-P - March 2005
Page 186
4-76
Wiring with Pico GFX-70
IMPORTANT
To prevent unpredictable switching states, use each coil of a relay once only in the circuit diagram. Use a counter input for the CF, CH, CI counters only once.
Wiring of a Frequency Counter You integrate a frequency counter into your circuit in the form of a contact and coil. The counter relay has different coils and contacts. Figure 4.31 Pico GFX-70 circuit diagram with frequency counter I 05---------------------------[ CF01EN CF01OF-------------------------[ Q 01 CF01FB-------------------------[ Q 02 CF01ZE-------------------------[ Q 03
Parameter display and parameter set for frequency counter: CF01
-
>SH >SL
CF01
Frequency counter function block number 01
-
Does not appear in the parameter display
>SH
Upper set point
>SL
Lower set point
QV>
Actual value in RUN mode
QV>
In the parameter display of a counter relay you change set point values and/or the preset value and the enable of the parameter display.
Value Range The function block operates in the integer range from 0 to 5000 1 kHz 1 = 1000 Behavior when value range is exceeded
The value range cannot be exceeded as the maximum measured value is less than the value range.
Inputs The function block inputs >SH and >SL can have the following operands:
Publication 1760-UM002B-EN-P - March 2005
Page 187
Wiring with Pico GFX-70
4-77
• 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
Actual Value …QV> The actual value …QV> can be assigned the following operands: • Markers MD, MW, MB • Analog output QA01
Displaying the Parameter Set in the PARAMETERS Menu • + Access enabled • - Access disabled
Contacts • CF01OF to CF04OF: Actual value ≥ Upper set point • CF01FB to CF04FB: Actual value ≤Lower set point • CF01ZE to CF04ZE: Actual value = Zero
Coils CF01EN to CF04EN: enable of the counter with coil status = 1.
Memory Requirement of the Frequency Counter The frequency counter function block requires 40 bytes of memory plus 4 bytes per constant on the function block inputs.
Retention The frequency counter does not retain actual values, as the frequency is re-measured continuously.
Publication 1760-UM002B-EN-P - March 2005
Page 188
4-78
Wiring with Pico GFX-70
Function of the Frequency Counter Function Block Figure 4.32 Signal diagram of frequency counter 1 2
3 tg tg tg tg tg
4 5 6 7
1: counter input I1 to I4 2: upper set point value >SH 3: lower set point value >SL 4: enable CF..EN 5: contact (make contact) CF..OF upper set point value exceeded 6: contact (make contact) CF..FB lower set point value undershot 7: actual value equal to zero CF..ZE tg: gate time for the frequency measurement
Publication 1760-UM002B-EN-P - March 2005 tg tg tg
Page 189
Wiring with Pico GFX-70
4-79
• The first measurements are made after the CF..EN enable signal has been activated. The value is output after the gate time has timed out. • The contacts are set in accordance with the measured frequency. • If the CF..EN enable signal is removed, the output value is set to zero.
High-Speed Counters Pico GFX-70 provides four high-speed up/down counters CH01 to CH04 for use. The high-speed frequency counters are hard wired to the digital inputs I1 to I4. These counter relays allow you to count events independently of the cycle time. You can enter upper and lower threshold values as comparison values. The contacts will switch according to the actual value. To specify a start value, for example, counting from the value 1989, this can be implemented using a CH .. counter. The CH.. counters operate independently of the cycle time.
Counter Frequency and Pulse Shape The maximum counter frequency is 3 kHz. The signals must be square waves. The mark-to-space ratio is 1:1.
Wiring of a Counter The following assignment of the digital inputs apply. • I1 counter input for the counter CH01 • I2 counter input for the counter CH02 • I3 counter input for the counter CH03 • I4 counter input for the counter CH04
IMPORTANT
To prevent unpredictable switching states, use each coil of a relay once only in the circuit diagram. Use a counter input for the CF, CH, CI counters only once.
You integrate a counter into your circuit in the form of a contact and coil. The counter relay has different coils and contacts.
Publication 1760-UM002B-EN-P - March 2005
Page 190
4-80
Wiring with Pico GFX-70
Figure 4.33 Pico GFX-70 circuit diagram with high-speed counter I 05---------------------------[ CH01EN I 06---------------------------[ CH01RE I 07---------------------------[ CH01D_ I 08---------------------------[ CH01SE CH01OF-------------------------[ Q 01 CH01FB-------------------------[ Q 02 CH01ZE-------------------------[ Q 03 CH01CY-------------------------S M 94
Parameter display and parameter set for high-speed counters: CH01
+
>SH >SL
CH01
High-speed counter function block number 01
+
Appears in the parameter display
>SH
Upper set point
>SL
Lower set point
>SV
Defined actual value (Preset)
QV>
Actual value in RUN mode
>SV QV>
In the parameter display of a counter relay you change set point values and/or the preset value and enable of the parameter display.
Value Range The function block operates in the integer range from -2147483648 to 2147483647. Behavior when value range is exceeded
• The function block sets the switching contact CH..CY to status 1. • The function block retains the value of the last valid operation.
IMPORTANT
Publication 1760-UM002B-EN-P - March 2005
Counter CH counts every rising edge on the counter input. If the value range is exceeded, the switching contact CH ..CY switches to status 1 for one cycle per rising edge detected.