How to control the value of I/O device Gimac_II by Vijeo Citect?

vudvpro

Member
Join Date
Nov 2011
Location
Hanoi
Posts
2
REGISTER - ADDRESS - REGISTER NAME
1 - 0 - CB ON select
2 - 1 - CB ON op
3 - 2 - CB OFF select
4 - 3 - CB OFF op
5 - 4 - DO1 ON select
6 - 5 - DO1 ON op
7 - 6 - DO1 OFF select
8 - 7 - DO1 OFF op
9 - 8 - DO2 ON select
10 - 9 - DO2 ON op
11 - 10 - DO2 OFF select
12 - 11 - DO2 OFF op
13 - 12 - DO3 ON select
14 - 13 - DO3 ON op
15 - 14 - DO3 OFF select
16 - 15 - DO3 OFF op
17 - 16 - DO4 ON select
18 - 17 - DO4 ON op
19 - 18 - DO4 OFF select
20 - 19 - DO4 OFF op
21 - 20 - DO5 ON select
22 - 21 - DO5 ON op
23 - 22 - DO5OFF select
24 - 23 - DO5 OFF op
25 - 24 - DO6 ON select
26 - 25 - DO6 ON op
27 - 26 - DO6 OFF select
28 - 27 - DO6 OFF op
29 - 28 - DO7 ON select
30 - 29 - DO7 ON op
31 - 30 - DO7 OFF select
32 - 31 - DO7 OFF op
33 - 32 - DO8 ON select
34 - 33 - DO8 ON op
35 - 34 - DO8 OFF select
36 - 35 - DO8 OFF op


1001 - 1000 - FAULT RESET
1002 - 1001 - EVENT clear


30001 - 0 - DI Status, DO Status
30003 - 2 - Equipment status, Reserved
30005 - 4 - Current A
30007 - 6 - Current B
30009 - 8 - Current C
30011 - 10 - voltage A-
30013 - 12 - voltage B-
30015 - 14 - voltage C-
30017 - 16 - Line-to-Line voltage AB-
30019 - 18 - Line-to-Line voltage BC-
30021 - 20 - Line-to-Line voltage CA-
30023 - 22 - Power Factor
30025 - 24 - Total of active power
30027 - 26 - Total of reactive power
30029 - 28 - Total of apparent power
30031 - 30 - Frequency
30033 - 32 - Total Active Energy
30035 - 34 - Total Reactive Energy
30037 - 36 - Total Reverse Active Energy
30039 - 38 - Zero- Voltage
30047 - 46 - A[0] Current Value
30049 - 48 - A[1] Current Value
30051 - 50 - Positive Voltage
30053 - 52 - Negative Voltage
30055 - 54 - Voltage Unbalance Rate
30057 - 56 - Positive Current
30059 - 58 - Negative Current
30061 - 60 - Current Unbalance Rate
30063 - 62 - V0_max
30065 - 64 - A Voltage
30067 - 66 - B Voltage
30069 - 68 - C Voltage
30071 - 70 - AB Voltage
30073 - 72 - BC Voltage
30075 - 74 - CA Voltage
30077 - 76 - A Current
30079 - 78 - B Current
30081 - 80 - C Current
30083 - 82 - A Power Factor
30085 - 84 - B Power Factor
30087 - 86 - C Power Factor
30089 - 88 - A Active Power
30091 - 90 - B Active Power
30093 - 92 - C Active Power
30095 - 94 - A Reactive Power
30097 - 96 - B Reactive Power
30099 - 98 - C Reactive Power
30101 - 100 - A Apparent Power
30103 - 102 - B Apparent Power
30105 - 104 - C Apparent Power
30107 - 106 - A Active Energy
30109 - 108 - B Active Energy
30111 - 110 - C Active Energy
30113 - 112 - A Reactive Energy
30115 - 114 - B Reactive Energy
30117 - 116 - C Reactive Energy
30119 - 118 - A Reverse active Energy
30121 - 120 - B Reverse active Energy
30123 - 122 - C Reverse active Energy
30135 - 134 - Voltage A THD
30137 - 136 - Voltage B THD
30139 - 138 - Voltage C THD
30141 - 140 - Current A THD
30143 - 142 - Current B THD
30145 - 144 - Current C THD
30147 - 146 - Voltage AB THD
30149 - 148 - Voltage BC THD
30151 - 150 - Voltage CA THD
30153 - 152 - Voltage A Basic Wave
30183 - 182 - Voltage B Basic Wave
30213 - 212 - Voltage C Basic Wave
30243 - 242 - Current A Basic Wave
30273 - 272 - Current B Basic Wave
30303 - 302 - Current C Basic Wave
30333 - 332 - Current A TDD
30335 - 334 - Current B TDD
30337 - 336 - Current C TDD
30339 - 338 - Current A Kfactor
30341 - 340 - Current B Kfactor
30343 - 342 - Current C Kfactor

31004 - 1003 - Vo max time
31007 - 1006 - DEMAND Ia Time
31010 - 1009 - DEMAND Ib Time
31013 - 1012 - DEMAND Ic Time
31016 - 1015 - MAX DEMAND W time
31019 - 1018 - MAX W Time

40001 - 0 - PT Ratio Setting
40003 - 2 - GPT Ratio Setting


40501 - 500 - V0_MAX RESET
40503 - 502 - DEMAND CURRENT
40505 - 504 - MAX DEMAND
40507 - 506 - MAX W RESET
40509 - 508 - WH RESET
40511 - 510 - VARH RESET
40513 - 512 - rwh RESET


41001 - 1000 - Run Time
41003 - 1002 - CB ON Time


42001 - 2000 - Winding Method,
42002 - 2001 - CT Ratio Setting
42027 - 2026 - DEMAND TIME(
42029 - 2028 - DI 1 SET STATUS
42030 - 2029 - DI 2 SET STATUS
42031 - 2030 - DI 3 SET STATUS
42032 - 2031 - DI 4 SET STATUS
42033 - 2032 - DI 5 SET STATUS
42034 - 2033 - DI 6 SET STATUS
42035 - 2034 - DI 7 SET STATUS
42036 - 2035 - DI 8 SET STATUS
42037 - 2036 - DO 1 SET STATUS
42038 - 2037 - DO 2 SET STATUS
42039 - 2038 - DO 3 SET STATUS
42040 - 2039 - DO 4 SET STATUS
42041 - 2040 - DO 5 SET STATUS
42042 - 2041 - DO 6 SET STATUS
42043 - 2042 - DO 7 SET STATUS
42044 - 2043 - DO 8 SET STATUS


How to control the CB at the address I / O from 1 to 36. with the example code below?

Code:
FUNCTION
Confirm_CB(STRING sel,STRING op)
TagWrite(sel,0xFF00);
Sleep(2);
TagWrite(op,0xFF00);
END

INT
FUNCTION
ReadTagBit(INT Tag, INT Bit)
INT TagVal, Power;
Power = Pow(2, Bit);
IF Tag BITAND Power THEN
TagVal = 1;
ELSE
TagVal = 0;
END
RETURN TagVal;
END

FUNCTION
CBStatus()
Gipam_CB_On = ReadTagBit(Gipam_Status,0);
Gipam_CB_Off = ReadTagBit(Gipam_Status,1);
Gimac_CB_On = ReadTagBit(Gimac_Status,7);
Gimac_CB_Off = ReadTagBit(Gimac_Status,6);
END
Please help me, sincerely to thank!
 

Similar Topics

Greetings, Do you remember with the SLC 5/05 processors you could open the webpage at the IP address of the processor and navigate to a tab...
Replies
5
Views
2,504
Hi all, I have a PID loop in an AB ControlLogix processor and what I'd like to do is make sure that it doesn't all the CV to fall below a certain...
Replies
3
Views
1,465
hello, I am using FT ME v9.00. I need to load screens based on a product number (1-4). There are few display screens and few unique to the product...
Replies
4
Views
1,925
I work in the cement industry, and I have a infinitely variable valve controlling product flow to a pump in my reclaim system. The valve is...
Replies
3
Views
2,015
Hi, I have been looking around and cannot seem to find what I am after, hopefully someone here may have seen one. It is for a little home...
Replies
6
Views
4,004
Back
Top Bottom