17
Master-K Series Cnet V1.5

Master-K Series Cnet - weMX s Manual|3 V1.5 1. System Configuration The weMX® supports LSIS Master-K Series Cnet. The series communication settings are described as below

Embed Size (px)

Citation preview

Page 1: Master-K Series Cnet - weMX s Manual|3 V1.5 1. System Configuration The weMX® supports LSIS Master-K Series Cnet. The series communication settings are described as below

Master-K Series Cnet

V1.5

Page 2: Master-K Series Cnet - weMX s Manual|3 V1.5 1. System Configuration The weMX® supports LSIS Master-K Series Cnet. The series communication settings are described as below

2 | Master-K Series Cnet

V1.5

MASTER-K SERIES CNET ............................................................................................... 1

1. SYSTEM CONFIGURATION ..................................................................................... 3

2. SYSTEM SETTINGS ................................................................................................... 4

3. EXAMPLE ................................................................................................................... 6

3.1. EXAMPLE 1 ...................................................................................................................................................... 6

3.2. EXAMPLE 2 ...................................................................................................................................................... 9

3.3. EXAMPLE 3 .................................................................................................................................................... 11

4. CABLE WIRING DIAGRAMS ................................................................................ 13

4.1. RS232C CONNECTION 1 ............................................................................................................................... 13

4.2. RS232C CONNECTION 2 ............................................................................................................................... 14

4.3. RS485 (2 WIRED) ......................................................................................................................................... 15

5. DEVICE CODE ......................................................................................................... 16

6. TROUBLE SHOOTING ........................................................................................... 17

Page 3: Master-K Series Cnet - weMX s Manual|3 V1.5 1. System Configuration The weMX® supports LSIS Master-K Series Cnet. The series communication settings are described as below

PLC’s Manual|3

V1.5

1. System Configuration

The weMX® supports LSIS Master-K Series Cnet. The series communication settings are described as below.

Series CPU Link I/F Communication

Type

Communication

Settings

Cable

K80S K7M-DT**S CPU Built-in

Cnet RS232C 3.1 Example 1 4.1. RS232C Connection 1

K200S K3P-07AS CPU Built-in

Cnet RS232C 3.2 Example 2 4.2. RS232C Connection 2

K200S K3P-07AS G6L-CUEC RS422/RS485 3.3 Example 3 4.3. RS485 Connection

■ Connection Configuration

① 1 : 1 (One display and one device/PLC) Connection – Available with RS232C/RS485.

② 1 : N (One display and certain number of device/PLCs) Connection – Available with RS485(2 wired).

Page 4: Master-K Series Cnet - weMX s Manual|3 V1.5 1. System Configuration The weMX® supports LSIS Master-K Series Cnet. The series communication settings are described as below

4 | Master-K Series Cnet

V1.5

2. System Settings

Select ‘LS Industrial Systems Co., Ltd.’ for ‘Manufacturer’ and ‘Master-K Series Cnet’ for ‘Series’ in the ‘Add

Device/PLC’ setting window.

Add a device and set up a port to the device and a communication type.

The weMX® N series support as below.

COM weMX®N Series

COM1 RS-232C

COM2 RS-232C

COM3 Do not use ( Debug Port)

COM4 RS-485(2 wired)

Set up the selected COM port interface to the device.

Items Description

Speed Select one: ‘2400’, ‘4800’, ‘9600’, ‘19200’, ‘38400’, ‘57600’ and ‘115200’.

Data Length Select ‘7’ or ‘8’.

Parity Select one: ‘NONE’, ‘EVEN’ and ‘ODD’.

Stop Bit Select ‘1’ or ‘2’.

Flow Control No supported

Timeout Standby time for communication. (Unit: seconds)

Retry The number of attempts to communicate after a failure.

Wait to Send Time to wait before sending a message to the external device (Unit: milliseconds)

- This is the time required to wait every time before sending to the device.

Delayed

Interval

This is the time required to wait after the external device finishes reading values for

addresses to the screen. (Unit: milliseconds)

- Start to read those values again after waiting as long as delayed intervals.

Page 5: Master-K Series Cnet - weMX s Manual|3 V1.5 1. System Configuration The weMX® supports LSIS Master-K Series Cnet. The series communication settings are described as below

PLC’s Manual|5

V1.5

Set up a unit ID to the added device. It indicates a station number in case of LSIS. The default value is ‘0’.

If the device’s station number is different, change it by clicking a unit ID displayed button, ‘Unit ID’ button.

Items Description

Default Unit ID Set up the station number. The default value is ‘0’ The range is from ‘0’ to ‘31’.

Click ‘ ’ button to finish setting up the rest features.

Items Description

BCC Tick ‘BCC’ if it is used for communication between devices.

Page 6: Master-K Series Cnet - weMX s Manual|3 V1.5 1. System Configuration The weMX® supports LSIS Master-K Series Cnet. The series communication settings are described as below

6 | Master-K Series Cnet

V1.5

3. Example

3.1. Example 1

Set up RS232C Cnet with the CPU built-in Loader port between display and K7M-DT**S as below.

Items Display CPU Built-in

Port

COM Port COM1(RS232C) RS232C

Unit ID

(Station No.)

1 1

Speed 38400 38400

Data Length 8 8

Parity NONE NONE

Stop Bit 1 1

Timeout 3 -

Retry 2 -

Wait to Send 0 -

Delayed Interval 0 -

The screen as below shows that the setup is completed.

Page 7: Master-K Series Cnet - weMX s Manual|3 V1.5 1. System Configuration The weMX® supports LSIS Master-K Series Cnet. The series communication settings are described as below

PLC’s Manual|7

V1.5

Page 8: Master-K Series Cnet - weMX s Manual|3 V1.5 1. System Configuration The weMX® supports LSIS Master-K Series Cnet. The series communication settings are described as below

8 | Master-K Series Cnet

V1.5

Use ‘KGL for Windows’ or KGLWIN to change CPU port communication settings.

Follow as below.

① Connect a K7M-DT**S Loader port to a computer.

② Run KGLWIN and create a project with MK_S – 80S.

③ Change the K7M-DT**S mode to PAU/REM.

④ Click [Online] – [Connect] to connect to the K7M-DT**S.

⑤ Click [Online] – [Change Mode] – [Stop] to stop.

⑥ Click [Online] – [Read] to read the PLC’s parameter information.

⑦ Change features in the window as below once the reading is properly complete.

⑧ Send the changed information by clicking [Online] – [Write] once the change is complete.

Page 9: Master-K Series Cnet - weMX s Manual|3 V1.5 1. System Configuration The weMX® supports LSIS Master-K Series Cnet. The series communication settings are described as below

PLC’s Manual|9

V1.5

3.2. Example 2

Set up RS232C Cnet with the CPU built-in Loader port between display and K3P-07AS as below.

Items Display CPU Built-in

Port

COM Port COM1(RS232C) RS232C

Unit ID

(Station No.)

1 1

Speed 38400 38400

Data Length 8 8

Parity NONE NONE

Stop Bit 1 1

Timeout 3 -

Retry 2 -

Wait to send 0 -

Delayed Interval 0 -

The screen as below shows that the setup is complete.

Page 10: Master-K Series Cnet - weMX s Manual|3 V1.5 1. System Configuration The weMX® supports LSIS Master-K Series Cnet. The series communication settings are described as below

10 | Master-K Series Cnet

V1.5

Use ‘KGL for Windows’ or KGLWIN to change CPU port communication settings.

Follow as below.

① Connect a K3P-07AS Loader port to a computer.

② Run KGLWIN and create a project with MK_S – 200S.

③ Change the K3P-07AS mode to PAU/REM.

④ Click [Online] – [Connect] to connect to K3P-07AS.

⑤ Click [Online] – [Change Mode] – [Stop] to stop.

⑥ Click [Online] – [Read] to read the PLC’s parameter information.

⑦ Change features in the window as below once the reading is properly complete.

⑧ Send the changed information by clicking [Online] – [Write] once the change is complete.

Page 11: Master-K Series Cnet - weMX s Manual|3 V1.5 1. System Configuration The weMX® supports LSIS Master-K Series Cnet. The series communication settings are described as below

PLC’s Manual|11

V1.5

3.3. Example 3

Set up as below for RS485 communication with G6L-CUEC I/F card between display and K3P-07AS as below.

Items Display G6L-CUEC

COM Port COM4(RS485) RS485

Unit ID

(Station No.)

1 1

Speed 115200 115200

Data Length 8 8

Parity NONE NONE

Stop Bit 1 1

Timeout 3 -

Retry 2 -

Wait to Send 0 -

Delayed Interval 0 -

The screen as below shows that the setup is complete.

Page 12: Master-K Series Cnet - weMX s Manual|3 V1.5 1. System Configuration The weMX® supports LSIS Master-K Series Cnet. The series communication settings are described as below

12 | Master-K Series Cnet

V1.5

Set up the G6L-CUEC I/F card by referring to the manual and using the Cnet frame editor.

Follow as below.

① Connect a K3P-07AS Loader port to a computer.

② Run the Cnet frame editor and then click [Online] – [Connect] to connect to the K3P-07AS.

③ Click [Online] – [Read] and then try to read with the RS422 type and default parameter option to a slot

number where the G6L-CUEC I/F card is located.

④ Change the information to the communication settings once the reading is properly complete.

⑤ Send the changed information by clicking [Online] – [Write] once the change is complete.

⑥ There is a mode switch on the G6L-CUEC I/F card to decide an operation mode. The switch should be

set to indicate ‘1’ to communicate with display.

Page 13: Master-K Series Cnet - weMX s Manual|3 V1.5 1. System Configuration The weMX® supports LSIS Master-K Series Cnet. The series communication settings are described as below

PLC’s Manual|13

V1.5

4. Cable Wiring Diagrams

4.1. RS232C Connection 1

① For connection between PC and PLC

PC Pin No. Pin No. CPU Built-in

Loader

By cable

D-SUB 9 Pin

Female type

1 1

By cable

D-SUB 9 Pin

Male type

2(RXD)

2

3(TXD)

3

4

4(RXD)

5(GND) 5(GND)

6 6

7

7(TXD)

8 8

9 9

② For connection between display and PLC

weMX® A Series Pin No. Pin No. CPU Built-in

Loader

By cable

D-SUB 9 Pin

Male type

1 1

By cable

D-SUB 9 Pin

Male type

2(TXD)

2

3(RXD)

3

4

4(RXD)

5(GND) 5(GND)

6 6

7

7(TXD)

8 8

9 9

Page 14: Master-K Series Cnet - weMX s Manual|3 V1.5 1. System Configuration The weMX® supports LSIS Master-K Series Cnet. The series communication settings are described as below

14 | Master-K Series Cnet

V1.5

4.2. RS232C Connection 2

③ For connection between PC and PLC

PC Pin No. Pin No. CPU Built-in

Loader

By cable

D-SUB 9 Pin

Female type

1 1

By cable

D-SUB 9 Pin

Male type

2(RXD)

2

3(TXD)

3

4

4(RXD)

5(GND) 5(GND)

6 6

7

7(TXD)

8 8

9 9

④ For connection between display and PLC

weMX® A Series Pin No. Pin No. CPU Built-inLoader

By cable

D-SUB 9 Pin

Male type

1 1

By cable

D-SUB 9 Pin

Male type

2(TXD)

2

3(RXD)

3

4

4(RXD)

5(GND) 5(GND)

6 6

7

7(TXD)

8 8

9 9

Page 15: Master-K Series Cnet - weMX s Manual|3 V1.5 1. System Configuration The weMX® supports LSIS Master-K Series Cnet. The series communication settings are described as below

PLC’s Manual|15

V1.5

4.3. RS485 (2 Wired)

weMX® N Series Pin No. Pin No. G6L-CUEC

TRX+

RDA

GND

RDB

GND

SDA

TRX-

SDB

SG

FG

Page 16: Master-K Series Cnet - weMX s Manual|3 V1.5 1. System Configuration The weMX® supports LSIS Master-K Series Cnet. The series communication settings are described as below

16 | Master-K Series Cnet

V1.5

5. Device Code

Here are devices that the weMX® supports as below. 주1)

Device Type Bit Address Word Address 32

bits

Remark

Input / Output Relay Word P00000 – P0063F P0000 – P0063

L/H

Auxiliary Relay Word M00000 – M0191F M0000 – M0191

Keep Relay Word K00000 – K0031F K0000 – K0031

Link Relay Word L00000 – L0063F L0000 – L0063

Special Relay Word F00000 – F0063F F0000 – F0063 주2)

Timer (Contact) Bit TX0000 – TX0255 – 주3)

Counter (Contact) Bit CX0000 – CX0255 – 주3)

Timer (Current Value) Word – T0000 – T0255

Counter (Current Value) Word – C0000 – C0255

Step Controller Word – S000 – S099

Data Register Word D0000.0 – D9999.F D0000 – D9999

Note 주1)The weMX® supports the maximum address range among available CPUs in the series. Refer to

the manual given that which device/PLC is supported and device ranges basically depend on each

device/PLC.

주2) Write not allowed

주3) Bit timer and counter are set to ‘TX’ and ‘CX’ respectively to distinguish timer and counter in

word.

Page 17: Master-K Series Cnet - weMX s Manual|3 V1.5 1. System Configuration The weMX® supports LSIS Master-K Series Cnet. The series communication settings are described as below

PLC’s Manual|17

V1.5

6. Trouble Shooting