controller information sheet - maple systems · pdf filecontroller information sheet maple...

16
CONTROLLER INFORMATION SHEET Maple Model(s) PLC or Controller Graphic HMIs Siemens S7-1200 Siemens S7-1500 Symbolic Addressing Only P/N: 1036-0146 Rev. 06 Date: 09/18/2015 Summary Maple Systems Inc., 808 134th Street SW, Suite 120, Everett, WA 98204-7333 • www.maplesystems.com 1036-0146 Page 1 of 16 Rev. 06, 09/18/2015 Maple Systems Graphic HMIs and Remote HMIs communicate with Siemens SIMATIC S7-1200/ S7-1500 PLCs using the PROFINET interface connector on the CPU. Up to three HMIs can be connected to one PLC. Communications Cable The Maple HMI can be connected directly to the PROFINET port (RJ45) on the PLC. Use an Ethernet crossover cable (Maple P/N 7431-0104) when connecting the HMI directly to the PLC. Use a straight- thru cable (Maple P/N 7431-0103) when connecting to the PLC using an Ethernet hub or switch. Accessible PLC Memory The HMI can directly access PLC tags in the PLC “I”, “Q”, and “M” memory area, or tags that are represented in Global Data Blocks (DB). The following table lists the PLC data types that the Maple Systems HMIs are able to access. S7-1200 Data Type EZware Data Format Description Bool(ean) Bit Byte 16-bit BCD, Hex, Binary, Unsigned Sint 16-bit BCD, Hex, Binary, Signed USint 16-bit BCD, Hex, Binary, Unsigned Word 16-bit BCD, Hex, Binary, Unsigned Int(eger) 16-bit BCD, Hex, Binary, Signed Uint 16-bit BCD, Hex, Binary, Unsigned DWord 32-Bit BCD, Hex, Binary, Unsigned

Upload: trankiet

Post on 03-Feb-2018

241 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CONTROLLER INFORMATION SHEET - Maple Systems · PDF fileCONTROLLER INFORMATION SHEET Maple Model(s) PLC or Controller Graphic HMIs Siemens S7-1200 Siemens S7-1500 Symbolic Addressing

CONTROLLER INFORMATION SHEET Maple Model(s) PLC or Controller

Graphic HMIs Siemens S7-1200

Siemens S7-1500

Symbolic Addressing Only

P/N: 1036-0146

Rev. 06 Date: 09/18/2015

Summary

Maple Systems Inc., 808 134th Street SW, Suite 120, Everett, WA 98204-7333 • www.maplesystems.com

1036-0146 Page 1 of 16 Rev. 06, 09/18/2015

Maple Systems Graphic HMIs and Remote HMIs communicate with Siemens SIMATIC S7-1200/

S7-1500 PLCs using the PROFINET interface connector on the CPU. Up to three HMIs can be connected

to one PLC.

Communications Cable

The Maple HMI can be connected directly to the PROFINET port (RJ45) on the PLC. Use an Ethernet

crossover cable (Maple P/N 7431-0104) when connecting the HMI directly to the PLC. Use a straight-

thru cable (Maple P/N 7431-0103) when connecting to the PLC using an Ethernet hub or switch.

Accessible PLC Memory

The HMI can directly access PLC tags in the PLC “I”, “Q”, and “M” memory area, or tags that are

represented in Global Data Blocks (DB). The following table lists the PLC data types that the Maple

Systems HMIs are able to access.

S7-1200 Data Type EZware Data Format Description

Bool(ean) Bit

Byte 16-bit BCD, Hex, Binary,

Unsigned

Sint 16-bit BCD, Hex, Binary,

Signed

USint 16-bit BCD, Hex, Binary,

Unsigned

Word 16-bit BCD, Hex, Binary, Unsigned

Int(eger) 16-bit BCD, Hex, Binary, Signed

Uint 16-bit BCD, Hex, Binary,

Unsigned

DWord 32-Bit BCD, Hex, Binary, Unsigned

Page 2: CONTROLLER INFORMATION SHEET - Maple Systems · PDF fileCONTROLLER INFORMATION SHEET Maple Model(s) PLC or Controller Graphic HMIs Siemens S7-1200 Siemens S7-1500 Symbolic Addressing

Phone: 425/745-3229 • Fax: 425/745-3429 • Email: [email protected] • www.maplesystems.com

1036-0146 Page 2 of 16 Rev. 06, 07/31/2015

S7-1200 Data Type EZware Data Format Description

Dint 32-bit BCD, Hex, Binary, Signed

Real 32-bit Float

UDint 32-bit BCD, Hex, Binary,

Unsigned

Array1 Word array for ASCII input and output

NOTE 1: Any HMI functions that require accessing consecutive registers, such as Data

Sampling or ASCII Displays, must use Data Block Arrays (for example: Array[1…22] of

Real).

EZware Settings

The following table lists the communications settings that must be configured in EZware. These

settings can be found in the Edit-System Parameters menu under the Device tab. Please note:

The Recommended Settings column provides the recommended setting based

upon the default settings most commonly used in the Siemens S7-1200/S7-1500

PLCs.

The Options column lists EZware’s options; your PLC may not support every option.

Name Recommended

Settings

Options Important Notes

Name:

Siemens S7-1200

(Ethernet) or

Siemens S7-1500

(Ethernet)

The HMI will automatically put the

PLC Type in this field, however the

field can be edited to provide a

unique description.

HMI or PLC: PLC

Location: Local Local, Remote

Select Local if the PLC is directly

connected to the HMI; Remote if

the PLC is connected thru another

HMI.

PLC type:

Siemens S7-1200

(Ethernet) or

Siemens S7-1500

(Ethernet)

PLC I/F: Ethernet

RS-232, RS-485

2W, RS-485 4W,

Ethernet

This driver supports Ethernet

connection only.

PLC default station

no.: 2 0-255

Page 3: CONTROLLER INFORMATION SHEET - Maple Systems · PDF fileCONTROLLER INFORMATION SHEET Maple Model(s) PLC or Controller Graphic HMIs Siemens S7-1200 Siemens S7-1500 Symbolic Addressing

Maple Systems Inc., 808 134th Street SW, Suite 120, Everett, WA 98204-7333 • www.maplesystems.com

1036-0146 Page 3 of 16 Rev. 06, 07/31/2015

Name Recommended

Settings

Options Important Notes

Settings: IP Address:

XXX.XXX.XXX

.XXX

XXX.XXX.XXX.

XXX Enter the IP Address of the PLC.

Settings: Port No: 102 None

Settings: Timeout

(sec) 1.0 0.1 to 25.5

Adjusts time before “PLC no

response” message pops up

Settings: Turn around

delay (ms) 0 0-1000 Adds a delay between HMI polls.

Settings: Send ACK

delay (ms): 0

Time HMI waits for ACK

response from PLC.

Settings: Parameter 1: 0 Not Applicable

Settings: Parameter 2: 0 Not Applicable

Settings: Parameter 3: 0 Not Applicable

Interval of block pack

(words): 0 0-512

See EZware Help – “Optimize

the Update Rate with PLC Block

Pack”

Max. read-command

size (words): 11 Not Adjustable

Max. write command

size (words): 11 Not Adjustable

For S7-1200 with Firmware v3.x (For S7-1200 and S7-1500 with Firmware v4.0, see page 7)

Beginning with Siemens firmware v4.0, the Siemens S7-1200 driver in EZware can no longer import the

tag information directly from the PLC. To establish communication between an HMI5000/RMI5000

Series and an S7-1200/S7-1500 Series PLC with firmware v4.0, follow the instructions for importing the

tags into the EZware project beginning on page 7.

NOTE: Import new tags or updated existing tags A checkbox has added to the bottom of the tag import window called Reserve existing tags:

Page 4: CONTROLLER INFORMATION SHEET - Maple Systems · PDF fileCONTROLLER INFORMATION SHEET Maple Model(s) PLC or Controller Graphic HMIs Siemens S7-1200 Siemens S7-1500 Symbolic Addressing

Phone: 425/745-3229 • Fax: 425/745-3429 • Email: [email protected] • www.maplesystems.com

1036-0146 Page 4 of 16 Rev. 06, 07/31/2015

When this option is checked the tags previously imported from other data blocks will be retained. This

can be used to import a new DB for example, without having to re-import all of the files. This feature is

applied on a block by block basis. If a tag was previously imported from DB1 then a user adds a new tag

to the DB and re-imports the .scl file for that DB, with this option checked, then does not select the

previously imported tag from the import list, the tag will be deleted. To update an existing DB, select all

of the tags from the DB, not just the new ones.

Siemens S7-1200 (symbolic addressing) supports [Reserve existing tags]. Only DB blocks, I, Q,

and M memory areas that contain selected tags are overwritten.

The reserve existing tags option pops up when you click the import button in the Import Tags window…

Verify Tags button on Device tab of System parameter settings window Use this button to verify tags in the PLC from the device tab of the system parameter settings window

when the Siemens S7-1200 driver is selected:

This allows verification of tags without having to re-import the tag list. This button is only active if

unverified tags exist in the program.

Uploading PLC tag table

Follow these steps to upload the PLC tag table of your Siemens PLC to the HMI.

Use these instructions for the S7-1200 v3.x firmware. For firmware v4.0, see the instructions on page 7.

1. In EZware-5000 or EZwarePlus, click on Edit…System Parameters to display the

System Parameter Settings dialog box.

2. On the Device tab, click New… to display the Device Properties dialog box.

3. Under PLC Type, select Siemens S7-1200 (Ethernet).

Page 5: CONTROLLER INFORMATION SHEET - Maple Systems · PDF fileCONTROLLER INFORMATION SHEET Maple Model(s) PLC or Controller Graphic HMIs Siemens S7-1200 Siemens S7-1500 Symbolic Addressing

Maple Systems Inc., 808 134th Street SW, Suite 120, Everett, WA 98204-7333 • www.maplesystems.com

1036-0146 Page 5 of 16 Rev. 06, 07/31/2015

4. Click the Settings button and enter the PLC IP address assigned to the PROFINET port

of the PLC into the IP address: field.

5. Click OK to exit the IP Address Settings dialog box. Click OK to exit the Device

Properties dialog box.

6. Connect the HMI to the PROFINET port on the PLC. Make sure the Siemens Step 7

software is not online with the PLC. Tags cannot be uploaded if the Step 7 software is

online with the PLC. At the System Parameter Settings Device List dialog box, click on

the Get Tag Info… button.

Note: You must execute this step whenever a change is made to the PLC Tag table.

Page 6: CONTROLLER INFORMATION SHEET - Maple Systems · PDF fileCONTROLLER INFORMATION SHEET Maple Model(s) PLC or Controller Graphic HMIs Siemens S7-1200 Siemens S7-1500 Symbolic Addressing

Phone: 425/745-3229 • Fax: 425/745-3429 • Email: [email protected] • www.maplesystems.com

1036-0146 Page 6 of 16 Rev. 06, 07/31/2015

7. If the S7-1200 programming software used is TIA Portal v11 SP2 or later, a dialog of the

Function Block directory will appear. You must define the mapping of the Function

Block (FB) to the Data Block (DB) in this directory.

8. Click “Check OK.” You should see “Get tag information successfully. Please click

EasyBuilder-5000 EZwarePlus

Page 7: CONTROLLER INFORMATION SHEET - Maple Systems · PDF fileCONTROLLER INFORMATION SHEET Maple Model(s) PLC or Controller Graphic HMIs Siemens S7-1200 Siemens S7-1500 Symbolic Addressing

Maple Systems Inc., 808 134th Street SW, Suite 120, Everett, WA 98204-7333 • www.maplesystems.com

1036-0146 Page 7 of 16 Rev. 06, 07/31/2015

[Exit].” indicating the upload was successful:

9. If using TIA Portal V12 or later, when opening an existing project and updating the tag

information in the EasyBuilder-5000 project with the “Get tag info…” button, the DB

name must be entered in the Data Block Name Editor in order to successfully compile

the project.

10. Use the Tag Manager to select the individual tags to be imported.

For S7-1200/S7-1500 with Firmware v4.0

Page 8: CONTROLLER INFORMATION SHEET - Maple Systems · PDF fileCONTROLLER INFORMATION SHEET Maple Model(s) PLC or Controller Graphic HMIs Siemens S7-1200 Siemens S7-1500 Symbolic Addressing

Phone: 425/745-3229 • Fax: 425/745-3429 • Email: [email protected] • www.maplesystems.com

1036-0146 Page 8 of 16 Rev. 06, 07/31/2015

(For S7-1200 with Firmware v3.x, see page 3)

The driver makes use of the tag list obtained from the TIA Portal software. To use this communication

driver with your HMI, you must perform the following steps to import the tag list for the PLC.

1. In the TIA Portal project, right-click on the Project folder and select “Properties.” On the General

tab in the Properties window, select Protection.

2. In the window that pops up scroll down and check the “Permit access with PUT/GET

communication from remote partner” option.

Page 9: CONTROLLER INFORMATION SHEET - Maple Systems · PDF fileCONTROLLER INFORMATION SHEET Maple Model(s) PLC or Controller Graphic HMIs Siemens S7-1200 Siemens S7-1500 Symbolic Addressing

Maple Systems Inc., 808 134th Street SW, Suite 120, Everett, WA 98204-7333 • www.maplesystems.com

1036-0146 Page 9 of 16 Rev. 06, 07/31/2015

3. In the TIA Portal project, under the “Program blocks” folder, right-click on the Data Block to be

exported and select “Properties.”

On the General tab, select “Attributes.” Make sure the “Optimized block access” option is NOT

selected for each data block in the Program blocks folder.

Page 10: CONTROLLER INFORMATION SHEET - Maple Systems · PDF fileCONTROLLER INFORMATION SHEET Maple Model(s) PLC or Controller Graphic HMIs Siemens S7-1200 Siemens S7-1500 Symbolic Addressing

Phone: 425/745-3229 • Fax: 425/745-3429 • Email: [email protected] • www.maplesystems.com

1036-0146 Page 10 of 16 Rev. 06, 07/31/2015

4. Export the PLC tags (I, Q, M tags) from the TIA Portal project (*.xlsx file format). In the “PLC tags” folder, select “Show all tags” and click the Export button.

The “Export to Excel” window pops up. Select the folder to save the file and click “OK.”

Page 11: CONTROLLER INFORMATION SHEET - Maple Systems · PDF fileCONTROLLER INFORMATION SHEET Maple Model(s) PLC or Controller Graphic HMIs Siemens S7-1200 Siemens S7-1500 Symbolic Addressing

Maple Systems Inc., 808 134th Street SW, Suite 120, Everett, WA 98204-7333 • www.maplesystems.com

1036-0146 Page 11 of 16 Rev. 06, 07/31/2015

5. Export the Data Blocks (*.scl file format). If the database contains Struct data types, please note the following restrictions:

You must add at least one data member that doesn’t belong to the Struct data type into the DB,

otherwise the data cannot be imported into the EZware project.

Multidimensional Arrays and Multilayer Structs are not supported.

After building the DB, do the following:

Step 1: Copy the complete Struct data.

Step 2: Delete the data.

Step 3: Add a new row.

Step 4: Paste the data.

6. In the TIA Portal project, under the “Program blocks” folder, right-click on the Data Block to be

exported and select “Generate source from blocks” to create the *.scl file.

Page 12: CONTROLLER INFORMATION SHEET - Maple Systems · PDF fileCONTROLLER INFORMATION SHEET Maple Model(s) PLC or Controller Graphic HMIs Siemens S7-1200 Siemens S7-1500 Symbolic Addressing

Phone: 425/745-3229 • Fax: 425/745-3429 • Email: [email protected] • www.maplesystems.com

1036-0146 Page 12 of 16 Rev. 06, 07/31/2015

Note: Each Data Block will have its own .scl file. The DB number in TIA Portal will be used to

identify the Data Block when it is imported into EZware:

For easy identification name the .scl file so that it references the DB number (i.e., dbXX.scl where

XX is the DB number). Repeat for each Data Block in the “Program blocks” folder.

Note: Some versions of TIA Portal may name the exported file with a *.db extension. If this is the

case, rename each file with a *.scl extension after it is exported.

7. Create a new project in EZware. In the System Parameters window, click the “New” button.

If using EasyBuilder-5000, select the following PLC type:

S7-1200: “Siemens S7-1500 (Ethernet)” driver

S7-1500: “Siemens S7-1500 (Ethernet)” driver

If using EZwarePlus, select the following PLC type:

S7-1200: “Siemens S7-1200 (Ethernet)” driver

S7-1500: “Siemens S7-1500 (Ethernet)” driver

8. In the Device Properties window, enter the IP address of the PLC and click “OK.”

Page 13: CONTROLLER INFORMATION SHEET - Maple Systems · PDF fileCONTROLLER INFORMATION SHEET Maple Model(s) PLC or Controller Graphic HMIs Siemens S7-1200 Siemens S7-1500 Symbolic Addressing

Maple Systems Inc., 808 134th Street SW, Suite 120, Everett, WA 98204-7333 • www.maplesystems.com

1036-0146 Page 13 of 16 Rev. 06, 07/31/2015

9. Click the “Import Tag” button.

10. In the “Import Tags” popup window, select the PLC Tags.(*.xlsx) file:

…and the Data Blocks (*.scl) file(s) to be imported:

If there are multiple Data Blocks, multiple .scl files can be selected for import:

EasyBuilder-5000 EZwarePlus

Page 14: CONTROLLER INFORMATION SHEET - Maple Systems · PDF fileCONTROLLER INFORMATION SHEET Maple Model(s) PLC or Controller Graphic HMIs Siemens S7-1200 Siemens S7-1500 Symbolic Addressing

Phone: 425/745-3229 • Fax: 425/745-3429 • Email: [email protected] • www.maplesystems.com

1036-0146 Page 14 of 16 Rev. 06, 07/31/2015

After the DB files are imported, the DB number field in EZware will be assigned a default

number. If the number does not match the Data Block number in TIA Portal, edit the number so

that it does match:

11. Click the “Import” button. The I, Q, and M addresses will be verified in the PLC, so the PLC must

be connected to the computer. Verify that the tag information was imported successfully in the

Import Status window.

Page 15: CONTROLLER INFORMATION SHEET - Maple Systems · PDF fileCONTROLLER INFORMATION SHEET Maple Model(s) PLC or Controller Graphic HMIs Siemens S7-1200 Siemens S7-1500 Symbolic Addressing

Maple Systems Inc., 808 134th Street SW, Suite 120, Everett, WA 98204-7333 • www.maplesystems.com

1036-0146 Page 15 of 16 Rev. 06, 07/31/2015

12. The Tag Manager window opens. Select the tags to be imported and then click “OK.”

Using the PLC tag table

After you have uploaded the PLC tag table from the Siemens PLC, you can read/write to the tags

using the Settings… button in the target object (e.g., Bit Lamp, Numeric Entry, etc.) dialog box:

Page 16: CONTROLLER INFORMATION SHEET - Maple Systems · PDF fileCONTROLLER INFORMATION SHEET Maple Model(s) PLC or Controller Graphic HMIs Siemens S7-1200 Siemens S7-1500 Symbolic Addressing

Phone: 425/745-3229 • Fax: 425/745-3429 • Email: [email protected] • www.maplesystems.com

1036-0146 Page 16 of 16 Rev. 06, 07/31/2015

Click on the Settings button. Under PLC name, click on Siemens S7-1200 (Ethernet) or Siemens

S7-1500 (Ethernet):

Click on the pull-down box for the Tag: field and select the PLC tag from the list:

Click on the particular PLC tag that you wish to assign to the object and click “OK.”