beautypg.com

Reset switch, ޓ ? ޓ ? ޓ 1 ޓ 2 ޓ > ޓ – PATLITE PHC-100A User Manual

Page 2

background image

8077-F

Software is not bundled with this product. Please confirm that the program you select will operate properly according to the communication
protocol and conditions listed below. ID data is stored in ROM and therefore will not be cleared when the unit is turned off.

٨ Do not use excessive force when inserting a wire into the wire insert point. Damage may result to the terminal or product.

Caution

3.How to use (ASCII command requirements)

Communication protocol

@

ޓ? ޓ? ޓ1 ޓ2 ޓ> ޓ!

Header

ID1

ID2

Command

Data1

Data2

End code

Header

㧬㨇40H㨉

End code

!

㨇21H㨉

ID

Command

0

㨇30H㨉̖Action࡯OFF

1

㨇31H㨉̖Action࡯ON

? [3FH] --- Create or change ID

Data

٨Command to operate 1-8 outputs

٨Command to set ID # when ID is used (optional)

This example operates switches # 6,4,3 and2.

Programming example as above executes the commands set on No.6,4,3 and 2.

Example input
Letter(ASCII code)
Bit data
Action No.

Data1
2

㨇32H㨉

0 0 11 0 0 1 0

8 7 6 5

Data2
>

㨇3EH㨉

0 0 11111 0

4 3 2 1

1 bite

2 bite

1 bite

2 bite

1 bite

The default ID is ?? [3FH 3FH].
In this case, the unit does not use an ID.

Examples

Serial communication specification

Reply code

Header

ID1

ID2

command Data1 Data2 End code

?

?

1

0

8

40H

3FH

3FH

31H

30H

38H

21H

ASCII code

HEX code

٨To excute the command of No.4 on

00110000B 00111000B

Header

ID1

ID2

command Data1 Data2 End code

?

?

0

?

?

40H

3FH

3FH

30H

3FH

3FH

21H

ASCII code

HEX code

٨To cancel all the commands

00111111B

00111111B

Header

ID1

ID2

command Data1 Data2 End code

2

3

?

4

6

40H

32H

33H

3FH

34H

36H

21H

ASCII code

HEX code

٨To change ID of PHC-100A from 23[32H*33H] to 46[34H*36H]

Communication specification

RS-232C compliant

Communication speed

9600bps

Data length

8 bit

Stop bit

1 bit

Parity

Any setting

Any setting

synchronous mode

Flow control

Synchronous mode

Transmission mode

Half-duplex mode

Transmission code

ASCII code

Reply code

ACK

㨇06H㨉

NACK

㨇15H㨉

̪The product does not work if a command is sent before ACK(06H) is replied.

Reply code

E

㨞㨞㨛㨞 contents

When a command, other than 0[30H], 1[31H] or ?[3FH], is set

When data, other than 0[30H] - ?[3FH], is used

Reply interval between data is
more than 5 seconds after receipt of header

Transmission condition

ACK

㨇06H㨉When data transmission is finished

NACK

㨇15H㨉Command error

Data error

Timeout

Connect the (straight) cable DSUB9P (female) connector to the PHC-100A communications port.
Connect the other end of the cable to your PC or DTE device

̪

عPHC-100A

ع㧼㧯

Refer to instructions manual of PC
when connecting this product to
PC with RS-232C straight cable.

AC

adaptor

120V AC

ASCII code

Hex

0

1

2

3

4

0

NUL

DLE

Space

0

@

1

SOH

DC1

!

1

A

2

STX

DC2

"

2

B

3

ETX

DC3

#

3

C

4

EOT

DC4

$

4

D

5

ENQ

NAK

%

5

E

6

ACK

SYN

&

6

F

7

Bell

ETB

'

7

G

8

BS

CAN

(

8

H

9

HT

EM

)

9

I

A

LF

SUB

*

:

J

B

VT

ESC

+

;

K

C

FF

FS

,

<

L

D

CR

GS

-

=

M

E

SO

RS

.

>

N

F

SI

US

/

?

O

Higher code

Lower code

Connection cable

Signal

PHC-100A

Shield

Pin No.

FG

-

TXD

3

RXD

2

RTS

7

CTS

8

SG

5

Signal

㧔PC㧕

Data output

Pin No.

-

1

3

2

2

3

7

4

8

5

5

7

FG

TXD

RXD

RTS

CTS

SG

D-SUB9P D-SUB25P

D-SUB9P

ع

Reset switch

All commands can be reset by pressing a reset switch.
While the reset switch is pressed, this product does not
accept any communication commands, and then, CTS line of
RS-232C will be at low level.

3.Wiring example

The internal contacts are non-voltage contacts (relay contact). They operate products which contact capacity is under AC125V

࡮3A or DC30V࡮3A.

The products having the different voltage can be connected to each contact, since each contact is independent.

̪The example listed above is in the case of the 120V AC product. The direct current product of DC 30V or less also can be connected.

RS-232C Straight cable

Power operating

In the case of products operated by power supply(When the 120V AC product is used)

عWiring example 1

AC adaptor connection

٨Block diagram

٨Wiring diagram

ψ120V AC

120V AC

φ

120V AC

㧨PC㧪

RS-232C Straight
cable

< Warning lights etc. >

㧨PHC-100A㧪

AC adaptor

(bundled)

PC

PHC-100A

㧨PC㧪

㧨PHC-100A㧪

RS-232C straight
cable

RS-232C Straight
cable

120V AC

ޓ

φ

㧨AC adaptor connection㧪

Signal light

Audible alarms

etc.

lead wire 1

lead wire 2

lead wire 3

COM wire

ψ 120V AC

1.Wiring to the terminal block

2.Connecting the RS-232C cable (Not supplied with the PHC-100A)

٨Terminal block

٨How to make wiring connection

Ԙ Strip the wire insulation back 9 mm

ԙ Depress the connect-disconnect lever with a slotted screwdriver

Ԛ While holding the lever depressed, insert the wire

ԛ Remove the screwdriver to and check that the wire does not come out easily

Connect-disconnect lever operation

A slotted screwdriver

ޓnominal size 4.5mm˜50mm

Applecable wire

9mm

A solid wire

ޓǾ0.4㨪Ǿ1.2mm 㧔AWG26㨪18㧕

A twisted wire

ޓ0.3㨪0.75mmޓ㧔AWG22㨪20㧕

̪When using stranded wire, the strand should be more than 0.18 mm diameter.

2

A slotted screwdriver

9mm

Connect-disconnect lever

Wire insert point

120V AC

120V AC

Warning

lights

RELAY

No.8

Lead wire operating : In the case of products operated by lead wire. (When the 120V AC product is used)

عWiring example 2

٨Block diagram

٨Wiring diagram

AC adaptor

(bundled)

PC

PHC-100A

120V AC

Signal

light

RELAY

No.8

RELAY

No.7

RELAY

No.6

ធὐኈ㊂ ޓޓޓޓޓޓޓ߹ߢ
Contact capacity

125V AC,3A
30V DC,3A

8

7

6

5

4

3

2

1

࡝࡟࡯ធὐNo.(Relay contact No.)

㔚✢ⵍⷒ೸߈㐳ߐ㧦9mm(Strip)

න✢:Ǿ0.4㨪1.2mm(Single wire)
᠐✢:0.3㨪0.75mm 2(Twist wire)

MODEL

PHC-100A

Reset switch

RS-232C

Power

24V DC

૶ ↪ น ⢻ 㔚 ✢
A p p l i c a b l e w i r e

Strip length

㧙㧞㧙

㧙㧟㧙