Power-up tests The keyboard Setup / Test mode 5.3.1 Setup mode 5.3.2 Default setup 5.3.3 Demo display 5.5.4 Hardware tests 5.3.5 Display test 5-10 5.3.6 Keyboard test 5-10 5.3.7 LED test 5-10 SAIA-Burgess Electronics Ltd. 26/770 E1 Page 1 (D25-00-E.DOC)
Page 6
The user program is structured in GRAFTEC 8-20 Entering numerical parameters (ex. page 26) 8-25 Function block : INPUT 8-33 Comparison PCD7.D202 ↔ ↔ ↔ ↔ PCD7.D250 Interface connection cables RS 232 SAIA-Burgess Electronics Ltd. Page 2 26/770 E1 (D25-00-E.DOC)
Page 7
C om p o n e n ts fo r R S 4 8 5 - N et w o rk s - PG4 - Modem FUPLA/ KO PLA func tion families SAIA-Burgess Electronics Ltd. 26/770 E1 Page 3 (D25-00-E.DOC)
Page 8
Contents PCD7.D250 Reliability and safety of electronic controllers SAIA-Burgess Electronics Ltd. is a company which devotes the greatest care to the design, development and manufacture of its products: • state-of-the-art technology • compliance with standards • ISO 9001 certification •...
Page 9
4 x 20 characters). This makes the ..D250 suitable both for building automation and industrial applications. With the latest high contrast back-lit LC display, the PCD7.D250 model can display any type of information such a temperature, pressure, unit numbers, date, time, etc., or messages about operating states or alarms.
Page 10
Application PCD7.D250 Quick guide to operating the PCD7.D250 terminal The following chapters supply detailed descriptions of the broad functional possibilities provided by the ..D250 terminal. In any practical application, probably only a small part of them will be used. In order to give the beginner a brief guide to simple text output it is advisable, before studying all tests and instructions individually, to do one of the program examples from chapter 8 as a practical exercise.
Page 11
Power supply via plug-in screw terminals for wires of max. 2.5 mm Data interface via 9-pole D-type jack Interference emission: CE mark according to EN 50 081-1 immunity: CE mark according to EN 50 082-2 SAIA-Burgess Electronics Ltd. 26/770 E1 Page 2-1 (D25-02-E.DOC)
Page 12
Atmospheric humidity 5...95 % relative humidity without condensation, according to IEC 1131-2 and DIN 40 040 class F Mechanical resistance Vibration 10...57 Hz, 0.075 mm or 57...150 Hz, 1.0 g according to IEC 68-2-6 SAIA-Burgess Electronics Ltd. Page 2-2 26/770 E1 (D25-02-E.DOC)
4.2 Firmware The firmware is stored on an EPROM. If it has to be updated, the back cover should be lifted off and afterwards screwed back down firmly using the 3 screws. SAIA-Burgess Electronics Ltd. Page 4-2 26/770 E1 (D25-04-E.DOC)
Page 17
9600 Baud without up to 9600 Baud with RTS/CTS up to 9600 Baud with XON/XOFF 2) With HANDSHAKING only Baud rate Type Handshaking Control 19200 Baud with RTS/CTS 19200 Baud with XON/XOFF SAIA-Burgess Electronics Ltd. 26/770 E1 Page 4-3 (D25-04-E.DOC)
5. Operation 5.1 Power-up tests When the supply voltage is connected the ..D250 carries out a self-test. During this process the following is displayed: SAIA-BURGESS ELECTRONICS, CH-3280 MURTEN ------------> POWER-UP TEST <----------- PCD7.D250 HARDWARE The power-up tests takes about 3 seconds. The user program should not send commands to the ..D250 during this period, because they will be...
During Setup/Test mode no. 8 LED flashes. Note: If the host computer is sending data to the ..D250 when the operator enters Setup/Test mode, omission of handshaking brings a risk of data loss or modification. SAIA-Burgess Electronics Ltd. Page 5-4 26/770 E1 (D25-05-E.DOC)
All features except the baudrate, data bits, parity, stop bits and hand- shaking can also be controlled from the host computer by sending an escape sequence to the ..D250. These are described in section 6.1. SAIA-Burgess Electronics Ltd. 26/770 E1 Page 5-5...
Page 26
If this is required, however, it is advisable to generate the echo in the PCD with MC3 mode. This gives the PCD a chance to check the validity of characters in advance. SAIA-Burgess Electronics Ltd. Page 5-6 26/770 E1...
Page 27
(or more) and also for each additional up/down key code received and stop when the “end 2 speed” character is received (or any character which is not the same repeated up/down key code). SAIA-Burgess Electronics Ltd. 26/770 E1 Page 5-7 (D25-05-E.DOC)
Page 28
Communications channel [COM1] COM 1 has RS 232 as fixed equipment. Alternatively, COM 0 can be fitted with the PCD7.F2.. modules. It is not possible to run both channels simultaneously. SAIA-Burgess Electronics Ltd. Page 5-8 26/770 E1 (D25-05-E.DOC)
..D250 is reset by the watchdog timer and the tests are repeated. The only way to exit the tests is to power the ..D250 off and on. SAIA-Burgess Electronics Ltd. 26/770 E1 Page 5-9...
LED in sequence is turned on for 500 ms, and the display shows a “1” for the LED which should be on: Press any key to end the test and return to Setup/Test mode. SAIA-Burgess Electronics Ltd. Page 5-10 26/770 E1...
‘@’ character as the start of an indirect addressing control string. So when using MODE C, enter each ‘@’ character as ‘@@’, so the PCD interprets it as a single ‘@’ character. SAIA-Burgess Electronics Ltd. 26/770 E1 Page 6-1 (D25-06-E.DOC)
10 46 25 Note: To place the cursor in x-pos. 36 (equal ASCII $), please enter in each PCD text <36><36>. Example: TEXT xxxx „... 16 36 36 34 ...“ x-pos y-pos SAIA-Burgess Electronics Ltd. 26/770 E1 Page 6-5 (D25-06-E.DOC)
Page 36
Code <32> 1 <33> 2 <34> 3 <35> 4 Cursor home This single-character command moves the cursor to the first column of the first line. Command ASCII Decimal Cursor home CTRL+Z SAIA-Burgess Electronics Ltd. Page 6-6 26/770 E1 (D25-06-E.DOC)
Page 37
If at the start of a line, the cursor is moved to the end of the preceding line. Delete stops at the home position. Command ASCII Decimal Delete (backspace) SAIA-Burgess Electronics Ltd. 26/770 E1 Page 6-7 (D25-06-E.DOC)
The backlight can be turned off and on (blinked) to provide a visual indication of an alarm etc. Command ASCII Decimal Backlight off ESC O 27 79 1B 4F Backlight on ESC L 27 76 1B 4C SAIA-Burgess Electronics Ltd. Page 6-8 26/770 E1 (D25-06-E.DOC)
Page 39
ESC @ N 0 27 64 78 48 1B 40 4E 30 Restriction ! If you are in transparent mode the command “Inverted characters” can not be used with the characters 8 x 40. SAIA-Burgess Electronics Ltd. 26/770 E1 Page 6-9 (D25-06-E.DOC)
Delete (backspace) Cursor positioning ASCII CTRL+P ' '+X ' '+Y Decimal 16 32+X 32+Y 10 20+X 20+Y Note : To output the character ‘@’, please enter in each PCD text ‘@@’ ! SAIA-Burgess Electronics Ltd. 26/770 E1 Page 6-13 (D25-06-E.DOC)
Page 44
1B 40 43 POLL ESC @ B 27 64 66 1B 40 42 ..D250 responds with Note : To output the character ‘@’, please enter in each PCD text ‘@@’ ! SAIA-Burgess Electronics Ltd. Page 6-14 26/770 E1 (D25-06-E.DOC)
“D100-compatible”, which is compatible with the earlier ..D100 – terminal. Note : The displayed character shapes in the extended ASCII characters may not be exactly as shown due to differences between the ..D250 and IBM PC character shapes. SAIA-Burgess Electronics Ltd. 26/770 E1 Page 7-1 (D25-07-E.DOC)
Page 46
221 DD ▐ 237 ED φ 253 FD ² 206 CE ╬ 222 DE ▌ 238 EE ε 254 FE ▄ 207 CF ╧ 223 DF ▀ 239 EF ∩ 255 FF SAIA-Burgess Electronics Ltd. Page 7-2 26/770 E1 (D25-07-E.DOC)
PCD7.D250 Character sets CodePage 437 Characters represented on the display in 4 x 20 characters mode. 240 Dec 255 Dec SAIA-Burgess Electronics Ltd. 26/770 E1 Page 7-3 (D25-07-E.DOC)
236 EC Ф 252 FC ü 205 CD 221 DD 237 ED 253 FD 206 CE 222 DE 238 EE 254 FE 207 CF 223 DF 239 EF Ö 255 FF █ SAIA-Burgess Electronics Ltd. Page 7-4 26/770 E1 (D25-07-E.DOC)
RTS/CTS (MC1) or XON/XOFF (MC2). This precludes any possible overflow of the terminal’s input buffer. Please note that this must also be defined in the terminal setup. SAIA-Burgess Electronics Ltd. 26/770 E1 Page 8-1 (D25-08-E.DOC)
• 8.2.3 Closing input 0 should output a combined text in large and small characters. 8.2.1 Single text transmission in BLOCTEC ;+----------------------------------------------------------------------+ User program example 8.2.1 for the industrial terminal PCD7.D250 ====================================================================| The program is structured in BLOCTEC File: NDEMO21.SRC Creation: 16.01.97...
Page 51
; for display 8 x 40 ; Text busy flag ; Send text ECOB ;======================================================================= ; Send text STXT ; Interface 1 ; Text 1 ; Send text STXT ; Interface 1 ; Text 10 SAIA-Burgess Electronics Ltd. 26/770 E1 Page 8-3 (D25-08-E.DOC)
Page 52
User program examples PCD7.D250 8.2.2 Single text transmission in GRAFTEC ;+------------------------------------------------------------------------+ User program example 8.2.2 for the industrial terminal PCD7.D250 ==================================================================== The program is structured in GRAFTEC File: NDEMO22.SRC Creation: 29.01.97 U.Jäggi Modified: 03.02.00 C. Bruegger ;+------------------------------------------------------------------------+ TEXT "<12>" ; Clear display "<27><64><77><49>"...
Page 54
User program examples PCD7.D250 8.2.3 Large and small character text output in BLOCTEC ;+----------------------------------------------------------------------+ User program example 8.2.3 for the industrial terminal PCD7.D250 ====================================================================| The program is structured in BLOCTEC File: NDEMO23.SRC Creation: 15.02.00 C. Bruegger ;+----------------------------------------------------------------------+ TEXT "<27><64><77><49>" ; Display mode:4 x 20 "<12>"...
This also coordinates the power-up processes of the controller and terminal with each other. 8.3.1 Transmission of several texts in BLOCTEC ;+----------------------------------------------------------------------+ User program example 8.3.1 for the industrial terminal PCD7.D250 ====================================================================| The program is structured in BLOCTEC File: NDEMO31.SRC Creation: 16.01.97...
Page 56
; Text busy flag ; Send text ; Text 2 ; Text busy flag ; Send text ; Text 3 ECOB ;======================================================================= ; Send text STXT ; Interface 1 ; Textnumber SAIA-Burgess Electronics Ltd. Page 8-8 26/770 E1 (D25-08-E.DOC)
Page 57
PCD7.D250 User program examples 8.3.2 Transmission of several texts in GRAFTEC ;+----------------------------------------------------------------------+ User program example 8.3.2 for the industrial terminal PCD7.D250 ====================================================================| The program is structured in GRAFTEC File: NDEMO32.SRC Creation: 16.01.97 U.Jäggi Modified: 03.02.00 C. Bruegger ;+----------------------------------------------------------------------+ TEXT "<12>"...
Page 58
; clear receive register ; END OF THE POLL COMMAND STXT ; Display mode : 4 x 20 O 22 h -1 STXT ; Text 1: Main menu O 22 h -1 EXOB SAIA-Burgess Electronics Ltd. Page 8-10 26/770 E1 (D25-08-E.DOC)
With these programs, the functional readiness of the terminal is checked by the XOB16 cold start routine using the POLL instruction. This also coordinates the power-up processes of the controller and terminal with each other. SAIA-Burgess Electronics Ltd. 26/770 E1 Page 8-13 (D25-08-E.DOC)
Page 62
User program examples PCD7.D250 8.4.1 Recognition of a pressed key with a following action (contains jumps) ;+-----------------------------------------------------------------------+ User program example 8.4.1 for the industrial terminal PCD7.D250 ==================================================================== | The program contains jumps File: NDEMO41.SRC Creation: 29.01.97 U.Jäggi Modified: 07.02.00 C. Bruegger ;+-----------------------------------------------------------------------+...
Page 63
; clear receive register ; END OF THE POLL COMMAND STXT ; Display mode : 4 x 20 O 22 h -1 STXT ; Main menu O 22 h -1 EXOB SAIA-Burgess Electronics Ltd. 26/770 E1 Page 8-15 (D25-08-E.DOC)
Page 65
; Text Busy NEXE RBSY+7 ; Not Executed ;-------------------------------- ; Function/Program blocks ;-------------------------------- READ ; Read character SEND ; Send text COMPARE ; Compare received character ;-------------------------------- ; Register ;-------------------------------- RBUF_R 1000 SAIA-Burgess Electronics Ltd. 26/770 E1 Page 8-17 (D25-08-E.DOC)
Page 66
; clear receive register ; END OF THE POLL COMMAND STXT ; Display mode : 4 x 20 O 22 h -1 STXT ; Main menu O 22 h –1 SEND EXOB SAIA-Burgess Electronics Ltd. Page 8-18 26/770 E1 (D25-08-E.DOC)
Page 68
User program examples PCD7.D250 8.4.3 Recognition of a pressed key with a following action in GRAFTEC ;+-----------------------------------------------------------------------+ User program example 8.4.3 for the industrial terminal PCD7.D250 ==================================================================== | The program is structured in GRAFTEC File: NDEMO43.SRC Creation: 29.01.97 U.Jäggi/T.Hofer Modified: 07.02.00...
Page 69
; clear receive register ; END OF THE POLL COMMAND STXT ; Display mode : 4 x 20 O 22 h -1 STXT ; Text 1: Main menu O 22 h -1 EXOB SAIA-Burgess Electronics Ltd. 26/770 E1 Page 8-21 (D25-08-E.DOC)
To realise that function the universal function block INPUT had been developed. The complete description of that function block can be found attached to the listing of the demonstration program (see chapter 8.6). SAIA-Burgess Electronics Ltd. 26/770 E1 Page 8-25...
Page 74
User program examples PCD7.D250 Entering numerical parameters ;+----------------------------------------------------------------------+ ;¦ ¦ ;¦ User program example 8.5 for the industrial terminal PCD7.D250 ¦ ;¦ ============================================================== ¦ ;¦ Input of numerical parameters ¦ ;¦ ¦ ;¦ File: DEMO.SRC ¦ ;¦ Version: ¦ ;¦...
(number 0...9 is read from the receive buffer and processed) Function description This function block allows the editing of the contents of a register or counter via the PCD7.D250 industrial terminal. A minus sign and decimal point are supported. SAIA-Burgess Electronics Ltd. 26/770 E1 Page 8-33 (D25-08-E.DOC)
Page 82
Symbol Description Data Address Type Format WORK_R Base address of 7 used work registers Integer 0...4089 (+6) WORK_F Base address of 6 used work flags Binary 0...8186 (+5) SAIA-Burgess Electronics Ltd. Page 8-34 26/770 E1 (D25-08-E.DOC)
Page 83
; Input INP_TXT ; Input text PARAM ; Parameter DIGIT ; Number of digits DECIMAL ; Number of decimal places X_POS ; X-position Y_POS ; Y-position Sign ; Sign input yes/no (1/0) SAIA-Burgess Electronics Ltd. 26/770 E1 Page 8-35 (D25-08-E.DOC)
Page 84
DIGIT = 8 ┌──────┴──────┐ Input field 1 2 3 4 . 5 6 7 └─┬─┘ DECIMAL = 3 • Cursor position "X_POS"/"Y_POS": Defines the position for the first character of the input field. SAIA-Burgess Electronics Ltd. Page 8-36 26/770 E1 (D25-08-E.DOC)
Page 85
"IN_BUSY" flag is reset and the data input ends. During input of a value (while the "IN_BUSY" flag is high) the FB must be called cyclically by the user program. SAIA-Burgess Electronics Ltd. 26/770 E1 Page 8-37...
Page 86
User program examples PCD7.D250 Input format of numerical value to the PCD7.D250 terminal: ┌──┬───────────────┬──┐ │ │ Value │ │ └──┴───────────────┴──┘ │ └───────┬───────┘ │ ┌──────────────────┐ │ │ └─ LSDigit : ─┬─┤ Number 0..9 ├─┬─ │ │ │ └──────────────────┘ │ │ │...
Page 87
Value : 567.890 Accept value [CR] The data is then input according to the following table. Only the data input field is affected, the rest of the display remains unchanged during input. SAIA-Burgess Electronics Ltd. 26/770 E1 Page 8-39 (D25-08-E.DOC)
Page 88
INPUT, CHAN_N, IN_BUSY, RBSY_F, XBSY_F If the FB is to be included in the user program by means of the assembler directive $INCLUDE, the EXTN definitions must be deleted or replaced by local symbol definitions. SAIA-Burgess Electronics Ltd. Page 8-40 26/770 E1 (D25-08-E.DOC)
Page 89
Comparison ..D202 ↔ ..D250 PCD7.D250 9. Comparison PCD7.D202 ↔ PCD7.D250 Functions ..D202 ..D250 Front Display 4 x 20 characters 8 x 40 / 4 x 20 characters (switch) Front dimensions 141 x 181 mm 305 x 120 mm Function keys...
Page 93
CH-3280 Murten (Switzerland) Name : http://www.saia-burgess.com Address : BA : Electronic Controllers Tel. : Industrial Terminal PCD7.D250 Date : ® If you have any suggestions concerning the SAIA PCD, or have found any errors in this manual, brief details would be appreciated.
Page 94
Your suggestions : SAIA-Burgess Electronics Ltd.
Need help?
Do you have a question about the PCD7.D250 and is the answer not in the manual?
Questions and answers