Connection example [JW series]

<< Click to Display Table of Contents >>

Manual > Device Connection Guide > Sharp > Connection Procedure (RS-232C) > New Satellite JW Series >

Connection example [JW series]

overview

This is a setting example for connecting to the JW series via RS-232C.

 

Model used

item

Model etc.

PLC

JW-22CU

Communication Unit

CPU Built-in port

 

Configuration environment

item

environment

OS

Windows7 Professional 64Bit

tool

JW300SP V3.8

 

Configuration details

item

setting

Setting items

Configuration Example

PLC side settings

Set with tools

Transmission speed

19200bps



Parity Check

Even



Stop bits

1bits

PC settings

Unit Settings

COMPort

Communication port number to connect to



Transmission speed

19200bps



Byte Size

7bits



Stop bits

1bits



parity

Even


Folder and communication test settings

Area code

01

 

* Most of the settings on the computer will be adjusted to match the settings on the unit.

 

 

PLC side settings

Set up "JW-22CU". Settings are done with JW300SP etc.

 

1.Start JW300SP and create a new project.

 

2.Open "Communication Settings" from the menu, configure the communication settings, and confirm that communication with the PLC is possible.
 

3.Select "System" from the tree, open the settings screen, and perform the following settings.
The port used for communication will be port 2, so the settings will be made for port 2.
c_plc_0403
 

setting

Setting contents

Transfer speed

19200

parity

Even

Stop bits

1bits

Area code

1

 

hint

When using older tools with Ver, you may need to set the settings directly in system memory #236 (communication settings) and #237 (station number). For details on the settings, please refer to the user manual for each CPU.

 

 

PC settings

Use the Server application to connect to the PLC for which you have set up communications.

 

1.Right-click "Application" - "Driver" in the tree and select Add Driver.

 

2.Select the following units from the displayed driver list and add them:
c_plc_0404

 

3.Open the properties of the added unit (U01) and click Communication Settings.
c_plc_0405

 

4.Set "Communication Settings" as follows:
c_plc_0406
 

setting

Setting contents

COMPort

Communication port number to connect to

Transmission speed

19200

Byte Size

7bits

Stop bits

1bits

parity

Even

 

5.Open "Other Settings" and make sure it is checked.
c_plc_0407

 

6.USB-RS-If you are using a 232C conversion cable, the COM port may be locked in the event of a communication error, so check the reopen setting.
c_plc_0408
 

attention

Minimum communication interval

 

Among the JW series PLCs, there are some models that require a certain amount of time to pass after the PC receives a command from the PLC before it can send a command to PLC. If you are using a model with this restriction and you are experiencing intermittent timeout errors, try increasing the [Minimum communication interval] setting in 5 ms increments.

 

The [Minimum communication interval] setting can be changed in the dialog that appears by clicking the "Other detailed settings" button on the "Communication details" tab in the "Communication settings" dialog.

 

7.Perform a connection test to check the connection
In this connection example, the node number is 01, so the first parameter of the network setting parameters is set to "01".
c_plc_0409
 
If a message such as "Connection OK" is displayed, the connection is confirmed to be OK.