50
1/50 www.myomron.com/index.php?action=kb&print=1233 SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from other devices with the computer by going through the networks. When transferring screen data from CX-Designer, users can send it to the NS through a PLC connected with the NS by a Serial, Ethernet or Controller Link network. When transferring/monitoring data, such as a ladder program, from CX-Programmer, users can also send it to the PLC through the NS connected with the PLC by a Serial, Ethernet or Controller Link network. Be sure to confirm safety at the destination NS or PLC before transferring data. For general SPMA connections see article SPMA Connections and Routing Methods. The following examples are provided below: Example 1: Serial Connection between computer and PLC and Serial 1:N NT Link between PLC and NS set for transferring Screen Data to NS through PLC Example 2: Serial Connection between Computer and PLC and Ethernet between PLC and NS Set for Transferring Data to NS through PLC Example 3: Ethernet between Computer and PLC and Controller Link between PLC and NS Set for Transferring Data to NS through PLC Example 4: Ethernet between Computer and PLC and Serial 1:N NT Link between PLC and NS Set for Transferring Screen Data to NS through PLC Example 5: Ethernet between Computer and NS and Serial 1:N NT Link between NS and PLC Set for Transferring Screen Data to PLC through NS Example 6: Ethernet between Computer and NS and Controller Link between NS and PLC Set for Transferring Screen Data to PLC through NS Example 7: USB between Computer and NS, and Serial 1:N NT Links between NS and PLC Set for Transferring Screen Data to the PLC through NS Example 8: USB Connection between computer and PLC and Serial 1:N NT Link between PLC and NS set for transferring Screen Data to NS through PLC Preliminary Information The NS may also be referred to as the PT (programmable terminal). A serial connection for the PT-to-PLC uses the NT Link 1:N protocol. A serial connection from the computer-to-PLC uses Toolbus, USB or Modem methods. The examples presume basic connections such as PLC-to-PT and Computer-to-PT/PLC have been already established. Overview Transferring Data from the Computer to the PT through a PLC or a Memory Card in the PT Screen data can be uploaded/downloaded from the CX-Designer to/from a PT connected by serial, Ethernet or Controller Link communications through the PLC (CS/CJ-series PLCs only) connected with the PT by a Serial, Ethernet or Controller Link network. In addition, the data can be downloaded/uploaded to a Memory Card placed in the PT. www.infoPLC.net

SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

  • Upload
    vandieu

  • View
    228

  • Download
    2

Embed Size (px)

Citation preview

Page 1: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

1/50www.myomron.com/index.php?action=kb&print=1233

SPMA Connections And Routing Examples

Introduction

Single Port Multi Access (SPMA) is a method of accessing data from other devices with the computer by goingthrough the networks. When transferring screen data from CX-Designer, users can send it to the NS through aPLC connected with the NS by a Serial, Ethernet or Controller Link network. When transferring/monitoringdata, such as a ladder program, from CX-Programmer, users can also send it to the PLC through the NSconnected with the PLC by a Serial, Ethernet or Controller Link network.

Be sure to confirm safety at the destination NS or PLC before transferring data.

For general SPMA connections see article SPMA Connections and Routing Methods.

The following examples are provided below:

Example 1: Serial Connection between computer and PLC and Serial 1:N NT Link between PLC and NS set

for transferring Screen Data to NS through PLC

Example 2: Serial Connection between Computer and PLC and Ethernet between PLC and NS Set for

Transferring Data to NS through PLC

Example 3: Ethernet between Computer and PLC and Controller Link between PLC and NS Set for

Transferring Data to NS through PLC

Example 4: Ethernet between Computer and PLC and Serial 1:N NT Link between PLC and NS Set for

Transferring Screen Data to NS through PLC

Example 5: Ethernet between Computer and NS and Serial 1:N NT Link between NS and PLC Set for

Transferring Screen Data to PLC through NS

Example 6: Ethernet between Computer and NS and Controller Link between NS and PLC Set for

Transferring Screen Data to PLC through NS

Example 7: USB between Computer and NS, and Serial 1:N NT Links between NS and PLC Set for

Transferring Screen Data to the PLC through NS

Example 8: USB Connection between computer and PLC and Serial 1:N NT Link between PLC and NS set

for transferring Screen Data to NS through PLC

Preliminary Information

The NS may also be referred to as the PT (programmable terminal). A serial connection for the PT-to-PLC usesthe NT Link 1:N protocol. A serial connection from the computer-to-PLC uses Toolbus, USB or Modem methods.The examples presume basic connections such as PLC-to-PT and Computer-to-PT/PLC have been alreadyestablished.

Overview

Transferring Data from the Computer to the PT through a PLC or a Memory Card in the PT

Screen data can be uploaded/downloaded from the CX-Designer to/from a PT connected by serial, Ethernet orController Link communications through the PLC (CS/CJ-series PLCs only) connected with the PT by a Serial,Ethernet or Controller Link network. In addition, the data can be downloaded/uploaded to a Memory Cardplaced in the PT.

www.infoPLC.net

Page 2: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

2/50www.myomron.com/index.php?action=kb&print=1233

Transferring/Monitoring Ladder Programs via a PT

Data such as ladder programs can be downloaded/uploaded from/to the CX-Programmers to/from the PLCsthrough the PT. The PT is connected with the CX-Programmers by USB, or by Ethernet or Controller Linknetwork. It is connected with the PLCs by serial connection or by Ethernet or Controller Link network.

www.infoPLC.net

Page 3: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

3/50www.myomron.com/index.php?action=kb&print=1233

Note: The CX-Net cannot be used when using the CX-Programmer through the PT. Uploading screen displayand responses of touch input actions may slow down when using the CX-Programmer through the PT. Correctoperation is possible only for the configurations described in this document.

Example 1

Serial Connection between computer and PLC and Serial 1:N NT Link between PLC and NS set fortransferring Screen Data to NS through PLC

This section describes data transfer from the CX-Designer to a PT connected either an RS-232C port or aperipheral port on the PLC's CPU Unit by a Serial (1:N NT Link) connection through a PLC connected with thecomputer by serial (Toolbus) connection. In this example, the cable between the computer and the PLC isconnected to the peripheral port on the PLC and the cable between the PLC and the PT is connected to theRS232C port on the PLC.

Setting the Communications Method

1. Open the desired project on CX-Designer and select PT - Transfer - Transfer Program. The Screen dataTransfer Dialog Box will appear.

2. Click the Comms. Method button on the top right of the dialog box. The Comms Setting Dialog Box willappear.

www.infoPLC.net

Page 4: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

4/50www.myomron.com/index.php?action=kb&print=1233

3. Select Pass through PLC option.4. Select the communications method between computer and PLC. Here Serial (Toolbus) is set as an

example.5. Select the communications method between PLC and PT. Here NT LINK is set as an example.

6. Click the Set button to the right of the communications method setting. The following Serial SettingDialog Box will appear.

7. Set the Port to the COM port to use to connect the computer to the PLC. Select the baud rate betweena computer and PLC. Set whether to detect the baud rate set for the peripheral port on the PLC. Thedefault is to detect the baud rate. If detection is disabled (pin on the PLC's DIP switch is turned ON),set the baud rate to the same speed as set for the peripheral port on the PLC. Select the port to useto connect the PT and PLC.

www.infoPLC.net

Page 5: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

5/50www.myomron.com/index.php?action=kb&print=1233

8. Click the OK Button in the Serial Setting Dialog Box.9. Click the Set button on the right of the NS and PLC Field. The following Serial Setting Dialog will

appear.10. Set the port to use to connect PLC and the unit number of the PT that will be the destination. Here the

unit number is set to 0 because the cable is connected to the RS-232C port with a 1:1 connection.

11. Click the OK Button in the Serial Setting Dialog Box.12. Click the OK Button in the Comms Method Dialog Box.

Transferring Screen Data

1. Click the Connect Button in the Screen Data Transfer Dialog Box. After completing the connection, thescreen on the PT switches to the following screen and the PT will wait for the data to be transferred.Here the entire project will be transferred as an example.

www.infoPLC.net

Page 6: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

6/50www.myomron.com/index.php?action=kb&print=1233

2. Check Select All, and click a button to display the Transfer Confirmation Dialog Box.3. Click the Start button. The download will be started.4. If Auto-reset after transmission is not selected, the Confirmation Dialog box for restart will be

displayed at the computer when the data transfer is finished. The PT must be restarted to operate thescreens that have been transferred.

Click the YES Button to restart the PT.

Example 2

Serial Connection between Computer and PLC and Ethernet between PLC and NS Set for TransferringData to NS through PLC

This section describes an example of settings used when transferring screen data from the CX-Designer to aPT connected by Ethernet through a PLC connected with the computer by a serial (toolbus) connection. Thevalues such as IP Address and Network Address described below are the examples, so please set values inaccordance with the actual environment.

Settings on the PLC

Create the following routing table entry using CX-Programmer Ver.3.1 or later and transfer the routing tablesto the PLC.

1. Input the unit number of the Ethernet Unit. Here, 1 is input.2. Input the network address of the Ethernet Unit. Here, 3 is input.

www.infoPLC.net

Page 7: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

7/50www.myomron.com/index.php?action=kb&print=1233

*Check the correct DIP switch positions for serial ports on the PLC

Settings on the PT

Make the settings on the CX-Designer as shown below. After completing these settings, transfer them to thePT along with screen data.

1. Select PT menu – Communication Setting on CX-Designer.2. Set the Ethernet to Enable.3. Set the same IP address as that of the PT. Here 192.168.0.22 is set as an example. Set the Sub-net

Mask of the PT. Here, 255.255.255.0 is set as an example.4. Click the Add Button to display the IP Address Setting Dialog Box. Set the same Node Address and IP

Address as those set in the Ethernet Unit. Here, 6 is set for Node Address and 192.168.0.6 is set forthe IP Address as examples.

www.infoPLC.net

Page 8: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

8/50www.myomron.com/index.php?action=kb&print=1233

5. Click the OK button.6. Transfer the settings with the screen data to the PT. To do this, connect the PT with the computer

directly and perform standard data transfer. Do NOT transfer the data through the PLC.

Setting the Communications Method

1. Open the desired project on the CX-Designer and select PT menu - Transfer - Transfer Program. TheScreen Data Transfer Dialog Box will appear.

2. Click the Comms. Method Button on the Comms. Setting. The Comms. Method Dialog Box will appear.3. Check Pass Through PLC box.4. Select the communications method between the computer and PLC. Set Serial (Toolbus).5. Select the communications method between PLC and PT. Set Ethernet.

www.infoPLC.net

Page 9: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

9/50www.myomron.com/index.php?action=kb&print=1233

6. Click the Set button on the right of the communications method setting. The following Serial Settingdialog box will appear.

7. Set the Port to the COM port to use to connect the computer and PLC. Here COM1 is set as anexample.

8. Click the OK button in the Serial Setting dialog box.9. Click the Set button on the bottom right of the PT and PLC field. Ethernet/CLK Setting dialog box

www.infoPLC.net

Page 10: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

10/50www.myomron.com/index.php?action=kb&print=1233

shown below will be displayed.10. Set the Network Address between the PT and PLC (the Value set in the local network table using CX-

Net). Here, 3 is set as the Network Address for Ethernet communications.11. Set the Node Address of the destination PT for the Node Address. Here, the node address of the PT is

input. Here, 22 is set as an example.

12. Click the OK Button in the Ethernet/CLK Setting Dialog Box.13. Click the OK Button in the Comms Method Dialog Box.

Transferring Screen Data

1. Click the Connect button in the Screen Data Transfer Dialog Box. After completing the connection, thewindow will switch to the following window. Here, the entire project will be transferred an example.

2. Select Select All, and click the button to display the Transfer Confirmation Dialog box.3. Click the Start Button. The download will be started.4. If Auto-reset after transmission is not selected, the Confirmation Dialog box for restart will be

displayed at the computer when the data transfer is finished. The PT must be restarted to operate thescreens that have been transferred.

Click the Yes Button to restart the PT.

Example 3

Ethernet between Computer and PLC and Controller Link between PLC and NS Set for Transferring Datato NS through PLC

www.infoPLC.net

Page 11: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

11/50www.myomron.com/index.php?action=kb&print=1233

This section describes an example of settings used when transferring screen data from the CX-Designer to aPT connected by Controller Link through a PLC connected with the computer by an Ethernet connection. Thevalues such as IP Address and Network Address described below are the examples, so please set values inaccordance with the actual environment.

Settings on the PLC

1. Set the IP Address of the PLC Ethernet Unit (hardware or software setting) and Node Address (rotaryswitch setting). For instance, set values as follows:

IP Address: 192.168.0.6

Network Address:1

Node Address:6

2. Set the Node Address and Network Address of the PLC Controller Link Unit. For instance, set values asfollows:

Network Address:3

Node Address:4

3. Create the following routing table using CX-Net in CX-Programmer Ver.3.1 or later and transfer it tothe PLC.

UNIT UNIT NUMBER LOCAL NETWORK ADDRESS

Ethernet Unit 1 1

Controller Link Unit 2 3

www.infoPLC.net

Page 12: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

12/50www.myomron.com/index.php?action=kb&print=1233

Settings on the PT

Make the settings on the CX-Designer shown below. After completing these settings, transfer them to the PTalong with the screen data.

1. Select PT menu - Communication Setting in CX-Designer.2. Set Controller Link to Enable.3. Click the Routing Table Setting Button on Comm-All. The Routing Table Setting Dialog Box will be

displayed.4. Input 1 as the Destination Network Address, 3 as the Remote Network Address, and 4 as the

Gateway Node Address (Controller Link Unit's node address). Click the OK Button to return to theComms. Setting Dialog Box.

www.infoPLC.net

Page 13: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

13/50www.myomron.com/index.php?action=kb&print=1233

5. Transfer the above settings along with and desired screen data to the PT. At this time, connect the PTdirectly to the computer. Perform normal screen transfer without selecting Pass Through PLC.

Setting the Communications Method

1. Open the desired project on the CX-Designer and select PT Menu - Transfer - Transfer Program. TheScreen Data Transfer Dialog Box will appear.

2. Click the Comms. Method Button at the top right of the dialog box. The Comms. Method Dialog Box willappear.

3. Select Pass Through PLC.4. Select the communications method between a computer and PLC. Here, Ethernet is set.5. Select the communications method between the PLC and PT. Here, CLK (Controller Link) is set.

www.infoPLC.net

Page 14: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

14/50www.myomron.com/index.php?action=kb&print=1233

6. Click the Set button to the right of the communications method setting. The following NetworkSettings Dialog Box will appear.

7. Input the Ethernet network address for the Network of the FINS source address. Here, 1 is set as anexample.

8. Input network address and node address of the PLC's Ethernet Unit for the Network and Node of theFINS destination address. Here the network address is set to 1 and the node is set to 6 as examples.

www.infoPLC.net

Page 15: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

15/50www.myomron.com/index.php?action=kb&print=1233

9. Click the Driver Tab and make the following settings.

Input the IP address of the PLC's Ethernet Unit. Here, 192.168.0.6 is input as an example.

10. Click the OK Button in the Network Settings Dialog Box.11. Click Set Button on the Comms.Method between PT and PLC at the bottom right of the screen to

display the Ethernet/CLK Setting.12. Set the Network Address of the Controller Link communications between the PT and PLC (the value

set in the local network table using CX-Net). In this example, 3 was set as the Network Address forController Link communications and so set 3.

13. Set the Node Address of the destination PT. In this example, set the Node Address of the PT'sController Link Unit, ie., set 5.

www.infoPLC.net

Page 16: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

16/50www.myomron.com/index.php?action=kb&print=1233

14. Click the OK Button.

Transferring Screen Data

1. Click the Connect button in the Screen Data Transfer Dialog Box. After completing the connection, thewindow will switch to the following window. Here, the entire project will be transferred an example.

2. Select Select All, and click the button to display the Transfer Confirmation Dialog box.3. Click the Start Button. The download will be started.4. If Auto-reset after transmission is not selected, the Confirmation Dialog box for restart will be

displayed at the computer when the data transfer is finished. The PT must be restarted to operate thescreens that have been transferred.

Click the Yes Button to restart the PT.

Example 4

Ethernet between Computer and PLC and Serial 1:N NT Link between PLC and NS Set for TransferringScreen Data to NS through PLC

www.infoPLC.net

Page 17: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

17/50www.myomron.com/index.php?action=kb&print=1233

This section describes data transfer from the CX-Designer to a PT connected with the either the RS-232C portor peripheral port on the PLC's CPU Unit by a Serial 1:N connection through a PLC connected by Ethernet. Thevalues such as IP Addresses and Network Addresses described below are the examples, so please set valuesin accordance with the actual environment.

Settings on the PLC

1. Set the IP Address of the PLC Ethernet Unit (hardware or software setting) and Node Address (rotaryswitch setting). For instance, set values as follows.

IP Address: 192168.0.6

Network Address: 1

Node Address: 6

2. Create the routing tables using CX-Net in CX-Programmer Ver.3.1 or later and transfer them to thePLC. Create the local network table treating either the RS232-C port or peripheral port as theCommunications Unit by setting the items shown below.

When connecting the PT with the PLC using the RS-232C port, treat the RS-232C port as the CommunicationsUnit. Set 252 for the SIOU, and set 3 for the Local Network of the serial communications that pass through thisunit number.

UNIT NUMBER LOCAL NETWORK ADDRESS252 (Serial Port) 3

When connecting the PT with the PLC by the Peripheral Port, treat the peripheral port as the CommunicationsUnit. Set 253 for the SIOU, and set 3 for the Local Network of the serial communications that pass through thisunit number.

UNIT NUMBER LOCAL NETWORK ADDRESS253 (Peripheral Port) 3

www.infoPLC.net

Page 18: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

18/50www.myomron.com/index.php?action=kb&print=1233

3. Add the Local Network Table for PLC Ethernet Unit in the same manner. Set 1 for the SIOU and 1 forEthernet Local Network that pass through this unit number.

UNIT NUMBER LOCAL NETWORK ADDRESS1 1

Settings on the PT

There is no need to make settings when connecting a PLC with a PT by Serial (1:N NT Link) connection.

Setting the Communications Method

1. Open the desired project on the CX-Designer and select PT Menu - Transfer - Transfer program. TheScreen Data Transfer will be displayed.

2. Click the Comms.Method Button on the Comms.Setting field. The Comms. Method dialog box willappear.

3. Select Pass Through PLC.4. Select the communications method between the Computer and PLC. Here, Ethernet is set.5. Select the communications method between the PLC and PT. Here, NT Link is set.

www.infoPLC.net

Page 19: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

19/50www.myomron.com/index.php?action=kb&print=1233

6. Click the Set Button to the right of the communications method setting. The following NetworkSettings Dialog Box will appear.

7. Input the Ethernet network address for the Network of the FINS source address. Here, 1 is set as anexample.

8. Input network address and node address of the PLC's Ethernet Unit for the Network and Node of theFINS destination address. Here, 1 is set for the Network and 6 is set for the Node as an example.

9. Click the Driver Tab and make the following settings. Input the IP Address of the PLC's Ethernet Unit.Here 192.168.0.6 is set for the IP Address as an example.

10. Click the OK Button on the Network Settings Dialog Box.11. Click the Set Button on the bottom right of the Comms.Method between NS through PLC. The Serial

Setting Dialog Box shown below will be displayed.

www.infoPLC.net

Page 20: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

20/50www.myomron.com/index.php?action=kb&print=1233

12. Set the serial communications network address (the value set in the local network table in the CX-Net)between the PT and PLC. In this example, set 3 as the Serial communication network address was set3.

13. Set the NT link unit number of the destination PT. Here, 0 is set because the RS-232C port isconnected 1:1.

14. Click the OK Button in the Serial Setting Dialog Box.15. Click the OK Button in the Comms Method Dialog box.

Transferring Screen Data

1. Click the Connect button in the Screen Data Transfer Dialog Box. After completing the connection, thewindow will switch to the following window. Here, the entire project will be transferred an example.

2. Select Select All, and click the button to display the Transfer Confirmation Dialog box.3. Click the Start Button. The download will be started.4. If Auto-reset after transmission is not selected, the Confirmation Dialog box for restart will be

displayed at the computer when the data transfer is finished. The PT must be restarted to operate thescreens that have been transferred.

Click the Yes Button to restart the PT.

Example 5

Ethernet between Computer and NS and Serial 1:N NT Link between NS and PLC Set for TransferringScreen Data to PLC through NS

www.infoPLC.net

Page 21: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

21/50www.myomron.com/index.php?action=kb&print=1233

Transferring Data such as a Ladder Program from a Computer to a PLC through a PT Connected to theComputer via Ethernet and Connected to the PLC via Serial 1:N NT Link.

Settings on the PT

1. Open PT Menu - Communication Setting Tab.2. Select the Enable on the Ethernet to display settings on the right side of the screen. Set these items in

the way shown in the following table. It is also possible to make the following settings in the CX-Designer system settings and transfer them together with any desired screen data beforehand.

ITEM SETTINGNetwork Address 1 (network address between the computer and

the PT)Node Address 22 (PT's node address)IP Address 192.168.0.22 (PT's IP address)Subnet Mask 255.255.255.0IP Address (ofcomputer)

192.168.0.10

Settings on the PLC

It is not necessary to make settings when connecting a PLC with a PT by serial communications (1:N NT Link).

Settings on the Computer

1. Start up CX-Programmer. Select Ethernet as the network type. Then, click the Driver Tab on theNetwork Settings and set the IP address of the PT in the IP Address on this page.

2. Click the Network Tab and set the items in the table below.

ITEM SETTINGFINS Source Address Set the local network address of the PTFINS Destination Address

Connection via serial port A: 111

Connection via serial port B: 112

Node* 1 is set (fixed value)

Frame Length 1000 is set as an example

www.infoPLC.net

Page 22: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

22/50www.myomron.com/index.php?action=kb&print=1233

Response Timeout Default value of 2

*Note: The node set from the Network Tab page is fixed at 1. Transfer will not be performed correctly ifanother value is set. Be sure to set 1.

3. After completing the settings, establish online connection and transfer the data (e.g., ladder program).

Example 6

Ethernet between Computer and NS and Controller Link between NS and PLC Set for Transferring ScreenData to PLC through NS

The following example shows how to perform settings for transferring data, such as a ladder program, fromCX-Programmer, through a PT connected via Ethernet, to a PLC connected via Controller Link. The values suchas IP Addresses and Network Addresses described below are the examples, so please set values inaccordance with the actual environment.

Settings on the PT

1. Select PT Menu - Comm.Setting on CX-Designer.2. Set Controller Link to Enable, and input 3 for Network Address and 5 for Node Address.

www.infoPLC.net

Page 23: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

23/50www.myomron.com/index.php?action=kb&print=1233

3. Set the Ethernet to Enable.4. Set the Network Address between the computer and PT as the Network address. In this example, 1 is

set.5. Set the PT's node address as the Node Address. In this example, 22 is set.6. Set the IP address set for the PT as the IP address. In this example, 192.168.0.22 is set.7. Next set the Sub-net Mask. In this example, 255.255.255.0 is set.8. Next, click the Add Button at the bottom left of the dialog box to display the IP Address Setting Dialog

Box. In this example, the node address and IP address set for the PT and computer are set.

www.infoPLC.net

Page 24: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

24/50www.myomron.com/index.php?action=kb&print=1233

9. Click the OK Button.10. Transfer the above settings together with any desired screen data to the PT.

Settings on the PLC

Start up CX-Programmer and connect the computer directly to the PLC. Then create the following routing tableand transfer it to the PLC.

ITEM SETTINGSIOU (unit number of the PLC's Controller Link Unit) 2Local Network 3

Destination Network 1Relay Network 3Relay Node (node address of the PT's CLK unit) 5

www.infoPLC.net

Page 25: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

25/50www.myomron.com/index.php?action=kb&print=1233

Settings on the Computer

1. Start up CX-Programmer. Set the IP address of the PT in the IP Address on the Driver Tab page of theNetwork Settings.

2. Click the Network Tab and make the following settings.

ITEM SETTINGFINS Source Address - Network (between computerand PT)

1

FINS Destination Address - Network (between PT andPLC)

3

Node 4

www.infoPLC.net

Page 26: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

26/50www.myomron.com/index.php?action=kb&print=1233

3. After completing the settings, establish online connection and transfer the data (e.g., ladder program)

Example 7

USB between Computer and NS, and Serial 1:N NT Links between NS and PLC Set for Transferring ScreenData to the PLC through NS

The configuration below is the case to transfer data such as ladder programs from a CX-Programmer to a PLCthrough an NS that is connected with the CX-Programmer via USB, and with the PLC via Serial 1:N NT Link.

Settings on the NS

Connect to PLC via 1:N NT Link.

Settings on the PLC

Connect to NS via 1:N NT Link.

www.infoPLC.net

Page 27: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

27/50www.myomron.com/index.php?action=kb&print=1233

Settings on the Computer

1. Start up CX-Programmer. Then, select PLC - Auto Online Connection - Direct Online.2. Select USB connection on the Direct Online dialog and click the Connect button.

3. Select the connecting target PLC dialog will appear. Select the connecting target PLC under SerialPortA and click the Connect button.

4. CX-Programmer will go online to the target PLC.

www.infoPLC.net

Page 28: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

28/50www.myomron.com/index.php?action=kb&print=1233

Example 8

USB Connection between computer and PLC and Serial 1:N NT Link between PLC and NS set fortransferring Screen Data to NS through PLC

This section describes data transfer from the CX-Designer to a NS connected either an RS-232C port or aperipheral port on the PLC's CPU Unit by a Serial (1:N NT Link) connection through a PLC connected with thecomputer by USB. In this example, the computer and the PLC is connected by USB and the cable between thePLC and the PT is connected to the RS232C port on the PLC.

Setting the Communications Method

1. Open the desired project on CX-Designer and select PT - Transfer - Transfer Program. The Screen dataTransfer Dialog Box will appear.

2. Click the Comms. Method button on the top right of the dialog box. The Comms Setting Dialog Box willappear.

3. Select Pass through PLC option.4. Select the communications method between computer and PLC. Here USB is set as an example.5. Click on Communicate with multiple software tools via USB checkbox.6. Select the communications method between PLC and PT. Here NT LINK is set as an example.

www.infoPLC.net

Page 29: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

29/50www.myomron.com/index.php?action=kb&print=1233

7. Click the Set button on the right of the NS and PLC Field. The following Serial Setting Dialog willappear. Set the port to use to connect PLC and the unit number of the NS that will be the destination.Here the unit number is set to 0 because the cable is connected to the RS-232C port with a 1:1connection.

8. Click the OK Button in the Serial Setting Dialog Box.9. Click the OK Button in the Comms Method Dialog Box.

Transferring Screen Data

1. Click the Connect button in the Screen Data Transfer Dialog Box. After completing the connection, the

www.infoPLC.net

Page 30: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

30/50www.myomron.com/index.php?action=kb&print=1233

window will switch to the following window. Here, the entire project will be transferred an example.

2. Select Select All, and click the button to display the Transfer Confirmation Dialog box.3. Click the Start Button. The download will be started.4. If Auto-reset after transmission is not selected, the Confirmation Dialog box for restart will be

displayed at the computer when the data transfer is finished. The PT must be restarted to operate thescreens that have been transferred.

Click the Yes Button to restart the PT.

Precautions

The CP1 series PLC does not support SPMA (through PLC).

This article is intended to supplement official Omron documentation. The provided configurations should be

thoroughly tested before implementation and may or may not function in specific applications. The user

assumes full responsibility of the configuration, integration, performance and application of the provided

configurations. For detailed information on the use and general configuration of Omron products, refer to

official Omron manuals or contact your local Omron support representative.

This information is current as of CX-One v4 release.

=============================================================================

SPMA feature allows you to connect to Omron equipment through other Omron equipment acting as agateway. This routing communications frames can be done through different types of networks: - Series - Ethernet - Controller-Link - NT-Link

www.infoPLC.net

Page 31: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

31/50www.myomron.com/index.php?action=kb&print=1233

Many scenarios are possible with some restrictions:

Connecting to a PLC via a NS over Ethernet

Connecting to a PLC via a Controller Link NS

www.infoPLC.net

Page 32: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

32/50www.myomron.com/index.php?action=kb&print=1233

Connecting to a PLC via an Ethernet NS

www.infoPLC.net

Page 33: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

33/50www.myomron.com/index.php?action=kb&print=1233

Connecting to a PLC via a USB NS

Sign CX-Designer/Terminal NS Series

www.infoPLC.net

Page 34: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

34/50www.myomron.com/index.php?action=kb&print=1233

SPMA connection via the communication cards SCU21/31/41

I. CX-Designer/NS via Modem

www.infoPLC.net

Page 35: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

35/50www.myomron.com/index.php?action=kb&print=1233

II. Via API CX-Designer/NS CS / CJ

III. Via API CX-Designer/NS CS / CJ and modem

www.infoPLC.net

Page 36: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

36/50www.myomron.com/index.php?action=kb&print=1233

IV. CX-Designer/NS API via Ethernet

V. NS CX-Programmer/API via Ethernet

www.infoPLC.net

Page 37: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

37/50www.myomron.com/index.php?action=kb&print=1233

I. CX-Designer/NS connection via modem

1. Configure the port B of the NS-mode modem for data transfer

www.infoPLC.net

Page 38: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

38/50www.myomron.com/index.php?action=kb&print=1233

2. Set the transfer CX-Designer as follows:

II. Sign CX-Designer/NS Via API CJ / CS

www.infoPLC.net

Page 39: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

39/50www.myomron.com/index.php?action=kb&print=1233

1. Configure the device port Personalized Toolbus 9600 (8, N, 1 compulsory) and switch the switch 4 (Crane)ON 2. Configure the RS232C port on NT-Link 1: N at the same speed as selected in the NS (High speed = 115200,Standard = 38400) and specify the maximum number of NT / PC Link = 1 3. Create the routing table in the CS / CJ

www.infoPLC.net

Page 40: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

40/50www.myomron.com/index.php?action=kb&print=1233

4. Set CX-Designer as below

5. transfer the project

III. Sign CX-Designer/NS Via API CJ / CS and Modem

www.infoPLC.net

Page 41: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

41/50www.myomron.com/index.php?action=kb&print=1233

1. Configure the port device personalization, Toolbus 9600 (8, N, 1 compulsory) and switch the switch 4(Crane) ON 2. Configure the RS232C port on NT-Link 1: N at the same speed as selected in the NS (High speed = 115200,Standard = 38400) and specify the maximum number of NT / PC Link = 1 3. Set CX-Designer as below

www.infoPLC.net

Page 42: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

42/50www.myomron.com/index.php?action=kb&print=1233

4. Transfer the project

IV. Sign CX-Designer/NS API via Ethernet

www.infoPLC.net

Page 43: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

43/50www.myomron.com/index.php?action=kb&print=1233

1. Configure the RS232C port on NT-Link 1: N at the same speed as selected in the NS (High speed = 115200,Standard = 38400) and specify the maximum number of NT / PC Link = 1. 2. Create the routing table in the CS1/CJ1

www.infoPLC.net

Page 44: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

44/50www.myomron.com/index.php?action=kb&print=1233

3. Set CX-Designer as below

4. Transfer the project

V. Sign CX-Programmer through NS-PLC Ethernet

www.infoPLC.net

Page 45: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

45/50www.myomron.com/index.php?action=kb&print=1233

1. Configure the RS232C port on NT-Link 1: N at the same speed as selected in the NS (High speed = 115200,Standard = 38400) and specify the maximum number of NT / PC Link = 1 2. Configure the IP addresses in the NS

www.infoPLC.net

Page 46: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

46/50www.myomron.com/index.php?action=kb&print=1233

3. Create the routing table in the CS / CJ

4. CX-Programmer Configure as follows:

www.infoPLC.net

Page 47: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

47/50www.myomron.com/index.php?action=kb&print=1233

5. Now you are ready to connect

Link:http://www.myomron.com/index.php?action=kb&print=1233

www.infoPLC.net

Page 48: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

48/50www.myomron.com/index.php?action=kb&print=1233

www.infoPLC.net

Page 49: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

49/50www.myomron.com/index.php?action=kb&print=1233

www.infoPLC.net

Page 50: SPMA Connections And Routing Examples Introduction Europe… · SPMA Connections And Routing Examples Introduction Single Port Multi Access (SPMA) is a method of accessing data from

50/50www.myomron.com/index.php?action=kb&print=1233

Comments

Translate: English

con la tecnología de

www.infoPLC.net