Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 23 of 46

Pico GFX-70 Controllers User Manual: 4 - Wiring with Pico GFX-70, pages 191 to 200

Pages 191 to 200 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 191

Wiring with Pico GFX-70

4-81

Inputs The function block inputs >SH, >SL and >SV 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

Actual Value ..QV> The actual value …QV> can be assigned the following operands: • Markers MD, MW, MB • Analog output QA01

IMPORTANT

The actual value is only cleared in RUN mode with a specific reset signal.

Displaying the Parameter Set in the PARAMETERS Menu • + Access enabled • - Access disabled

Contacts • CH01OF to CH04OF: Actual value ≥ Upper set point • CH01FB to CH04FB: Actual value ≤ Lower set point • CH01ZE to CH04ZE: Actual value = Zero • CH01CY to CH04CY: Value range exceeded

Publication 1760-UM002B-EN-P - March 2005

Page 192

4-82

Wiring with Pico GFX-70

Coils • CH01EN to CH04EN: enable of the counter • CH01D to CH04D: count direction definition, Status 0 = count upwards, Status 1 = count downwards • CH01RE to CH04RE: reset actual value to zero • CH01SE to CH04SE: accept preset actual value with rising edge.

Memory Requirement of the High-Speed Counter The high-speed counter function block requires 52 bytes of memory plus 4 bytes per constant on the function block inputs.

Retention High-speed counter relays can be operated with retentive actual values. The number of retentive counter relays can be selected in the SYSTEM → RETENTION menu. 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 193

Wiring with Pico GFX-70

4-83

Function of the High-Speed Counter Function Block Figure 4.34 Signal diagram of the high-speed counter function block .........

1

.........

2 3

4

5 6

7 8

9 10 11 12 A

B

C

D

E

F

1. counter input I1 to I4 2. upper setpoint value >SH 3. preset actual value >SV 4. lower setpoint value >SL 5. enable of the counter CH..EN 6. counting direction, coil CH..D 7. accept preset actual value, coil CH..SE 8. reset coil CH..RE

Publication 1760-UM002B-EN-P - March 2005

Page 194

4-84

Wiring with Pico GFX-70

9. contact (make contact) CH..OF upper setpoint value reached, exceeded 10. contact (make contact) CH..FB lower setpoint value reached, undershot 11. contact (make contact) CH..ZE actual value equal to zero 12. out of value range • Range A: – The counter has the value zero. – The contacts CH..ZE (actual value equal to zero) and CH..FB (lower setpoint value undershot) are active. – The counter receives counter values and increases the actual value. – CH..ZE drops out as well as CH..FB after the lower setpoint value is reached. • Range B: – The counter counts upwards and reaches the upper setpoint value. The contact “upper setpoint value” CH..OF becomes active. • Range C: – The coil CH..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 CH..D is actuated. If counting pulses are present, downward count is initiated. – If the lower setpoint value is undershot, the contact CH..FB becomes active. • Range E: – The reset coil CH..RE is activated. The actual value is set to zero. – The contact CH..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 195

Wiring with Pico GFX-70

4-85

High-Speed Incremental Encoder Counters Pico GFX-70 provides two high-speed incremental encoder counters CI01 and CI02. The high-speed counter inputs are hardwired to the digital inputs I1, I2, I3 and 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. You can use a CI.. counter if you wish to define a start value. The CI.. 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. The signals on channels A and B must lead or lag by 90°. Otherwise the counting direction cannot be determined.

IMPORTANT

Double the number of pulses are counted as a result of the internal method of operation of the incremental encoder. The incremental encoder evaluates the rising and falling edges. This ensures that the pulse count is not affected by oscillation of a signal edge. If the number of pulses are required, divide the value by two.

Wiring of a Counter The following assignment of the digital inputs apply: • I1 counter input for the counter CI01 channel A • I2 counter input for the counter CI01 channel B • I3 counter input for the counter CI02 channel A • I4 counter input for the counter CI02 channel B

Publication 1760-UM002B-EN-P - March 2005

Page 196

4-86

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.

You integrate a counter into your circuit in the form of a contact and coil. The counter relay has different coils and contacts. Figure 4.35 Pico GFX-70 circuit diagram with high-speed incremental encoder counter I 05---------------------------[ CI01EN I 06---------------------------[ CI01RE I 08---------------------------[ CI01SE CI01OF-------------------------[ Q 01 CI01FB-------------------------[ Q 02 CI01ZE-------------------------[ Q 03 CI01CY-------------------------S M 94

CI01

+

Parameter display and parameter set for high-speed incremental encoder counter:

>SH >SL >SV

CI01

High-speed incremental encoder counter function block number 01

+

Appears in the parameter display

>SH

Upper setpoint

>SL

Lower setpoint

>SV

Defined actual value (Preset)

QV>

Actual value in RUN mode

QV>

In the parameter display of a counter relay you change setpoint values and/or the preset value and the enable of the parameter display.

Value Range The function block operates in the integer range from -2147483648 to 2147483647. Each pulse is counted twice. Example: value at CI..QV>= 42000

Publication 1760-UM002B-EN-P - March 2005

Page 197

Wiring with Pico GFX-70

4-87

The counter has counted 21000 pulses. Behavior when value range is exceeded

• The function block sets the switching contact CI..CY to status 1. • The function block retains the value of the last valid operation.

IMPORTANT

Counter CI counts every rising edge on the counter input. If the value range is exceeded, the switching contact CI ..CY switches to status 1 for one cycle per rising edge detected.

Inputs The function block inputs >SH, >SL and >SV 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

Actual Value ..QV> The actual value …QV> can be assigned the following operands: • Markers MD, MW, MB • Analog output QA01

IMPORTANT

The actual value is only erased in RUN mode with a selective reset signal.

Publication 1760-UM002B-EN-P - March 2005

Page 198

4-88

Wiring with Pico GFX-70

Displaying the Parameter Set in the PARAMETERS Menu • + Access enabled • - Access disabled

Contacts • CI01OF to CI02OF: Actual value ≥ Upper setpoint • CI01FB to CI02FB: Actual value ≤ Lower setpoint • CI01ZE to CI02ZE: Actual value = Zero • CI01CY to CI02CY: Value range exceeded

Coils • CI01EN to CI02EN:Counter enable • CI01RE to CI02RE:Reset actual value to zero • CI01SE to CI02SE:Accept preset actual value with rising edge.

Memory Requirement of the Counter Relay The high-speed counter function block requires 52 bytes of memory plus 4 bytes per constant on the function block inputs.

Retention High-speed counter relays can be operated with retentive actual values. The number of retentive counter relays can be selected in the SYSTEM → RETENTION menu. 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 199

Wiring with Pico GFX-70

4-89

Function of the High-Speed Incremental Encoder Counter Function Block Figure 4.36 Signal diagram of high-speed incremental encoder counter 1 2

3 4 5

6

7 8 9

10 11

12 A

B

C

D

E

F

1: counter input channel A 2: counter input channel B 3: upper setpoint value >SH 4: preset actual value >SV 5: lower setpoint value >SL 6: counter enable

Publication 1760-UM002B-EN-P - March 2005

Page 200

4-90

Wiring with Pico GFX-70

7: accept preset actual value, coil CI..EN 8: reset coil CI..RE 9: contact (make contact) CI..OF upper setpoint value reached, exceeded 10:contact (make contact) CI..FB lower setpoint value reached, undershot 11:contact (make contact) CI..ZE actual value equal to zero 12:contact (make contact) CI..CY value range exceeded or undershot

• Range A: – The counter counts upwards. – The value leaves the lower threshold value and reaches the upper value. • Range B: – The count direction changes to a downward count. – The contacts switch in accordance with the actual value. • Range C: – The enable signal is set to 0. The actual value becomes 0. • Range D: – The rising edge on the accept preset value coil sets the actual value to the preset value. • Range E: – The reset pulse sets the actual value to zero. • 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).

Comparators Comparator function blocks allow you to compare constants and variables with one another. The following comparisons are possible:

Function block input >I1

Function block input Greater than Equal to Less than

Publication 1760-UM002B-EN-P - March 2005

>I2