OCP4777X EFIS_FO

Forum for the OCP4777X driver that controls PMDG B777X
Post Reply
klaus
Posts: 8
Joined: Sun Nov 23, 2014 3:15 pm

OCP4777X EFIS_FO

Post by klaus »

HI Roar

has changed the script so my MCP and "2 EFIS fits with input and output.
 
all encoder on IAS HDG ALT is slow and and the numbers continue to change when you have stopped rotating buttons.


EFIS_CAPT works ok, except the encoder which controls MINS and BARO up and down, no movment in FSX, I can see they works in IOCPConsole.


EFIS_FO no contact at all in FSX, although the script works in IOCPconsole
here is my ini.sioc

OCP4777X Driver v 2.1

[SIOC]
IOCP_port=8092
IOCP_timeout=4000
Minimized=Yes
toggle_delay=20
[IOCARDS MODULE]
IOCard_disable=No
IOCard_LPT=No
[FSUIPC MODULE]
FSUipcdisable=No
FSUipcRefresh=60
[IOCP CLIENTS MODULES]
IOCPini_delay= 3000
IOCPclient0_disable=no
IOCPclient0_host=localhost
IOCPclient0_port=8099
IOCPclient1_disable=yes
IOCPclient1_host=localhost
IOCPclient1_port=8092
[SOUND MODULE]
Sound_disable=Yes
Volume=100
[*]
CONFIG_FILE=OCP4777X_v1.3KS.ssi
MASTER=15,4,1,83
MASTER=7,4,1,89
MASTER=17,4,1,87

Klaus
mvr1918
Site Admin
Posts: 1624
Joined: Thu Aug 30, 2012 3:35 pm

Re: OCP4777X EFIS_FO

Post by mvr1918 »

Did the MCP behave normal before you added in the EFIS-FO in the modified script?


This line
MASTER=15,4,1,83

indicates you have your own built MCP hooked on to a MASTER card. Is it correct?

If so, make sure all your modified ins and outs are correct in respect to the 777X.

A MCP v2 should read
MASTER=15,5,1,83

A MCP v3 should read
MASTER=15,15,1,83
klaus
Posts: 8
Joined: Sun Nov 23, 2014 3:15 pm

Re: OCP4777X EFIS_FO

Post by klaus »

HI
1: no

have problems with encoder which are slow and tend to change direction even if you only turn one way.

2: yes

having modified the ins and outs of script 777V1.3, uses the same MCP 737 which work fine with 737 script.

EFIS_CAPT no reaction to the encoder, however, they act in IOCP

EFIS_FO no reaction, only in IOCP

Have config MCP and EFIS_CAPT first, then added EFIS_FO and made new config in 777sioc.ini

Klaus
mvr1918
Site Admin
Posts: 1624
Joined: Thu Aug 30, 2012 3:35 pm

Re: OCP4777X EFIS_FO

Post by mvr1918 »

You say that IOCPConsole looks OK.

If you change i.e. ALT ( or another knob that behaves faulty) on the virtual MCP, does it shows up correct on the OC MCP?

Can you check the SIOC variables( see variable numbers below) for ALT,HDG, etc in IOCPConsole when you turn first on virtual MCP and next on OC MCP.


(1369, sPmdgData.MCP_IASMach);
(1371, (int)sPmdgData.MCP_Heading);
(1372, (int)sPmdgData.MCP_Altitude);
(1373, (int)sPmdgData.MCP_VertSpeed);
(1374, (int)sPmdgData.MCP_FPA);
(1375, (int)sPmdgData.MCP_VertSpeedBlank);

What are the different pattern you get?
klaus
Posts: 8
Joined: Sun Nov 23, 2014 3:15 pm

Re: OCP4777X EFIS_FO

Post by klaus »

HI Roar

Yes turning knob on the virtual MCP, solid and shows up correct on the OC MCP

Have checked SIOC variables in IOCPConsole:


Turning virtual MCP, here shows IOCP does the proper value for all variables

but turning OC MCP show finally does the proper value of all variables when the display on OC mcps has stabilized (stop spinning)




HI Roar

Yes turning knob on the virtual MCP, turns solid and fast, and shows up correct on the OC MCP Displays

Have checked SIOC variables in IOCPConsole:

Turning virtual MCP, here shows IOCP the proper value for all variables
but turning OC MCP show finally the proper value of all variables, when the displays on OC mcps has been stabilized (stop spinning)

oddly enough - at the turn of OC MCP knobs are the same knob on virtual MCP stationary or rotating in the opposite direction (tried to change * -1 ,,,changed direction but with the same result , is negative or is stationary) ?


thanks for all the help,
have a great weekend

Klaus
klaus
Posts: 8
Joined: Sun Nov 23, 2014 3:15 pm

Re: OCP4777X EFIS_FO

Post by klaus »

HI Roar

misunderstood your question, here are the values


1369=171 - IASfrom777X
22=171 - IAS
19=71 - D_IAS
1385=87 - Speed_Dial (1369, sPmdgData.MCP_IASMach); virtual
1369=172 - IASfrom777X
22=172 - IAS
19=72 - D_IAS
1385=91 - Speed_Dial
1369=173 - IASfrom777X
22=173 - IAS
19=73 - D_IAS
1385=95 - Speed_Dial
________________________________
24=-1 - ROTARY_IAS
23=297 - Delta_IAS
2553=0 - IASto777X
24=0 - ROTARY_IAS
1369=171 - IASfrom777X
22=171 - IAS
19=71 - D_IAS OC
1385=0 - Speed_Dial
24=-1 - ROTARY_IAS
23=298 - Delta_IAS
2553=1 - IASto777X
24=0 - ROTARY_IAS
1369=172 - IASfrom777X
22=172 - IAS
19=72 - D_IAS
1385=1 - Speed_Dial
24=-1 - ROTARY_IAS
23=299 - Delta_IAS
2553=0 - IASto777X
24=0 - ROTARY_IAS
1369=173 - IASfrom777X
22=173 - IAS
19=73 - D_IAS
1385=0 - Speed_Dial
_____________________________
1371=301 - HDGfrom777X
28=301 - HDG_Display
1386=15 - Head_Dial
1371=302 - HDGfrom777X (1371, (int)sPmdgData.MCP_Heading); virtual
28=302 - HDG_Display
1386=19 - Head_Dial
1371=303 - HDGfrom777X
28=303 - HDG_Display
1386=23 - Head_Dial
___________________________
34=-1 - ROTARY_Hdg
29=181 - D_Hdg
2545=0 - HDGto777X
34=0 - ROTARY_Hdg
1371=301 - HDGfrom777X OC
28=301 - HDG_Display
1386=0 - Head_Dial
34=-1 - ROTARY_Hdg
29=182 - D_Hdg
2545=1 - HDGto777X
34=0 - ROTARY_Hdg
1371=302 - HDGfrom777X
28=302 - HDG_Display
1386=1 - Head_Dial
34=-1 - ROTARY_Hdg
29=183 - D_Hdg
2545=0 - HDGto777X
34=0 - ROTARY_Hdg
1371=303 - HDGfrom777X
28=303 - HDG_Display
1386=0 - Head_Dial
_____________________
1372=34100 - ALTfrom777X
35=100 - D_ALT
1387=99 - Alt_Dial
1372=34200 - ALTfrom777X
35=200 - D_ALT
1387=103 - Alt_Dial
1372=34300 - ALTfrom777X
35=300 - D_ALT
1387=0 - Alt_Dial (1372, (int)sPmdgData.MCP_Altitude);
1383=1 - AltIncrSel
1383=0 - AltIncrSel
1383=1 - AltIncrSel
1372=35000 - ALTfrom777X
36=5 - D_ALTL00
35=0 - D_ALT
1387=4 - Alt_Dial
1372=36000 - ALTfrom777X
36=6 - D_ALTL00
1387=8 - Alt_Dial
____________________________

39=-1 - ROTARY_ALT
38=174 - Delta_ALT
2528=0 - ALTto777X
39=0 - ROTARY_ALT
1372=34100 - ALTfrom777X
35=100 - D_ALT
1387=0 - Alt_Dial
39=-1 - ROTARY_ALT
38=175 - Delta_ALT OC
2528=1 - ALTto777X
39=0 - ROTARY_ALT
1372=34200 - ALTfrom777X
35=200 - D_ALT
1387=1 - Alt_Dial
39=-1 - ROTARY_ALT
38=176 - Delta_ALT
2528=0 - ALTto777X
39=0 - ROTARY_ALT
1372=34300 - ALTfrom777X
35=300 - D_ALT
1387=0 - Alt_Dial
2525=1 - CSW_A_SW
1383=1 - AltIncrSel
39=-1 - ROTARY_ALT
38=177 - Delta_ALT
2528=1 - ALTto777X
39=0 - ROTARY_ALT
1372=35000 - ALTfrom777X
36=5 - D_ALTL00
35=0 - D_ALT
1387=1 - Alt_Dial
39=-1 - ROTARY_ALT
38=178 - Delta_ALT
2528=0 - ALTto777X
39=0 - ROTARY_ALT
1372=36000 - ALTfrom777X
36=6 - D_ALTL00
1387=0 - Alt_Dial
________________________________
1373=100 - VSfrom777X
42=1 - D_VS3
1388=4 - VS_Wheel
1373=200 - VSfrom777X
42=2 - D_VS3
1388=3 - VS_Wheel (1373, (int)sPmdgData.MCP_VertSpeed); virtual
1373=300 - VSfrom777X
42=3 - D_VS3
1388=2 - VS_Wheel
1373=400 - VSfrom777X
42=4 - D_VS3
1388=1 - VS_Wheel
_____________________________
46=-1 - ROTATOR_VS
45=-94 - Delta_VS
2558=8192 - VSto777X
46=0 - ROTATOR_VS
2524=0 - ALT_HLD_SW
1373=100 - VSfrom777X
42=1 - D_VS3
1388=0 - VS_Wheel
46=-1 - ROTATOR_VS
45=-95 - Delta_VS
2558=8193 - VSto777X OC
46=0 - ROTATOR_VS
1373=200 - VSfrom777X
42=2 - D_VS3
1388=4 - VS_Wheel
46=-1 - ROTATOR_VS
45=-96 - Delta_VS
2558=8192 - VSto777X
46=0 - ROTATOR_VS
1373=300 - VSfrom777X
42=3 - D_VS3
1388=3 - VS_Wheel
46=-1 - ROTATOR_VS
45=-97 - Delta_VS
2558=8193 - VSto777X
46=0 - ROTATOR_VS
1373=400 - VSfrom777X
42=4 - D_VS3
1388=2 - VS_Wheel
_____________________________
1388=1 - VS_Wheel
1388=0 - VS_Wheel
1388=4 - VS_Wheel
1388=3 - VS_Wheel
1388=2 - VS_Wheel
1388=1 - VS_Wheel
1388=0 - VS_Wheel (1374, (int)sPmdgData.MCP_FPA); virtual
1388=4 - VS_Wheel
1388=3 - VS_Wheel
1374=1 - FPA
1388=2 - VS_Wheel
___________________
FPA not Implemented
_______________________
1373=200 - VSfrom777X
42=2 - D_VS3
1388=3 - VS_Wheel
1373=100 - VSfrom777X
42=1 - D_VS3
1388=4 - VS_Wheel
1373=0 - VSfrom777X (1375, (int)sPmdgData.MCP_VertSpeedBlank); virtual

42=0 - D_VS3
1388=0 - VS_Wheel
1373=-100 - VSfrom777X
44=-999998 - D_VSS
42=1 - D_VS3
1388=1 - VS_Wheel
1373=-200 - VSfrom777X
42=2 - D_VS3
1388=2 - VS_Wheel
1373=-300 - VSfrom777X
42=3 - D_VS3
1388=3 - VS_Wheel
________________________46=1 - ROTATOR_VS
45=1 - Delta_VS
2558=1 - VSto777X
46=0 - ROTATOR_VS
1373=100 - VSfrom777X
42=1 - D_VS3
1388=1 - VS_Wheel
46=1 - ROTATOR_VS
45=2 - Delta_VS
2558=0 - VSto777X
46=0 - ROTATOR_VS
1373=0 - VSfrom777X
42=0 - D_VS3
1388=0 - VS_Wheel
46=1 - ROTATOR_VS
45=3 - Delta_VS OC
46=0 - ROTATOR_VS
1373=-100 - VSfrom777X
44=-999998 - D_VSS
42=1 - D_VS3
1388=1 - VS_Wheel
46=1 - ROTATOR_VS
45=4 - Delta_VS
2558=0 - VSto777X
46=0 - ROTATOR_VS
1373=-200 - VSfrom777X
42=2 - D_VS3
1388=0 - VS_Wheel
46=1 - ROTATOR_VS
45=5 - Delta_VS
2558=1 - VSto777X
46=0 - ROTATOR_VS
1373=-300 - VSfrom777X
42=3 - D_VS3
1388=1 - VS_Wheel
46=1 - ROTATOR_VS
45=6 - Delta_VS
2558=0 - VSto777X
46=0 - ROTATOR_VS
1373=-400 - VSfrom777X
42=4 - D_VS3
1388=0 - VS_Wheel
______________________________________________


164=1 - MINS_ROT_FO
162=502 - tempRB_FO
161=503 - t_rot_RB_FO
163=16384 - RADIO_BARO_FO
163=2000 - RADIO_BARO_FO
164=0 - MINS_ROT_FO
164=1 - MINS_ROT_FO
162=503 - tempRB_FO
161=504 - t_rot_RB_FO
163=16384 - RADIO_BARO_FO
163=2000 - RADIO_BARO_FO
164=0 - MINS_ROT_FO
167=1 - BARO_ROT_FO
166=500 - tempIH_FO
165=501 - t_rot_IH_FO
2444=16384 - IN_HPA_FO
2444=2000 - IN_HPA_FO
167=0 - BARO_ROT_FO
159=1 - BARO_HPA_FO
2424=1 - BARO
167=1 - BARO_ROT_FO
166=501 - tempIH_FO
165=502 - t_rot_IH_FO
2444=16384 - IN_HPA_FO
2444=2000 - IN_HPA_FO
167=0 - BARO_ROT_FO
146=0 - VOR_E_FO
2452=1 - MODE_FO
147=0 - MAP_FO MY EFIS_FO no movement on virtual EFIS_FO
2452=2 - MODE_FO
148=0 - PLN_FO
2452=3 - MODE_FO
150=0 - ND_10_FO
2456=1 - RANGE_FO
151=0 - ND_20_FO
2456=2 - RANGE_FO
514=0 - ND_40_FO
2456=3 - RANGE_FO
152=0 - ND_80_FO
2456=4 - RANGE_FO
153=0 - ND_160_FO
2456=5 - RANGE_FO
154=0 - ND_320_FO
2456=6 - RANGE_FO
155=0 - ND_640_FO
2456=7 - RANGE_FO
2463=1 - WXR_FO
2458=1 - STA_FO
2462=1 - WPT_FO
2443=1 - ARPT_FO
2447=1 - DATA_FO
2455=1 - POS_FO
2459=1 - TERR_FO
141=1 - VOR1_FO
142=1 - ADF1_FO
2460=2 - VOR1ADF1_FO
143=1 - VOR2_FO
2461=0 - VOR2ADF2_FO
144=0 - ADF2_FO
2461=1 - VOR2ADF2_FO
2448=1 - FPV_FO
2454=1 - MTRS_FO
2451=1 - RST_FO
2446=1 - STD_FO
2453=1 - CTR_FO
2457=1 - TFC_FO

Klaus
mvr1918
Site Admin
Posts: 1624
Joined: Thu Aug 30, 2012 3:35 pm

Re: OCP4777X EFIS_FO

Post by mvr1918 »

Hi,

I have send you a PM with a link to a new OCP4777X driver ( v2.2).
Try also the OCP4777X_v1.3x.ssi script file

The OCP4777X driver is an update to implement EFIS_FO code in the driver.

The script files update the VS display routine.
klaus
Posts: 8
Joined: Sun Nov 23, 2014 3:15 pm

Re: OCP4777X EFIS_FO

Post by klaus »

HI Roar

Thanks for the new driver, now my EFIS_FO works, sorry to say but still problems with mins and baro encoder for both EFIS_CPT AND EFIS_FO

In IOCP: values change for example T_ROT_RB (DECVALUE) 480 481 480 479 and then start the same values again and again, it is not going higher or lower with values for both directions of revolution, as a result of that, the encoder on the virtual EFIS does not move.
same goes for "- tempRB - t_rot_IH - tempIH.

THE same for EFIS_FO.

I am using the same portion of scripts from 737 where it works fine.

82=1 - MINS_ROT
403=474 - tempRB
402=473 - t_rot_RB
2428=8192 - RADIO_BARO
2428=2000 - RADIO_BARO
82=0 - MINS_ROT
82=-1 - MINS_ROT
403=473 - tempRB
402=474 - t_rot_RB
2428=16384 - RADIO_BARO
2428=2000 - RADIO_BARO
82=0 - MINS_ROT
82=-1 - MINS_ROT
403=474 - tempRB
402=475 - t_rot_RB
2428=16384 - RADIO_BARO
2428=2000 - RADIO_BARO
82=0 - MINS_ROT
82=1 - MINS_ROT
403=475 - tempRB
402=474 - t_rot_RB
2428=8192 - RADIO_BARO
2428=2000 - RADIO_BARO
82=0 - MINS_ROT
82=1 - MINS_ROT
403=474 - tempRB
402=473 - t_rot_RB
2428=8192 - RADIO_BARO
2428=2000 - RADIO_BARO
82=0 - MINS_ROT
82=-1 - MINS_ROT
403=473 - tempRB
402=474 - t_rot_RB
2428=16384 - RADIO_BARO
2428=2000 - RADIO_BARO
82=0 - MINS_ROT




MCP:

Can see in the IOCP that if my; IAS = 100 and Delta_IAS = 350 I can not change my IAS on OC MCP. If I reach Delta_IAS = 350, then my IAS values on OC mcp goes the opposite way with smaller values

Must IAS and Delta_IAS not be of the same value in IOCP, as they follow each other from low 100 to high 350?

the same applies to the DELTA altitude

Delta_IAS values change faster than IAS,

It's hard to sit and comparable with 737 script, where all encoder values rotate very fast

Has been sitting all day and tried all kinds of different setups, but has not manage to achieve a good result, however, it teaches you a lot by trying and trying.


Thanks for all your help

Yours sincerely
Klaus
mvr1918
Site Admin
Posts: 1624
Joined: Thu Aug 30, 2012 3:35 pm

Re: OCP4777X EFIS_FO

Post by mvr1918 »

Thanks for the new driver, now my EFIS_FO works, sorry to say but still problems with mins and baro encoder for both EFIS_CPT AND EFIS_FO
This is a known issue. PMDG changed the way to mins and baro rotation were implemented between the B737 and the B777. I have reported this issue as a bug to them, but you know PMDG. They are in no hurry to
come with small updates.

The delta variable is just "half implemeted" in the code. I used it for another way of rotation logic in the beginning of the script phase, but it stayed on. It is now only used as a variable to detecting + or - rotation.


The B737 and B777 uses different logic for the roation of IAS; HDG etc. in the script due to different driver logic.

I have made a new script you can test. A link will be sent you shortly.
Post Reply