PROGRAMMABLE LOGIC CONTROLLERS Pico Controllers Training: Functions Using PicoSoft The functions of the devices are shown here in a table. This enables you to select a device quickly according to the function required. The numbers show how often a function can be used in the easy circuit diagram or Pico GFX. Simply click the number and this will take you to a page which provides a download of an PicoSoft program file for the selected function. You can also pass the cursor over the name of the function to activate a small information text about it. Counter Functions Counter Functions Function 1760-L12 1760-L18, 1760-L20 PicoGFX Counter Relay 16 16 32 Frequency Counter 4 High speed Counter 4 Incremental Counter 2 Operating Hours Counter 4 4 4 Time Functions Time Functions Function 1760-L12 1760-L18, 1760-L20 PicoGFX 7-day Time Switch 8 8 32 Year Time Switch 8 8 32 Set Cycle Time 1 Timing Relay 16 16 32 Program Operation Functions Program Operation Functions Function 1760-L12 1760-L18, 1760-L20 PicoGFX Jump 8 8 32 Conditional Jump 32 Master Reset 3 3 32 Arithmetic Functions Arithmetic Functions Function 1760-L12 1760-L18, 1760-L20 PicoGFX PID Controller 32 PT1-Signal Smoothing Filter 32 Value Scaling 32 Numerical Converter 32 Pulse Output Pulse Width Modulation 2 Value Limitation 32 Memory Functions Memory Functions Function 1760-L12 1760-L18, 1760-L20 PicoGFX Block Compare 32 Block Transfer 32 Boolean Operation 32 Comparator 32 Data Function Block 32 Data Multiplexer Shift Register 32 Table Function 32 Communication Functions Communication Functions Function 1760-L12 1760-L18, 1760-L20 PicoGFX Get Value from NET 32 Put Value on the NET 32 Diagnostics Alarm 9 Bit Input via the NET 32 Set Date Time via the NET 1 Bit Output via the NET 32 Serial Protocol Text Functions Text Functions Function 1760-L12 1760-L18, 1760-L20 PicoGFX Text Display 16 16 Static Text + Message Text + Screen Menu + Running Text + Rolling Text + Value Display Functions Value Display Functions Function 1760-L12 1760-L18, 1760-L20 PicoGFX Bit Display + Message Bitmap + Bar Graph + Date and Time Display + Numberical Value Display + Timing Relay Display + Value Entry Functions Value Entry Functions Function 1760-L12 1760-L18, 1760-L20 PicoGFX Latching Button + Button Field + Value Entry + Timing Relay Entry + Date and Time Entry + 7 Day Time Switch Entry + Year Time Switch Entry + PROGRAMMABLE LOGIC CONTROLLERS Pico Controllers 1760-L12 Counter Functions Counter relay "C" A counter relay counts events. In addition, it adds or subtracts pulses and switches when the actual value is greater than or equal to the setpoint. More information is provided in the function description and also in the program download. This provides a practical introduction to the function. PROGRAMMABLE LOGIC CONTROLLERS Pico Controllers 1760-L18, 1760-L20 Counter Functions Counter relay "C" A counter relay counts events. In addition, it adds or subtracts pulses and switches when the actual value is greater than or equal to the setpoint. More information is provided in the function description. Or click the list of downloads. This provides a practical introduction to the function. PROGRAMMABLE LOGIC CONTROLLERS Pico Controllers PicoGFX Counter Functions Counter relay "C" The devices provide 32 up/down counters (Counter) C01...C32. The C.. counters count on every rising edge at the C_ input and enables you to count events. More information is provided in the function description. Or click the list of downloads. This provides a practical introduction to the function. PROGRAMMABLE LOGIC CONTROLLERS Pico Controllers PicoGFX Counter Functions Frequency Counter The control relays and visualization devices provide a range of different high-speed counter functions. These counter function blocks can be connected directly to the digital inputs. More information is provided in the function description. Or click the list of downloads. This provides a practical introduction to the function. PROGRAMMABLE LOGIC CONTROLLERS Pico Controllers Counter Functions High-Speed Counter “CH” for Pico GFX The control relays and visualization devices provide a range of different high-speed counter functions. These counter function blocks can be connected directly to the digital inputs. The following counter functions are possible: CF.. Frequency counters, frequency measurement CH.. High-speed counters, high-speed signal counting CI.. Incremental encoders, dual-channel incremental encoder signal counting Note:The incremental encoder is always assigned an input pair, e.g. I03 and I04! Inputs I 01...I 04 are designed for activating high-speed counters. The following wiring requirements must be observed: I 01 => CF 01, CH 01 or CI 01 I 02 => CF 02, CH 02 or CI 01 I 03 => CF 03, CH 03 or CI 02 I 04 => CF 04, CH 04 or CI 02 Input assignment Caution: Each I… input on the device can only be used once by a CF, CH, CI function block. If an input Ixx is used several times, only the high-speed counter is run that is positioned at the back in the order of processing in the function block diagram. Example of an impermissible input assignment I 01 = High-speed counter CH 01 I 01 = Frequency counter CF 02 I 01 = Incremental encoder channel A CI 02 All function blocks are associated with the digital input I1, but only CH01 is triggered and supplies the correct counter value. Example of a permissible input assignment I 01 = High-speed counter CH 01 I 02 = Frequency counter CF 02 I 03 = Incremental encoder channel A CI 02 I 04 = Incremental encoder channel B CI 02 General Information on the CH High-Speed Counter The devices provide 4 high-speed counters (CounterH) CH01...CH 04. These high-speed up/down counters are internally connected with the digital inputs I01...I04 and operate independently of the cycle time. You can enter upper and lower threshold values (setpoints) as comparison values. The appropriate function block contact (bit output) switches according to the actual value determined. Symbol in the function Function block diagram The maximum counter frequency is 5 kHz. Only square wave signals are permissible. The mark-to-space ratio is 1:1. The counter wiring must observe the following digital input assignment: I 01 counter input for counter CH 01 I 02 counter input for counter CH 02 I 03 counter input for counter CH 03 I 04 counter input for counter CH 04 Note: Avoid unforeseeable switch states. Only use each coil of a relay once in the circuit diagram. Only use a counter input for CF, CH, CI counters once. The Function Block and its Parameters Description Note Function block inputs (DWord) SH Upper setpoint The function block operates in the integrer range from - 2147483648…+2147483647 SL Lower setpoint SV Preset actual value Function block output (DWord) QV Actual value in RUN mode Contact (bit output) OF Status 1 if the actual value is greater than or equal to the upper setpoint (Overflow) FB Status 1 if the actual value is less than or equal to the lower setpoint (Fall below) CY Status 1 if the above value range is exceeded. ZE Status 1 if the value of the QV function block output (i.e. the counter status) is zero Coil function (bit input) EN Enable for counter function block D_ Count direction 0 = up counting, 1 = down counting SE With a rising edge transfer the preset actual value RE Reset the actual value to zero Parameter set Call Function block parameters can be viewed on the device. enabled Simulation Not Hardware-dependent function block possible Memory Requirement The function block requires 52 bytes of memory plus 4 bytes per function block input configured with an NU constant. Retention Counter relays can be run with retentive actual values. The number of counter relays can be selected in Project View in the Device Properties dialog. The retentive actual value requires 4 bytes of memory. If a counter relay is retentive, the actual value is retained when the operating mode is changed from RUN to STOP and when the power supply is switched off. When the device is restarted in RUN mode, the counter relay continues with the retentively stored actual value.
Description: