PACIS
C264 – EXPERTISE MAINTENANCE GUIDE
APPROVAL OF THE DOCUMENT
NAME FUNCTION DATE VISA
S.GADAY CHEF PROJET
C264 JM. BOISSET PACIS PROJECT
MANAGER
EVOLUTION OF THE DOCUMENT
EDITION DATE DRAFT DESCRIPTION OF THE EVOLUTION
1 INTRODUCTION...6
2 Connecting the shell...7
3 General traces...8
3.1 HELP... 8
3.2 help... 8
3.3 OdLogLevel x...8
3.4 SET_TRACES(task ID,msk,status)...8
3.4.1 Main Task identification number...8
3.4.2 Communication Task identification number...9
3.4.3 Traces mask...9
3.4.4 Communication traces...10
3.5 S_DBTEST_print_bay...11
3.6 S_DBTEST_print_norgint_list...11
3.7 S_DBTEST_print_computer_wiring...12
4 TRACES FOR OPERATING MODE...13
4.1 SET_DEV_MODE x...13
4.2 SET_MAINT...13
4.3 SET_ACTIVE...13
5 Traces for the drivers and the communication protocols...14
5.1 traces_sccx=y...14
5.2 traces_apieth x...14
5.3 TunRSLines...14
5.4 TunRSIed x...14
5.5 S_DBTEST_print_line_info...14
6 Traces for DIGITAL Inputs (DI)...15
6.1 active_di board,input,state,valid...15
6.2 aff_di_info board,input...15
6.3 aff_di_state board,input...15
6.4 aff_di_board_state board,type...15
7 Traces for ANALOGUE Inputs (AI)...16
7.3 aff_ai_board_data board...16
7.4 set_ai_data index,state,value...16
8 Traces for CT/VT measurements...17
8.1 CTVT_GET_MEAS...17
8.2 aff_ctvt_config...17
8.3 aff_ctvt_data...17
9 Traces for DIGITAL OUTputs (DO)...18
9.1 aff_do_data...18
9.2 get_state_do board...18
9.3 active_ccu board,channel,order...18
9.4 active_dou board,channel,order...18
10
Traces for Binary Inputs (BI)...19
10.1 aff_bi_info bi_norgint...19
10.2 aff_bi_grp_info bi_norgint...19
10.3 aff_bi_state2 bi_norgint...19
10.4 active_bi norgint, order...19
10.5 get_di_norgint...19
11
Traces for Controls...20
11.1 aff_co_info co_norgint...20
11.2 aff_all_co_info norgdeb, norgfin...20
11.3 aff_sp_info sp_norgint...20
12
Traces for counters (CT)...21
12.1 aff_ct_data ct_norgint...21
12.2 aff_ct_info ct_norgint...21
13
Traces for measurements (MV)...22
13.1 aff_dm_info dm_norgint...22 13.2 aff_meas_info norgint...22 13.3 aff_meas_data norgint...22 13.4 active_meas norgint,value,quality...22 13.5 active_from_ai norgint,type,value,quality...22 13.6 active_meas_ctvt norgint,value,quality...22 13.7 active_meas_ied norgint,value,quality...22
13.8 aff_sig_info norgint...23 13.9 aff_sig_data norgint...23 13.10 active_sig norgint,value,quality...23 13.11 aff_spi_info norgint...23 13.12 aff_spi_data norgint...23 13.13 active_spi norgint,value,quality...23
14
Traces for autorecloser, switchgear and modules...24
14.1 S_DBTEST_print_ar_item x...24 14.2 S_AUTREC_get_ar_context...24 14.3 S_AUTREC_get_ar_state...24 14.4 S_DBTEST_print_cb_item x...24 14.5 aff_sp_cb_info x...24 14.6 aff_discsw_info...24 14.7 aff_module_info...24
15
Traces for time synchronisation...25
15.1 synchroInfoShow...25
15.2 synchroBdShow...25
16
Traces for alarms...26
16.1 aff_alarm_info x...26
16.2 ALARM_HELP...26
16.3 read_alarm_header...26
16.4 read_diff_alarm_header...26
17
Traces for ATCC...27
17.1 ccaCatcAff donGen,group,node,nivTens,device,transf...27
18
Traces for Fast Automatism et Interlock...28
18.1 aff_eql_info...28
18.2 aff_eql_data index_eql...28
19
Traces for Redundancy...29
1 INTRODUCTION
The aim of this document is to propose the basis of expertise of the C264 application, based on the shell traces concept.
2 CONNECTING THE SHELL
To connect the shell you need :
a straight cable.
a tool like Tera-Term-Pro or HyperTerminal. Communication parameter are :
19200 bauds
8 bits
No parity
1 stop
3 GENERAL TRACES
3.1 HELP
Action : display the debug control available in the C264 application Parameters : none
3.2 help
Action : display the debug control available in the VxWorks kernel Parameters : none
3.3 OdLogLevel x
Action : display traces in the UCA2 / IEC61850 agency Parameters : x = 1 : trace activated
X = 0 : trace desactivated
3.4 SET_TRACES(task ID,msk,status)
Action : activate / desctivate the traces
Parameters : task_ID : task identification number (refer to the table below) Msk : traces level (refer to the table below)
Status : 1 trace activated with the specified level 0 trace desactivated
3.4.1 Main Task identification number
N° Name Role
01 T01CTRL Control Task (used to managed the Digital Output selfcheck) 02 T02SUPERV Supervision task
04 T04HDLDI Handler for DI acquisition 06 T06HDLAI Handler for AI acquisition 13 T13SYNCHRO Time synchronisation task 18 T18COND Control management task 20 T20GESTTS xPS management task 21 T21GESTCT Counters management task 22 T22GESTTM MV management task 24 T24GESTTC xPC management task 25 T25ALARM Alarm management task 28 T28ISAGRAF ISAGRAF management task 37 T37ILOCK Interlock / PSL management task 46 T46AUTREC Autorecloser management task
N° Name Role
47 T47RED Redundancy management task 49 T49SYCHECK Synchrocheck management task 53 T53ATC ATCC management task
54 T54HMILCD Local HMI management task
62 T62TMU210 Protection function management task 63 T63MICOMS1 MiCOM S1 for protection management task
3.4.2 Communication Task identification number
N° Name Role
32 T32DNP3M Master DNP3 communication task
35 T35IECM2 Master T101/T103 level 2 communication task 36 T36T103M7 Master T103 level 7 communication task 38 T38SERMAN Station Bus Server management task 40 T40CLIMAN Station Bus Client management task 42 T42MODBM2 Master Modbus level 2 communication task 48 T48MODBM7 Master Modbus level 7 communication task 51 T51DNP3S Slave DNP3 communication task
55 T55T101S Slave T101 communication task
58 T58T101M7 Master T101 level 7 communication task 59 T59T104S Server T104 communication task
60 T60MODBS7 Slave Modbus level 7 communication task 61 T61DNP3E Slave DNP3 IP communication task
3.4.3 Traces mask
Bit Description 0 Input messages 1 Output messages
2 Messages during task treatment 3 Level 2 traces (if exist)
4 Not used 5 Not used 6 Not used 7 Not used Example :
3.4.4 Communication traces
The shell function « TRANS_PRINT_TRACE_LEVELS » lists the different trace levels.
Trace name Level Comment
TRANS_TRACE_NONE 0x0000 No trace are allowed TRANS_TRACE_ERROR 0x0001 Trace of error
TRANS_TRACE_TRAME 0x0002 Trace of sent / received frames TRANS_TRACE_DATA 0x0004 Trace of sent / received data
TRANS_TRACE_CNX 0x0008 Trace of indication of connection / disconnection of IED TRANS_TRACE_MES_EMI 0x0010 Trace of sent messages
TRANS_TRACE_MES_REC 0x0020 Trace of received message TRANS_TRACE_TRT_TS 0x0040 Trace of BI management
TRANS_TRACE_TRT_TC 0x0080 Trace of command management TRANS_TRACE_TRT_TM 0x0100 Trace of measurement management TRANS_TRACE_TRT_PERT 0x0200 Trace of disturbance management TRANS_TRACE_TRT_TUN 0x0400 Trace of tunneling management
TRANS_TRACE_SYNCHRO 0x0800 Trace of synchronisation frames sent to IED TRANS_TRACE_TRT_EVT 0x1000 Trace of events in modbus protocol
TRANS_TRACE_EMI_TM 0x2000 Trace of TM sent to Application after processing TRANS_TRACE_EMI_TS 0x4000 Trace of TS sent to Application after processing TRANS_TRACE_INIT 0x8000 Trace of initialisation.
TRANS_TRACE_TRT_GI 0x10000 Trace of General Interrogation TRANS_TRACE_TRT_CT 0x20000 Trace of Counter management TRANS_TRACE_PROTOCOL 0x40000 Trace from Triangle SCL Stack TRANS_TRACE_TRT_GEN 0x80000 General treatment
TRANS_TRACE_TRT_FIC 0x100000 Trace for file upload or download TRANS_TRACE_TRT_SPI 0x200000 Trace for SPI management TRANS_TRACE_TRT_SOE 0x400000 Trace for SOE management TRANS_TRACE_TRT_POL 0x800000 Trace for polling
TRANS_TRACE_TRT_SP 0x1000000 Trace of SetPoint management TRANS_TRACE_TRT_SIG 0x2000000 Trace of SIG (MPS) Management
The following table indicates which trace levels are implemented for which process :
Trace name IECM2 T103M7 MODBM2 MODBM7 DNP3M T101S
TRANS_TRACE_ERROR X X X X X X TRANS_TRACE_TRAME X X TRANS_TRACE_DATA X X X X TRANS_TRACE_CNX X X X X X X TRANS_TRACE_MES_EMI X X TRANS_TRACE_MES_REC X X X X TRANS_TRACE_TRT_TS X X X TRANS_TRACE_TRT_TC X X X X TRANS_TRACE_TRT_TM X X X TRANS_TRACE_TRT_PERT X X TRANS_TRACE_TRT_TUN X X X X TRANS_TRACE_SYNCHRO X X X X TRANS_TRACE_TRT_EVT X TRANS_TRACE_EMI_TM X X TRANS_TRACE_EMI_TS X X X TRANS_TRACE_INIT X X X X X TRANS_TRACE_TRT_GI X X X X TRANS_TRACE_TRT_CT X X X X TRANS_TRACE_PROTOCOL X X TRANS_TRACE_TRT_GEN X X TRANS_TRACE_TRT_FIC X TRANS_TRACE_TRT_SPI X TRANS_TRACE_TRT_SOE X TRANS_TRACE_TRT_POL X X
Nota : to have the complete list of task, type « i » on the shell
3.5 S_DBTEST_print_bay
Action : display the electrical configuration Parameters : none
3.6 S_DBTEST_print_norgint_list
Action : display the list of configured norgint Parameters : none
3.7 S_DBTEST_print_computer_wiring
Action : display the computer wiring Parameters : none
4 TRACES FOR OPERATING MODE
4.1 SET_DEV_MODE x
Action : change the computer operating mode Parameters : x=1 -> test mode
x=2 -> active mode x=3 -> stand-by mode x=4 -> maintenance mode
4.2 SET_MAINT
Action : change the computer mode to maintenance Parameters : none
4.3 SET_ACTIVE
Action : change the computer mode to operational Parameters : none
5 TRACES FOR THE DRIVERS AND THE COMMUNICATION
PROTOCOLS
5.1 traces_sccx=y
Action : display the input and output frames for a legacy bus Parameters : x=[1,2,3,4] : port number defined in configuration
y=16 : trace activated y=0 : trace desactivated
5.2 traces_apieth x
Action : display the input and output frames on TCP-IP Parameters : x=16 : trace activated
x=0 : trace desactivated
5.3 TunRSLines
Action : display the protocol used on the configured legacy bus Parameters : none
5.4 TunRSIed x
Action : display the information associated to the IEDs connected to the legacy bus number x Parameters : x = legacy bus number (0 for SCC1, 1 for SCC2, …)
5.5 S_DBTEST_print_line_info
Action : display the information associated to the configured legacy bus Parameters : none
6 TRACES FOR DIGITAL INPUTS (DI)
6.1 active_di board,input,state,valid
Action : simulate a DI state change Parameters : board : board number
input : channel number
state : DI state (1=SET, 0=RESET) valid: DI quality (values to be defined)
6.2 aff_di_info board,input
Action : display configuration attributes of a DI Parameters : board : board number
input : channel number
6.3 aff_di_state board,input
Action : display current state of a DI Parameters : board : board number
input : channel number
6.4 aff_di_board_state board,type
Action : display current state of all board channels Parameters : board : board number
7 TRACES FOR ANALOGUE INPUTS (AI)
7.1 aff_ai_info board,input
Action : display configuration attributes of an AI Parameters : board : board number
input : channel number
7.2 aff_ai_data board,input
Action : display current state and value of an AI Parameters : board : board number
input : channel number
7.3 aff_ai_board_data board
Action : display current state and value of all board channels Parameters : board : board number
7.4 set_ai_data index,state,value
Action : change the value and state of an AI
Parameters : index : AI index (input number + board number*number of inputs per board)
state : AI quality (values to be defined) value : AI value
8 TRACES FOR CT/VT MEASUREMENTS
8.1 CTVT_GET_MEAS
Action : display value and quality of all measurements from TMU200/220 board Parameters : none
8.2 aff_ctvt_config
Action : display configuration attributes of the TMU200/220 board Parameters : none
8.3 aff_ctvt_data
Action : display data from TMU200/220 board associated to the synchrocheck function Parameters : none
9 TRACES FOR DIGITAL OUTPUTS (DO)
9.1 aff_do_data
Action : display state of all channels of all configured DOU/CCU board Parameters : none
(# : invalid / - : not activated / + : activated)
9.2 get_state_do board
Action : display state of all channels of a board Parameters : board : board number
(# : invalid / - : not activated / + : activated)
9.3 active_ccu board,channel,order
Action : activate an output on a CCU board Parameters : board : board number
channel : channel number order : 1=activate, 0=desactivate
9.4 active_dou board,channel,order
Action : activate an output on a DOU board Parameters : board : board number
channel : channel number order : 1=activate, 0=desactivate
10 TRACES FOR BINARY INPUTS (BI)
10.1 aff_bi_info bi_norgint
Action : display the configuration attributes of a BI Parameters : bi_norgint : requested BI norgint
10.2 aff_bi_grp_info bi_norgint
Action : display the list of BI associated to a group Parameters : bi_norgint : norgint of the BI group
10.3 aff_bi_state2 bi_norgint
Action : display relation between DI and BI Parameters : bi_norgint : requested BI norgint
10.4 active_bi norgint, order
Action : modify the state of a BI Parameters : norgint : BI norgint
order : 1=SET, 0=RESET
10.5 get_di_norgint
Action : display relation between DI and BI Parameters : none
11 TRACES FOR CONTROLS
11.1 aff_co_info co_norgint
Action : display configuration attributes of a control Parameters : co_norgint : norgint of the requested control
11.2 aff_all_co_info norgdeb, norgfin
Action : display configuration attributes of controls between norgdeb and norgfin Parameters : norgdeb : norgint of the first control
norgfin : norgint of the last control
11.3 aff_sp_info sp_norgint
Action : display the configuration attributes of a setpoint Parameters : sp_norgint : norgint of the setpoint
12 TRACES FOR COUNTERS (CT)
12.1 aff_ct_data ct_norgint
Action : display the current counter value Parameters : ct_norgint : norgint of the counter
12.2 aff_ct_info ct_norgint
Action : display the configuration attributes of a counter Parameters : ct_norgint : norgint of the counter
13 TRACES FOR MEASUREMENTS (MV)
13.1 aff_dm_info dm_norgint
Action : display the configuration attributes of a digital measurements Parameters : dm_norgint : norgint of the measurement
13.2 aff_meas_info norgint
Action : display the configuration attributes of an analogue measurements Parameters : norgint : norgint of the measurement
13.3 aff_meas_data norgint
Action : display value and status of the measurement Parameters : norgint : norgint of the measurement
13.4 active_meas norgint,value,quality
Action : change the value and status of the measurement Parameters : norgint : norgint of the measurement
Value : measurement value
Quality : 0=valid, 1=faulty, 3=open circuit, 4=saturated
13.5 active_from_ai norgint,type,value,quality
Action : change the value and status of the measurement provided by an AIU board Parameters : norgint : norgint of the measurement
Type : 0=measurement,1=TPI Value : measurement value
Quality : 0=valid, 1=faulty, 2=undefined, 3=open circuit, 4=saturated, 5=unknown
13.6 active_meas_ctvt norgint,value,quality
Action : change the value and status of the measurement provided by the CT/VT board Parameters : norgint : norgint of the measurement
Value : measurement value
Quality : 0=valid, 1=faulty, 3=saturated
Action : change the value and status of the measurement provided by an IED (legacy or
IEC61850)
Parameters : norgint : norgint of the measurement
Value : measurement value
Quality : 0=valid, 1=faulty, 2=unknown
13.8 aff_sig_info norgint
Action : display configuration attributes of a MPS Parameters : norgint : norgint of the MPS
13.9 aff_sig_data norgint
Action : display status of the MPS Parameters : norgint : norgint of the MPS
13.10 active_sig norgint,value,quality
Action : change the value and status of the TPI Parameters : norgint : norgint of the TPI
Value : TPI value
Quality : 0=valid, 1=faulty, 2=undefined, 3=toggling, 4=unknown
13.11 aff_spi_info norgint
Action : display configuration attributes of a TPI Parameters : norgint : norgint of the TPI
13.12 aff_spi_data norgint
Action : display value and status of the TPI Parameters : norgint : norgint of the TPI
13.13 active_spi norgint,value,quality
Action : change the value and status of the TPI Parameters : norgint : norgint of the TPI
Value : TPI value
14 TRACES FOR AUTORECLOSER, SWITCHGEAR AND MODULES
14.1 S_DBTEST_print_ar_item x
Action : display autorecloser data
Parameters : x : norgint of the autorecloser (available with S_DBTEST_print_norgint_list)
14.2 S_AUTREC_get_ar_context
Action : display all controls used by the autorecloser Parameters : none.
14.3 S_AUTREC_get_ar_state
Action : display the current autorecloser status Parameters : norgint of the autorecloser.
14.4 S_DBTEST_print_cb_item x
Action : display circuit breaker data
Parameters : x : norgint of the circuit breaker
14.5 aff_sp_cb_info x
Action : display configuration attributes of a circuit breaker Parameters : x : norgint of the circuit breaker
14.6 aff_discsw_info
Action : display configuration attributes of a switch Parameters : x : norgint of the switch
14.7 aff_module_info
Action : display configuration attributes of a module Parameters : x : norgint of the module
15 TRACES FOR TIME SYNCHRONISATION
15.1 synchroInfoShow
Display synchronisation information
15.2 synchroBdShow
16 TRACES FOR ALARMS
16.1 aff_alarm_info x
Action : display configuration attributes of an alarm Parameters : x : norgint of the alarm.
16.2 ALARM_HELP
Action : List of shell action linked to the alarms Parameters : none
16.3 read_alarm_header
Action : display global data of the alarm buffer Parameters : none
16.4 read_diff_alarm_header
Action : display global data of the differed alarm buffer Parameters : none
17 TRACES FOR ATCC
17.1 ccaCatcAff donGen,group,node,nivTens,device,transf
Action : display of ATCC data
Parameters : donGen : ATCC general data
Group : data on groups managed by the ATCC Node : data on topological node
NivTens : display of data per voltage level device : display of data per devices Transf : display of data per transformer
18 TRACES FOR FAST AUTOMATISM ET INTERLOCK
18.1 aff_eql_info
Action : display configuration attributes of all EQL Parameters : none
18.2 aff_eql_data index_eql
Action : display data status of the EQL
19 TRACES FOR REDUNDANCY
19.1 aff_red_data
Action : display data linked to C264 redundancy Parameters : none