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

The text of a manual · part 41 of 46

Pico GFX-70 Controllers User Manual: 8 - Inside Pico GFX-70, pages 355 to 363

Pages 355 to 363 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 355

Chapter

8

Inside Pico GFX-70

Pico GFX-70 Program Cycle

In conventional control systems, a relay or contactor control processes all the circuit connections in parallel. The speed with which a contactor switches is thus dependent on the components used, and ranges from 15 to 40 ms for relay pick-up and drop-out. With Pico GFX-70 the circuit diagram is processed with a microprocessor that simulates the contacts and relays of the circuit concerned and thus processes all switching operations considerably faster. Depending on its size, the Pico GFX-70 circuit diagram is processed cyclically every 0.1 to 40 ms. During this time, Pico GFX-70 passes through six segments in succession.

How Pico GFX-70 Evaluates the Circuit Diagram

In the first four segments Pico GFX-70 evaluates the contact fields in succession. Pico GFX-70 checks whether contacts are switched in parallel or in series and saves the switching states of all contact fields. In the fifth segment, Pico GFX-70 assigns the new switching states to all the coils in one pass. The sixth segment is located outside of the circuit diagram. Pico GFX-70 uses this to:

1

Publication 1760-UM002B-EN-P - March 2005

Page 356

8-2

Inside Pico GFX-70

Evaluating Function Blocks • process the function blocks which are used: the output data of a function block is updated immediately after processing. Pico GFX-70 processes the function blocks according to the function block list (see Calling the Function Blocks via the FUNCTION RELAYS Menu on page 4-29) from top to bottom. You can sort the function block list with PicoSoft Pro. You can then, for example, use the results consecutively. • establish contact to the “outside world”: The output relays Q 01 to Q (S).. are switched and the inputs I1 to I (R).. are read once more. • Pico GFX-70 also copies all the new switching states to the status image register. • exchange all data on the Pico-Link network (read and write). Pico GFX-70 only uses this status image for one cycle. This ensures that each circuit connection is evaluated with the same switching states for one cycle, even if the input signals I1 to I12 change their status several times within a cycle.

IMPORTANT

The following must be observed when operating a PID controller function block. The cycle time of the program must be less than the scan time of the controller. If the cycle time is greater than the controller scan time, the controller will not be able to achieve constant results.

Serial Interface Data Access During the Program Cycle The data exchange with the point-to-point connection can be carried out in any segment of the program cycle. This data exchange increases the cycle time with both active and remote stations. Only use data that is absolutely necessary.

Loading Visualization Data When setting a program to RUN that contains visualization data, the contents of the screens to be displayed have to be loaded. This operation is repeated every 200 ms. With large screens this can take up to one millisecond of cycle time. The time required for loading in the event of a screen change depends on the size of the screens to be loaded. During a screen change, the new screen is loaded from the screen memory into the RAM. The loading time can be calculated as follows: screen size in byte multiplied by 80 µs.

Publication 1760-UM002B-EN-P - March 2005

Page 357

Inside Pico GFX-70

8-3

Example: screen size 250 bytes: The loading time for the screen is: 250 x 80 µs = 20 ms

IMPORTANT

If you require the GFX to have a small cycle time: use several small screens so that the loading time is not too long during a screen change. Only display necessary information in the screens concerned.

The loading of screen data and screen changes can be implemented in any segment of the program cycle. Take this behavior into account when considering the reaction time of your entire control system.

Effects on the Creation of the Circuit Diagram Pico GFX-70 evaluates the circuit diagram in these six segments in succession. You should take into account two factors when creating your circuit diagram. • The changeover of a relay coil does not change the switching state of an associated contact until the next cycle starts. • Always wire forward or from top to bottom. Never work backwards. I 01--|-I 02-..--[ Q 01 Q 01--|

Example: Self-Latching with Own Contact Start condition: Inputs I1 and I2 are switched on. Q1 is switched off. This is the circuit diagram of a self-latching circuit. If I1 and I2 are closed, the switching state of relay coil [ Q 01 is “latched” via contact Q 01. • 1st cycle: Inputs I1 and I2 are switched on. Coil Q1 picks up. • Contact Q 01 remains switched off since Pico GFX-70 evaluates from left to right. The first coil field was already passed when Pico GFX-70 refreshes the output image in the 6th segment. • 2nd cycle: The self-latching now becomes active. Pico GFX-70 has transferred the coil states at the end of the first cycle to contact Q 01.

Publication 1760-UM002B-EN-P - March 2005

Page 358

8-4

Inside Pico GFX-70

I 01----Q 04--| | |------| --------I 03-L: 8 C:2 B:7688

Example: Do not Wire Backward This example is shown in Creating and Modifying Connections on page 4-21. It was used here to illustrate how NOT to do it. In the third circuit connection, Pico GFX-70 finds a connection to the second circuit connection in which the first contact field is empty. The output relay is not switched. When wiring more than four contacts in series, use one of the marker relays. Figure 8.1 Circuit diagram with M 01 marker relay I 01----Q 04----I 03----I 05---[ M 01 I 02----I 04----M 01-----------[ Q 02

Evaluation of the High-Speed Counters CF, CH and CI To evaluate the count pulses of 3 kHz, the high-speed counter function blocks operate with an interrupt routine. The length of the circuit diagram and the associated cycle time has no effect on the counter result.

Memory Management of the Pico GFX-70 The GFX is provided with three different memories. • The working memory or RAM, size 8 KByte The RAM only stores the data when the device power supply is active. • The screen memory, size 24 KByte The screen memory stores the visualization data created with PicoSoft Pro retentively. • The program memory, size 8 KByte The program memory stores the program retentively.

Distribution of Data in the RAM When the power supply is switched on, the RAM stores the program, the retentive data and the screens to be displayed. This has a direct effect on the size of the program and the screens. The number of retentive data bytes reduces the memory available for program and screens. The largest screen to be displayed likewise reduces the memory available for the program.

Publication 1760-UM002B-EN-P - March 2005

Page 359

Inside Pico GFX-70

8-5

Only use as much retentive data as is actually required.

IMPORTANT

The screen with the largest memory requirement reduces the memory available for the program. Several smaller screens allow more space for the program. Use as small pictures as possible with 1 bit grayscale. The pictures should normally be 32 x 32 pixels in size to fully utilize the optimum brilliance of the display.

Delay Times for Inputs and Outputs

The time from reading the inputs and outputs to switching contacts in the circuit diagram can be set in Pico GFX-70 via the delay time. This function is useful, for example, to ensure a clean switching signal despite contact bounce. Figure 8.2 Pico GFX-70 input assigned a switch

S1

0V

I1

Delay Times for the GFX Inputs The delay time for DC signals is 20 ms. Figure 8.3 Delay times for Pico GFX-70-DC 1 S1 0 1 B

B 0

A

C

An input signal S1 must therefore be 15Vor 8V(DA) for at least 20 ms on the input terminal before the switch contact will change from 0 to 1 (A). If applicable, this time must also include the cycle time (B) since Pico GFX-70 does not detect the signal until the start of a cycle.

Publication 1760-UM002B-EN-P - March 2005

Page 360

8-6

Inside Pico GFX-70

The same debounce delay (C) applies when the signal drops out from 1 to 0.

If you use high-speed counter function blocks, the debounce delay time for the inputs is 0.025 ms. Otherwise it is not possible to count high-speed signals.

IMPORTANT

If the debounce is switched off, Pico GFX-70 responds to an input signal after just 0.25 ms. Figure 8.4 Switching behavior with input debounce disabled 1 S1 0 1

B

B

0 A

C

Typical delay times with the debounce delay disabled are: • On-delay for – I1 to I4: 0.025 ms – I5 to I12: 0.25 ms • Off-delay for – I1 to I4: 0.025 ms – I5, I6 and I9 to I10: 0.4 ms – I7, I8, I11 and I12: 0.2 ms

IMPORTANT

Publication 1760-UM002B-EN-P - March 2005

Ensure that input signals are noise-free if the input debounce is disabled. Pico GFX-70 will even react to very short signals.

Page 361

Inside Pico GFX-70

Monitoring of Short-Circuit and Overload with 1760-IB12XOB8

8-7

Depending on the type of expansion module in use, it is possible to use the internal inputs I16, R15 and R16 to monitor for short-circuits or overloads on an output. • Pico GFX-70: – I16: Group fault signal for outputs Q1 to Q4. • 1760-IB12XOB8: – R16: Group fault signal for outputs S1 to S4. – R16: Group fault signal for outputs S5 to S8. State Outputs

I16, R15 or R16

No fault found

“0” = switched off (make contact)

At least one output has a fault

“1” = switched on (make contact)

IMPORTANT

I16 can only be edited with Pico GFX-70 versions which have transistor outputs.

Examples The following examples are for I16 = Q1 to Q4.

Example 1: Selecting an Output with Fault Indication Figure 8.5 Circuit diagram for fault output via I16 I 01----M 16-------------------[ Q 01 I 16--------------------------S M 16

The above circuit diagram functions as follows: If a transistor output reports a fault, M16 is set by I16. The break contact of M16 switches off output Q1. M16 can be cleared by resetting the Pico GFX-70 power supply.

Example 2: Output of Operating State Figure 8.6 Output of operating state I 01----M 16-------------------[ Q 01 I 16---------------------------S M 16 M 16---------------------------[ Q 04

Publication 1760-UM002B-EN-P - March 2005

Page 362

8-8

Inside Pico GFX-70

The above circuit operates as described in example 1. The signal light is triggered at Q4 for additional overload monitoring. If Q4 has an overload, it would “pulse”.

Example 3: Automatic Reset of Error Signal Figure 8.7 Automatic reset of error signal I 01----M 16-------------------[ Q 01 I 16---------------------------S M 16 M 16---------------------------[ T 08EN T 08---------------------------R M 16 M 16---------------------------[ Q 04

The above circuit diagram functions in the same way as Example 2. In addition the marker M16 is reset every 60 seconds by timing relay T08 (on-delayed, 60 s). Should I16 remain at 1, M16 will continue to be set. Q1 is set briefly to 1 until I16 switches off again.

Expanding Pico GFX-70

You can expand Pico GFX-70 using the 1760-IA12XOW6I and 1760-IB12XOB8 expansion modules. Install the units and connect the inputs and outputs as described (see Connecting the Expansion Unit on page 2-16). You process the inputs of the expansion devices as contacts in the Pico GFX-70 circuit diagram in the same way as you process the inputs of the basic unit. The input contacts are assigned the operand designations R1 to R12. R15 and R16 are the group fault inputs of the transistor expansion unit (see Monitoring of Short-Circuit and Overload with 1760-IB12XOB8 on page 8-7). The outputs are processed as relay coils or contacts like the outputs in the basic unit. The output relays are S1 to S8.

IMPORTANT

1760-IA12XOW6I provides the outputs S1 to S6. The other outputs S7, S8 can be used internally.

How is an Expansion Unit Recognized? If at least one R .. contact or S .. coil/contact is used in the circuit diagram, the basic unit assumes that an expansion unit is connected.

Publication 1760-UM002B-EN-P - March 2005

Page 363

Inside Pico GFX-70

8-9

Transfer Behavior The input and output data of the expansion units is transferred serially in both directions. Take into account the modified reaction times of the inputs and outputs of the expansion units.

Input and Output Reaction Times of Expansion Units The debounce setting has no effect on the expansion unit. Transfer times for input and output signals: • Local expansion – Time for inputs R1 to R12: 30 ms + 1 cycle – Time for outputs S1 to S6 (S8): 15 ms + 1 cycle • Decentralized expansion – Time for inputs R1 to R12: 80 ms + 1 cycle – Time for outputs S1 to S6 (S8): 40 ms + 1 cycle

Function Monitoring of Expansion Units If the power supply of the expansion unit is not present, no connection can be established between it and the basic unit. The expansion inputs R1 to R12, R15, R16 are incorrectly processed in the basic unit and show status 0. It cannot be assured that the outputs S1 to S8 are transferred to the expansion unit.

WARNING

Continuously monitor the functionality of the Pico GFX-70 expansion to prevent switching errors in the machine or plant.

The status of the internal input I14 of the basic unit indicates the status of the expansion unit: • I14 = “0”: expansion unit is functional • I14 = “1”: expansion unit is not functional

Publication 1760-UM002B-EN-P - March 2005