+ All Categories
Home > Documents > Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings...

Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings...

Date post: 03-May-2018
Category:
Upload: dangphuc
View: 231 times
Download: 3 times
Share this document with a friend
43
Advantech WebAccess Frequently Asked Questions Advantech Corp. http://webaccess.advantech.com/ Email: [email protected] 2000 2013
Transcript
Page 1: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

Advantech WebAccess Frequently Asked Questions

Advantech Corp.

http://webaccess.advantech.com/

Email: [email protected]

2000 – 2013

Page 2: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

1

Advantech WebAccess Frequently asked Questions

Part I:Communication Settings

Omron Communication Settings ............................................................................................3

Set Siemens 7 Address and Parameter ..................................................................................6

Set TCP of GE9030/9070 TCP .............................................................................................. 11

Simulating a SCADA NODE as a Modbus Slave .................................................................... 14

WebAccess and AB PLC RSLinx Setting ................................................................................ 16

Part II:Draw Display Settings

Animation Layer Sequence Solution ................................................................................... 21

Changing the Button Color .................................................................................................. 25

Modifying the Toolbar ......................................................................................................... 28

Instructions for <CLOSEDSP> ............................................................................................... 36

Making Liquid Level Movement Animation ........................................................................ 37

Procedure for Hiding Buttons .............................................................................................. 45

Page 3: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

2

Part I:Communication Settings

Page 4: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

3

Omron Communication Settings

1. Open Internet Explorer web browser.

2. Create a Project Node: Enter project name, IP and then click Submit.

3. Add a SCADA Node.

4. Choose ADD Comport.

5. Comport Interface Type.

Serial:For setting Comport Property on all Omron PLCs, refer to Figure 1.

For Device Property, you can keep the default value.

Figure 1: Serial Type Parameter

Page 5: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

4

TCPIP:For Comport Property, you can keep the default value

For Device Property, refer to Figure 2.

Device Type: OmronCJ

Port Number: 9600

Figure 2: TCPIP Type Parameter

API:For Comport Property, refer to Figure 3

Figure 3: API Type Parameter

Page 6: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

5

Device Property:For Network No. and Node No., refer to PLC setting.

Figure 4 :API Type Device Parameter

Page 7: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

6

Set Siemens 7 Address and Parameter

1. Open Internet Explorer web browser.

2. Create a Project Node: Enter the project name, IP and then click Submit.

3. Add the SCADA Node.

4. Choose Add Comport.

Figure 1: Choose Add Comport

5. Add Comport: TCPIP.

Interface Name: TCPIP. Set the parameters as required. Refer to Figure 2.

Figure 2: Create a New Comport

Page 8: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

7

6. Choose Add Device.

Figure 3: Add Device

7. Enter the Device Name and set the parameters as shown in Figure 4.

Figure 4: Create a new device

TSAP: 03.02 or 03.03 (period (.), not comma)

j

j

j

j

j

j

j

(

(

(

0: Auto switch;1: Manual switch

Page 9: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

8

8. Device:

Device Type: SiemS7

Port Number: 102

Manually Switch Primary/Backup: When PLC supports redundancy function, it

works.

TSAP in Hex: Device ID, Rack Slot: 03.02 for S7-300

TSAP in Hex: Device ID, Rack Slot: 03.03 for S7-400

9. Choose Add Tag.

Figure 5:Add Tags

Page 10: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

9

10. Enter Tag parameters as shown in Figure 6.

Figure 6: Create New Tags

Page 11: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

10

Appendix: Comparison PLC I/O with WebAccess and Siemens

Digital data address sample:

S7 PLC Address Define in WebAccess

Address Sample Address

Format

Start

Address

Length Conversion Code

DB1.DBX 2.0 DBX1,2 0 1 Unsigned Integer

DB1.DBX 3.5 DBX1,3 5 1 Unsigned Integer

DB1.DBB 2.1 retrieve 3

bits

DBB1,2 1 3 Unsigned Integer

DB1.DBB 3.4 retrieve 2

bits

DBB1,3 4 2 Unsigned Integer

Analog data address sample:

S7 PLC Address Define in WebAccess

Address Sample Address

Format

Start

Address

Length Conversion Code

DB2.DBW 4 DBW2,4 0 16 Unsigned Integer

DB2.DBB 1 DBB2,1 0 8 Unsigned Integer

DB2.DBW 64 retrieve

float

DBW2,64 0 32 Real

Text data address sample:

S7 PLC Address Define in WebAccess

Address Sample Address Format TextLen Conversion Code

DB9.DBW 0 DBW9,0 32 Text

Page 12: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

11

Set TCP of GE9030/9070 TCP

1. Open Internet Explorer web browser.

2. Create a Project Node: Enter the project name, IP and then click Submit.

3. Add a SCADA Node.

4. Choose ADD Comport.

5. Add Device

Device Type: GE9030

IP Address: PLC IP Address

Port Number: 18245

Page 13: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

12

Attached: Communication Setting list of the commonly used international PLC TCP/IP

Protocols:

PLC brand TCP port number WebAccess define device type

Siemens S7 102 SiemS7

GE9030 18245 GE9030

GE9070 18245 GE9070

ModbusTCP 502 Modicon

Mitsubishi A 1280 MitsuA

Mitsubishi Ana 1280 MitsuAna

Mitsubishi Q 1280 MitsuQ

Omron C 9600 OmronC

Omron CJ 9600 OmronCJ

Omron CS 9600 OmronCS

Omron CV 9600 OmronCV

ADAM5KE 502 ADAM5KE

ADAM6K 502 ADAM6K

WaGo 502 Wago750/Modicon

TOSHIBA(T3/T3H/T2N/T2E) 1024 TOSHIBA

Honeywell HC900 502 Modicon

Page 14: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

13

6. Add I/O tags: Set the parameters as shown in the figure below.

After setting the parameters, click Download and then start the kernel.

Page 15: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

14

Simulating a SCADA NODE as a Modbus Slave

WebAccess provides a new function: Simulating the SCADA node into TCP Modbus devices

and supporting remote data collection via the TCP Modbus driver in other SCADA nodes.

Remote SCADA node simulates Local SCADA as TCP Modbus devices to collect data remotely.

The method is as follow:

1) Edit “moddef.ini” document, the file format is as follow:

[MOD_DEF]

LISTEN_PORT= 504

TOTAL_TAG = 7

TAG1=40001,TM_65,0

TAG2=40002,SIN_65,4

TAG3=40004,F65_CA01,4

TAG4=40014,F65_CA06,1

TAG5=30001,MD30001,0

TAG6=00001,F65_CD01,0

TAG7=10003,F65_CD_02_ALARM,0

[serial]

com=3

baud_rate=19200

data_bit=8

stop_bit=1

MainParity=N

device_unit_no=1

[Format Description]

LISTEN_PORT = port number for TCP/IP, must match WebAccess device configuration,

Default:504

TOATL_TAG = Total tags to be read

TAGn=ModBus_Address,WebAccess_TagName,Type

n= 1 to total_tag

ModBus_Address = 0xxxx, 1xxxx, 3xxxx, 4xxxx

Page 16: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

15

WebAccess_TagName = Point(Tag) Name in Local SCADA node

Type 0 = Unsigned 16-bit integer

Type 1 = Signed 16-bit integer

Type 2 = Unsigned 32-bit integer

Type 3 = Signed 32-bit integer

Type 4 = 32-bit Floating point

Description:

LISTEN_PORT is the communication interface of simulation Modbus device. The default value

of the Ethernet Interface is 504. TOTAL_TAG is the amount of all tags.

TAGn=ModBus_Address,WebAccess_TagName,Type:

ModBus_Address: Address of Modbus, which is the address of Modbus driver that Remote

SCADA uses to collect data.

WebAccess_TagName: Tag name in Local SCADA

Type is the definition of data conversion for Modbus type.

“0” is 16 bit, integer without plus or minus sign

“1” is 16 bit, integer with plus or minus sign

“2” is 32 bit, integer with plus or minus sign

"4" is 32-bit floating-point;

Note:

a. Node name in remote SCADA Tag can be defined by the user.

b. Analog Tag Conversion Type: “4”

c. Digital Tag Conversion Type: “0”

2) Copy “moddef.ini” file to” Engineer name_SCADA name” of “config” folder in Local

SCADA, i.e.:C:\WebAccess\Node\config\LiveDemo_Demo.

3) Re-download and start kernel.

4) Remote SCADA: Select TCP Modbus (Modicon) driver.

Device IP:IP address of local SCADA Tag

Comport Number: 504

Page 17: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

16

WebAccess and AB PLC RSLinx Setting

1. RSLinx Setting:

1.1 RSLinx Gateway Setting

Open RSLinx and choose Communication Driver of Menu Bar in

Workstation.

Add Ethernet Device : Add PLC IP (Host Name)

If PLC IP is not added to RSLinx, WebAccess will help add the specified

setting of WebAccess Host or IP when WebAccess start the kernel and in

communication mode. RSLinx must be set the same as Station parameter.

Follow the following steps:

1.2 Choose RSL.inx.

Page 18: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

17

1.3 Choose Configure Drivers in Communications.

1.4 Choose Available Driver Types: Select Ethernet Device, and then click Add New.

Page 19: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

18

1.5 Add New RSLinx Driver BOX: Choose a name for the new driver and click OK.

1.6 Configure Driver Box: Enter AB PLC IP Address, and type Station and Host Name.

1.7 Finish setting: If AB PLC connection is abnormal, the window will show “?” or “X”,

Page 20: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

19

If it is normal, the PLC icon is displayed.

2. Set AB PLC RSLinx in WebAccess

Comport Property: Interface Name: RSLinx

Interface Type: EI

Device Property: Device Type: ABPLC5

Ethernet Host or IP: Enter IP Address of ABPLC5

(the same as Host Name of RSLinx)

Unit Number: the same with Station of ABPLC5 in RSLinx

Station Number: the same with Unit Number

3. About simulation software of AB PLC RSLinx Gateway:

Only DH + and DH-485 can be simulated. The RSLinx Driver is incompatible with

RSLinx Driver of WebAccess. Therefore, it cannot simulate communication with

RSLinx Driver of WebAccess.

4. About software in AB PLC RSLinx Lite

Connection tests can be done only with an AB PLC. There’s no formal License Key. The

software cannot communicate with WebAccess.

5. Use RSLinx Pro or official version with License Key to communicate with HMI software.

Page 21: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

20

Part II:Draw Display Settings

Page 22: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

21

Animation Layer Sequence Solution

How do we arrange an animation layers’ sequence? If two objects are made into two

different animations, which one should be used as the front layer?

If you don’t define the sequence, WebAccess will consider the latest animation to be

the top layer. To define which animation should be displayed as the top layer, you should

follow the procedures below. We will make a rectangle color animation and a rectangle

motion animation as our example.

Click “Start Draw”, and then select “Rectangle” from the toolbar. Choose “Multiple

States” when adding color animation to this rectangle. (In the example below, the

Accumulation Tag is chosen as the animation tag.)

Draw a smaller rectangle inside this rectangle after making the color animation. Make a

motion animation to this smaller rectangle. (The Accumulation Tag is chosen as the

animation tag.)

Page 23: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

22

After completing the motion animation, select the bigger rectangle first (the white

rectangle with color animation), and then select the smaller rectangle with the Ctrl key and

left click the mouse (the black rectangle with motion animation). Finally click the animation

shortcut to make a color animation of both of them. Choose any tag in the Daq tag as the

animation tag (Here we use %ATMYEAR). Note that “Original Color” should be checked when

configuring the animation.

Page 24: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

23

Save your settings to see the effect.

Page 25: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

24

Page 26: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

25

Changing the Button Color

Can the user change the button color in WebAccess and if so, how?

1. Click “Start Draw”, and then select “Rectangle” from the toolbar. Use digital tag when

adding color animation to this rectangle. After this, select “Button” from the “Dynamic”

drop-down list. Input “<SETVAL>a=%RRVERSE” in “Button Down Macro” field. After

checking “Group Objects”, click “OK” to save the setting.

Page 27: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

26

Page 28: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

27

2. Select “Rectangle” from the “Draw” tool and draw a rectangle to the size of the button

you need. Click “Animation” to edit the button.

Checking “Color” is how the animation to the color of the rectangle is changed.

Choosing “Digital States” allows the button being displayed in different colors when in

different digital states. Enter “%ATESTBUTTON” in the Tag filed, and then click “OK” to

animate the button and save the configuration.

However, this method will only change the color of the button when it is pushed. When

it is released, the color will restore to the original color.

Page 29: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

28

Modifying the Toolbar

1. Start DrawDAQ。

2. Select “Toolbar” from Tools.

3. The configuration dialogue box will open.

Page 30: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

29

4. The drop-down list of the Toolbar File will be blank unless you have created the needed

toolbar.

5. Refer to the toolbar in the system if you don’t know how to create your own toolbar.

6. Fine C:\WebAccess\node\config\Project_NodeName\bgr\*.txx

Page 31: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

30

7. Copy any*.txx (e.g. graph.txx ) file to this directory first.

Page 32: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

31

8. Then rename graph.txx to graph.tlb

Page 33: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

32

9. Click DAQDraw> Tool > Toolbar > on the drop-down list of the Toolbar File, you will see

the tlb file.

10. Move the mouse over any button and you’ll see the relevant macro command and

description.

Page 34: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

33

11. You can modify the animation of the button or display it with text (image file can be*.ico

or bbn).

12. Save the modified file (DO remember that the name should be the same as before, such

asgraph.tlb, almsum.tlb…).

13. Rename the previous *.txx (e.g. change graph.txx or almsum.txx) under

C:\WebAccess\node\config\Project_NodeName\bgr to other names.

14. Rename the *.tlb under C:\WebAccess\node\config\Project_NodeName\bgr to*.txx (the

file name must be the same as the previous file, such as graph.txx…)

15. Click Download, and then you will see the updated toolbar.

Note: the *.bbn file can be made directly in DrawDAQ. Follow the steps below:

1. Start DrawDAQ

2. Select Text, and enter the content you want to display.

Page 35: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

34

3. Select “Save BBN” from File and name it.

Page 36: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

35

4. Now you can find the BBN file you created in the toolbar.

Page 37: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

36

Instructions for <CLOSEDSP>

<CLOSEDSP>DisplayGroupName

Note that DisplayGroupName displays the group name or name of ViewDAQ (defined by

the user) instead of name of DSP.

Right click on View DAQ and select ViewDAQ Definition.

Example:

Supposing the group name is POP, the ViewDAQ name is POP, the ViewDAQ title is POP Test,

dynamic display name is POP, then we can close the other three pop-up windows in the

following three ways:

1. <CLOSEDSP>POP -------> display group name

2. <CLOSEDSP>POP:POP -----> display group name: ViewDAQ name

3. <CLOSEDSP>:POP -------> ViewDAQ name

Page 38: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

37

Making Liquid Level Movement Animation

How to make liquid level movement animation?

1.Click the “Widget” icon on the toolbar in “Draw” and select a corresponding scale meter.

Open the, input of the motion tag of the liquid level in the pop-up dialog box, then click

“OK”.

Page 39: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

38

2.Create a text animation and select the tag for liquid level motion. Then make a motion

animation based on this without changing the tag.

Page 40: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

39

Page 41: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

40

3. View at Runtime

Page 42: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

41

Procedure for Hiding Buttons

How can the buttons be hidden?

1. Input text in the Draw interface, e.g. “Close”.

2. Select the text to make a button. The shape of the button will be the final

shape displayed, including the tilt angle and button color. The Macro field

can be blank. The button here is only used when providing frame

animation.

3. Select this button and click File > Save as DFM, and then enter the name

for the DFM file.

4. Select “Rectangle” in the toolbar and draw a rectangle of the size you

want.

5. Click Animation > Frame after selecting the rectangle, and then select

the DFM file as required. A Blank in the DFM file indicates the frame is

hidden. Click “OK”.

6. Select the frame to add the button command. The button here is the real

button to be used in the future, so you have to enter the right command

in the “Macro” field. The tilt angle of the button should be zero. The

color needs to be the same as the background color and do not check

“Highlight”.

7. Until now, the button can be hidden even if the conditions are not

suitable.

The other way is to determine the level and the right of the user via scripts.

However, this only decides whether the button can be operated. The button

cannot be hidden.

Page 43: Advantech WebAccess 1 Advantech WebAccess Frequently asked Questions Part I:Communication Settings Omron Communication Settings 3 Set Siemens 7 Address and Parameter ...

FAQ

42

Create a button and save is it as a DFM file. Use the rectangle to animate the

frame.

Make a button on the frame graphic. The macro command file should be

defined by the user.

The above image is how the button looks when it’s displayed. When the button

is hidden, it’s blank.


Recommended