Denso RC5 Specifications

Add to my manuals
138 Pages

advertisement

Denso RC5 Specifications | Manualzz

Chapter11 Configuring the RS-232C

Extension Board (Recommended Option)

If you install an RS-232C extension board to the robot controller, the controller may support three RS232C serial data transmission lines (One standard line plus two addon lines). The RS-232C should be set into extension slot #1 or #2.

<Front>

Floppy disk drive (option)

Extension slot

#1 or #2

FG terminal

Robot stop button

Memory backup battery holder

Pilot lamps

Fuse box

Power switch Output IC box

11.1 Recommended RS-232C Extension Board

Set up an RS-232C extension board specified below in your charge.

Model

Manufactured by

COM-2(PC)F

CONTEC

NOTE: To support an RS-232C extension board, the robot controller requires some special features to be built in at the factory. When placing an order for the robot controller, specify the RS-232C extension board support.

11.2 Installing the Extension Board

For the installation procedure, refer to Chapter 12, "Mounting Extension Boards."

106

11.3 Setting the Jumpers and DIP Switch on the RS-232C

Extension Board

Set the jumpers and DIP switch on the RS-232C extension board as shown below.

Jumper/DIP SW

Settings

SW1

Set selectors 1 and 3 to ON.

JP1

Set a jumper cap onto pin 14.

JP2

Set a jumper cap onto NC.

JP3

Seta a jumper cap onto NC.

SW1

ON

1 2 3 4

JP1

9 3 4 5 6 7 10 11 12 14 15 NC

JP2

9 3 4 5 6 7 10 11 12 14 15 NC

JP3

9 3 4 5 6 7 10 11 12 14 15 NC

107

11.4 RS-232C Extended Serial Ports and Line Number

Assignment

The RS-232C extension board features two COM ports--COM3 and COM4. Two serial data transmission lines #2 and #3 are assigned to COM3 and COM4, respectively.

COM4 (#3) COM3 (#2)

11.5 Communications Configuration of RS-232C Extension

Board

Follow the procedure described below to configure communications feature of COM3 and COM4 on the RS-232C extension board.

n Setting the communication permission

Access: [F6: Set]—[F5: Set Com.]—[F1 Permit.]

CAUTION: COM3 and COM4 do not support data transmission with WINCAPSII.

Keep both of those ports "Disable" (Default).

108

n Setting the transmission rate for RS-232C serial interface ports

Access: [F6: Set]—[F5: Set Com.]—[F2 Serial IF]

Select each of the COM3 and COM4 and then press [F5 Change.] to the transmission rate, parity (None, Odd or Even) and other values.

NOTE: The default transmission speed for the RS-232C extension board is 19,200 bps. The maximum transmission speed is 38,400 bps.

If the transmission speed is set to 38,400 bps, however, a communications failure may occur frequently. Even at 19,200 bps, a communications failure may also occur due to electric noises or other interference.

In programming, therefore, you may need to use the com_state command for setting retry capabilities as shown in the coding sample below.

109

11.6 Coding Sample for Transmission Error Recovery

'!TITLE "<Title>"

PROGRAM sample

.

.

.

DEFPOS lp1(10)

DEFINT li1

,

.

.

li1 = 0

.

.

.

WHILE li1 < 10

.

.

.

INPUT #2,lp1(li1)

'Local position variable.

'Local integer variable.

'Initialize li1.

'Repeat pre-decision.

'Get data on line #2 into

'li1(li1).

'Get communication status into I280.

'If an error occurs, the value is –1.

'Output retry instruction.

com_state #2,I280

IF I280 < 0 THEN

PRINT #2,"R"

ELSE

PRINT #2,"A" li1 = li1 + 1

END IF

.

.

.

.

WEND

End

'Output "normal receive".

'Repeat 10 times.

In the coding sample above,

It is assumed that " R " is a retry command that requires the external equipment to make retry operation and " A " is an acknowledge command for normal data reception.

11.7 Limited Warranty

DENSO WAVE provides the user with the communications function built in the controller for using the RS-232C extension board. It does not give you any warranty or technical support for the extension board itself.

110

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

Download PDF

advertisement

Table of contents