12
WebAccess Training Material Block Version 7.0 rev 0a Advantech Corp., Ltd. page 1 Block WebAccess Monitors and Controls BAS DDCPID Function Block

The ADAM- 5000 Distributed I/O Systems from Advantech are ...wfcache.advantech.com/www/webaccess/Training/1_WebAccess...WebAccess Training Material Block Version 7.0 rev 0a Advantech

  • Upload
    hangoc

  • View
    226

  • Download
    5

Embed Size (px)

Citation preview

Page 1: The ADAM- 5000 Distributed I/O Systems from Advantech are ...wfcache.advantech.com/www/webaccess/Training/1_WebAccess...WebAccess Training Material Block Version 7.0 rev 0a Advantech

WebAccess Training Material Block

Version 7.0 rev 0a Advantech Corp., Ltd. page 1

Block

WebAccess Monitors and Controls BAS DDCPID Function Block

Page 2: The ADAM- 5000 Distributed I/O Systems from Advantech are ...wfcache.advantech.com/www/webaccess/Training/1_WebAccess...WebAccess Training Material Block Version 7.0 rev 0a Advantech

WebAccess Training Material Block

Version 7.0 rev 0a Advantech Corp., Ltd. page 2

1. Here we will use BASPro PID1 function block as an example.

2. Based on BASPro Help, PID1 parameters already assigned the Modbus Address.

Note: R/L, A/M and Action are bundled together.

Page 3: The ADAM- 5000 Distributed I/O Systems from Advantech are ...wfcache.advantech.com/www/webaccess/Training/1_WebAccess...WebAccess Training Material Block Version 7.0 rev 0a Advantech

WebAccess Training Material Block

Version 7.0 rev 0a Advantech Corp., Ltd. page 3

3. Login WebAccess Project Manager. First thing we have to do is to create a block

for PID. Please click “Modicon” in the left hand side.

4. Now, we are going to create parameters for PID.

Based on BASPro PID1 function block, there are total 11 parameters. There 11

parameters are PV, LSP, RSP, R/L, A/M, Action, P, I, D, MOP and Out.

Click “Add Parameter” to start create parameters.

Page 4: The ADAM- 5000 Distributed I/O Systems from Advantech are ...wfcache.advantech.com/www/webaccess/Training/1_WebAccess...WebAccess Training Material Block Version 7.0 rev 0a Advantech

WebAccess Training Material Block

Version 7.0 rev 0a Advantech Corp., Ltd. page 4

5. Create the PV:

Parameter name: PV

Address: 40801

Conservision Code: IEEE, Reversed Word

Length: 32

Page 5: The ADAM- 5000 Distributed I/O Systems from Advantech are ...wfcache.advantech.com/www/webaccess/Training/1_WebAccess...WebAccess Training Material Block Version 7.0 rev 0a Advantech

WebAccess Training Material Block

Version 7.0 rev 0a Advantech Corp., Ltd. page 5

6. R/L, A/M and action are special one.

R/L setup:

Address: 40807; conversion Code: Unsigned Integer

Start bit: 0; Length: 1

Note: Unsigned Integer has 16 bits. We starts to read from right bit (0000 0000

0000 0000) and only read 1 bit

7. AM setup:

Address: 40807; conversion Code: Unsigned Integer

Start bit: 1; Length: 1

Note: Unsigned Integer has 16 bits. We starts to read from right shift left 1bit

(0000 0000 0000 0000) and only read 1 bit.

Page 6: The ADAM- 5000 Distributed I/O Systems from Advantech are ...wfcache.advantech.com/www/webaccess/Training/1_WebAccess...WebAccess Training Material Block Version 7.0 rev 0a Advantech

WebAccess Training Material Block

Version 7.0 rev 0a Advantech Corp., Ltd. page 6

8. Action setup:

Address: 40807; conversion Code: Unsigned Integer

Start bit: 2; Length: 1

Note: Unsigned Integer has 16 bits. We starts to read from right shift left 1bit

(0000 0000 0000 0000) and only read 1 bit.

9. Let’s back to the Modicon (left hand side), and we then click “Add Block Type”

Page 7: The ADAM- 5000 Distributed I/O Systems from Advantech are ...wfcache.advantech.com/www/webaccess/Training/1_WebAccess...WebAccess Training Material Block Version 7.0 rev 0a Advantech

WebAccess Training Material Block

Version 7.0 rev 0a Advantech Corp., Ltd. page 7

10. Enter “PID” in Name and select all 11 PID parameters.

Clicking “Submit” button after all 11 PID parameters are added.

Page 8: The ADAM- 5000 Distributed I/O Systems from Advantech are ...wfcache.advantech.com/www/webaccess/Training/1_WebAccess...WebAccess Training Material Block Version 7.0 rev 0a Advantech

WebAccess Training Material Block

Version 7.0 rev 0a Advantech Corp., Ltd. page 8

11. “PID” will appears in “Block Type”

Clicking “Update” to double check the setup.

12. This is how PID block looks like.

Page 9: The ADAM- 5000 Distributed I/O Systems from Advantech are ...wfcache.advantech.com/www/webaccess/Training/1_WebAccess...WebAccess Training Material Block Version 7.0 rev 0a Advantech

WebAccess Training Material Block

Version 7.0 rev 0a Advantech Corp., Ltd. page 9

13. Now create the Project Node, SCADA Node, Communication Port and Device

Type. The following print screen image is Device Type. In Device Type, click

“Add Block” to create PID Block.

Page 10: The ADAM- 5000 Distributed I/O Systems from Advantech are ...wfcache.advantech.com/www/webaccess/Training/1_WebAccess...WebAccess Training Material Block Version 7.0 rev 0a Advantech

WebAccess Training Material Block

Version 7.0 rev 0a Advantech Corp., Ltd. page 10

14. Select “PID” in Block Type.

Enter Block name (I use “PID” as Block name).

Offset is based on BASPro PID1 function block MBAddr setup. If we check the

step 1 print screen image, its MBAddr is 40801.

15. The following image is how PID block looks like.

Page 11: The ADAM- 5000 Distributed I/O Systems from Advantech are ...wfcache.advantech.com/www/webaccess/Training/1_WebAccess...WebAccess Training Material Block Version 7.0 rev 0a Advantech

WebAccess Training Material Block

Version 7.0 rev 0a Advantech Corp., Ltd. page 11

16. Use DrawDAQ to create the GUI (Graphic User Interface)

Page 12: The ADAM- 5000 Distributed I/O Systems from Advantech are ...wfcache.advantech.com/www/webaccess/Training/1_WebAccess...WebAccess Training Material Block Version 7.0 rev 0a Advantech

WebAccess Training Material Block

Version 7.0 rev 0a Advantech Corp., Ltd. page 12

17. result