Академический Документы
Профессиональный Документы
Культура Документы
HARDWARE INTERFACE
Type
EIA RS-232
Link Parameters
19200,8,N,2
SOFTWARE INTERFACE
Packet syntax
<DATA FIELD><ETX><CHKSUM>
<DATA FIELD> contains commands, data, spaces (0x20)
ETX = 0x03
CHKSUM is the BYTE sum of complete <DATA FIELD>+<ETX> package
Packet length
Max 100 bytes
Command Packet
Command is always SINGLE COMMAND:
<CMDID><DATA><ETX>CHKSUM>
Reply Packet
Reply can be Single or a stream of Single reply ended with an ETX:
Single
<RPLYID><DATA><ETX>CHKSUM>
<RPLYID><DATA><SPACE><RPLYID><DATA>…<RPLYID><DATA><ETX>CHKSUM>
Corrupted packet
The generator asserts a NAK (0x15) if <CHKSUM> is incorrect
Unknown packet
The generator asserts an “ER???” reply if the command is not recognized
Working Station
Syntax
WS<a>
Allowed Values for “a”
WS? - Current WS request
WS1 - WS 1 selection
WS2 - WS 2 selection
WS3 - WS 3 selection
WS4 - WS 4 selection
WS5 - WS 5 selection
WS6 - WS 6 selection
Generator reply:
WS<a> [command accepted]
RADIO-WARNING
"ER213" (invalid communication parameter) (ex. WS6 do not exist on R306.3x or R306.4x)
Radio technique
Syntax
ET<a>
Allowed Values
ET? - Current radio technique request
ET0 - kV, mA,time technique request
ET1 - kV, mAs technique request
ET2 - AEC technique request (WS = 32 : COMPUTER -> “Remote HIRIS RAD”)
Generator reply:
ET<a> [command accepted]
RADIO-WARNING
Fluoro mode
Syntax
FLF<a>
Allowed Values
FLF?
FLF0 - Fluoroscopy disabled
FLF1 - Continuous Fluoroscopy enabled
FLF2 - High Contrast Fluoroscopy (Pulse) enabled
FLF3 - High Contrast Fluoroscopy (Pulse) enabled
Generator reply:
FLF<a>
RADIO focus
Syntax
FO<a>
Allowed Values
FO? - Current focus request
FO0 - small focus request
FO1 - large focus request
Generator reply:
FO<a>
RADIO-WARNING
RADIO kV value
Syntax
KV<aaa>
Allowed Values
KV? - Current radio voltage request
KV+ - 1 kV up command
KV- - 1 kV down command
KVnnn - absolute kV set where
nnn minimum is KV040
nnn maximum is KV150 or maximum allowed
NOTE: leading 0 required on values less than 100
Generator reply:
KV<aaa>
RADIO-WARNING
RADIO mA value
Syntax
MA<aaaaa>
Allowed Values
MA? - Current radio high voltage current request
MA+ - 1 mA step up command
MA- - 1 mA step down command
MAnnnnn - absolute mA set, where allowed nnnnn are:
MA00100 for 10mA
MA00125 for 12mA
MA00160 for 16mA
MA00200 for 20mA
MA00250 for 25mA
MA00320 for 32mA
MA00400 for 40mA
MA00500 for 50mA
MA00630 for 63mA
MA00800 for 80mA
MA01000 for 100mA
MA01250 for 125mA
MA01600 for 160mA
MA02000 for 200mA
MA03200 for 320mA
MA04000 for 400mA
MA05000 for 500mA
MA06300 for 630mA - max val for 50kW
MA08000 for 800mA - max val for 65kW
MA10000 for 1000mA - max val for 80kW
MA12500 for 1250mA - max val for 100kW
NOTE: leading 0s are required
Generator reply:
MA<aaaaa>
RADIO-WARNING
AEC field
Syntax
FI<lcr>
Allowed Values
FI? - Current AEC field status request
FIlcr - Enable/Disable dominant regions
l=0 Left Dominant Excluded
l=1 Left Dominant Active
c=0 Central Dominant Excluded
c=1 Central Dominant Active
r=0 Right Dominant Excluded
r=1 Right Dominant Active
Generator reply:
FI<lcr>
RADIO-WARNING
AEC density
Syntax
FN<ab>
Allowed Values
FN? - Current density status request
FNsn - absolute density set command, where allowed sn are:
FN-3 50% of Nominal Density
FN-2 63% of Nominal Density
FN-1 80% of Nominal Density
FN 0 Nominal Density (100%)
FN+1 125% of Nominal Density
FN+2 160% of Nominal Density
FN+3 200% of Nominal Density
NOTE: leading “space” where 0 set is required
Generator reply:
FN<ab>
RADIO-WARNING
FLUORO kV
Syntax
FLK<aaa>
Allowed Values
FLK? - Current fluoro voltage request
FLK + - 1 kV up command
FLK - - 1 kV down command
FLK nnn - absolute kV set where
nnn minimum is FLK040
nnn maximum is FLK120 or maximum allowed
NOTE: leading 0 required on values less than 100
Generator reply:
FLK<aaa>
FLUORO mA
Syntax
FLM<a> : available only in FLUOROSTEP mA control and HCF (pulsed)
Allowed Values
FLM?
FLM+
FLM-
Generator reply:
FLMnnnn - where nnnn from 0005 (0,5mA) to 1000 (100mA in HCF)
Starting Sequence:
<BLANK><ESC><m><CR><LF><CR><BLANK> (=20h 1Bh 6Dh 0Dh 0Ah 0Dh 20h)
Ending Sequence:
<LF><BLANK><LF><BLANK><CR> (=0Ah 20h 0Ah 20h 0Dh)
RADIO LABEL
' <ESC><m><CR><LF><CR>'
' RADIO Tx GG/MM/AA hh:mm:ss<LF><CR>'
' kV xxx mA xxxx<LF><CR>'
' EXPms xxxx mGy*cm2 xxxxx<LF><CR>'
' RUNs xxxx EXPnr xxxx'
'<LF><BLANK><LF><BLANK><CR>'
CINE LABEL
' <ESC><m><CR><LF><CR>'
' CINE Tx GG/MM/AA hh:mm:ss<LF><CR>'
' kV xxx mA xxxx<LF><CR>'
' EXPms xxxx mGy*cm2 xxxxx<LF><CR>'
' RUNs xxxx EXPnr xxxx'
'<LF><BLANK><LF><BLANK><CR>'
FLUORO LABEL
' <ESC><m><CR><LF><CR>'
' FLUORO Tx GG/MM/AA hh:mm:ss<LF><CR>'
' kV xxx mA xxxx<LF><CR>'
' EXPs xxxx mGy*cm2 xxxxx<LF><CR>'
' RUNs EXPnr '
'<LF><BLANK><LF><BLANK><CR>'
HCF LABEL
' <ESC><m><CR><LF><CR>'
' PULSED Tx GG/MM/AA hh:mm:ss<LF><CR>'
' kV xxx mA xxxx<LF><CR>'
' EXPms xxxx mGy*cm2 xxxxx<LF><CR>'
' RUNs xxxx EXPnr xxxx'
'<LF><BLANK><LF><BLANK><CR>'
LABEL EJECTION
' <ESC><m><CR><LF><CR>'
' Cut<LF><CR>'
' kV mA <LF><CR>'
' EXPms mGy*cm2 <LF><CR>'
' RUNs EXPnr '
'<LF><BLANK><LF><BLANK><CR>'
Revision 14/06/06
HCF Extension
FLK: available in HCF
FLM: available in HCF
FLF : 0, 1, 2
FLA: 0, 1
BVH: available
CINE Extension
ON/OFF in standby through Optocoupler
CINE Radiological parameters set using RADIO parameters in 3 point tech (KV, MA, MS)
TX sequence:
D1.LSnibble | 0x40
D1.MSnibble | 0x40
.........
D6.LSnibble | 0x40
D6.MSnibble | 0x40
BCBaaaaaaaaaaa..<ETX>
La risposta è
BCB0 (zero) se pacchetto correttamente interpretato
BCB1 se il pacchetto CAB non è correttamente interpretato
1) PACKET_ID0: ID>>3
2) PACKET_ID1: ((ID & 0x07)<<5)|(RTR << 4)| DLC
3) DATA0 0x03
4) DATA1 0x4F
3) DATA2 0x78
4) DATA3 0x50
3) DATA4 0xC8
4) DATA5 0x08
3) DATA6 0x0E
4) DATA7 0x00
mode == 2 (FLUOROGRAPHY)
D2 = MAX kV
D3 = mA @ 40 kV
D4 = mA @ MAX kV
D5 = pulse width [msec]
D6 = pulse freq. [Hz]
D7 = ToBeDefined