GE GFK-2193A Clear Counters Command Block Basic Example, Clear Counters Reply Data Format

Models: GFK-2193A

1 30
Download 30 pages 23.55 Kb
Page 29
Image 29

4

Clear Counters (6)

The Clear Counters Command sets the counters in the PROFIBUS module to zero.

Clear Counters Command Block – Basic Example

In the following command block, Status is returned in %R251—%R252 (words 8 and 9).

Word

Dec (Hex)

Definition

 

 

 

 

Word 1

4

(0004)

Length of command Data Block

Word 2

0

(0000)

Always 0 (no-wait mode request)

Word 3

8

(0008)

Memory type of COMMREQ status word (%R)

Word 4

9

(0009)

COMMREQ status word address minus 1 (%R10)

Word 5

0

(0000)

Reserved

Word 6

0

(0000)

Reserved

Word 7

6

(0006)

Clear Counters command number

Word 8

8

(0008)

Memory type to write response (%R)

Word 9

250

(00FA)

Starting Address to write response (response written to %R251)

Word 10

2

(0002)

Maximum size of response area

(Word 7) Command Code: Word 7 specifies the Command code for the COMMREQ to be executed . Clear Counters = 6

(Word 8) Local PLC - Memory Type: Words 8—9 specify the location in the PLC where the response will be written. Valid values for Word 8 are listed below

 

Value

 

Type

Dec

(Hex)

Description

 

 

 

 

%R

8

(0008)

Register memory (word mode)

%AI

10

(000A)

Analog input memory (word mode)

%AQ

12

(000C)

Analog output memory (word mode)

%I

16

(0010)

Discrete input memory (byte mode)

%Q

18

(0012)

Discrete output memory (byte mode)

%T

20

(0014)

Discrete temporary memory (byte mode)

%M

22 (0016)

Discrete momentary internal memory (byte mode)

(Word 9) Local PLC - Memory Starting Address: Word 9 determines the starting address in the local PLC in which the response is to be written. The value entered is the offset (0-based) from the beginning of PLC memory for the memory type and mode specified in Word 8. This offset will be either in bits, bytes, or words depending on the mode specified (for example, if Word 8=16 and Word 9=2, the starting address will be %I9). Valid ranges of values depend on the PLC’s memory ranges.

(Word 10) Response Memory Size: Words 10 specifies the size of the memory block for the response. The Response Memory Size is 2 words. If the Response Memory Size (word 10 in the Clear Counters command block) is set greater than 2, the COMMREQ will succeed. The unneeded memory locations are not written.

Clear Counters Reply Data Format

Word

Name

Description

 

 

 

Word 1

CommandCode

Echo of Command code that this data block is replying to. (0x0006)

Word 2

StatusCode

Reports 1 for success and 0 for failure.

4-12

Series 90™-30 PROFIBUS Slave Module User's Manual – August 2004

GFK-2193A

Page 29
Image 29
GE GFK-2193A user manual Clear Counters Command Block Basic Example, Clear Counters Reply Data Format

GFK-2193A specifications

The GE GFK-2193A is a versatile and powerful programmable logic controller (PLC) designed for industrial automation applications. With its robust construction and advanced features, the GFK-2193A is ideal for industries that demand high reliability and flexibility in their control systems.

One of the standout features of the GE GFK-2193A is its processing power. It is equipped with a high-speed CPU that can handle complex tasks and large volumes of data efficiently. This allows for real-time decision-making and control, making it suitable for critical applications where timing and accuracy are paramount. The processing speed is complemented by a multitasking capability, enabling the controller to manage multiple processes simultaneously without a drop in performance.

The GFK-2193A also boasts an extensive range of input and output options. It supports a variety of digital and analog I/O modules, allowing for seamless integration with different sensors, actuators, and devices. This flexibility makes it easy to customize the system according to specific operational needs, whether it's for small-scale automation or extensive industrial setups.

In terms of communication capabilities, the GE GFK-2193A includes support for multiple industrial communication protocols. This includes Ethernet, Modbus, and Profibus, among others, ensuring compatibility with a wide array of devices and systems. The controller's ability to communicate effectively helps facilitate data exchange, enabling better coordination and monitoring across different components of an automation system.

Another significant feature of the GE GFK-2193A is its programming environment. It utilizes the popular Ladder Logic programming language, which is widely regarded for its ease of use and efficiency. Additionally, the controller supports other programming languages, like Function Block Diagram and Structured Text, providing users with the flexibility to choose the most suitable method for their application.

The durability of the GFK-2193A is another remarkable characteristic. Designed to withstand harsh industrial environments, it features robust housing and components, making it resistant to dust, moisture, and temperature fluctuations. This ensures long-lasting performance with minimal maintenance needs, enhancing overall operational efficiency.

In summary, the GE GFK-2193A is a comprehensive solution for industrial automation that combines processing power, flexibility in I/O configurations, advanced communication capabilities, and a user-friendly programming environment. Its robust construction ensures reliability even in challenging conditions, making it a trusted choice for industries looking to enhance their automation processes.