1. LOS CAMBIOS EN EL SISTEMA MUNDO ACTUAL
1.4. LAS EMPRESAS TRANSNACIONALES Y SU PAPEL EN LA
6.19 I/O I/O control control by local by local identifier identifier
The
The I/O I/O control control by by local local identifieidentifier r service can be available only if previously, aservice can be available only if previously, a Start diagnosticStart diagnostic session
sessionrequest has been received with parameter request has been received with parameter I/O control I/O control diagnostic diagnostic modemode..
This diagnostic mode is a special mode of the ECU: the vehicle is forced into the petrol mode, no This diagnostic mode is a special mode of the ECU: the vehicle is forced into the petrol mode, no measurement is performed on the input, no control is performed on the outputs. Only the measurement is performed on the input, no control is performed on the outputs. Only the communication with the PC or the tester continues to work. This allows for the tester to request for communication with the PC or the tester continues to work. This allows for the tester to request for input signal of the ECU (eventually forcing them to a known state) or for control of output signals input signal of the ECU (eventually forcing them to a known state) or for control of output signals of the ECU to be measured.
of the ECU to be measured.
Request Request Data
Data Byte Byte Description Description Byte Byte Value Value (Hex) (Hex) MnemonicMnemonic
#1
#1 Input Input output output control control by by local local identifier identifier request request SID SID 30 30 IOCBLIDIOCBLID
#2
#2 Input Input output output local local identifier identifier XX XX IOLIDIOLID
#3
#3 Optional Optional parameter parameter #1 #1 XX XX CRTLOPTCRTLOPT :
: : : ::
#n
#n Optional Optional parameter parameter #n-2 #n-2 XXXX
Positive response Positive response Data
Data Byte Byte DescriptioDescription n Byte Byte Value Value (Hex) (Hex) MnemonicMnemonic
#1
#1 Input Input output output control control by by local local identifier identifier positivepositive response SID
response SID
70 IOCBLIDPR
70 IOCBLIDPR
#2
#2 Input Input output output local local identifier identifier XX XX IOLIDIOLID
#3
Negative response Negative response Data
Data Byte Byte Description Description Byte Byte Value Value (Hex) (Hex) MnemonicMnemonic
#1
#1 Negative Negative response response SID SID 7F 7F NACKNACK
#2
#2 Input Input output output control control by by local local identifier identifier request request SID SID 30 30 RDBLIDRDBLID
#3
#3 Response Response code code XX XX RCRC
If the system is in a diagnostic mode different from
If the system is in a diagnostic mode different from I/O I/O control control diagnostic diagnostic modemode, a negative, a negative response is sent to the tester with response code
response is sent to the tester with response code Condition not correct Condition not correct ..
If
If aa input output local identifier input output local identifier is used, such that it is not recognized by the server, a a negativeis used, such that it is not recognized by the server, a a negative response is sent to the tester with response code
response is sent to the tester with response code Subfunction Subfunction not supported not supported ..
The
The I/O control diagnostic mode I/O control diagnostic mode must be activated with amust be activated with a Start diagnostic sessionStart diagnostic session request using therequest using the proper para
proper parameter.meter.
The server does not check for consistence of the parameters or that the number of parameters of the The server does not check for consistence of the parameters or that the number of parameters of the service is correct. Unpredictable results may result if the service is misused.
service is correct. Unpredictable results may result if the service is misused.
To get back to the normal system operation the tester shall:
To get back to the normal system operation the tester shall:
•
• send asend a Stop diagnostic sessionStop diagnostic session request to exit the diagnostic sessionrequest to exit the diagnostic session
•
• send asend a Reset ECU Reset ECU request to reset the ECUrequest to reset the ECU
Input
Input output output local local identifier identifier Value Value NotesNotes Gas valve control
Gas valve control 0x010x01 Controls the gas valveControls the gas valve Gas injectors control
Gas injectors control 0x020x02 Controls the gas Controls the gas injectorsinjectors Petrol injectors control
Petrol injectors control 0x030x03 Verify the status of the petrol injectorsVerify the status of the petrol injectors Petrol injectors disconnection control
Petrol injectors disconnection control 0x040x04 Disconnect the petrol injectors from theDisconnect the petrol injectors from the petrol ECU
petrol ECU Lambda emulation control
Lambda emulation control 0x050x05 Connects / disconnects the Connects / disconnects the oxygenoxygen sensor to / from the petrol ECU sensor to / from the petrol ECU Test switch led
Test switch led 0x060x06 Set the leds of the switchSet the leds of the switch Read switch button
Read switch button 0x070x07 Reads the status of the switch buttonReads the status of the switch button Set lambda emulation voltage
Set lambda emulation voltage 0x080x08 Set the output voltage of the emulationSet the output voltage of the emulation circuit
circuit Read analog voltage
Read analog voltage 0x090x09 Read the analog voltage of a analogRead the analog voltage of a analog input channel
input channel Read status of rpm signal
Read status of rpm signal 0x0A0x0A Read if the rpm signal is active or notRead if the rpm signal is active or not Read rpm period
Read rpm period 0x0B0x0B Read the period of the rpm signalRead the period of the rpm signal Set status of diagnostic lights
Set status of diagnostic lights 0x0C0x0C Set on or off the diagnostic lights on theSet on or off the diagnostic lights on the PCB
PCB
Tab. 15: input output local identifiers Tab. 15: input output local identifiers
6.19.1
6.19.1 Gas Gas valve valve control control
Use this input output control local identifier to set the gas valve ON or OFF.
Use this input output control local identifier to set the gas valve ON or OFF.
Request Request Data
Data Byte Byte Description Description Byte Byte Value Value (Hex) (Hex) MnemonicMnemonic
#1
#1 Input Input output output control control by by local local identifier identifier request request SID SID 30 30 IOCBLIDIOCBLID
#2
#2 Gas Gas valve valve control control 01 01 IOLIDIOLID
#3
#3 Gas Gas valve valve status status (ON (ON = = 0x01, 0x01, OFF OFF = = 0x00) 0x00) XXXX
Positive response Positive response Data
Data Byte Byte DescriptioDescription n Byte Byte Value Value (Hex) (Hex) MnemonicMnemonic
#1
#1 Input Input output output control control by by local local identifier identifier positivepositive response SID
response SID
70 IOCBLIDPR
70 IOCBLIDPR
#2
#2 Gas Gas valve valve control control 01 01 IOLIDIOLID
#n
#n Gas Gas valve valve status status (microcontrolle(microcontroller r pin pin status) status) (0 (0 = = OFF,OFF, 1 = ON)
1 = ON)
XX XX
The
The gas valve st gas valve statusatus parameter in the request selects if the gas valve shall be turned on or off.parameter in the request selects if the gas valve shall be turned on or off.
The
The gas valve status gas valve status parameter in the response sends the actual status of the microcontroller outputparameter in the response sends the actual status of the microcontroller output line.
line.
Pay
Pay attention attention using using this this service service as as gas gas is is likely likely to to flow flow into into the the engine engine when when the the gasgas valve is turned on.
valve is turned on.
6.19.2
6.19.2 Gas Gas injectors injectors control control
Use this I/O control local identifier to set a gas injector ON (open) or OFF (closed).
Use this I/O control local identifier to set a gas injector ON (open) or OFF (closed).
Request Request Data
Data Byte Byte Description Description Byte Byte Value Value (Hex) (Hex) MnemonicMnemonic
#1
#1 Input Input output output control control by by local local identifier identifier request request SID SID 30 30 IOCBLIDIOCBLID
#2
#2 Gas Gas injectors injectors control control 02 02 IOLIDIOLID
#3
#3 Injector Injector number number (0x00-0x07) (0x00-0x07) XXXX
#4
#4 Gas Gas injector injector status status (ON (ON = = 0x01, 0x01, OFF OFF = = 0x00) 0x00) XXXX
Positive response Positive response Data
Data Byte Byte DescriptioDescription n Byte Byte Value Value (Hex) (Hex) MnemonicMnemonic
#1
#1 Input Input output output control control by by local local identifier identifier positivepositive response SID
response SID
70 IOCBLIDPR
70 IOCBLIDPR
#2
#2 Gas Gas injectors injectors control control 02 02 IOLIDIOLID
#3
#3 Gas Gas injectors injectors status status (microcontroller (microcontroller pin pin status). status). XXXX
The
The injector number injector number parameter in the request selects which gas injector is affected by the requestparameter in the request selects which gas injector is affected by the request the parameter can range from 0 (Cil #1) to 7 (Cil #8) for the PIRO04, or from 0 (Cil #1) to the parameter can range from 0 (Cil #1) to 7 (Cil #8) for the PIRO04, or from 0 (Cil #1) to 3 (Cil #4) for the SAM04.
3 (Cil #4) for the SAM04.
The
The injector statusinjector status parameter specifyes if the gas injector shall be turned ON (open) or OFFparameter specifyes if the gas injector shall be turned ON (open) or OFF (closed).
(closed).
In the response the
In the response the gas injectors status gas injectors status output parameter reports the state of all of the gas injectorsoutput parameter reports the state of all of the gas injectors of the ECU. The information is coded in the bits (1 = ON, 0 = OFF), as explained in the following of the ECU. The information is coded in the bits (1 = ON, 0 = OFF), as explained in the following table:
table:
bit
bit b7 b7 b6 b6 b5 b5 b4 b4 b3 b3 b2 b2 b1 b1 b0b0 cyclinder #
cyclinder # 8 8 7 7 6 6 5 5 4 4 3 3 2 2 11 Tab. 16: gas injectors status codification
Tab. 16: gas injectors status codification
The status is referred to the microcontroller pins.
The status is referred to the microcontroller pins.
Pay
Pay attention attention using using this this service service as as gas gas is is likely likely to to flow flow into into the the engine engine when when one one or or more gas injectors are turned on.
more gas injectors are turned on.
6.19.3
6.19.3 Petrol Petrol injectors injectors control control
Use this I/O control local identifier to verify the status of the petrol injectors, as seen by the ECU.
Use this I/O control local identifier to verify the status of the petrol injectors, as seen by the ECU.
The output parameter gives a picture of all of the petrol injectors as indicated in
The output parameter gives a picture of all of the petrol injectors as indicated in Tab. 16.Tab. 16. A bit set toA bit set to 1 means that the corresponding petrol injector is driven (on, powered, open, etc..), a bit cleared to 0 1 means that the corresponding petrol injector is driven (on, powered, open, etc..), a bit cleared to 0 means that the corresponding petrol injector is not driven (off, not powered, closed, etc.).
means that the corresponding petrol injector is not driven (off, not powered, closed, etc.).
Request Request Data
Data Byte Byte Description Description Byte Byte Value Value (Hex) (Hex) MnemonicMnemonic
#1
#1 Input Input output output control control by by local local identifier identifier request request SID SID 30 30 IOCBLIDIOCBLID
#2
#2 Petrol Petrol injectors injectors control control 03 03 IOLIDIOLID
Positive response Positive response Data
Data Byte Byte DescriptioDescription n Byte Byte Value Value (Hex) (Hex) MnemonicMnemonic
#1
#1 Input Input output output control control by by local local identifier identifier positivepositive response SID
response SID
70 IOCBLIDPR
70 IOCBLIDPR
#2
#2 Petrol Petrol injectors injectors control control 03 03 IOLIDIOLID
#3
#3 Petrol Petrol injectors injectors status status (microcontroller (microcontroller pin pin status). status). XXXX
6.19.4
6.19.4 Petrol Petrol connection connection control control
This I/O local identifier allow the user to connect or disconnect the petrol injectors from the petrol This I/O local identifier allow the user to connect or disconnect the petrol injectors from the petrol ECU. The disconnection is actually performed inserting a resistance betwenn the cold terminal of ECU. The disconnection is actually performed inserting a resistance betwenn the cold terminal of the petrol injectors and the relevant input pin of the petrol ECU.
the petrol injectors and the relevant input pin of the petrol ECU.
At the moment, all of the petrol injectors are connected/disconnected at the same time but provision At the moment, all of the petrol injectors are connected/disconnected at the same time but provision is made for the selection of a specific injector to be conneted/disconnected.
is made for the selection of a specific injector to be conneted/disconnected.
Request Request Data
Data Byte Byte Description Description Byte Byte Value Value (Hex) (Hex) MnemonicMnemonic
#1
#1 Input Input output output control control by by local local identifier identifier request request SID SID 30 30 IOCBLIDIOCBLID
#2
#2 Petrol Petrol injectors injectors disconnectidisconnection on control control 04 04 IOLIDIOLID
#3
#4 Petrol Petrol injector injector number number
Positive response Positive response Data
Data Byte Byte DescriptioDescription n Byte Byte Value Value (Hex) (Hex) MnemonicMnemonic
#1
#1 Input Input output output control control by by local local identifier identifier positivepositive response SID
response SID
70 IOCBLIDPR
70 IOCBLIDPR
#2
#2 Petrol Petrol injectors injectors connection connection control control 04 04 IOLIDIOLID
#3
#3 Petrol Petrol injectors injectors connection connection status status (microcontroller (microcontroller pinpin status).
status).
XX XX
The
The petrol connection status petrol connection status return parameter indicates the status of the pin of the microcontroller return parameter indicates the status of the pin of the microcontroller relevant to the connection/disconnection of the petrol injectors. If equal to zero, the petrol injectors relevant to the connection/disconnection of the petrol injectors. If equal to zero, the petrol injectors are disconnected from the petrol ECU, if non-zero, the the petrol injectors are connected to the are disconnected from the petrol ECU, if non-zero, the the petrol injectors are connected to the petrol ECU.
petrol ECU.
6.19.5
6.19.5 Lambda Lambda emulation emulation control control
Use this I/O local identifier to connect (emulation OFF) (disconnect (emulation ON)) the oxygen Use this I/O local identifier to connect (emulation OFF) (disconnect (emulation ON)) the oxygen sensor of the vehicle to (from) the petrol ECU.
sensor of the vehicle to (from) the petrol ECU.
If the emulation is turned on, the petrol ECU does not measure the oxygen sensor signal, but a If the emulation is turned on, the petrol ECU does not measure the oxygen sensor signal, but a signal generated by the gas ECU.
signal generated by the gas ECU.
Request Request Data
Data Byte Byte Description Description Byte Byte Value Value (Hex) (Hex) MnemonicMnemonic
#1
#1 Input Input output output control control by by local local identifier identifier request request SID SID 30 30 IOCBLIDIOCBLID
#2
#2 Lambda Lambda emulation emulation control control 05 05 IOLIDIOLID
#3
#3 Lambda Lambda emulation emulation status status (1 (1 = = ON, ON, 0 0 = = OFF) OFF) XXXX
Positive response Positive response Data
Data Byte Byte DescriptioDescription n Byte Byte Value Value (Hex) (Hex) MnemonicMnemonic
#1
#1 Input Input output output control control by by local local identifier identifier positivepositive response SID
response SID
70 IOCBLIDPR
70 IOCBLIDPR
#2
#2 Lambda Lambda emulation emulation control control 05 05 IOLIDIOLID
#3
#3 Lambda Lambda emulation emulation status status (microcontroller (microcontroller pin pin status). status). XXXX
The
The lambda emulation statuslambda emulation status return parameter indicates the status of the lambda emulation referredreturn parameter indicates the status of the lambda emulation referred to the microcontroller pins. If zero, the lambda emulation is off and the oxygen sensor is connected to the microcontroller pins. If zero, the lambda emulation is off and the oxygen sensor is connected to the petrol ECU, if non-zero, the emulation is on and the oxygen sensor is disconnected from the to the petrol ECU, if non-zero, the emulation is on and the oxygen sensor is disconnected from the petrol ECU. term fuel trim as the combustion feedback is missing.
term fuel trim as the combustion feedback is missing.
6.19.6
6.19.6 Test Test switch switch ledsleds
Use this I/O local identifier to sel the led indication on the switch. The parameter let the user test Use this I/O local identifier to sel the led indication on the switch. The parameter let the user test the different operating modes of the switch indications and the functioning of the led indicators:
the different operating modes of the switch indications and the functioning of the led indicators:
Request Request Data
Data Byte Byte Description Description Byte Byte Value Value (Hex) (Hex) MnemonicMnemonic
#1
#1 Input Input output output control control by by local local identifier identifier request request SID SID 30 30 IOCBLIDIOCBLID
#2
#2 Test Test switch switch leds leds 06 06 IOLIDIOLID
#3
#3 Ouput Ouput configuratconfiguration ion XXXX
Positive response Positive response Data
Data Byte Byte DescriptioDescription n Byte Byte Value Value (Hex) (Hex) MnemonicMnemonic
#1
#1 Input Input output output control control by by local local identifier identifier positivepositive response SID
Negative response Negative response Data
Data Byte Byte Description Description Byte Byte Value Value (Hex) (Hex) MnemonicMnemonic
#1
#1 Negative Negative response response SID SID 7F 7F NACKNACK
#2
#2 Input Input output output control control by by local local identifier identifier request request SID SID 30 30 RDBLIDRDBLID
#3
#3 Response Response code code 31 31 RCRC
The parameter
The parameter output configurationoutput configuration can have the following values:can have the following values:
output output configuration configuration
V
Vaalluuee PPeettrrooll GGaas s LLeevveel l BBuuzzzzeer r
Off
Off 0x00 0x00 OFF OFF OFF OFF OFF OFF OFFOFF Petrol
Petrol mode mode 0x01 0x01 ON ON OFF OFF OFF OFF OFFOFF W
Waaiit t mmoodde e 00xx002 2 OON N FFLLAASSHH ½ ½ OOFFFF Gas
Gas mode mode 0x03 0x03 OFF OFF ON ON ½ ½ OFFOFF Reserve
Reserve 0x04 0x04 OFF OFF ON ON RES RES OFFOFF
¼
¼ tank tank 0x05 0x05 OFF OFF ON ON ¼ ¼ OFFOFF
½
½ tank tank 0x06 0x06 OFF OFF ON ON ½ ½ OFFOFF
¾
¾ tank tank 0x07 0x07 OFF OFF ON ON ¾ ¾ OFFOFF full
full tank tank 0x08 0x08 OFF OFF ON ON FULL FULL OFFOFF low
low pressure pressure alarm alarm 0x09 0x09 ON ON OFF OFF FLASHFLASH (full / res) (full / res)
ON ON
Tab. 17: output configurations for the test of the leds of the switch Tab. 17: output configurations for the test of the leds of the switch
If the
If the output configurationoutput configuration parameter has a value that is not within those indicated inparameter has a value that is not within those indicated in Tab. 17,Tab. 17, aa negative response message will be received by the tester with response code
negative response message will be received by the tester with response code Request Request Out Out Of Of Range
Range..
6.19.7
6.19.7 Read Read switch switch buttonbutton
Use this I/O local indentifier to test the status of the switch button. The status will be acquired as it Use this I/O local indentifier to test the status of the switch button. The status will be acquired as it is, without filtering and without any care to polarizing voltages, etc.
is, without filtering and without any care to polarizing voltages, etc.
Request Request Data
Data Byte Byte Description Description Byte Byte Value Value (Hex) (Hex) MnemonicMnemonic
#1
#1 Input Input output output control control by by local local identifier identifier request request SID SID 30 30 IOCBLIDIOCBLID
#2
#2 Read Read switch switch button button 07 07 IOLIDIOLID
Positive response Positive response Data
Data Byte Byte DescriptioDescription n Byte Byte Value Value (Hex) (Hex) MnemonicMnemonic
#1
#1 Input Input output output control control by by local local identifier identifier positivepositive response SID microcontroller: this means that the status is how the system sees the switch button, regardless of its microcontroller: this means that the status is how the system sees the switch button, regardless of its actual state.
actual state.
6.19.8
6.19.8 Set lamSet lambda bda emulation emulation voltagevoltage
Use this I/O local identifier to set the output voltage of the oxygen sensor emulator circuit. To have Use this I/O local identifier to set the output voltage of the oxygen sensor emulator circuit. To have
Use this I/O local identifier to set the output voltage of the oxygen sensor emulator circuit. To have Use this I/O local identifier to set the output voltage of the oxygen sensor emulator circuit. To have