Welcome to the Industrial Automation website!

NameDescriptionContent
XING-Automation
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

SAIA Burgess PCD2.H110 Counting and Measurement Module

F: | Au:FAN | DA:2026-04-07 | 613 Br: | 🔊 点击朗读正文 ❚❚ | 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.

  • ETEL EA-P2M-400-10/20A-0000-01 Accuret Position Controller
  • ETEL DSB2S144-111E-000H Digital Servo Amplifier
  • ETEL PMWA050-016-00A Motor
  • ETEL DSCDM341-111-000 PCB Board
  • ETEL TMB0140-030-3RAS-S82-EL Direct Drive Motor
  • ETEL DSCDP330-322G-001 Motor Driver
  • ETEL TLMD05-050-0010-ANN-24A Linear Motor
  • ETEL EA-P2M-400-10/20A-0000-01 Accuret Modular Position Controller (T256144)
  • ETEL LMC11-050-3TA-220A Linear Motor Module
  • ETEL IWM060-0256-00 Ironless Linear Motor Magnetic Way (Magnet Track)
  • Rolls-Royce R02TCN-E0L3-00 Remote Controller Features
  • Etel SA-IL 03-208 Linear Motor Section
  • ETEL ILM03-060-3RA-A00 Ironless Linear Servo Motor
  • ETEL DSCDP321-121-000 Dual Position Controller Board
  • Etel DSCDP121-111F-000A Dual Axis Servo Drive
  • Etel EA-S0M-400-40/80A-0000-00 AccurET Modular Power Supply
  • Etel TMB+0291-150-RO-00000-0A0 Rotor
  • ETEL DSCDP131-111F-000A Position Controller
  • ETEL DSC2P154-421F-000A Servo Drive
  • ETEL DSO-SER211-000 Add-On Power Board for Servo Amplifier
  • ETEL 613712-05 4-Axis Control Assembly
  • ETEL P2M-300-07/15A Accuret Position Controller
  • ETEL LMP07-100-3TAS-229 Motor Ruler Primary Part
  • ETEL 569866-03 ASME-RTMA014 Motor
  • ETEL DSCDP131-111-000 Dual Position Controller
  • ETEL DSB2S134-211E-000H Digital Servo Amplifier
  • ETEL DSCDP121-111F-000A DSC Dual Controller
  • ETEL DSC2P154-421E-000A Servo Drive
  • ETEL DSCDP121-111C-000A Regulator – Stable Power Control
  • ETEL DSC2P131-111B-000D Driver Board
  • ETEL ILM03-060-3RA-A00 Linear Motor
  • ETEL EA-S0M-300-40/80A-0090-00 Power Supply Module
  • Etel DSCDP131-111-000 Position Controller
  • ETEL DSC2P121-111E-001A Digital Servo Amplifier
  • ETEL DSB2P101-121E-009H Position Controller
  • ETEL IWM040-0128-00 Ironcore Linear Motor Magnetic Way
  • ETEL AccurET EA-S0M-400-40/80A-0000-00 Modular Power Supply
  • ETEL LMC11-050-3TA-S10C Motion Controller
  • ETEL LMC11-050-3TA-250A Controller Module
  • ETEL DSB2P101-121E-009H Digital Servo Amplifier Position Controller
  • ETEL AccurET Modular 400 Position Controller
  • ETEL DSA2 Digital Servo Amplifier
  • ETEL DSC2P154-421-000 Servo Drive
  • ETEL DSO-PWS121-003 Power Supply Module
  • ETEL 0348M-070-02D-004 Linear Encoder
  • ETEL DSC2P131-111-000 Linear Servo Amplifier – 10Arms/30Arms
  • ETEL DSC2P131-121-000 Digital Servo Amplifier
  • ETEL DSB2P131-111E-000H Digital Servo Amplifier
  • ETEL DSO-PWS111-000 Power Supply Module
  • ETEL LMC11-050-3TA-S41C Linear Motor Module – High Thrust Density
  • ETEL EA-P2M-300-07/15A Drive Specs
  • ETEL DSO-RAC200A-011D Dual Position Controller Rack
  • ETEL Short-Stroke Actuator ID809786-03
  • ETEL DSCDM332-111-000 Servo Controller Specs
  • ETEL DSCDL332-131-000A Position Controller
  • ETEL LMP07-100-3TAS-229 Linear Motor
  • ETEL LMA11-120-3ZA-359C Linear Motor
  • ETEL DSA2S211ZA-018A Digital Servo Amplifier
  • ETEL EA-P2M-300-07/15A AccurET Controller
  • ETEL LMB06-050-2QA-239B Linear Motor Guide
  • ETEL DSCDP334‑421‑000 Servo Drive – High‑Power Digital Controller Positioner
  • ETEL DSCDP121‑111E‑000A Dual Driver Board – High‑Density Motion Control Module
  • ETEL DSA2 S1B22A Digital Servo Amplifier – High‑Efficiency Drive for Industrial Motors
  • ETEL DSCDM342‑111‑000 Servo Amplifier – Multi‑Axis Digital Drive
  • ETEL MWA120‑0512‑00B 512mm Linear Motor Magnet
  • ETEL EA‑P2M‑300‑07/15A‑0100‑01 AccurET Modular Position Controller – Medium‑Power Drive
  • Etel DSC2P141‑111‑000 568425‑01 Digital Servo Amplifier – Compact High‑Performance Drive
  • Etel EA‑P2M‑400‑10/20A‑0000‑01 AccurET Modular Position Controller – High‑Voltage Drive
  • ETEL DSC2P142‑111‑000 Digital Servo Amplifier – Compact Position Controller
  • ETEL DSDH153‑121C‑001D Digital Servo Drive – High‑Power Motion Control
  • ETEL DSB2P131 & DSO-CAN111A Servo Amplifier Set
  • ETEL DSA2S211ZA-018A Digital Servo Amplifier
  • ETEL DSMAX212-111-001 568540-01 DSMAX2 Servo Controller
  • ETEL TMB+0291-150 Torque Motor Stator Assembly
  • ETEL EA-S0M-300-40/80A AccurET PSU
  • ETEL DSO-PWR112C-000B Power Supply Module
  • ETEL DSC2P141-111-000 Linear Servo Amplifier
  • ETEL DSB2S154-211-000H Servo Amplifier
  • ETEL DSCDP121-122-000 Digital Controller
  • ETEL DSCDP121-111E-000A Dual Position Controller
  • ETEL DSCDM332-111-000 Linear Servo Controller
  • ETEL DSB2P134-111E-000H Servo Amplifier
  • ETEL DSCDP132-111-000 Control Board Guide
  • ETEL DSB2S154-211E-000H Servo Amplifier
  • ETEL EA-SOM-300-40/80A Power Supply Module
  • ETEL ILM12-060-3PD-R20C Linear Motor with IWM Ways
  • ETEL P2M-300-07 AccurET Position Controller
  • ETEL DSB2P124-111E-000H Servo Amplifier
  • ETEL EA-P2M-048-05/10A Position Controller
  • ETEL EA-S0M-300-40/80A Power Supply Module
  • ETEL MWA070-0256-20B Linear Motor Magnet Guide
  • ETEL MWD070‑0128‑21A Linear Motor – Compact Ironless Linear Motor for High‑Speed Precision
  • ETEL DSB2P124‑211E‑000H Digital Servo Amplifier – 300 VDC Slave Drive for High‑Voltage Systems
  • ETEL MWD100‑0128‑00B Linear Motor – High‑Force Ironless Linear Motor for Precision Motion
  • ETEL AccurET EA‑S0M‑400 & P2M‑400‑05/10A Drive Module
  • ETEL EA‑S0M‑400‑40/80A‑0000‑00 AccurET Power Supply – High‑Power DC Supply for Motion Systems
  • ETEL MWA050‑0128‑20B Linear Motor Magnet – High‑Force Magnet Assembly for Linear Motors
  • ETEL DSB2S121‑111E‑000H Digital Servo Amplifier – High‑Current Drive for Demanding Motion
  • ETEL DSCDM332‑111C‑000B Digital Position Controller DSCDM – High‑Density Motion Module
  • ETEL EA‑P2M‑048‑2.5/5A‑0100‑01 AccurET Modular Position Controller
  • ETEL DSC2P121-111E-001A Digital Servo Controller – High‑Precision Motion Control
  • ETEL MWA050-0128-20B Linear Motor Magnet
  • ETEL DSB2P142-111E-000H Drive Specs
  • ETEL DSB2S234-111E-000H Servo Amplifier
  • ETEL EA-P2A-400-10-20A Position Controller
  • ETEL DSB2 Digital Servo Amplifier Controller DSB2P142-111E-000H SN 014661437
  • ETEL EA-S0M-400-40/80A-0000-00 AccurET Power Supply Module 650140-01
  • ETEL DSB2P131-111E-000H Servo Amplifier
  • ETEL EA-P2M-400-10/20A AccurET Controller
  • ETEL DSDP324-322F-000C Dual Motor Driver
  • ETEL DSB2S154-211E-000H Digital Servo Amplifier Drive
  • ETEL DSO-PWS111B-000C Power Supply Board 1130E-070-018
  • ETEL DSCDP324-322G-000A Servo Amplifier
  • ETEL DSB2P142-111E-000H Servo Amplifier Drive
  • ETEL EA-P2M-400-15/40A & EA-S0M-400 Drive Set
  • ETEL DSB2P142-111E-000H Digital Servo Amplifier
  • ETEL LMG15-070-3QC-H11 Linear Motor
  • ETEL TMA0140-070-3RB-S62B Torque Motor
  • ETEL DSA2S211ZA Digital Servo Amplifier
  • ETEL AccurET EA-P2M-300-4/7.5A-0100-01 Modular Position Controller
  • ETEL DSCDL332-131C-000A Servo Control Board
  • ETEL DSCDP324-322F-000C Dual Motor Driver
  • ETEL EA-P2M-400-10/20A Position Controller
  • ETEL DSC2P121 and DSO-HIO33 Servo Amplifier Set
  • ETEL EA-P2M-400-15/40A AccurET Drive
  • ETEL EA-P2M-300-07/15A Position Controller
  • ETEL EA-P2M-048-05/10A-0100-01 Servo Drive
  • ETEL EA-S0M-300-40/80A Servo Drive Guide