AS3 - Application Note 1.0 Ethernet IP Basic Tutorial Toshiba Over Ethernet
AS3 - Application Note 1.0 Ethernet IP Basic Tutorial Toshiba Over Ethernet
AS3 - Application Note 1.0 Ethernet IP Basic Tutorial Toshiba Over Ethernet
0
2
Table of Contents
1. Introduction 3
2. Local Connection Setup 3
3. Assigning a Local PC Static IP Address (If applicable) 4
a. Setting Up Allen Bradley Controller Static IP Address 9
b. Setting Up Toshiba AS3 Static IP Address (Advanced users start here) 11
2
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
3
Introduction
This tutorial is intended for use as a learning aid with basic localized setup and ASD run/stop examples. Please visit
www.toshiba.com/tic/ to download the latest ASD Instruction Manuals and Ethernet Function Manuals for the complete
guide.
For the content below, this setup uses an Allen Bradley CompactLogix L24ER-QBFC1B controller (revision 28) with a
Toshiba AS3 typeform VFAS3-2007P (230V, 1HP) revision V108 and Windows 7 PC, but the fundamental setup is similar
for all Toshiba ASDs. The programming tutorial below may vary slightly depending on your setup.
Referenced manuals:
E6582125 – AS3 Embedded Ethernet Function Manual
E6582062 – AS3 Instruction Manual
PC
PLC
ASD
Ethernet Switch
3
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
4
1. To configure the IP address and subnet mask on the PC, open the Windows Start menu and click Control Panel. From
the Control Panel, click Network and Sharing Center.
4
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
5
5
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
6
6
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
7
7
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
8
5. Click Use the following IP address: and enter the IP address: fields and Subnet mask: fields. For this example, you will
use 192.168.1.2 for the PC IP address and 255.255.255.0 for the Subnet mask. Click OK once the IP address and Subnet
mask fields are filled in.
8
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
9
There are multiple ways to set the Allen Bradley controller’s static IP address. The simplest way is to directly connect an
RS232 or USB connector to the controller and use RSLinx to change the IP address shown below.
9
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
10
3. Select the Port Configuration tab, click Manually configure IP settings, and enter the IP Address: and Network Mask:
fields. For this example, use 192.168.1.100 for the controller IP Address and 255.255.255.0 for the Network Mask. Dis-
connect the USB cable once the static IP addresses of the controller and PC are set.
10
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
11
To change the AS3 IP address, the Embedded Ethernet interface through the keypad Guidance Function. Similar to an
Allen Bradley controller, the Toshiba AS3 ASD can be remotely found via the BootP-DHCP Server tool as the default AS3
IP Setting Parameter (C610) is set to DHCP.
11
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
12
12
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
13
4. Change IP setting to Fixed and enter the AS3 IP address and Mask. For this example, use 192.168.1.3 for the IP Ad-
dress and 255.255.255.0 for the Mask.
5. To apply these changes, cycle power to the drive or perform a soft reset with parameter F899: Communication func-
tion reset.
13
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
14
1. Open a new Studio (RSLogix) 5000 project in Logix Designer and select the appropriate controller. For this example,
the CompactLogix L24ER-QBFC1B controller is located under CompactLogixTM 5370 Controller.
14
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
15
2. From the Controller Organizer view, right click the connected Ethernet module and select New Module.
15
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
16
3. Scroll down or type “generic” in the filter box to find and create a Generic ETHERNET-MODULE.
16
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
17
4. Provide a Name (ASD_AS3) and the appropriate IP Address (192.168.1.3) of the AS3 programmed earlier then enter
the following information and click OK:
a. Input Assembly Instance: 150
b. Output Assembly Instance: 100
c. Configuration: 1
d. Input Size: 2
e. Output Size: 2
f. Configuration Size: 0
g. Comm Format: Data – INT
17
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
18
The network and module are now configured. The next step is to go online with the controller.
18
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
19
2. From the Who Active screen, select the appropriate controller and set the Project Path and/or Go Online to down-
load the new project to the controller. Notice the Unrecognized Device, VF-AS3 connected in the Ethernet tab. This can
be remedied by adding the AS3’s.EDS file to recognize the connected ASD. This step is optional, but recommended and
will be explained in section 9, AS3's EDS, Adding the AS3 .EDS File (Optional), page 29.
19
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
20
3. The controller now compares the project in the controller to the current offline project. If the project is different, the
prompt below will appear to download the offline project to the controller.
20
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
21
4. Once online, set the controller to Run Mode via the front controller switch or go to the Communications menu and
select Run Mode.
Note: An error may occur in a new project during the download due the no rungs or logic in the current pro-
gram. To continue the tutorial, create a generic rung in the MainRoutine as shown below. A more complete
rung example is shown in section 8, Example: Basic Start Stop Rung , page 28, using the AS3 Controller Tags.
2 of 2
21
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
22
The two most common I/O Assembly Instances for the Toshiba AS3 ASD are instances 100/150 and 102/152. Instance
102/152 allows the user to customize the type of I/O data using the drive parameters C641 through C660. Please refer-
ence E6582125 – AS3 Embedded Ethernet Function Manual found at www.toshiba.com/tic/ for additional information
on the AS3 Embedded Ethernet functionality and other I/O Assembly Instances.
The Ethernet module configuration programmed in this document utilizes Instance 100/150, which allocates 2 Words
(16 Bits) each for the Output Control and Input Feedback.
22
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
23
Controller Output (ASD Input) Instance 100 utilizes 2 Words (0,1) labeled from Bit 0 to Bit 15 each and is primarily used
for Run/Stop and Speed Reference to the ASD.
The first Word in Instance 100 provides basic drive control such as preset speeds, forward/reverse, run/stop, emergency
stop, fault reset, and communication override:
For example: Activating Word 0, Bit 10 will send a Run command to the ASD.
The second Word provides the speed reference to the ASD in decimal format labeled in Hz:
For example: Entering “6000” in decimal format in Word 1 will result in a 60.00 Hz speed reference to the ASD.
23
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
24
Similarly, controller Input (ASD Output) Instance 150 utilizes 2 Words (0,1) labeled from Bit 0 to Bit 15 each and is pri-
marily used for Status Feedback and Speed Feedback.
The first Word in Instance 150 provide basic ASD status feedback such as fault status, alarm status, undervoltage, run-
ning in forward, or reverse and ready to run:
For example: An active Word 0, Bit 0 indicates the ASD is currently faulted.
The second word provides speed feedback from the ASD in decimal format labeled in Hz.
For example: Receiving “6000” in decimal format in Word 1 indicates the drive is running at 60.00 Hz.
24
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
25
The Studio (RXLogix) 5000 controller tags will display the Input Instance 150 mapping as Word 0 and Word 1 each la-
beled from Bit 0 to Bit 15.
As shown below the first word in the Controller Tags window under ASD_AS3.I.Data can be expanded to show the 16
Bits mapped above.
For example: The ASD_AS3:I.Data[0] indicates Word 0 from the Instance 100 mapping and is expanded to display all 16
Bits. ASD_AS3:I.Data[0].14 (Bit 14) is active and indicates the ASD is Ready to Run.
25
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
26
The example screenshot below shows Controller Tags ASD_AS3:I.Data[0].0, ASD_AS3:I.Data[0].1 and ASD_AS3:I.Data
[0].12 (Bits 0, 1 and 12) are active, indicating that the ASD is Faulted, Emergency Stopped, and Emergency Stopping.
26
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
27
The example displayed below are the Output Controller Tags for an AS3 drive running at 60.00 Hz. From the Controller
Tags window, expand the first Word under ASD_AS3.O.Data to show the 16 Bits from the Output Instance 150 mapping.
To run the drive using the embedded Ethernet connection both parameters CMod (Run command select) and FMod
(Freq command select 1) need to be changed to Embedded Ethernet. By default, these parameters are set to Terminal
and Terminal RR.
Writing 6000 into the second Word ASD_AS3:O.Data[1] will send a 60.00 Hz speed command to the ASD via Ethernet IP.
27
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
28
Using the same project created above, the add 3 coils and a MOV block into the Start Stop rung in the MainRoutine lad-
der logic.
Point each coil to ASD_AS3.O.Data(0).10, ASD_AS3.O.Data(0).14 and ASD_AS3.O.Data(0).15 which correlates with Run/
Stop, Speed Ref Override and Control Ref Override from Instance 150 mapping.
Move a speed reference value into destination ASD_AS3:O.Data(1) which correlates to the second speed reference
Word from Instance 150 mapping.
Once Online, toggle the Start Contact bits in order to send a run command and a speed reference to the drive.
28
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
29
EDS files are used by the network as a configuration file to identify unknown objects for commissioning. Loading an EDS
file is not required, but is recommended.
To add an EDS file, download the correct EDS file version from www.toshiba.com/tic/. EDS files are ASD CPU version spe-
cific. However, an entire directory may be downloaded and the network will automatically identify the correct EDS file
for use.
29
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
30
2. Press and select Model information. The drive CPU version number is located next to CPU1 version. Note this version
number and download the correct EDS file(s) from www.toshiba.com/tic/.
30
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
31
1. Open the Tools menu and select EDS Hardware Installation Tool.
31
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
32
2. Click Next.
32
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
33
33
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
34
4. Select Register a single file for one EDS file or Register a directory of EDS files to download multiple EDS files. Click
Browse and select the file or folder directory containing the EDS file downloaded from www.toshiba.com/tic/. The net-
work will automatically select the correct EDS file if the directory downloaded contains the correct file. Click Next.
34
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
35
5. Click Next.
35
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
36
6. The newly registered device and icon downloaded will populate here. Click Next and Finish.
36
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
37
7. A quick final check can be done by opening RSLinx and verifying the Unrecognized Device is registered as VF-AS3 with
the appropriate icon.
37
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
38
Learn more
For more information, visit www.toshiba.com/tic/.
38
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX
39
Ethernet
AS3 Application Note 1.7.0— Setting the IP Basic Tutorial V1.0
SW1 Switch
39
© Toshiba International Corporation 2017 www.toshiba.com/tic Email: [email protected] (855) 803-7089 13131 West Little York Road, Houston, TX