CL programm in TDC3000

H

Thread Starter

haris chaudhary

I am working on TDC3000 dcs I need help regarding cl programm. I am starting fans through CL. I need that when Fans are start from programm, its control came back on manual. Now fan started through Digital composite point, it is on manual. i want this point in maual after fans start. Below is CL program.

IF TC018.PVHIFL=ON
& THEN (SET 41HS085.MODATTR=PROGRAM;
& SET 41HS085.OPCMD=OFF;
& SET 41HS085.NMODATTR=OPERATOR;
& SET 41HS085.MODE=MAN;
when ever hi flag is on fans is start, at this time its mode is PROG-MAN,after starting of fans I need this control on maual, but is is not coming on maual, its remain on PROG-MAN. Please help me regarding this matter.

MUHAMMAD HARIS
 
M

M. Friedrich

Hello,

Change this parameter to MODATTR and it should work:

> & SET 41HS085.NMODATTR=OPERATOR;

I hope that is not the complete code, otherwise the program will change the composite point every time it's execute and the hi flag is active.

Regards,

Markus
 
Looks like this parameter needs to be changed in line 4:
& SET 41HS085.NMODATTR=OPERATOR;

To:
& SET 41HS085.MODATTR=OPERATOR;

NMODATTR identifies the normal mode, but doesn't switch modes.
 
A

Ashraf Mabrouk

the best thing will be using a logic block to switch the mode to MAN when hi flag comes on. CL will make it P-MAN because you are changing the MODEATTR to PROGRAM.
 
Top