PLC system 3S and TwinCAT

In these two systems, the global pointers to specific areas of the HLI are created in the HLI-PLC library. These pointers are used to access control units and status data or other data of such an HLI area. The table below shows the uses of these pointers and in each of the individual PLC systems:

Global pointers to HLI areas

 

Explanation

PLC systems

Global pointers

3S

TwinCAT

gpPform

Platform-specific area

X

X

gpCh

Array of pointers to channel-specific areas

X

X

gpAx

Array of pointers to axis-specific areas

X

X

gpCTMan

Array of pointers to job planning areas

-

X

gpIoStation

Array of pointers to areas for SERCOS I/O stations

X

-

gpVEGlobal

Pointers to global V.E variables

X

X

gpVECh

Array of pointers to channel-specific V.E variables

X

X

gpHmiPlc

Pointer to area exchange data between HMI and PLC

X

-

Make sure only to initialise the pointers which are supported by the PLC system and which make sense depending on the configuration of the NC kernel (number of channels, number of axes, etc.). All other pointers are ZERO pointers.