Download Operating Instructions TR1200
Transcript
14.2 RS485 Protocol Depending on the configured data mode the TR1200 transmits data with ZIEHL TR600 protocol in data mode 0 or with TR1200 protocol in data mode 4. Transmission format: Compatibility: Baud rate: Data bits: Stop bit: Parity: Separated by: ASCII TR600 RS485 (Modus 0) 9600 (default), 4800, 19200 8 1 even (default), odd, no ";" (ASCII) Master requests data from TR1200: Master sends <start><address of unit><read-command><data mode><BCC><CR><LF Start of message: Address of unit Read command: Data mode: Block check (BCC): Carriage Return (CR): Line Feed (LF): s (ASCII) or S (ASCII) or STX (0x02) 0…99 (ASCII) r (ASCII) or R (ASCII) 0…9 (ASCII) EXOR of all transmitted bytes 0x0D 0x0A 1 2 1 1 3 1 1 10 Byte Byte Byte Byte Byte Byte Byte Byte TR1200 sends the requested data: TR sends: <start><type of unit><address of unit><mode><data> <BCC><CR><LF> Start of message: Type of unit: Address of unit:: Data mode: Value sensor 1 (7): Value sensor 2 (8): Value sensor 3 (9): Value sensor 4 (10): Value sensor 5 (11): Value sensor 6 (12): Alarm 1: Alarm 2: Alarm 3: Alarm 4: Alarm 5: Alarm 6: Alarm 7: Internal error: Block check (BCC): Carriage Return (CR): Line Feed (LF): s (ASCII) or S (ASCII) or STX (0x02) (same as request) TR600 (ASCII) or TR120 (ASCII) 0…99 (ASCII) 0…9 (ASCII) * -199…+850 (ASCII) * -199…+850 (ASCII) * -199…+850 (ASCII) * -199…+850 (ASCII) * -199…+850 (ASCII) * -199…+850 (ASCII) 0 (ASCII) 0 (ASCII) 0 (ASCII) 0 (ASCII) 0 (ASCII) 0 (ASCII) 0..1 (ASCII) *² 0…99 (ASCII) EXOR of all transmitted bytes 0x0D 0x0A 1 Byte 5 2 1 4 4 4 4 4 4 1 1 1 1 1 1 1 2 3 1 1 64 Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte * Sensor not connected, data "+980" Sensor short circuit, data "-999" Sensor interruption, data "+999" *² 01=EEprom error, 02=parameter error, 03=ADC error TR1200 12320-0702-03 Seite 18 / 20 www.ziehl.de + + + + + + + + + + + + + + + + + ";" ";" ";" ";" ";" ";" ";" ";" ";" ";" ";" ";" ";" ";" ";" ";" ";"