OPC client applications; including HMI, SCADA, Historian, MES, ERP, and countless custom applications. It is intended for use with Toyopuc PC3, PC2 and PC10G series PLCs using the Ethernet communications interface. The Toyopuc PC3/PC2 Ethernet Driver supports extensive diagnostics tags and the Toyopuc PC3/PC2 multi-point read features.
Port Number This property specifies the port number that will be used to connect to the Toyopuc PLC. The Toyopuc EN-I/F Ethernet PC3/PC2 module supports eight ports for communications. Each port must be dedicated to a single connection. When specifying a port number, ensure that no other Ethernet node will attempt to use this port number on the target Toyopuc PLC.
2. Defining a Device ID to request data from Device 3. Device ID: 205.167.7.101[L1,S1,L2,S2]. Note: Lx and Sx represent the Link/Station numbers assigned to a device. . Consult the Toyopuc PC2 EN-I/F manual, HPC Link manual, or FL/ET-T-V2H manual for more information on link/station numbers.The L and S must be included as part of the Relay routing information when specifying a Device ID.
Toyopuc PC3/PC2 Ethernet Driver Identification Name: User-defined identity of this channel. In each server project, each channel name must be unique. Although names can be up to 256 characters, some client applications have a limited display window when browsing the OPC server's tag space. The channel name is part of the OPC browser information.
Toyopuc PC3/PC2 Ethernet Driver Network Adapter: Specify the network adapter to bind. When Default is selected, the operating system selects the default adapter. Channel Properties - Write Optimizations As with any OPC server, writing data to the device may be the application's most important aspect. The server intends to ensure that the data written from the client application gets to the device on time.
Toyopuc PC3/PC2 Ethernet Driver Note: It is recommended that the application be characterized for compatibility with the write optimization enhancements before being used in a production environment. Channel Properties - Advanced This group is used to specify advanced channel properties. Not all drivers support all properties; so the Advanced group does not appear for those devices.
Page 10
Toyopuc PC3/PC2 Ethernet Driver Identification Name: This property specifies the name of the device. It is a logical user-defined name that can be up to 256 characters long, and may be used on multiple channels. Note: Although descriptive names are generally a good idea, some OPC client applications may have a limited display window when browsing the OPC server's tag space.
Toyopuc PC3/PC2 Ethernet Driver properties to configure within the ID field, depending on the driver. For more information, refer to the driver's help documentation. Operating Mode Data Collection: This property controls the device's active state. Although device communications are enabled by default, this property can be used to disable a physical device. Communications are not attempted when a device is disabled.
Toyopuc PC3/PC2 Ethernet Driver Do Not Scan, Demand Poll Only: This mode does not periodically poll tags that belong to the device nor perform a read to get an item's initial value once it becomes active. It is the client's responsibility to poll for updates, either by writing to the _DemandPoll tag or by issuing explicit device reads for individual items.
Device Properties - Communications Parameters Port Number: Specify the port number to be used to connect to the Toyopuc PLC. The Toyopuc EN-I/F Ethernet PC3/PC2 module supports eight ports for communications. Each port must be dedicated to a single connection.
Toyopuc PC3/PC2 Ethernet Driver Diagnostics Tags Diagnostics Tags provide information on how the Toyopuc PC3/PC2 Ethernet Driver is performing at both the channel level and device level. At the channel level, diagnostics tags provide information that covers all operations performed by the driver when communicating with any PLC on the network. At the device level, diagnostics tags provide information that pertains only to the device under which the diagnostic tags have been requested.
PC3/PC2 Ethernet Driver automatically attempts to make the use of the multi-point command both easy and efficient. Any memory type that can be acquired by the Toyopuc PC3/PC2 Ethernet Driver can be part of a multi-point read command. To mark a particular data item to be part of a multi-point request, place the '#' character in front of any current address.
Page 16
Toyopuc PC3/PC2 Ethernet Driver Byte: 128 Word: 64 DWord: 32 *If contiguous Booleans are requested, the request will be done in one multi-point read. Combination of any of the above data types in a single multi request has to be within the following limit: (No.
Page 17
Toyopuc PC3/PC2 Ethernet Driver Memory Type Syntax Data Types Access Specific Register (S) #S0000-#S03FF Byte, Word, Short, BCD DWord, Long, Read/Write #S0000-#S03FE LBCD Timer/Present Value Register #N0000-#N01FF Byte, Word, Short, BCD DWord, Long, Read/Write #N0000-#N01FE LBCD Link Register (R) #R0000-#R07FF...
Page 18
Toyopuc PC3/PC2 Ethernet Driver Memory Type Syntax Data Types Access #U0000-#U7FFE LBCD Extended Timer/Counter Value #EN0000- Byte, Word, Short, BCD DWord, Long, Read/Write (EN) #EN07FF LBCD #EN0000- #EN07FE Extended Setup Value Register #H0000-#H07FF Byte, Word, Short, BCD DWord, Long, Read/Write...
Toyopuc PC3/PC2 Ethernet Driver Data Type Description Data Type Description Boolean Single bit Byte Unsigned 8-bit value bit 0 is the low bit bit 7 is the high bit Word Unsigned 16-bit value bit 0 is the low bit bit 15 is the high bit...
When the PC2 model has been selected, the Toyopuc Computer Link Protocol supports the following addresses. These address types are only available when using a PC2 PLC or using a PC3 PLC in PC2 Interchange mode. For more information, refer to Addressing Examples.
Page 21
Multi-point read support allows the Toyopuc Ethernet driver to read data from multiple memory types (based on program number) in a single request. The multi-point read function is available for both the PC3 and PC2 models and can be used across HPC Link or FL-net modules using relay routing. For more...
'@LBCD' to address for dynamic tags). PC3 Address Descriptions When the PC3 model has been selected, the Toyopuc Computer Link Protocol supports the following addresses. These address types are only available when using a PC3 PLC. For more information, refer to Addressing Examples.
Page 23
Toyopuc PC3/PC2 Ethernet Driver Memory Type Syntax* Data Type Access Count Bits (C) C0000-C01FF Boolean Read/Write C000-C01F Byte**, Word, Short, C000-C01E DWord, Long, LBCD Link Relay (L) L0000-L07FF Boolean Read/Write L000-L07F Byte**, Word, Short, L000-L07E DWord, Long, LBCD I/O Relay (X)
Page 24
Toyopuc PC3/PC2 Ethernet Driver Memory Type Syntax* Data Type Access Extended Internal Relay EM0000-EM1FFF Boolean Read/Write (EM) EM000-EM1FF Byte**, Word, Short, EM000-EM1FE DWord, Long, LBCD Extended Keep Relay (EK) EK0000-EK0FFF Boolean Read/Write EK000-EK0FF Byte**, Word, Short, EK000-EK0FE DWord, Long, LBCD...
Page 25
DWord, Long, LBCD *Syntax Addresses should be prefixed with "P1-", "P2-" or "P3-" to denote which PLC program in the PC3 contains the desired address. For example, to read data register D10 from program 2 in the PC3, use the following address syntax: P2-D10.
LBCD for static tags, or append '@LBCD' to address for dynamic tags). PC10G Address Descriptions When the PC10G model has been selected, the Toyopuc Computer Link Protocol supports the following addresses. These address types are only available when using a PC10G PLC. For more information, refer to Addressing Examples.
Page 27
Toyopuc PC3/PC2 Ethernet Driver Memory Type Syntax* Data Type Access V100-V17E DWord, Long, LBCD Timer Bits (T) T000-T1FF Boolean Read/Write T00-T1F Byte**, Word, Short, BCD T00-T1E DWord, Long, LBCD Timer Bits (T) T1000-T17FF Boolean Read/Write T100-T17F Byte**, Word, Short, BCD...
Page 28
Toyopuc PC3/PC2 Ethernet Driver Memory Type Syntax* Data Type Access D0000-D2FFF Byte**, Word, Short, BCD D0000-D2FFE DWord, Long, LBCD FB Escape Area (JL) JL0000.0-JL1FFF.F Boolean Read/Write JL0000-JL1FFF Byte**, Word, Short, BCD JL0000-JL1FFE DWord, Long, LBCD SFC (JS) JS0000.0-JSFFF.F Boolean Read/Write...
Page 29
DWord, Long, LBCD *Syntax Addresses should be prefixed with "P1-", "P2-" or "P3-" to denote which PLC program in the PC3 contains the desired address. For example, to read data register D10 from program 2 in the PC3, use the following address syntax: P2-D10.
Page 30
Toyopuc PC3/PC2 Ethernet Driver Boolean arrays are not supported for bit-within-word type addresses. For example, 'S0000.0' cannot be used with array notation. Discrete types support Boolean arrays. Multi-point read is not supported for arrays. The array size cannot exceed the internal block size of 512 bytes. Array syntax is specified by adding '[r]' (rows) or '[r][c]' at the end of the address string.
Toyopuc PC3/PC2 Ethernet Driver Error Descriptions The following categories of messages may be generated. Click on a link for a list of messages. Address Validation Device Status Messages Device Error Codes Address Validation The following error/warning messages may be generated. Click on the link for a description of the message.
Toyopuc PC3/PC2 Ethernet Driver Verify the address is correct; if it is not, re-enter it in the client application. Data Type <type> is not valid for device address <address>. Error Type: Warning Possible Cause: A tag address that has been specified dynamically has been assigned an invalid data type.
Toyopuc PC3/PC2 Ethernet Driver Device Status Messages The following error/warning messages may be generated. Click on the link for a description of the message. Device <device name> is not responding. Unable to write to <address> on device <device name>. Device <device name> is not responding.
Toyopuc PC3/PC2 Ethernet Driver Device Error Codes The following error/warning messages may be generated. Click on the link for a description of the message. Device Error Codes Error Response Data: Error Code Table Error Response Data: Error Code Table Error...
Page 35
Toyopuc PC3/PC2 Ethernet Driver Note: Codes taken from Toyopuc document: TOYOPUC PC3J/PC2J FL/ET-T-V2 Instruction Manual. www. kepware.com...
Toyopuc PC3/PC2 Ethernet Driver Appendix: Configuring Modules Configing the FL_ET-T-V2 Ethernet Module Configuration Ladder for EN-I_F Ethernet Module Configuring the PC10G CPU for Ethernet Connections Configuring the PC10G-CPU for Ethernet Communications Before the PC10G-CPU can be used for Ethernet communications, it must be configured using PCWin version 10 or above.
Page 37
Toyopuc PC3/PC2 Ethernet Driver 2. To setup the communication between PCWin and PC10G-CPU, click Setup | Setup Communication Module. If it is the first time configuring PCWin, select Addition and then make the selections as shown below. 3. Next, make sure that the COM_SERV icon (shown on the bottom right side of the screen) appears as shown below.
Page 38
Toyopuc PC3/PC2 Ethernet Driver 6. Click Link setup(S) and make the following selections: Rack No.(R) - Built-in Slot No. (S) - L2 Link Module Name - Ethernet 7. Click OK. 8. Click Detail(D). In this dialog, the following parameters may be specified: In Own Node IP Address, set the desired IP address of the Ethernet Port.
Page 39
Toyopuc PC3/PC2 Ethernet Driver 9. Click Sub-Net Mask and Gateway IP Address and specify the desired subnet and gateway settings. 10. Once finished, click OK. 11. Click OK again. Then, click Yes. www. kepware.com...
Page 40
Toyopuc PC3/PC2 Ethernet Driver 12. Save the project. In this example, the name "TestProject" is used. Transferring Configuration Settings to the PC10G-CPU 1. Click CPU | Write Data | All Program+Parameter+Comment. Alternatively, click CPU | Write Data | Parameter. The invoked window should appear as shown below.
Before the FL/ET-T-V2 card can be used for communications, it needs to be configured to use PCWIN. At this point, users should know how to configure PCWIN to connect to the PLC. For more information, refer to the Toyopuc FL/ET-T-V2 Ethernet Module Users Manual. 1. To start, open PCWIN.
Page 42
Toyopuc PC3/PC2 Ethernet Driver 3. Once the ladder is loaded, click on Project | Parameter and then select I/O Module. 4. Verify that the Ethernet Card is configured in the PLC. 5. Click OK to close. 6. Click Project | Parameter and then double-click on Link Parameter.
Page 43
Toyopuc PC3/PC2 Ethernet Driver 7. In the Program No. field, select the program that the configuration will be placed in. Click Link Setup. 8. In the ProgramName Link dialog, select the Rack No. and Slot No. where the module is located.
Page 44
Toyopuc PC3/PC2 Ethernet Driver 12. Check the Used checkbox for Connection1. Up to 8 connections can be configured. 13. In the Open Protocol field, select TCP Destination Non-Specified Passive Open from the drop- down list. 14. Enter the appropriate value in the Own Node Port No. field. In the example shown below, the number 4096 has been entered.
Page 45
Toyopuc PC3/PC2 Ethernet Driver 15. Now that the connection is configured, click Sub-Net Mask and Gateway IP Address. These values should be set by the IT Manager. For less complex networks, match the sub-net mask and gateway IP address that are configured in the PC's network configuration.
Configuration Ladder for EN-I/F Ethernet Module To make multiple connections to the Toyopuc PLC PC2/PC3, users must connect with different Port IDs in each client connection. To do this, the ports in the ladder program must be initialized. The example below shows how to initialize the Ethernet card for one connection port.
Page 47
6. The file memory 0th operand corresponds with data register D000. 7. Data Registers D0100–D0105 are used for writing file memory. Ladder for Initializing the Ethernet Card For more information, refer to the Toyopuc PC2 or PC3 EN-1/F Users Manual. www. kepware.com...
Toyopuc PC3/PC2 Ethernet Driver Index Address <address> is out of range for the specified device or register 31 Address Descriptions 20, 22 Address Validation 31 Addressing Examples 30 Advanced Channel Properties 9 Array size is out of range for address <address>. 32 Array Support 29 Array support is not available for the specified address:<address>.
Page 49
Toyopuc PC3/PC2 Ethernet Driver Device address <address> contains a syntax error. 31 Device address <address> is read only. 32 Device Error Codes 34 Device ID 5 Device Properties - General 9 Device Status Messages 33 Diagnostics 7 Diagnostics Tags 14, 29...
Page 50
Toyopuc PC3/PC2 Ethernet Driver Name 10 Network 5 Network Adapter 8 Non-Normalized Float Handling 9 Optimization Method 8 Overview 4 PC10G Address Descriptions 26 PC2/PC2 Interchange Mode Address Descriptions 20 Redundancy 13 Request All Data at Scan Rate 11 Request Data No Faster than Scan Rate 11...
Page 51
Toyopuc PC3/PC2 Ethernet Driver Word 19 Write All Values for All Tags 8 Write Only Latest Value for All Tags 8 Write Only Latest Value for Non-Boolean Tags 8 Write Optimizations 8 www. kepware.com...
Need help?
Do you have a question about the PC2 and is the answer not in the manual?
Questions and answers