IDEC FC4A-C10R2 User Manual page 291

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

2. Check that TXD is selected in the Type box and click Port 1 in the Port box. Then, click Insert.
The Data Type Selection dialog box appears. You will program source operand S1 using this dialog box.
3. Click Constant (Hexadecimal) in the Type box and click OK. Next, in the Constant (Hexadecimal) dialog box, type
02 to program the start delimiter STX (02h). When finished, click OK.
4. Since the Transmit instruction dialog box reappears, repeat the above procedure. In the Data Type Selection dialog box,
click Variable (DR) and click OK. Next, in the Variable (Data Register) dialog box, type D10 in the DR No. box and
click BCD to ASCII to select the BCD to ASCII conversion. Enter 4 in the Digits box (4 digits) and 2 in the REP box
(2 repeat cycles). When finished, click OK.
5. Again in the Data Type Selection dialog box, click BCC and click OK. Next, in the BCC dialog box, enter 1 in the Cal-
culation Start Position box, click ADD for the Calculate Type, click BIN to ASCII for the Conversion Type, and click
2 for the Digits. When finished, click OK.
« FC4A M
S
U
'
ICRO
MART
SER
17: U
C
SER
OMMUNICATION
M
»
S
ANUAL
I
NSTRUCTIONS
17-13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents