$3A number of cylinders?
Thread Starter
Supreme Member
Joined: Mar 2001
Posts: 2,262
Likes: 0
From: Renton, WA
Car: 1985 Camaro, 1986 Trans Am
Engine: 5.0L carbed and 5.0L TPI
Transmission: TH700R4
Axle/Gears: 3.23 and 3.27 posi
$3A number of cylinders?
One of the constants is 'number of cylinders'. This value in my stock LB8 bin (HNL5360) is 192. The other LB8 bins I looked at had this same value as well. What does this mean (I expected the value would be 6)?
Moderator
iTrader: (1)
Joined: Mar 2002
Posts: 18,432
Likes: 233
From: Chasing Electrons
Car: check
Engine: check
Transmission: check
It is an interesting method of sepecifying the cylinder count. It is done this way to make it easier to use in the actual code. The cylinder count number is based on 256 being an 8 cylinder. In this manner the value of 0 is used as the 8 cylinder select value. Which also means that if you want to use a GM ECM on a 10 or 12 cylinder engine, the code will need to be modified.
Back to the 192: divide the number of cylinders by 8 and multiply it by 256. Or, just multiply the number of cylinders by 32 (256 / 8):
The result is the cylinder select value:
192 = 6 / 8 * 256 ; 6 cyl
160 = 5 / 8 * 256 ; 5 cyl
128 = 4 / 8 * 256 ; 4 cyl
96 = 3 / 8 * 256 ; 3 cyl
192 = 6 * 32 ; 6 cyl
RBob.
Back to the 192: divide the number of cylinders by 8 and multiply it by 256. Or, just multiply the number of cylinders by 32 (256 / 8):
The result is the cylinder select value:
192 = 6 / 8 * 256 ; 6 cyl
160 = 5 / 8 * 256 ; 5 cyl
128 = 4 / 8 * 256 ; 4 cyl
96 = 3 / 8 * 256 ; 3 cyl
192 = 6 * 32 ; 6 cyl
RBob.
Thread
Thread Starter
Forum
Replies
Last Post
codeysabatini
Engine/Drivetrain/Suspension Parts for Sale
5
Nov 10, 2015 04:07 PM
Springster
Tech / General Engine
2
Sep 13, 2015 01:38 PM




