Group configuration flags

The group flags are used to assign application objects (data points) to certain groups. The group flags for station query and count transfer are defined as follows:

Automatic assignment of the application objects to the global group can be prevented by masking the relevant bits during configuration.

Examples:

IEC870_GRP_INRO3 AND NOT IEC870_GRP_INROGEN

or

IEC870_GRP_REQCO1 AND NOT IEC870_GRP_REQCOGEN

Constant

Value

Description

Station interrogation

IEC870_GRP_INROGEN

16#00000001

Queried through general query (station or global)

IEC870_GRP_INRO1

16#00000003

Queried through station query of group 1

IEC870_GRP_INRO2

16#00000005

Queried through station query of group 2

IEC870_GRP_INRO3

16#00000009

Queried through station query of group 3

IEC870_GRP_INRO4

16#00000011

Queried through station query of group 4

IEC870_GRP_INRO5

16#00000021

Queried through station query of group 5

IEC870_GRP_INRO6

16#00000041

Queried through station query of group 6

IEC870_GRP_INRO7

16#00000081

Queried through station query of group 7

IEC870_GRP_INRO8

16#00000101

Queried through station query of group 8

IEC870_GRP_INRO9

16#00000201

Queried through station query of group 9

IEC870_GRP_INRO10

16#00000401

Queried through station query of group 10

IEC870_GRP_INRO11

16#00000801

Queried through station query of group 11

IEC870_GRP_INRO12

16#00001001

Queried through station query of group 12

IEC870_GRP_INRO13

16#00002001

Queried through station query of group 13

IEC870_GRP_INRO14

16#00004001

Queried through station query of group 14

IEC870_GRP_INRO15

16#00008001

Queried through station query of group 15

IEC870_GRP_INRO16

16#00010001

Queried through station query of group 16

Count transfer

IEC870_GRP_REQCOGEN

16#00020000

Queried through general counter query

IEC870_GRP_REQCO1

16#00060000

Queried through counter query of group 1

IEC870_GRP_REQCO2

16#000A0000

Queried through counter query of group 2

IEC870_GRP_REQCO3

16#00120000

Queried through counter query of group 3

IEC870_GRP_REQCO4

16#00220000

Queried through counter query of group 4

IEC870_GRP_LOCFREEZE

16#00400000

Enables cyclic local relocation of the counter values

IEC870_GRP_LOCRESET

16#00800000

Enables cyclic local resetting of the counter values

Others

IEC870_GRP_IV_OFF

16#01000000

Disables setting of the quality flag: Invalid (IV)

IEC870_GRP_REVERSE

16#02000000

Object is used in reverse direction (reserved)

IEC870_GRP_SELECTCMD

16#04000000

Force command selection/execution for this data point (reserved)

not defined

16#08000000

not used (reserved)

IEC870_GRP_USERCMD

16#10000000

User-defined command (reserved)

IEC870_GRP_BACKGROUND

16#20000000

Enables background query for this data point

IEC870_GRP_PERCYC

16#40000000

Enables periodic/cyclic data transfer for this data point

IEC870_GRP_SPONTOFF

16#80000000

Disables spontaneous data transfer for this data point

Requirements

Development environment

Target system type

PLC libraries to be linked (category group)

TwinCAT v3.1.4012.0

PC oder CX (x86, x64, Arm®)

Tc2_IEC60870_5_10x (Communication->IEC60870)
Tc2_SerialCom (Communication->Serial)
Tc2_TcpIp (Communication->TcpIp)
Tc2_Utilities (System)