GVL (GVL)

InOut:

Scope

Name

Type

Initial

Comment

Constant

NUM_CHANNELS

INT

2

TODO: Check if needed

NUM_SESSIONS

INT

1

OFFSET_BETWEEN_PARAM_AND_CHANNEL

INT

1000

TODO:

numInit

INT

0

caseEvents

ARRAY [0..100] OF DINT

track the runtime events

counter

DINT

count the runtime-events callbacks

caseAllOccurredEvents

ARRAY [0..10999] OF SDNPDATA_EVENT

all runtime-events triggered during execution

incr

INT

0

debug

countPointNumsInBinaryGetPoint

ARRAY [0..200] OF DINT

tracks the point nums

inBI

BOOL

input for binIn FB

outBI

BYTE

output of binIn FB

inBI_1

BOOL

input for 2nd binIn FB

outBI_1

BYTE

which_pointIdx

UINT

UDINT;

pSclSession

POINTER TO _TMWSESN

0

Workaround for the session

CHECK_theflags

BYTE

out_triggerBiIn

BOOL

force the value from these vars (for testing)

out_triggerBiIn4

BOOL

force the value from these vars (for testing)

triggerBiOut0

BOOL

BinInput_Obj

BinInputFB

create an instance! (for grouping the methods/functions belonging to BinIn)

BinOutput_Obj

BinOutputFB

arrOfpToChild_childConnectors

ARRAY [0..9] OF POINTER TO IoConfigConnector

AK: used for BinOut to show the read-after-operate effect

xFlagInOperate : BOOL; xFlagInRead : BOOL;

Note: keep the child connectors

myIIN

UINT

____________________________end.

adK: Temp vars for my internal use (can be later deleted)

mySessionPointer

POINTER TO _TMWSESN

gl_Ncount

DINT

IO DRV

gl_Nchannels

DINT

xTestVerbose

BOOL

FALSE

used in PLC_PRG

bRInVerbose

BYTE

0

Trace in RD-I meth

bWROutVerbose

BYTE

0

Trace WR-O write log level 1,2,