AspenTech CIM-IO Server for FOXApi

29
1 Cim-IO Installation on Foxboro AW (Windows platform) Prepared by Nitin Process Automation

Transcript of AspenTech CIM-IO Server for FOXApi

Page 1: AspenTech CIM-IO Server for FOXApi

1

Cim-IO Installation on Foxboro AW (Windows platform)

Prepared by Nitin

Process Automation

Page 2: AspenTech CIM-IO Server for FOXApi

2

Step # 1) Verify “FoxAPI” installationBefore installing Aspen CIM-IO for Foxboro on AW, check whether FoxAPI is installed properly & running. Check for “Foxapi.exe” and “Foxapisvr.exe” running in Task Manager.

Page 3: AspenTech CIM-IO Server for FOXApi

3

Step # 1) Verify “FoxAPI” installation (continued)

To verify it is working properly run “foxtst” command on AW.

In “command prompt” go to “D:\” & then change the environment to shell environment i.e. type “sh” in the command prompt.

In “$” prompt execute the command “foxtst”. It will run the “FoxAPI” utility” * will give various options for FoxAPI. Select the “exit” option and return to command prompt.

Note :- If the above test fails or “Foxapi.exe” & “FoxApisvr.exe” are not visible in Task Manager then re-install “FoxAPI” from original “FoxAPI 4.3.1” CD & apply Quick Fix #8513 & check again.

Page 4: AspenTech CIM-IO Server for FOXApi

4

Step # 2) Establish network connectivity between AW & IP21 server

AW should be connected to PIN network.

Assign Second Ethernet IP address, subnet mask & default gateway to second Ethernet port i.e. LAN Connection or LAN Connection#2 on Foxboro AW & test the ommunication between AW & IP21 Server by executing the ping command (ping 10.4.187.39)

DCS Gateway IP address - 152.155.129.240 (firewall IP address) entry for LAN connection.

Page 5: AspenTech CIM-IO Server for FOXApi

5

Step # 3) Install Aspen Cim-IO for Foxboro on AW

Install Aspen Cim-IO for Foxboro on AW. While installation select “Server” option.

Page 6: AspenTech CIM-IO Server for FOXApi

6

1) Step # 3) Install Aspen Cim-IO for Foxboro on AW (continued)

Select the following components while installationAspen Cim-IO Aspen Cim-IO for Foxboro.

Page 7: AspenTech CIM-IO Server for FOXApi

7

Step # 4) Configure Aspen Cim-IO Manager service for Foxboro on AW

“Aspen Cim-IO Manager” service will not start automatically. It depends on “FoxApps” service as shown in the screenshot. To make it dependent on “Foxapps” service, perform the following steps.

Page 8: AspenTech CIM-IO Server for FOXApi

8

Step # 5) Configure Aspen Cim-IO Manager service for Foxboro on AW (continued)

To make “Aspen Cim-IO Manager” service dependent on “FoxApps” service , go to registry editor & perform the following steps.a) Check the name of FoxApps service in registry editor on the following path “ MyComputer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services”

Page 9: AspenTech CIM-IO Server for FOXApi

9

Step # 5) Configure Aspen Cim-IO Manager service for Foxboro on AW (continued)

To make “Aspen Cim-IO Manager” service dependent on “FoxApps” service , go to registry editor & perform the following steps.b) Correct the “DependonService” registry entry as “FoxAppsService” to make it consistent with “FoxAppsService” in “AutoStartCIMIO” registry as shown

Page 10: AspenTech CIM-IO Server for FOXApi

10

Step # 6) Configure Aspen Cim-IO Manager service for Foxboro on AW (continued)After making “Aspen Cim-IO Manager” service dependent on “FoxApps” service, change the service account from “Local system” to “fox”To change the account perform the following steps.a) Select “Aspen CIM-IO Manager” service as shown

Page 11: AspenTech CIM-IO Server for FOXApi

11

Step # 6) Configure Aspen Cim-IO Manager service for Foxboro on AW (continued)b) Open the “Properties” of the service & in the “Log On” tab enter the details for “fox” user as shown.

Page 12: AspenTech CIM-IO Server for FOXApi

12

Step # 6) Configure Aspen Cim-IO Manager service for Foxboro on AW (continued)c) “Log On” account will display “fox” user as shown.

Page 13: AspenTech CIM-IO Server for FOXApi

13

Step # 7) Configure Aspen Cim-IO for Foxboro on AW (continued) I) Configure Services To establish the communication between AW & IP21 server, enter the processes & ports to be used in “services” file on both AW & IP21 server as shown

Page 14: AspenTech CIM-IO Server for FOXApi

14

Step # 7) Configure Aspen Cim-IO for Foxboro on AW (continued) I) Configure Services

Make the following entries in the “services” file.

CIMIOFOXIA 3000/tcp CIMIOFOXIAREAD 3001/tcpCIMIOFOXIAWRITE 3002/tcpCIMIOFOXIASUNS 3003/tcpCIMIOFOXIAUNSOL 3004/tcp

Page 15: AspenTech CIM-IO Server for FOXApi

15

Step # 7) Configure Aspen Cim-IO for Foxboro on AW (continued) II) Configure Cim-IO Logical deviceEnter the Logical device name, Node-name & Service to be used for communication in“cimio_logical_devices.def” file as shown

Page 16: AspenTech CIM-IO Server for FOXApi

16

Step # 7) Configure Aspen Cim-IO for Foxboro on AW (continued) II) Configure Cim-IO Logical device

Make the following entries in the “cimio_logical_devices.def” file.

LogicalDeviceName NodeName DLGPServiceNameFOXIA_RHAW61 RHAW61 CIMIOFOXIA.

Page 17: AspenTech CIM-IO Server for FOXApi

17

Step # 7) Configure Aspen Cim-IO for Foxboro on AW (continued) III) Configure Cim-IO Foxia ConfigEnter the DLGPService name “DLGPSERVICE CIMIOFOXIA” in “cimio_foxia_config.dat” file as shown

Page 18: AspenTech CIM-IO Server for FOXApi

18

Step # 7) Configure Aspen Cim-IO for Foxboro on AW (continued) II) Configure Cim-IO FOXIA Shutdown Enter the DLGP name in “cimio_foxia_shutdown.bat” file as shown

Page 19: AspenTech CIM-IO Server for FOXApi

19

Step #8) After making all the changes reboot the Foxboro AW.

Page 20: AspenTech CIM-IO Server for FOXApi

20

Step # 9) Start Aspen Cim-IO for Foxboro on AW

Start “Aspen Cim-IO” for Foxboro” on AW using “cimio_foxia_startup.bat” located in“C:\Program Files\AspenTech\CIM-IO\cio_fox_api”

Page 21: AspenTech CIM-IO Server for FOXApi

21

Step # 9) Start Aspen Cim-IO for Foxboro on AW (continued)

Alternatively Start “Aspen Cim-IO” for Foxboro” on AW from “Start -> AspenTech -> AspenManufacturingSuite -> Servers -> CIM-IO For FoxboroAPI -> CIM-IO For Foxboro FOxAPI Start”

Page 22: AspenTech CIM-IO Server for FOXApi

22

Step # 9) Start Aspen Cim-IO for Foxboro on AW (continued)

On starting “Aspen Cim-IO” for Foxboro” on AW following four processes start in the Task bar.

cimio_foxia_dlgpcimio_foxia_diop_readcimio_foxia_diop_writeCimio_foxia_diop_sunsol

Page 23: AspenTech CIM-IO Server for FOXApi

23

Step # 9) Start Aspen Cim-IO for Foxboro on AW (continued)

On starting “Aspen Cim-IO” for Foxboro” on AW following four processes start in the Task bar as shown.

Page 24: AspenTech CIM-IO Server for FOXApi

24

Step # 9) Start Aspen Cim-IO for Foxboro on AW (continued)

On starting “Aspen Cim-IO” for Foxboro” on AW following four processes can be seen inTask Manager.

Page 25: AspenTech CIM-IO Server for FOXApi

25

Step # 10) Communication between Aspen Cim-IO for Foxboro on AW and IP21 server (continued)

Read successful on IP21 server

Page 26: AspenTech CIM-IO Server for FOXApi

26

Step # 10) Communication between Aspen Cim-IO for Foxboro on AW and IP21 server (continued)

Write successful from IP21 server to Foxboro AW

Page 27: AspenTech CIM-IO Server for FOXApi

27

Step # 10) Communication between Aspen Cim-IO for Foxboro on AW and IP21 server (continued)

Trend for a tag on IP21 server

Page 28: AspenTech CIM-IO Server for FOXApi

28

Step # 11) Stop Aspen Cim-IO for Foxboro on AW

To stop “Aspen Cim-IO” for Foxboro” on AW using “cimio_foxia_shutdown.bat” locatedin “C:\Program Files\AspenTech\CIM-IO\cio_fox_api”. It will stop 4 processes running.

Page 29: AspenTech CIM-IO Server for FOXApi

29

Step # 11) Stop Aspen Cim-IO for Foxboro on AW (continued)

Alternatively to stop “Aspen Cim-IO” for Foxboro” on AW from “Start -> AspenTech -> AspenManufacturingSuite -> Servers -> CIM-IO For FoxboroAPI -> CIM-IO For Foxboro FOxAPI Shutdown”.