YANN - C264 Debug Training
Short Description
SAS...
Description
From R&D Lattes PACIS-C264 Presentation 24 January 2007 .
PACiS Local Expert Training
Local Expert Training : C264 General Tools Basic Objects Communication Applicative features
2
Automation Systems R&D – 11/01/07
2
General Tools HELP Action : displays the shell commands available in the C264 software. Parameter : none help Action : displays the shell commands available in the vxworks kernel Parameter : none OdLogLevel x Action : activates the IEC61850/UCA2 agency traces Parameter : x =1 : trace activated x=0 : trace deactivated
3
Automation Systems R&D – 11/01/07
3
General Tools SET_TRACES (task ID, msk, status) Action : activates the debug traces for all applicative tasks Parameters : task_ID : task identifier. See array below. Msk
: trace level.
Status
: 1 trace activated 0 trace deactivated
4
Automation Systems R&D – 11/01/07
4
C264 Main Task Identifiers
5
N° Task Identifier
Aim
01
T01CTRL
Autotest and watchdog management
02
T02SUPERV
Supervision
04
T04HDLDI
Digital input acquisition management
06
T04HDLAI
Analogue input acquisition management
13
T13SYNCHRO
Synchronization management
18
T18COND
Control management
20
T20GESTTS
Binary Input management
21
T21GESTCT
Binary counter management
22
T22GESTTM
Measurement management
24
T24GESTTC
Control management
25
T25ALARM
Alarm management
28
T28ISAGRAF
Isagraf feature management
Automation Systems R&D – 11/01/07
5
C264 Main Task Identifiers
6
N° Task Identifier
Aim
37
T37ILOCK
PSL and Interlock management
46
T46AUTREC
Auto recloser management
47
T47RED
Redundancy management
49
T49SYCHECK
Synchrocheck management
53
T53ATC
ATCC management
54
T54HMILCD
Local HMI management
62
T62TMU210
TMU210 protection feature management
63
T63MICOMS1
Micom S1 for protection feature management
Automation Systems R&D – 11/01/07
6
C264 Communication Task Identifiers
7
N° Task Identifier
Aim
32
T32DNP3M
DNP3 master management
35
T35IECM2
T101 and T103 master communication level 2
36
T36T103M7
T103 master communication level 7
38
T38SERMAN
IEC61850 server management
40
T40CLIMAN
IEC61850 client management
42
T42MODBM2
Modbus master level 2 management
48
T48MODBM7
Modbus master level 7 management
51
T51DNP3S
DNP3 slave management
55
T55T101S
T101 slave management
58
T58T101M7
T101 master management
59
T59T104S
T104 slave management
Automation Systems R&D – 11/01/07
7
C264 Communication Task Identifiers
8
N° Task Identifier
Aim
60
T60MODBS7
Modbus slave management
61
T61DNP3E
DNP3 IP slave management
Automation Systems R&D – 11/01/07
8
Norgint Selection S_DBTEST_print_norgint_list Action : displays the first norgint and the number of items by kind of datapoint. Parameter : none S_DBTEST_print_computer_wiring Action : displays computer wiring. Parameter : none S_DBTEST_print_line_info Action : displays serial line configuration Parameter : none
9
Automation Systems R&D – 11/01/07
9
Digital Inputs aff_di_board_state board, type Action : Displays all Digital Input states of a board. Parameters : board : board address type : 0 : DIU board, 1 : CCU board
xPS :
10
SET_TRACES 4,16,1
Automation Systems R&D – 11/01/07
10
Analogue Inputs
aff_ai_board_data board Action : Displays all Analogue Inputs values and qualities of the specified board. Parameter : board : board address
11
Automation Systems R&D – 11/01/07
11
CTVT Analogue Inputs
CTVT_GET_MEAS Action : Displays all CTVT Analogue Inputs values and qualities. aff_ctvt_data Action : Displays CTVT data for synchrocheck feature
12
Automation Systems R&D – 11/01/07
12
Digital Outputs
aff_do_data Action : Displays the states of all Digital Outputs of DOU and CCU boards (# : not valid, - : DO not activated, X : DO activated) get_state_do board Action : Displays the states of Digital Outputs of a board (# : not valid, - : DO not activated, X : DO activated) Parameter : board : board address active_ccu board,channel,order Action : Activate a Digital Output on a CCU board Parameters : board : CCU board address channel : Digital Output to activate order : New state (0 : not activated, 1 : Activated) 13
Automation Systems R&D – 11/01/07
13
Digital Outputs
active_dou board,channel,order Action : Activate a Digital Output on a DOU board Parameters : board : DOU board address channel : Digital Output to activate order : New state (0 : not activated, 1 : Activated)
14
Automation Systems R&D – 11/01/07
14
Binary Inputs aff_bi_info norgint Action : Displays Binary Input configuration data Parameters : norgint : Binary Input norgint
15
Automation Systems R&D – 11/01/07
15
Binary Inputs aff_bi_state2 bi_norgint Action : Displays Binary Input state and quality Parameter : none get_di_norgint Action : Displays the Binary Inputs and Digital Inputs database relations Parameter : none aff_di_info board ,channel Action : Displays Digital Input database informations Parameters : board : board number channel : channel number on the board
Most commonly used trace : SET_TRACES 20,16,1 16
Automation Systems R&D – 11/01/07
16
Control and Setpoint Objects
aff_co_info co_norgint Action : Displays Control database informations Parameter : co_norgint : Control norgint
aff_sp_info sp_norgint Action : Displays Setpoint database informations Parameter : sp_norgint : Setpoint norgint
Most commonly used trace : SET_TRACES 24,16,1
17
Automation Systems R&D – 11/01/07
17
Measurements aff_meas_info norgint Action : Displays Measurement database informations. Parameter : norgint : Measurement norgint aff_dm_info dm_norgint Action : Displays Digital Measurement database specific informations. Parameter : dm_norgint : Digital Measurement norgint aff_meas_data norgint Action : Displays Measurement value and quality Parameter : norgint : Measurement norgint
Most commonly used trace : SET_TRACES 22,16,1
18
Automation Systems R&D – 11/01/07
18
Communication Low level communication Spy objects on a communication
19
Automation Systems R&D – 11/01/07
19
Low level communication traces_sccx = level Action : Displays sent and received frames on a legacy bus (serial line) Parameters : x=[1,2,3,4] : communication port number (defined in the database) level =16 : trace activated level =0 : trace not activated
20
Automation Systems R&D – 11/01/07
20
Communication traces_apieth Action : Displays sent and received frames on IP Parameter : traces_apieth =16 : trace activated traces_apieth =0 : trace not activated
aff_104 Action : Displays informations about T104 sockets Parameter : none
21
Automation Systems R&D – 11/01/07
21
Spy objects on a communication SET_TRACES comm task number, level, activation Action : activates or deactivates the traces on the specified task, with the specified trace level. Parameters : comm task number : see communication task identifiers level : 1
Error level
2
Communication frame level
4
Communication data level
8
connection level
10h sent message level 20h received message level 40h Received Binary Input level 80h Received Control level 100h Received Measurement level 22
Automation Systems R&D – 11/01/07
22
Spy objects on a communication
23
200h
Disturbance level (if managed by the communication task)
400h
Tunneling level (if managed by the communication task)
800h
Time synchronization level
1000h
Internal communication event level (specific to each task)
2000h
Sent Measurement level
4000h
Sent Binary Input level
8000h
Task initialization level
10000h
General interrogation level
20000h
Binary counter level
40000h
Protocol level
80000h
Generic traces level
100000h
File management level
200000h
Tap Position Indication level
400000h
SOE management level
Automation Systems R&D – 11/01/07
23
Applicative Features Control management Autorecloser Synchrocheck Time synchronization Alarms ATCC Fast automation and Interlock Redundancy Local HMI
24
Automation Systems R&D – 11/01/07
24
Control Management Trace to set before sending a control to the C264 SET_TRACES 18,4,1 Then check for ack value, or error message
SET_TRACES 24,4,1 Then check for ack value, or error message
For ack value trace only : SET_TRACES 24,16,1
25
Automation Systems R&D – 11/01/07
25
Synchrocheck aff_sc_info index_synchrocheck Action : displays Synchrocheck database information Parameter : index_synchrocheck : Synchrocheck norgint – Synchrocheck first norgint
aff_sc_data index_synchrocheck Action : displays Synchrocheck real time data Parameter : index_synchrocheck : Synchrocheck norgint – Synchrocheck first norgint
aff_synchrocheck_info Action : displays all Synchrochecks database information (for internal and external synchrochecks)
26
Automation Systems R&D – 11/01/07
26
ATCC ccaCatcAff genData, group, node, voltLevel, organ, transf Action : displays ATCC data Parameters : genData : données générales de l’ATCC group : ATCC managed datapoint groups data node : ATCC managed topological nodes voltLevel : data sorted by voltage level organ : ATCC managed organ data transf : ATCC managed transformers data
27
Automation Systems R&D – 11/01/07
27
Fast automation and Interlock aff_eql_info Action : displays Fast Automation and Interlock (EQL) database information Parameter : none Caution : all defined Fast Automation and Interlock are displayed
aff_eql_data
index_eql
Action : displays Fast Automation and Interlock real time data Parameter : index_eql : Number given by the command above (aff_eql_info)
28
Automation Systems R&D – 11/01/07
28
Redundancy aff_red_data Action : Display data used in C264 redundancy. Parameters : none. Displayed data :
Alternative values
Redundancy type BACK UP]
: MAIN
[NO REDUNDANCY;
Computer Mode MAINTENANCE]
: ACTIVE MODE
[STAND BY MODE;
BI change mode
: OFF
[ON]
BI network status : OFF
[ON]
CO change mode
: ON
[OFF]
CO network status : ON
[OFF]
MEAS local status : 0x0000 (valid: 0)
[0 … 0X003F] (valid : 1)
MEAS other status : 0x0000 (valid: 0) [0 … 0X003F] (valid : 1)
29
Automation Systems R&D – 11/01/07
29
Redundancy Default detected on has a value of : CCU board
0x20
DOU board
0x10
CTVT board
0x08
DIU board
0x04
BIU board
0x02
AIU board
0x01
MEAS local and other status are the addition of the above values in case of board failure
30
Automation Systems R&D – 11/01/07
30
View more...
Comments