Download YOKOGAWA DR232 Communication Interface
Transcript
6.7 Data Output Request Command • If no input channel is recognized by the DR230/ DR240 among the specified channels, a syntax error occurs. • The optional computation channel number for a stand-alone model is A01 to A30. CF Specifies the system configuration output format. Mode Setting All modes CFp1<terminator> p1 0 Information on system-configured modules 1 Current status module information (realtime information) Comments • You must specify data to be output with the TS command and execute “GET” or “ESC T” before sending the CF command. BO Specifies the order of byte output (in binary output). c=4 Interrupt occurs when timer No. 3 operates. =0 No interrupt occurs. d=8 Interrupt occurs when timer No. 4 operates. =0 No interrupt occurs. e=16 Interrupt occurs when timer No. 5 operates. =0 No interrupt occurs. f=32 Interrupt occurs when timer No. 6 operates. =0 No interrupt occurs. g=64 Interrupt occurs when the time for hourly, daily and monthly reports arrives. =0 No interrupt occurs. Comments • Sets the auxiliary mask of interrupt when the timers described in the IM command operate. • When any of the timers whose numbers are specified with this command operates, an interrupt due to the internal time operation occurs. Effective mode Operation mode Setting BOp1<terminator> p1 0 Output from MSB (upper-digit byte) 1 Output from LSB (lower-digit byte) IM Specifies the mask of a status byte. Mode Setting Operation mode IMp1<terminator> p1 First numerical value of the items (or combination of those values) shown below 0 All interrupts are OFF. 1 Interrupt occurs at the end of an A/D conversion. 2 Interrupt occurs at the time of a syntax error. 4 Interrupt occurs when internal timer is being operated or the time for hourly, daily and monthly reports arrives. 8 Interrupt generated after storing data on media, or reading data from media. 16 Interrupt occurs at the time of a chart end. 32 Interrupt generated when measurement release is generated while computation is in progress. Comments • Masks the causes of interrupt in the status byte. • When either of the phenomena effectively specified with this command occurs, bit 7 (SRQ) of the status byte is set to “1” and causes an interrupt to the controller. • For detailed instructions on the status byte, see Pages 1-2 and 2-2. SM Mode Setting 6-22 Sets the auxiliary mask of the status byte. Operation mode SMp1<terminator> p1 A figure determined by the following calculation: p1 = a + b + c + d + e + f + g a=1 Interrupt occurs when timer No. 1 operates. =0 No interrupt occurs. b=2 Interrupt occurs when timer No. 2 operates. =0 No interrupt occurs. IM DR231-11E