Hello,
I have a problem with the 04F4 offset of PM. I use an IOCards system on my cockpit with SIOC. No problem for use the ELAN codes to contral all the MCP Buttons, everything works fine.
My problem is about this (found in the PM Offsets documentation after the list of ELAN K codes) :
Suggestion:
V10 MINS
V11 BARO
V12 Copilot MINS
V13 Copilot BARO
V101002 (increments MINS by 2 units)
V110004 (decrements BARO by 4 units) V11 [baro] 0 [dec] 004 [4 units]
Send offset and value to write in UIPC...
E0 [offset] [numbytes] [value] (value can be anything after the 7th byte, with or without leading zeroes
E00BC081234.5 writes 1234.5 in 0XBC0 8 bytes (=double)
E004F42005 writes 5 into 0x4F4 (i.e. E0 04F4 2 005)
E004F422 writes 5 into 0x4F4
This seems to be very powerfull but I do not understant were to send these values. If I send direct as "Assign" to O4F4, SIOC do not want because I send letters (V, E, ...). If I only send the numbers, nothing happens. Here is an example of my ssi file where I tried to program the CPT Baro encoder with these codes :
Var 4036, name CPT_BARO_ENC, Link IOCARD_ENCODER, Device 1, Input 40, Aceleration 3, Type 2 // CPT BARO Encoder
{
L0 = &CPT_BARO_ENC
IF L0 > 0
{
&MCP_THROUGH = 111004
&MCP_THROUGH = DELAY 0 ,25
}
IF L0 < 0
{
&MCP_THROUGH = 110004
&MCP_THROUGH = DELAY 0 ,25
}
}
Could you please telle me where and what to send these values ? The document from PM says "Send offset and value to write in UIPC" but I do not understand what offset to use and what to send ?
Thank you very much