You are on page 1of 18

Communication Interface Manual

Published by M2I Corporation

M2I Corporation

OMRON SYSMAC Series


OMRON SYSMAC-C Serial Interface
The following section describes the system configuration and interface between Samsung OMRON SYSMAC-C PLC and TOP using RS-232C/422 Serial Communication.

< System Configuration >


The above figure shows system configuration to connect SYSMAC-C PLC to TOP. Controller Com. Unit Cable TOP

TOP Refer to Refer to Refer to 422) Refer to Refer to Refer to Refer to Refer to Refer to CPM2C - CIF11 RS422) 2

C200H - LK202V1 C200H/C200HS C200H 201 V1 - LK C500/C1000H/ C500 - LK201 - V1 C2000H/C500 C500 - LK203 C50/C120/C500 - LK201 C120 - V1 /C1000H/C2000 H/C120F/C500F - LK202 C120 - V1 CPM1 - CIF01 CPM1A/CPM2A (block Type) CPM1 - CIF11 CPM2C - CIF01 CPM2C (Card Type)

cable cable cable

diagram(RS 422) diagram(RS 232C) diagram(RS -232C/ cable cable cable cable cable cable

diagram(RS 232C) diagram(RS 422) diagram(RS 232C ) diagram(RS 422) diagram( RS232C ) diagram( RS -232C/ ALL TOP

Caution

Be cautious that Communication Unit of C200H/C200HS differs from other in connector pin spec. (Refer connection diagram (2),(4))

< Cable Diagram >


(1) RS-232C (SYSMAC-C TOP (for 9/15 Pin Connector) This is connection diagram for SYSMAC-C PLCs except C200, CS1, CJ1,CPM1A, 2A, 2C. Comm. Link Module(25Pin) 1 2 3 4 5 6 7 8 20 SG CD DTR FG SD RD RTS CTS TOP (9/15Pin) 1 2 3 4 5 6 7 8 9 CD RD SD DTR SG DSR RTS CTS

(2) RS-232C (SYSMAC-C200 TOP (for 9/15 Pin Connector) This is connection diagram for SYSMAC-C C200. Comm. Link Module(9Pin) 1 2 3 4 5 6 7 8 9 FG SD RD RTS CTS +5V DR ER SG
3

TOP (9/15Pin) 1 2 3 4 5 6 7 8 9 CD RD SD DTR SG DSR RTS CTS

(3) RS-422 (SYSMAC-C TOP (for 5Pin Terminal Block or 15Pin Connector ) This is connection diagram for SYSMAC-C PLCs except C200. Comm. Link Module(9Pin) TOP (5Pin Terminal Block/15pin) 1 2 3 4 5 6 7 8 9 SDB SDA RDB FG SG RDA 1/11 2/12 3/13 4/14 5/15 RDA RDB SDA SDB SG

(4) RS-422 (SYSMAC-C200 Connector) )

TOP (for 5Pin Terminal Block or 15Pin

This is connection diagram for SYSMAC-C PLC C200. Comm. Link Module(9Pin) TOP (5Pin Terminal Block/15Pin) 1 2 3 4 5 6 7 8 9 RDA RDB SDB SDA SG 1/11 2/12 3/13 4/14 5/15 RDA RDB SDA SDB SG

< SYSMAC-C PLC Setup >


(1) C200H-LK201-V1/LK-202-V1 Setup 1) Set station number. Station Number is set by SW1 and SW2. SW1 is X10, SW2 is X1. 2) Baud Rate Setting Set by SW3. Setting values according to SW Set are as follows. Switch 0 1 2 3 4 5 6 Baud Rate(bps) 300 600 1200 2400 4800 9600 19200

3) Command Level Setting Set by SW4. Recommend 2. Switch 0 1 2 3 4 5 6 7 8 9 A B C Command Level Level 1 available Level 1,2 available Level 1,2,3 available Disable setting Level 1 available Level 1,2 available Level 1,2,3 available Disable setting Level 1 available Level 1,2 available Level 1,2,3 available Disable setting Level 1 available odd even JIS 8bit 1 Stop bit odd Parity even Etc. ASCII 7bit 2 Stop bit

D E F

Level 1,2 available Level 1,2,3 available Disable setting

4) DIP Switch Setting C200H-LK201-V1 C200H-LK202-V1

1 2 3 CTS Toggle4 External

ON

Terminator Exist

Mode 1:1

None

1:N

0V(Always ON) SW No. 1 2 3 4 ON OFF

OFF Fixed OFF Fixed 1:N 1:1 5V SupplyNone

REF.

Recommended Setting is CTS 0V(On), 1:N, Terminator Exist.

(2) C500-LK201-V1 Dip Switch Setup IO port RS422 RS422 RS232 RS232 8 7 6 5 4 3 SW1 2 1 ON 8 7 6 5 4 SW2 3 2 1 ON Setting Switch Status ON 0 OFF OFF Station Num. Setting OFF OFF OFF Not Used Not Used Power On PLC Mode Baud Rate Run 300 OFF Baud Rate Setting ON OFF ON Not Used Mode Command Level CMD Level setting 1:1 1 OFF OFF 1 ON OFF 1:N 1,2 OFF ON 1,2,3 ON ON 600 ON OFF OFF ON Stop 1200 2400 4800 9600 OFF OFF OFF ON ON ON ON OFF OFF ON ON OFF ON OFF ON OFF 1920 0 OFF OFF ON OFF 1 ON OFF OFF OFF OFF 2 OFF ON OFF OFF OFF OFF 30 OFF ON ON ON ON 31 ON ON ON ON ON

Sync.

Internal External Terminal Resister None Use CTS CTS 0V 0V External

Switch 1~5 1 2 3 SW1 4 5 6 7 8 1~4 1 2 3 SW2 4 5 6 7~8 7 8

Setting Item Assign Station Num.

REF.

Other recommended settings are Internal Sync., Terminator, CTS OV.

REF.

Fixed to Parity Even, Data Bit 7, Stop Bit 2.

(3) C500-LK203 Dip Switch Setting 5V Supply ON OFF In/Out Port RS422 RS232 Sync. Internal External Terminator None Exist CTS 0V External ON ON 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1

SW1

SW2

Switch 1~5 1 2 3 SW1 4 5 6~7 6 7 8

Setting Item Assign Station Num. 0 OFF OFF Station Num. Setting OFF OFF OFF Parity & Code Transmission Code Parity Power On PLC Mode

Set Switch Status ON 1 ON OFF OFF OFF OFF 2 OFF ON OFF OFF OFF OFF 30 OFF ON ON ON ON 31 ON ON ON ON ON

ASCII 7bt, 2 Stop bit Even Monitor


8

JIS 8bit, 1 Stop bit Odd Normal

Switch 1~4 1 2 3 SW2 4 5 6 7~8 7 8

Setting Item Assign Baud Rate 300 OFF Baud Rate Setting ON OFF ON Select System Mode Command Level Command Level Setting 1:1 1 OFF OFF

Set Switch Status ON 600 ON OFF OFF ON 1200 OFF OFF OFF ON OFF 2400 4800 9600 ON ON ON OFF 1:N 1 ON OFF 1,2 OFF ON 1,2,3 ON ON OFF ON ON OFF ON OFF ON OFF 1920 0 OFF OFF ON OFF

System#0

System#1

REF.

Other recommended settings are Internal Sync., Terminator, CTS OV.

(4) C120-LK201-V1/LK-202-V1 Setting ON SW1 ON 12345678 12345678

SW2

ON SW3 12345678

Switch 1~5 1 2 3 SW1 4 5 6 7 8 1~4 1 2 3 SW2 4 5 6 7~8 7 8

Setting Item Assign Station Num. 0 OFF OFF Station Num. Setting OFF OFF OFF Not Used Not Used Power On PLC Mode Run Assign Baud Rate 300 OFF Baud Rate Setting ON OFF ON Not Used Mode Command Level Command Level Setting 1:1

Set Switch Status ON 1 ON OFF OFF OFF OFF 2 OFF ON OFF OFF OFF OFF 30 OFF ON ON ON ON 31 ON ON ON ON ON

Stop 600 ON OFF OFF ON 1200 2400 4800 9600 OFF OFF OFF ON ON ON ON OFF OFF ON ON OFF 1:N 1 OFF OFF 1 ON OFF 1,2 OFF ON 1,2,3 ON ON ON OFF ON OFF 1920 0 OFF OFF ON OFF

C120-LK201-V1 differs from C120-LK202-V1in SW3.


10

C120-LK201-V1

Switc h 1~2 1 2 3~6 3 4 5 6 7 8 C120-LK202-V1 Switch 1~2 1 2 3 4 5 6 7 8 REF.

Setting Item CTS Setting

Set Switch Status CTS Always ON ON OFF External CTS OFF ON External Sync. OFF ON OFF ON

Sync. Type

Internal Sync. ON OFF ON OFF

Not Used Not Used

Setting Item Terminator Exist ON OFF ON OFF ON OFF Not Used Not Used

Set Switch Status None ON OFF OFF OFF OFF OFF

Recommended Settings are Internal Sync., Terminator, CTS OV .

Caution

During communication, Mode of PLC must be MONITOR Otherwise, . Writeto PLC is not available. If Data Memory(DM6600) is set to 0101h, PLC Mode is MONITOR . DM6600 is available to be changed in only PROGRAM mode.

11

(5) C200HW -COM06 Setup This is setting for OMRON C200 PLC. Settings use internal DM area. (Refer PLC manual in detail.) Default Settings are RS232C, 9600, 7bit, 2bit, even. Caution During communication, Mode of PLC must be MONITOR Otherwise, . Writeto PLC is not available. This is how to use communication unit for RS-422. Following dip switch is located inner of C200HW -COM06. 2 SW1 SW2 ON RS422/RS485 in case of 2-wire type SW1 : Set 2 SW1 : Set 4 SW2 : Set 1 SW2 : Set ON RS422/RS485 in case of 4-wire type 1 4

In case interfacing to TOP by RS-422, set 4-wire type. (Refer PLC manual for RS-422 settings.)

12

< TOP Setup >


(1) TOP Designer Setup Select OMRON(SYSMAC-C)of OMRON Series in PLC Type.

(2) TOP Serial Setup Serial Settings are as follows. ??Serial Baud Rate : Same as controller setting. s ??Serial Data Bit : Same as controller setting. s ??Serial Stop Bit : Same as controller setting. s ??Serial Parity Bit : Same as controller setting. s ??Serial Signal Level : Same as controller setting. s ??Controller Station No. at Comm. Diagnosis(0~31) s : Same as controller setting s

13

CPM1A/2A /2C Setup


< System Configuration >
The above figure shows system configuration to connect SYSMAC-CPM1A/2A Type PLC to TOP.
PLC Comm. Unit Cable TOP

TOP

CPM1A/ CPM2A (block Type)

CPM1-CIF01

Refer

to

cable

diagram(RS -232C) Refer to cable

CPM1-CIF11 CPM2CCIF01

diagram(RS -422) Refer to cable ALL TOP

Diagram(RS -232C) Refer to cable

CPM2C CPM2CCIF11

Diagram(RS 232C/RS -422)

< Cable Diagram >


(1) RS-232C (CPM1A/2A/2C TOP for 9/15 Pin Connector) This is connection diagram for CPM1A / 2A type
CPM1A / 2A/2C (9Pin) TOP (9Pin/15Pin)

1 2 3 4 5 6 7 8 9

FG SD RD RTS CTS +5V DR ER SG

1 2 3 4 5 6 7 8 9

C D RD SD DTR SG DSR RTS CTS

14

(2) RS-422 ( CPM1A/2A TOP) CPM1A/2A/2C(9Pin)


1 2 3 4 5 6 7 8 9 SDA - ) (SD SDB (SD+) RDA - ) (RD FG SG RD B(RD+)

TOP(5Pin Terminal/15Pin)
1/11 2/12 3/13 4/14 5/15 RDA RDB SDA SDB SG

< TOP Setup >


(1) TOP Designer Setup Select OMRON(SYSMAC-C)of OMRON Series in PLC Type.

15

(2) TOP Serial Setup Serial Settings are as follows. ??Serial Baud Rate : Same as controller setting. s ??Serial Data Bit : Same as controller setting. s ??Serial Stop Bit : Same as controller setting. s ??Serial Parity Bit : Same as controller setting. s ??Serial Signal Level : Same as controller setting. s ??Controller Station No. at Comm. Diagnosis(0~31) s : Same as controller setting s

16

Available Address List


(1) SYSMAC C Series(Common) Dev Data Link Latch Relay Timer Counter Data Memory Aux. Memory I/O Relay (DM Area) C50,120,500 C200H C200HS 1000H 2000H 120F 500F 1000HF 0~511 0~1999 0~9999 0~4096 0~6655 0~511 0~4095 0~4095 * Bit ON/OFF control is available in LR,HR,AR,CH. (2) SYSMAC CV Series Dev Data Link Relay Special Hold Relay Timer(Current Value) Counter(Current Value) Data Memory Internal Aux. Relay I/O Relay .
17

Input LR HR TIM CNT DM AR CH

50,120(F),500(F) 0~31 0~31 0~127 0~127 Refer following List. None 0~63

2000H, 1000H(F) 0~63 0~99 0~511 0~511 0~27

200H(S),

0~255 (0~511:200HS)

Input A T C D

CV 1000~1199 000~511 0~1023 0~1023 0~9999 1900~2299 000~199

(3) SYSMAC CS1 Series Dev Index Register Task Flag(TK) Data Register Timer(CV) Counter(CV) Data Memory Internal AUX. Relay Channel I/O Hold Relay Special Auxiliary Relay Exp. Data Memory(E0~EC) Exp. Data Memory(Current Bank) CV : Current Value Addr IR TK DR T C D W CIO H A E0~EC EM CS1 0~15 0~30 0~15 0~4095 0~4095 00000~32767 0~511 0~6143 0~511 0~959 0~32767 0~32767

18

You might also like