Welcome to the Industrial Automation website!

NameDescriptionContent
HONG  KANG
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

SAIA Burgess PCD2.H110 Counting and Measurement Module

来源: | 作者:FAN | 发布时间 :2026-04-07 | 66 次浏览: | 🔊 Click to read aloud ❚❚ | Share:

k 1       ; Module Number 1

0 Counting mode x1

r 999     ; Starting value of counter

r 998     ; Register preset value

1         ; Enable C static inversion

1         ; CCO static inversion

0 Input A is normal (counting)

0 Input B is normal

5         ; Measurement mode: Automatic frequency

100       ; Measurement window of 100 ms

0 Enable M static positive logic

2         ; TCO dynamic positive pulse

All parameters must be within the allowed range, otherwise the error flag fPar_Srr is set and the diagnostic register rDiag records the error code.

5.3 Execute Function Block EXEC

EXEC is used to send commands such as starting counters, reading count values, loading preset values, starting/stopping measurements, etc. Three parameters: module number, command code, and destination/source registers. The supported commands include:

LdCtPress: Load counter preset value

LdReppres: Load comparison register value

ModMsConf: Change measurement configuration (runtime)

LdMsVal: Set measurement window/time base

RdCt: Read the current count value (24 bits)

RdMsImp: Read and measure the original pulse count (16 bits)

RdMsUnit: Read the converted value (floating point number, Hz or s)

StartCt / StartMs / StopMs

RdIdent: Read module identifier (verify if the module is working properly, return value 17xx)

5.4 GRAFTEC Programming Example

The manual provides three complete GRAFTEC application routines, demonstrating the programming structure in practical engineering.

Example 1: Simple counter (frequency divider)

Task: Counter preset value 500, compare register 900, Enable C static inversion, CCO static positive logic. When the counter reaches 900, the CCO outputs a high level. The user program detects this and flips a digital output, reloading the counter to 500 to continue counting. The program calls INIT in the initialization step (IST), polls the CCO status in the subsequent steps, and executes overloading.

Example 2: Motion Control with Incremental Encoder

Task: The workbench is driven by a DC motor and equipped with a 500 pulse/rev incremental encoder (screw pitch 1 mm). It needs to move from the starting point A to B, pause and then return to A. During operation, it accelerates quickly and switches to slow speed when approaching the target, ultimately achieving precise positioning. This example uses x2 counting mode to directly control the fast/slow and direction of the motor through CCO output, and software polls the CCO status to achieve GRAFTEC step switching. The program also handles negative position display (by subtracting an offset to avoid negative display). This application demonstrates the capability of the H110 module as an axis positioning controller.

Example 3: Measuring object size with a photoelectric grid

Task: When an object on the conveyor belt obstructs the photoelectric grid, count the pulses proportional to the speed of the conveyor belt to measure the length of the object for sorting. Connect the photoelectric grid signal to the Enable C input (static inversion), connect the counting pulse to the A input, and connect the B input to a fixed high level (or GND after inversion). When the photoelectric grid is obstructed, the Enable C is activated and the counter starts counting; When the obstruction ends, the counter stops and the read count value is the length of the object. The program polls the CStart status in GRAFTEC and stores the results in a continuous register queue after each measurement. This scheme has been used for sorting melons and apricots in the south of France.


Error handling and diagnosis

The module will detect parameter errors during runtime. If a parameter in Initiat exceeds the range, the module will automatically set it to the minimum value and set the global error flag fPar-Err. At the same time, the diagnostic register rDiag will be encoded in bytes: FB number (1=Initiat, 2=EXEC), parameter number, and module number. For example, 00 01 06 02 indicates that parameter 6 (CCO configuration) of module 2 is incorrect. Users can clear this flag in XOB 16 or initialization step. In addition, EXEC command code errors will report "Symbol not defined" during assembly. Hardware failure can be verified by reading the identification code through RdIdent. The normal value should be 17xx (specific versions such as 2759, 1761, etc.). If it reads back 0, it indicates module failure or address error.


Parallel use of counting and measurement

The manual clearly points out that counting and frequency measurement can run in parallel on the same module. For example, in motion control examples, the frequency of the encoder signal can be measured while positioning to obtain real-time speed. Just configure the counting parameters and measuring parameters (parameter 9=5, parameter 10=window time) in INIT at the same time, call StartMs to start the measurement after initialization, and then read the measurement results in the main loop. Due to having only one display module, usually only one quantity is displayed, but PCD registers can store two values simultaneously.

  • GE P111-6052 Micro Controller Module
  • Samsung D0C-16C Digital I/O Control Module
  • SAMWONTECH TLC990ME-83 Multi-Channel PID Controller
  • SanDisk SDP3B-10 Industrial Flash Storage
  • SAC IOP351 Advanced Processor
  • SAC IOP331 Input/Output Processor Technical
  • Saftronics EZ6 40 Soft Starter Manual
  • Sagemcom 252720938AB Signal Processor
  • Sagemcom 252721117AC Interface Module
  • Sagemcom 252721013AF Controller
  • SAIA PCD2.W610 Analog Output Module
  • SAIA PCD3.R60X Flash Memory Storage Module
  • SAT RM3141-01-02 CM3141-01-02 System
  • SAT CM3142-01-03 CX3147-04 Overview
  • SAT CM3141-02-03 CX3149-05 Technical Manual
  • Sauter AVM234SF132 Valve Actuator Specs
  • SBS PFSK165 3BSE027778R1 Technical Specs
  • SBS VIPC616 91611524 VME Carrier Board
  • SBS PMC-HS-SERIAL Interface Module
  • Schenck FNT-L001 Network Terminal Guide
  • Schenck VEG20400 Weighing Electronics Specs
  • Schiele DL42N-22 Multi-Function Relay
  • Schiele DL22N-22 Monitoring Relay Specs
  • Schleicher SSY52 Safety Control Unit Manual
  • Schleicher UST21 Control Module
  • SanDisk 336A4940EZP1 Industrial SSD
  • Sankyo PC10021 Industrial Control Module
  • SANMOTION PB3A003P200 Servo Drive
  • Sanyo P30B04010PCKST AC Servo Motor
  • Sanyo STNM-DR-250B Industrial Drive Module
  • Sanyo STNM-DR-160B Mixed I/O Module
  • Sanyo PMDAA1SFC20R Servo Amplifier
  • Sartorius MDB-5E Precision Weighing Module
  • SBS VIPC616 VME-IP Carrier Board
  • SBS 82002070 High-Performance Control Module
  • SBS P2-100BT-ER Industrial Ethernet Module
  • SBS 82002077 Industrial Control Module
  • SCANLAB INTELLISCANDE14-405NM UV Laser Scan Head
  • SCANLAB INTELLISCANDE14-1064NM IR Laser Scan Head
  • SCANLAB INTELLISCANDE III14-532NM Laser Scan Head
  • SCHAFFNER FN3416-110-35 EMI Power Line Filter
  • SCHROFF MPS015 Series
  • SCHROFF MPS015 13100205 Power Supply
  • SCHROFF 3BSC690076R5 Module Review
  • SCHUMACHER ATCS-15 1464-0320 Review
  • SCHUMACHER MDIA-162 System Analysis
  • SCHUMACHER ATCS-15 Technical Guide
  • Schumacher 1442-0010H Industrial Battery Charger Module
  • Seagate ST3630A 3.5 Inch IDE Hard Drive
  • SEC PB5F-DYL Latching Relay Output Module
  • SEC PB5F-DYI Isolated High-Density Output Module
  • SEC PB5F-DY High-Density Digital Output Module
  • SEC PB5-DY 5-Channel Digital Output Module
  • SEC PB4-DYI Isolated Digital Output Module
  • SEC PB4-DY 4-Channel Digital Output Module
  • SECO B161S-E176 Control Card
  • SEF M21.1 Control Module
  • Seidel MV65WKS-CE310/22PB Driver
  • SEM MT30R4-37 Servo Motor
  • SEMIKRON SKD62/16 Rectifier Bridge
  • SENTRON LD63F600 Circuit Breaker
  • Sentry VREL-11 Voltage Relay
  • Servo MTS30M4-38 AC Servo Motor
  • Servo Module SEVO BOARO C20003/2.1 Motion Control Board
  • Servoland SVFH8-H3-DSP*ANI Servo Drive
  • Servotecnica SVT57BL03-60V Brushless Servo Motor
  • SES 2422 Frequency to Analog Converter
  • SES 2409 Thermocouple Signal Conditioner
  • SES 2411 Industrial Signal Conditioner
  • SEW MDV60A0110-5A3-4-00 11kW Drive
  • SEW MPB51A055-503-00 Power Unit
  • SEW 31C055-503-4-00 5.5kW Inverter
  • SEW R37DS56L Geared Motor Specs
  • SEW MDV 8222215.14.17 Power Board
  • SEW MKS51A005-503-50 MOVIKIT Controller
  • SEW MHD093C-058-PG0-AN Synchronous Servo Motor
  • SEW MDV60A0075-5A3-4-0T MOVITRAC Frequency Inverter
  • SEW MDS60A0150-503-4-00 MOVIAXIS Servo Drive
  • SEW MDF60A-0075-5A3-4-00 MOVIFIT Drive
  • SEW MDF60A-0022-5A3-4-00 MDX60A0075-5A3-4-00 Drive System
  • SEW MDF60A-0022-5A3-4-00 MOVIFIT Drive
  • SEW EF-014-503 Braking Resistor
  • SEW DFP11B 8227241.12 Interface
  • SEW DFP 21A PROFIBUS Interface Card
  • SEW 31C450-503-4-00 45kW Inverter
  • SEW 31C075-503-4-00 7.5kW Inverter
  • SEW 31C015-503-4-00 1.5kW Inverter
  • SEW 31C005-503-4-00 Drive Analysis
  • SHINKAWA VM-5G0-2 General Purpose Monitor
  • SHINKAWA VM-5C Shaft Eccentricity Monitor
  • SHINKAWA VM-5Z4 Power Supply Module
  • SHINKAWA VM-5P3 Phase Reference Module
  • SHINKAWA VM-5H3 8-Slot Monitoring Rack
  • SHINKAWA VM-5Y1-02 GEM Process Monitor
  • SHINKAWA VM-5K Dual Vibration Monitor
  • SHINKAWA MP-2W2 Differential Expansion Monitor
  • SHINBORY DENSHI HD-522 Technical Guide
  • SHINKAWA MP-2P1 Industrial Vibration Monitoring Module
  • SHINKAWA MP-2P4 Multi-Channel Vibration Monitoring Module
  • SHINKAWA MP-2S Vibration Monitoring Module
  • SHINKAWA MP-2T Magnetic Pickup
  • SIEBEL IPS21-24V-35AD ABB Module
  • SIEBEL&SCHOLL IPS21-35AD Power Supply
  • SIEGER 05701-A-0550 Control Unit
  • SIEGER 05704-A-0122 Control Card
  • Siemens Moore 16114-171 I/O Module
  • Sigmatek DNC115 Digital I/O Module
  • Silicon Graphics B014ANT180 Graphics Card
  • Silicon Graphics 030-0730-003 VGA Graphics Module
  • SIMCO FMX-003 Electrostatic Field Meter
  • SHINKAWA MP-2S Vibration Monitoring Module
  • SINANO SE04-10WA Servo Driver Info
  • SIS AI3281 Analog Input Module
  • SIS CM01 Communication Module
  • SIS MC01 Main Controller Module
  • SIS DO3201 Digital Output Module
  • SIS DI3201 Digital Input Module
  • SIS BI01 Bridge Input Module
  • SIS PM01 Power Monitor Module
  • SKIIP 39AC12T4V1 IGBT Power Module
  • SLIMPAK 10923H5A Isolated DC-DC Converter
  • SLIMPAK G468-0001 Isolated Signal Conditioner
  • SLIMPAK G408-0001 DC-DC Converter
  • SLO-SYN M063-LE-507E Hybrid Stepper Motor
  • SMC VQ1-LPF04+VQ1100N-5 Valve Assembly
  • SMC INR-244-203B Technical Overview
  • SMC INR-244-97B-B-X5 Cooling System Info
  • SMC MHY2-10D2 Air Gripper