Home
CTI 2500P-ACP1 User Manual
Contents
1. General Status Description Comments Code Hex Dec 00 Success Requested service was successfully performed 01 Connection failure A connection related service failed along the request path When detected the Extended Status value is returned 02 Resource unavailable Resources needed for the requested service were unavailable 03 Invalid parameter value See Status Code 20 the preferred value for this condition 04 Path segment error The path segment identifier or segment syntax was not understood by the processing node 05 Path destination The path references an object class instance or structure unknown element that does not exist in processing node 06 Partial transfer Only part of the expected data was transferred 07 Connection lost The messaging connection was lost 08 Service not supported The requested service is not supported for the specified Class Instance 09 Invalid attribute value Invalid attribute data was detected by processing node OA Attribute list error An attribute in Get_Attribute_List or Set_Attribute_List response has a non zero status OB Already in requested The object is already in the mode state requested by the service mode state Oc Object state conflict The object cannot perform the requested service in the current mode state OD Object already exists The requested instance of object to be created already exists OE Attribute not settable A request to modify a non c
2. Error Code Description Comments Recovery 415 CAMP Client Error CAMP Client encountered a Confirm all remote devices are startup error or is unable to online and a network path exists connect to one or more remote between the ACP1 module and the network devices remote devices Check the configured IP Address for the CAMP Server devices 420 Modbus Server Error Modbus Server encountered a Cycle power to the ACP1 module startup error Recompile and download the application program to the ACP1 If the problem continues contact CTI Support 425 Modbus Client Error Modbus Client encountered a Confirm all remote devices are startup error or is unable to online and a network path exists connect to one or more Modbus between the ACP1 module and the Server devices remote devices Check the configured IP Address for the Modbus Server devices 435 Data Exchange Error Data Exchange Subscriber is Check IP Address for each Publisher unable to connect to one or device set in Global Binding editor more Publishers Ensure Publishers are online and network path exists between the APC1 and the remote devices 460 Ethernet IP Scanner Error EIP I O Scanner is unable to Confirm all EIP Adapters are online transfer I O data with one or and a network path exists between more I O Adapters the ACP1 module and devices Check IP Address and I O Assembly information in I O Scanner fieldbus configuration 465 Ethernet IP Adapter
3. Error Code Decimal Hex Description Corrective Action 107 6B Read Word Count Error The number of words returned in the reply does not equal the number of words requested This indicates a server error Contact CTI Support 123 7B Missing Delimiter Detected The reply is missing a message delimiter This Indicates a server error Contact CTI Support 116 74 Request contains Invalid Usually results from transmission error Retry the request Checksum This may result from a checksum generation error 124 7C Reply contains Invalid Contact CTI Support Checksum 117 75 Request contains Invalid Command Type This indicates an error in CTI Protocol Manager 125 7D Reply contains Invalid Contact CTI Support Command Type 118 76 Invalid Character in Request The protocol accepts only characters 0 9 A F 126 JE Invalid Character in Reply This indicates a Protocol Manager error Contact CTI Support 119 77 Odd Number Of Characters The protocol requires that the message contain an even In Request SE number of characters This indicates a Protocol Manager 127 7F Odd Number Of Characters error Contact CTI Support In Reply 128 80 Invalid Error Type in Reply The reply contains an invalid error type character This indicates a server error Contact CTI Support 129 81 Word Count Error in Request The number of data words in the message does not 130 82 Word Count Error in Reply match the number of words specified This indicates a
4. Function Code Description 01 Read Coils 02 Read Discrete Inputs 03 Read Holding Registers 04 Read Input Registers 05 Write Single Coil 06 Write Single Holding Register 15 Write Multiple Coils 16 Write Multiple Holding Registers CTI 2500P ACP1 User Manual 35 The ACP1 Web Server provides tools for monitoring and debug The status of connections to the Open Modbus Client can be monitored via the Active Communication Sessions page Error codes that may be returned by the Open Modbus Client are listed in the Protocol Error Codes in Appendix A 7 1 3 Open Modbus Server The Open Modbus Server provides a common means for a wide variety of automation equipment that support the Modbus protocol to communicate with the ACP1 module You can configure one or more blocks of Modbus data for the Modbus data types shown in the table below Modbus Data Type Description Coils Read Coils Holding Registers Read Discrete Inputs Discrete Inputs Read Holding Registers Input Registers Read Input Registers By mapping a block of Modbus addresses to a block of variables in the application program running in the 2500P ACP1 external devices acting as Modbus TCP Clients can access specific data as needed This data can be values from the Host PLC memory data from another remote device connected to the ACP1 or internal variable data created by the ACP1 application program The Open Modbus Server is capable of se
5. RBC This interface allows the 2500P ACP1 to emulate a standard I O module so that the PLC transfers image register data to from the module each PLC scan The ACP1 differs from standard I O modules in that it supports several different I O configurations that can be set by software configuration This feature is enabled by including the CTI 2500P ACP1 I O fieldbus driver in the application program and configuring the I O data transfer parameters The 2500P ACP1 UO interface is configured by specifying the following parameters e 2500P ACP1 I O Definition e DLC HO Module Definition and Login Address for slot where 2500P ACP1 is installed e ACP1 Application Program Variables 2500P ACP1 I O Definition The ACP1 I O definition is specified by selecting one the following I O configurations in the CTI 2500P ACP1 I O Configuration Wizard provided in CTI Workbench e Discrete I O 32 inputs 32 outputs 32X 32Y e Word I O 32 inputs 32 outputs 32WX 32WY e Mixed I O 32 discrete inputs outputs and 32 word inputs outputs 32X 32Y 32WX 32WY PLC HO Module Definition and ACP1 Module Login Address The PLC I O Module Definition must match the I O Configuration selected in the ACP1 application program The following example shows the I O definition required for an ACP1 module installed in Slot 4 configured with a Mixed I O 32X 32Y 32WX 32WY interface Edit UO Base Channel 1 Search Base Base 0 Enabled Next Base 1 0 Module Definitio
6. scheduled 813 Not Configured for The Producer has been requested to support a Multicast connection Off Subnet Multicast fora Consumer on a different subnet and the Producer does not support this functionality 814 Invalid The format of the produced and or consumed data is not consistent Produce Consume with Information in the data segment Data format Status Codes 0x130 and 0x131 are typically used for this situation in most devices CTI 2500P ACP1 User Manual 77 Network Data Exchange Subscriber Error Codes The following error codes may be returned by the Network Data Exchange Variable Binding Subscriber Error Description Comments Code 0 No Error 1 Re establishing lost connection The Subscriber is attempting to reconnect to the Publisher 2 TCP Error Occurred The Subscriber experienced a non recoverable TCP error causing the connection to be closed 3 Timeout Error Nothing has been received from the Publisher within the expected time interval 4 Other error detected General connection error NOTE If a connection is interrupted the Network Data Exchange Subscriber will automatically attempt to reconnect Consequently the error codes will typically continue to cycle until the connection is good If your Host Controller logic is performing an action based on error you should condition the action when the controller memory address associated with the error status is non z
7. the appropriate protocol service from the list of supported drivers see Chapter 7 and specifying the operational elements as shown below Fieldbus Configuration Tree Protocol Configuration Example Mo MODBUS Master fz Open MODBUS 172 18 9 196 502 B lt 3 gt Read Holding Registers 0 1 3 EN 0 301 EN 1 302 2 303 e Protocol Service e Connection Parameters e Command Data Block e Variables The variables specified included in the Protocol Configuration define the data to be e Embedded in designated messages transmitted to specified device e Extracted from the messages received from the specified device e Used for Diagnostics status and error reporting and or Control message triggering 8 4 6 Variable Binding Variable Binding provides an efficient means to exchange real time data between devices connected to an Ethernet network through an event based Publish and Subscribe model Variable Binding network data exchange is currently supported by 2500P ACP1 2500P ECC1 and 2500 Series HMI products CTI Workbench includes two editors for configuring the network data exchange process This configuration links each Published variable to its destination Project and Variable name An application can publish any variable that represents a single data element Complex data types such as Structures Strings and Arrays cannot be exchanged via Variable Binding 1 The Global Binding Editor prov
8. APPENDIX D PRODUCT SPECIFICATIONG 2 csccsssseeseeeseeeseeeeeneesaesaneneeneeseesseeeeeneenseseeeneenaeeas 87 Hardware Gpechlcatons 87 LIMITED PRODUCT WARRANT Y ee 88 REPAIR POLICY ciieccccsccseccassscsnectecwacccesectecestecteccesabeacstastectivscneccscassarzecseuedersecbuezecsusnsuasectuarmasanadceducbuete 90 CTI 2500P ACP1 User Manual 5 CHAPTER 1 INTRODUCTION The 2500P ACP1 Application Coprocessor module is a general purpose auxiliary controller that enhances the capabilities of all Siemens Series 505 and CTI 2500 Series PLC systems This Advanced Function Module AFM includes high speed processing and multi protocol communications support to provide existing systems with a significant increase in performance and functionality The 2500P ACP1 generally runs as a PLC coprocessor performing complex logic math functions data logging and communications with external devices Although the 2500P ACP1 can operate as a stand alone controller the application generally requires data transfer between a host PLC and the module The ACP1 module includes two options for real time data transfer e Direct PLC I O bus Allows the ACP1 coprocessor to emulate a standard I O module so that discrete and or word image register data is transferred each PLC scan e Data Cache Proprietary link offering enhanced data throughput to CTI 2500 Series controllers via an external Ethernet connection Provides access to all PLC memory types and up to
9. Already Established is already included in an existing rack connection 31B Module Connection A rack connection is refused because some of the data requested is Already Established already included in an existing module connection 31C Miscellaneous This error is used when there is no other applicable code for the error condition Consult the device documentation or contact CTI Support if this error persist 31D Redundant At least one of these parameters does not match when attempting to Connection establish a Redundant Owner connection Mismatch O gt T RPI O gt T Connection parameters T gt O RPI T gt O Connection parameters Transport Type and Trigger CTI products do not support Redundant Owner connections 31E No more User The Target device has no more available Consumer connections Configurable Link available for a Producer Resources Available in the Producing Module 31F No User Configurable The Target device has no Consumer connections configured for a Link Resources Producer connection Configured in the Producing Module 800 Network Link Offline The Network Link Path is invalid or not available 810 No Target The Target application has no valid data to produce Application Data Available 811 No Originator The Originator application has no valid data to produce Application Data Available 812 Node Address has A Router has a different node address than the value configured in the changed since the original connection Network was
10. CIP Write Tag Service Service Code 4D hex The RSLogix controller tags are a collection of values of the same data type i e atomic data type Tags may be defined as a group of elements in user defined data type UDT or array allowing a block of data up to 480 bytes to be transferred in one message Controller tags of the following data types are supported Data Type Size of Data BOOL 1 byte SINT 1 byte INT 2 bytes DINT 4 bytes REAL 4 bytes DWORD 4 byte bit array The EIP Tag Client is configured by specifying the controller IP Address service to be performed Read Tag or Write Tag RSLogix controller Tag name the Number of Elements to be accessed and Offset from the first data element in the Tag Data is transferred to from application program variables associated with the request The request message can be triggered by setting Request Interval period between requests or by assigning a trigger variable Each RSLogix controller configured to communicate with the EIP Tag Client counts against the limit of 40 client connections supported by the 2500P ACP1 The ACP1 Web Server provides tools for monitoring and debug The status of connections to the Open Modbus Server can be monitored via the Active Communication Sessions page Error codes that may be returned by the Open Modbus Server are listed in the Protocol Error Codes in Appendix A For more information regardin
11. Cache Interface is enabled see Section 6 1 FTP File Transfer This selection enables the embedded FTP Client service and associated tasks to transfer user data files created by the ACP1 application program to a remote FTP Server This operation allows important system information to be saved to a network server while the ACP1 is executing However performing an FTP File Transfer while ACP1 is executing will extend the ACP1 cycle time up to 500 msec The FTP File Transfer operation can be controlled programmatically via CTI_XFER_FILE function or manually via the Web Server Enabling this feature displays additional keywords for configuration of the FTP File Transfer operations as shown below FTP File Transfer MlEnable FTP Server IP Address 0 0 0 0 FTP User ID 16 chars max anonymous FTP Password 16 chars max eeeeseeseesee G FTP Target Path 64 chars max File Count Warning Level 0 99 10 Used Disk Space Warning Level 25 90 e FTP Server IP Address P Address of the device where the FTP Server is running This will normally be a computer executing the FTP Server software FTP User ID User ID required to login to the specified FTP Server If the FTP Server is setup to accept anonymous login the default User ID anonymous can be used A maximum length of 16 characters may be entered in this field CTI 2500P ACP1 User Manual e FTP Password Password required for login to the specified FTP Server
12. Error EIP Adapter encountered a Cycle power to the ACP1 module startup error Recompile and download the application program to the ACP1 If the problem continues contact CTI Support 470 Ethernet IP Tag Client Error EIP Tag Client is unable to read Confirm all EIP Servers are online write data from one or more and a network path exists between Servers the ACP1 module and devices Check IP Address and specified tags to ensure names data type and length matches existing Controller tags in EIP Tag Client Server device Add Diagnostic Control variables to read General and Extended Error status CTI 2500P ACP1 User Manual 63 Protocol Error Codes Protocol Error Codes are returned by the protocol tasks They indicate problems in sending or receiving messages via the designated protocol Server protocol tasks return error codes to their clients within the protocol messages Client protocol tasks allow Protocol Error Codes including those returned by servers to be mapped to a Host Controller memory address Similarly Publisher protocol tasks may return error codes to their Subscribers Subscriber protocol tasks allow error codes to be mapped to a Host controller memory address CAMP Client Error Codes The following table describes the errors that CAMP Client may detect in the reply request or in attempting to communicate with another device that implements a CAMP Server
13. Mismatch match the scheduling information in the Target 306 Schedule Signature The connection scheduling information in the Originator cannot be Validation Not validated by the Target network Possible 311 Port Not Available The Port number specified in a Port Segment is not available or does not exist Consult the documentation of the device to verify the correct port number 312 Link Address Not The Link address specified in the Port Segment is not valid for the Valid Target network Consult the documentation of the device to verify the Port configuration 315 Invalid Segment in The Target cannot decode the Connection Path This could be caused Connection Path by an unrecognized or unexpected Path or Segment Type 316 Forward Close The Connection path in the Forward Close message does not match Service Connection the Connection Path configured in the Target Mismatch 317 Scheduling Not The Schedule Network Segment was not present or the value was Specified invalid 76 CTI 2500P ACP1 User Manual 318 Link Address to Self The Link Address in the Port Segment points back to the Originator Invalid device 319 Secondary Resource This occurs in a Redundant system when the Secondary connection Unavailable request is unable to duplicate the Primary connection request CTI products do not support Redundant Owner connections 31A Rack Connection A module connection is refused because some of the data requested
14. OTHERWISE AND FURTHER WILL EXTEND TO THE BENEFIT OF CTI S VENDORS APPOINTED DISTRIBUTORS AND OTHER AUTHORIZED RESELLERS AS THIRD PARTY BENEFICIARIES EACH PROVISION HEREOF WHICH PROVIDES FOR A LIMITATION OF LIABILITY DISCLAIMER OF WARRANTY OR CONDITION OR EXCLUSION OF DAMAGES IS SEVERABLE AND INDEPENDENT OF ANY OTHER PROVISION AND IS TO BE ENFORCED AS SUCH 7 Adequate Remedy The customer is limited to the remedies specified herein and shall have no others for a nonconformity in the Product The customer agrees that these remedies provide the customer with a minimum adequate remedy and are its exclusive remedies whether based on contract warranty tort including negligence strict liability indemnity or any other legal theory and whether arising out of warranties representations instructions installations or non conformities from any cause The customer further acknowledges that the purchase price of the Product reflects these warranty terms and remedies 8 Force Majeure CTI will not be liable for any loss damage or delay arising out of its failure or that of its subcontractors to perform hereunder due to causes beyond its reasonable control including without limitation acts of God acts or omissions of the customer acts of civil or military authority fires strikes floods epidemics quarantine restrictions war riots acts of terrorism delays in transportation or transportation embargoes In the event of such delay CTI s perf
15. Protocol Manager error Contact CTI Support 131 83 Write Request to Invalid The CAMP Client Write Request message specified an Address 0 invalid address offset of O This indicates a CAMP Client error Contact CTI Support 64 CTI 2500P ACP1 User Manual Error Code Decimal Hex Description Corrective Action 132 84 Write Request Word Count The number of data words written does not match the Error number of words reported in the reply This indicates a server error Contact CTI Support This indicates a CAMP Client error Contact CTI Support 143 8F Read Request contains Word A Read Request message contains a O in the number of Count of 0 data words field This indicates a CAMP Client error Contact CTI Support 144 90 Unknown Address Class An unknown PLC memory type was specified in the request message This indicates a CAMP Client error Contact CTI Support 145 91 Read Request contains Word A Read Request message contains an invalid Word Count Count greater than 256 value greater than 256 This indicates a CAMP Client error Contact CTI Support 146 92 Message ID Mismatch The Message ID of the reply does not match the Message ID of the command message This could occur if the reply arrives after a timeout and is interpreted as a reply to the next request If this error persists increase the timeout period 152 98 Unable to connect to remote This could be caused by one
16. This 173 AD Write Request contains usually occurs when the request exceeds the maximum Invalid Address address available in the host controller Consider the following corrective actions e Change the client request to change the address to be read e Ifthe client is reading a block of data addresses ensure that the number of addresses requested does not cause the maximum address to be exceeded e Change the Host Controller memory configuration so that the requested addresses are available 187 BB CAMP Server Host PLC in The CAMP Server could not complete the request Fatal Error because its Host PLC is in Fatal Error state 188 BC CAMP Server Unable to The CAMP Server could not complete the request due to Communicate with Host PLC failed communications with its Host PLC 189 BD CAMP Server is Not Enabled The CAMP Server could not complete the request because it is not enabled 190 BE Request to Write 32 bit data A CAMP Client Request to write 32 bit data words REAL contains Invalid Word Count or Long Integer values contains incorrect data Two data words are required for each 32 bit value 191 BF Request to Write Data to a The PLC memory type specified in Address field of a Read only PLC Address CAMP Client Write Request specifies a Read only address in the PLC 198 C6 Request for Data that is not The 2500P ECC1 CAMP Server could not complete the included in Data Cache while Read Request because one or more PLC Address locations H
17. company policy or security concerns require a person be present when module firmware is updated When SW1 is in the OPEN position the remote method is disabled and firmware update must be carried out by using the SD card During the firmware update process various status codes and error codes may be displayed on the 2500P ACP1 front panel LED display e Firmware update status codes which start with U followed by two numeric digits indicate what is happening in the update process See Section 9 4 for a list of the firmware update status codes Firmware update error codes which start with E followed by two numeric digits are used to indicate the specific error that occurred When an error occurs during firmware update the process will stop You must cycle power to the base to restart the firmware update procedure See APPENDIX A ERROR CODES for a list of error codes and corresponding corrective actions Prior to updating firmware you will need to obtain a firmware update file for the 2500P ACP1 module This file can be downloaded from the CTI website http www controltechnology com downloads After obtaining this file you should save it to a file on your PC or on an accessible network drive CTI 2500P ACP1 User Manual 53 9 2 Ethernet Firmware Update Method The Ethernet firmware update method provides an efficient means for updating firmware on the product using the CTI Product Options utility within CTI Workbench
18. large for retransmission on packet too large specified network and was aborted by the routing device LC Missing attribute list The service did not supply an attribute needed to perform the entry data requested operation 1D Invalid attribute list The service is returning the list of attributes with state information for the invalid attributes 1E Embedded service error An embedded service operation resulted in an error 1F Vendor specific error A vendor specific error has occurred The Extended Status field of the Error Response specifies the error condition 20 Invalid parameter A parameter associated with the request does not meet the specification requirements 21 Write once value media An attempt to write to a write once media WORM drive or already written PROM or modify a non changeable value failed 22 Invalid reply received The response service code does not match the request service code or reply message is shorter than minimum reply size 23 Buffer overflow The message received is larger than the receiving buffer size The entire message is discarded 24 Message format error The format of the received message is not supported 25 Key failure in path The Key Segment included as the first segment in path does not match the destination device The object specific status indicates which part of the key check failed 26 Path size invalid The size of the path sent with the Service Request is invalid either too much or too little
19. memory offsets as required e Itis not required that ACP1 variables be mapped into consecutive positions in the data block For example a Discrete Input X Memory Area is inserted with Starting Address of 65 The first variable is mapped to Offset 0 corresponding to X65 The next variable is mapped to Offset 3 corresponding to X68 PLC addresses X66 X67 are not included in the Data Cache operation e Two variables cannot be mapped to the same PLC memory address e The total number of ACP1 variables that can be mapped to the Data Cache is limited to 1024 CTI 2500 Data Cache Operation When the CTI 2500 Data Cache interface is configured the ACP1 module establishes the connection to the Host PLC and starts data transfer immediately when an ACP1 application program enters RUN mode If a communications error is detected such as mismatched IP Address or cable problem the ACP1 Host PLC Data Cache Status error occurs The problem must be corrected to clear this error The status of the CTI 2500 Data Cache operation can be monitored by program logic or via the web server CTI 2500 Data Cache Statistics page CTI 2500P ACP1 User Manual 29 6 2 CTI 2500P ACP1 I O Interface The CTI 2500P ACP1 I O Interface provides data transfer along the chassis backplane between the 2500P ACP1 and chassis controller This CTI 2500 I O interface works with all existing Siemens Series 505 and CTI 2500 Series chassis PLCs and Remote Base Controllers
20. of the following device e The remote device is offline or powered down e The maximum number of TCP connections to the remote device has been reached e The IP Address specified in the configuration does not match the IP address of the remote device e There is no network path between the ACP1 module and the remote device 155 9B Error Reading Ethernet The CAMP Client is unable to read data from the Ethernet interface If this error persists contact CTI Support 156 9C Error Writing Ethernet The CAMP Client is unable to write data to the Ethernet Interface If this error persists contact CTI Support 157 9D Timeout Error A reply from the remote device was not received within the timeout period specified in the configuration This could be caused by one of the following e The remote device is offline when using UDP e The IP Address specified in the configuration does not match the IP Address of the remote device when using UDP e There is no network path between the ACP1 module and the remote device when using UDP e The configured timeout value is too small It does not allow enough time for the remote device to respond CTI 2500P ACP1 User Manual 65 Error Code Decimal Hex Description Corrective Action 172 AC Read Request contains The CAMP Server could not access one or more PLC Invalid Address Address locations specified in the request message
21. requires the user to be present at the module while the firmware update operation is executed 1 Prepare for Firmware Update using an SD Card a Download firmware update file from CTI website see Section 9 1 b Disconnect power and remove the module from the base c Remove any SD card installed in the product Copy the firmware update file into the root directory or install new SD card containing the firmware update file in the root directory NOTE The firmware update process will not work if there is more than one firmware update file in the root directory of the SD card 2 Set SW2 to the CLOSED SD Card Firmware Update position Install the Product into the base and apply power Im 2 Monitor the Firmware Update Process NOTE Do not remove power from the module while firmware is being updated When the ACP1 module starts up in SD card firmware update mode with SW2 in CLOSED position the module attempts to copy the firmware update file contents from the SD card to module RAM Status code U02 will be displayed on the LED Multi Segment Display while this is taking place If an error is encountered such as a missing firmware update file an error code is displayed and the firmware update process is terminated see APPENDIX A ERROR CODES You must correct the problem and restart the firmware update process Once the file has been copied to RAM and verified the ACP1 module will proceed with replacing the current firm
22. result in this case is 32 Thus the Network Address is 127 18 32 0 Selecting an IP Address In order to perform its functions the 2500P ACP1 requires a fixed IP Address If you are connecting to an existing network you should obtain an unused static IP Address and the Network Subnet Mask from the network administrator If you are establishing your own IP Addresses you should select IP Addresses from a block of private addresses established by the Internet Assigned Numbers Authority IANA The private address blocks are e 10000 through 10 255 255 255 Class A e 172 16 0 0 through 172 31 255 255 Class B e 192 168 0 0 through 192 168 255 255 Class C These addresses will not be forwarded by the Internet backbone routers therefore you are free to use any address in this group as long as it does not conflict with the usage by your local organization Selecting a Multicast Address The address range of 239 0 0 0 thru 239 255 255 255 has been designated as an administratively scoped Multicast Address space RFC 2365 Addresses in this range are designated for use by private multicast domains They do not conflict with other multicast address spaces that are explicitly assigned by Internet Assigned Numbers Authority IANA Within this range addresses 239 255 0 0 thru 239 255 255 255 are designated for the IPV4 multicast local scope If you are choosing a Multicast Address for a new factory floor application you should choose a M
23. routing data was included 27 Unexpected attribute in An attempt was made to set an attribute that cannot be list modified at this time 28 Invalid Member ID The Member ID included in the request does not exist in the specified Class Instance Attribute 29 Member not settable A request to modify a non changeable member was received 2A Group 2 Only server The error is only reported by DeviceNet Group 2 Only servers general failure with lt 4K code space in place of Service not supported Attribute not supported or Attribute not settable errors 2B Unknown Modbus error ACIP to Modbus translator received an unknown Modbus Exception Code 2C Attribute not read A request to get a non readable attribute was received 2D Instance not deleted The requested object instance cannot be deleted 2E Service not supported The object does not the designated application path for the for specified path specified service 2F CF Reserved Reserved by CIP for future extensions DO FF Served for Object Class This range of codes indicates Object Class specific errors when specific errors none of the other Error Codes in this table accurately reflect the error that was encountered CTI 2500P ACP1 User Manual 71 CIP UCMM Extended Status Codes The following table list all of the Extended Status codes that can be returned by the CIP Unconnected Message Manager UCMM These status codes are generally returned durin
24. the module configuration parameters such as IP Address startup operation mode and system time source Data File Manager Provides ability for user to manage files in the USER folder and files queued for transfer to an FTP server Error Descriptions Status This page provides a list of all front panel error codes and their definitions along with the current status and history Active Communication Sessions Statistics CTI 2500 Normal IQ Statistics Switch Statistics Display All Statistics Product Suocort This page contains information about TCP and UDP communications sessions currently active for each protocol This page contains a log of previously active communication sessions TCP IP Statistics This page contains information about the TCP IP configuration and status Ett Port Statisti This page contains the Ethernet port status information and operational statistics CTI 2500 Data Cache Statistics This page contains operational statistics related to communications with the CTI 2500 controller and status of the module data cache CTI 2500 Normal IO Statistics This page contains operational statistics related to communications with the CTI 2500 controller via Normal IO backplane transfers Switch Statistics This page contains diagnostic information about the smart Ethernet switch Display All Statistics This option streams the reports from each of the other Statistical Reports into a single report Product Suppo
25. the network ID portion of the IP address from the host ID Network masks are implemented by assigning a 1 to bits that belong to the network ID and 0 s to the bits that belong to the host ID Like the IP Address the resulting 32 bit value is expressed in dotted decimal notation See the example below Bits for Network Mask Network Mask in Dotted Decimal 11111111 00000000 00000000 00000000 255 0 0 0 default class A subnet mask 11111111 11111111 00000000 255 255 0 default class B subnet mask 11111111 11111111 11110000 255 255 240 0 subnetted class B network 11111111 11111111 11111111 255 255 255 0 default class C subnet mask For example when the IP address is 172 54 177 97 and the subnet mask is 255 255 255 0 the Network ID is 172 54 177 and the Host ID is 97 NOTE The binary representation of a Network Mask must be a single continuous block 1 s followed by a contiguous block of zeroes When entering the Network Mask in dotted decimal notation you must ensure that this requirement is maintained For example a network mask of 255 247 0 0 is not valid because the binary equivalent 11111111111101110000000000000000 violates this rule The Network Mask must allow at least two bits of host address In addition a network mask which causes the derived host ID to be 0 or a broadcast address all Host ID bits set to 1 should not be used 82 CTI 2500P ACP1 User Manual Using the Subnet Mask For Class A B and C IP addresses
26. the status LEDs The MSD is used to display status and error codes During normal operation the MSD displays the TCP IP address of the product one octet at a time When an error is encountered the MSD will also display an Error Code See APPENDIX A ERROR CODES for a list of error codes and descriptions 2 3 Reset Button reser H The Reset Button allows you to initiate a soft reset for the 2500P ACP1 module When e the button is depressed using a pointed object such as a ball point pen the module is gma restarted after an orderly shutdown of the application program This reset action can be f disabled by setting module switch SW3 to CLOSED position Section 3 1 2 contains information on location and setting for module switches CTI 2500P ACP1 User Manual 9 2 4 Ethernet Status Indicators The Ethernet LEDs indicate the state of the TCP IP interface and whether the module is transmitting and receiving data via the Ethernet as shown in the following table Indication NS Off TCP IP is not operational Network Status On Red TCP IP is operational A device with the same IP address as this 2500P ACP1 module has been detected On Green TCP IP is connected and operational XMT Transmit Flashing Ethernet port is transmitting data RCV Receive Flashing Ethernet port is receiving data O KE 2 5 Ethernet Ports The 2500P ACP1 provides two Ethernet ports capable of operating at 10 or 100Mb
27. via Web Server flash Use default IP Address See Section 0 020 Ethernet Port Switch Error Unable to configure switch Reset the module If error persists contact CTI Support 030 Manufacturing Data Error Checksum error detected Reset the module If error persists 040 OS Component Start Error Module startup error contact CTI Support 120 SD Card Not Accessible Unformatted or unsupported type Reformat SD card for FAT file of SD Card system and reset module If the error persists replace the SD Card 130 SD Card Not Found SD Card cannot be accessed Insert a compatible SD card missing or unsupported type See Section 3 1 1 140 Configuration File Not The ACP1 configuration file Found acp1 ini was not found on SD Configure module via Web Server Card in acp1 folder See Section 0 160 Invalid Configuration File The contents of the configuration file are not valid for ACP1 module 170 Application Program Not Application program file cannot be Connect CTI Workbench to module Found found on the SD card and download application program 175 Incompatible or Unlicensed Program is not compatible with Re compile program with licensed Application Program module run time version or version of CTI Workbench program was compiled with Firmware Version value entered in unlicensed installation of CTI Project Settings must match Workbench firmware version in ACP1 module 180 ACP1 Run time Start Unable to start ACP1 execution Reset the module If er
28. 0 AM a Biet dag folder to Bagin 1KB Configuration Settings 5 13 2014 11 18 AM KI Share this folder Other Places SD Card G OO My Documents 3 My Computer VK My Network Places CTI 2500P ACP1 User Manual 19 g h Open acp1 ini file with a text editor such as Notepad and modify highlighted fields to match your network settings All other items can be configured via the Web Server see Section 0 P acp1 ini Notepad File Edit Format View Help ACP1 Modul Seat fier ACP1 000xxxxxx ModuleStartup 0 j el ng 0 TargetPath Fi leCountwarnLevel 10 UsedSpaceWarnPct 75 FirmwareCompatibi lityIndex 0 Ln 1 Col 1 Save the modified file and return SD card to ACP1 Reinsert ACP1 module into base as described in Section 3 2 2 New settings are detected on module power up and saved in non volatile memory 5 1 2 Method 2 Offline configuration gp on a9 20 Remove SD card from ACP1 and insert in PC card reader Open a text editor such as Notepad and copy paste the following text Modify the values next to keywords to match your network setup All other items can be configured via the web server ACP11PAddress 192 168 1 1 ACP1SubnetMask 255 255 255 0 ACP1DefaultGateway 0 0 0 0 Select Save As option then select drive letter assigned to SD Card Press Create New Folder icon and rename New Folder as acp1 Enter file name as
29. 1024 PLC memory locations CTI Workbench is used for configuration of module parameters and development of the user application program for the 2500P ACP1 CTI Workbench is a full featured utility with integrated configuration tool programming editor debugger data monitor and simulator The application program may be developed in any of five IEC 61131 programming languages A complete library of functions is provided to perform the following tasks e Complex mathematical computations e Boolean logic e Data conversion e String handling e Timer Counter operations e PID control e Alarm monitoring e Complete data logging system including time stamped data storage and automatic FTP file transfer to remote FTP Server The 2500P ACP1 supports Ethernet communications through two 10 100Mb Ethernet ports and RS 232 RS 422 connections through the serial port Embedded client and server protocols can be used for data transfer with other controllers and devices All message processing for client operation request triggering packet send receive message validation data insertion extraction and error handling retries is done in the module with no PLC logic required Ei 6 CTI 2500P ACP1 User Manual The 2500P ACP1 module supports the following communications protocols e CAMP Client e Open Modbus Client e Open Modbus Server e Network Data Exchange Binding Publish Subscribe e Modbus RTU Master serial e Modbus RTU Slave se
30. 14 CTI 2500P ACP1 User Manual SW2 SD Card Operation This switch position determines the operation of the SD card at module startup When SW2 is OPEN the module starts up in the normal operating mode When set to CLOSED position the module attempts to read a firmware update file from the SD card and update the ACP1 module firmware See Section 9 3 for details on the firmware update operation using the SD card method SW3 Reset Button This switch controls the operation of the front panel reset switch When OPEN the module performs a soft reset and restarts the module when the Reset Button is depressed When CLOSED the Reset Button is disabled and the module does not reset when it is pressed SW4 SWS Reserved These switches are reserved for future use 3 1 3 Ethernet Cabling The 2500P ACP1 must be connected to the Ethernet network for configuration and program download For best results you should use cables that are rated Category 5e 3 1 4 Power Requirements The CTI 2500P ACP1 module consumes a maximum of 5 watts of 5 VDC power To calculate the total power required for a base you need to add the power requirements for the other modules you will install in the base Ensure the power supply is capable of meeting power requirements for all installed modules 3 2 Installing the 2500P ACP1 module 3 2 1 Unpacking the Module Open the shipping carton and remove the special anti static bag that contains the module Ens
31. 34 must be BOOL Valve3_OPEN is assigned to PLC Discrete Output Offset 6 Y2039 must be BOOL Valve3_CLOSE is assigned to PLC Discrete Output Offset 7 Y2040 must be BOOL E_STOP is assigned to Discrete PLC Output Offset 15 X2048 must be BOOL T3_Product_Used is assigned to PLC Word Input Offset 0 WX2065 must be INT Motor6_Runtime is assigned to PLC Word Input Offset 2 WX2067 must be INT Conv1_Speed is assigned to PLC Word Output Offset 2 WY2099 must be INT L3_Flow_Rate is assigned to PLC Word Input Offset 3 X2100 must be INT e Itis not required that ACP1 variables be mapped into all Discrete and or Word image registers positions Only those positions containing data relevant to ACP1 operation need to be assigned e The maximum number of ACP1 variables that can be mapped to the 2500P ACP1 I O interface is provided by the Mixed I O model which supports PLC Output of 32 BOOL 32 INT and PLC Input of 32 BOOL 32 INT values 2500P ACP1 I O Operation When the PLC Module I O Definition and ACP1 Login Address have been configured in the Host PLC it immediately attempts to transfer I O data with the ACP1 The Host PLC will detect an I O Mismatch error with the assigned ACP1 module slot until an application program containing a 2500P ACP1 I O Configuration that matches the PLC Module I O Definition is downloaded to the ACP1 module to enable the I O data transfer The LO Mismatch err
32. 7 1 5 Ethernet IP I O Scanner The Ethernet IP EIP UO Scanner provides a client driver for exchanging data with CIP nodes via CIP implicit messages also called I O messages These messages are used for high speed transfer of I O assemblies between CIP devices in applications where the same set of data is transmitted repetitively I O assemblies are referenced in terms of the CIP network controller or I O Scanner I O data transmitted by the I O Scanner to the Adapter is called O gt T Originator to Target or Output assembly and I O data received from the I O Adapter is called T gt O Target to Originator or Input assembly One Output assembly and one Input assembly must be specified for each I O Adapter or Server The EIP I O Scanner is configured by specifying each external CIP node IP Address the data to be transmitted T gt O assembly object the data to be received from that node O gt T assembly object The parameters for each assembly object includes the Assembly Instance number Requested Packet Interval RPI or maximum time between packets Data size in bytes and Connection type point to point or multicast Data is transferred with the application program by mapping variables to positions in the I O assemblies An optional Configuration Instance can be configured when required by the I O Adapter Up to 400 bytes of configuration data can be specified using the built in grid editor The EIP I O Scanner interface can be used
33. CTI 2500P ACP1 Application Coprocessor User Manual Version 1 12 Copyright 2014 2015 Control Technology Inc All rights reserved This manual is published by Control Technology Inc CTI 5734 Middlebrook Pike Knoxville TN 37921 This manual contains references to brand and product names which are trade names trademarks and or registered trademarks of Control Technology Inc Siemens SIMATIC and Series POS are registered trademarks of Siemens AG Other references to brand and product names are trade names trademarks and or registered trademarks of their respective holders DOCUMENT DISCLAIMER STATEMENT Every effort has been made to ensure the accuracy of this document however errors do occasionally occur CTI provides this document on an as is basis and assumes no responsibility for direct or consequential damages resulting from the use of this document This document is provided without express or implied warranty of any kind including but not limited to the warranties of merchantability or fitness for a particular purpose This document and the products it references are subject to change without notice If you have a comment or discover an error please call us at 1 800 537 8398 or email us at sales controltechnology com REVISION HISTORY V1 0 7 1 2014 Initial Release V1 01 7 22 2014 Corrected typos and added details to several topics V1 02 8 6 2014 Swapped order of some sections within document Inc
34. Controller scope 0x06 6 0x0000 0 Insufficient Packet Space The number of bytes allocated for storage of response data is too small OxFF 255 0x2105 8453 Access beyond end of object The number of elements requested offset exceeds number of elements in Tag Write Tag Errors General Status Extended Status Comments 0x04 4 0x0000 0 Syntax Error in decoding Network Path 0x05 5 0x0000 0 Request Path Destination is unknown This usually indicates the Tag Name does not exist in the Controller scope 0x10 16 0x2101 8449 Device State Conflict Keyswitch position The requestor is attempting to change force data in HARD RUN mode 0x10 16 0x2102 8450 Device State Conflict Safety status The controller is in a state where Safety Memory cannot be modified OxFF 255 0x2105 8453 Access beyond end of object The number of elements requested offset exceeds number of elements in Tag OxFF 255 0x2107 8455 Data type of tag is invalid or not supported CTI 2500P ACP1 User Manual 69 CIP General Status Codes The following table list all of the General Status codes that can be returned by the CIP protocol These codes may be reported in the I O Scanner and or Tag Client diagnostic error variables This list can be helpful for debugging connection issues especially when analyzing data from a network capture program i e Wireshark
35. PVH REAL PV Low Limit APVL REAL Set Point ASP REAL Set Point ASP INT SP High Limit ASPH REAL SP High Limit ASPH INT SP Low Limit ASPL REAL SP Low Limit ASPL INT Error AERR REAL Error AERR INT High High Alarm Limit AHHA REAL High High Alarm Limit AHHA INT High Alarm Limit AHA REAL High Alarm Limit AHA INT Low Alarm Limit ALA REAL Low Alarm Limit ALA INT Low Low Alarm Limit ALLA REAL Low Low Alarm Limit ALLA INT Alarm Deadband AADB REAL Alarm Deadband AADB INT Orange Dev Alarm Limit AODA REAL Orange Dev Alarm Limit AODA INT Yellow Dev Alarm Limit AYDA REAL Yellow Dev Alarm Limit AYDA INT Rate of Change Alarm Limit ARCA REAL Alarm Acknowledge Flags AACK INT V Flags AVF INT Control Flags MSW ACFH INT Control Flags LSW ACFL 28 INT CTI 2500P ACP1 User Manual Cache Direction An ACP1 application program variable is assigned or mapped to that PLC memory location Variables mapped into the Data Cache are designated as one of the following Cache Direction Description of Operation Read from PLC PLC memory value is copied to corresponding ACP1 variable each scan Write to PLC PLC memory location is updated whenever the correspondi
36. Parameters and performs the specified operation on the private data The run time includes both IEC Standard and CTI Function Blocks The IEC 61131 model uses the Data Structure construct as a template or data type for the internal data To use a Function Block a unique variable having that data type must be declared for each occurrence of the Function Block in the application This creates an instance of Function Block and its private variables The UDFB is a user developed program unit that is operationally equivalent to the standard Function Block described above There are no restrictions in the development and usage of UDFBs The logic can be constructed in any available language A UDFB can be called from any other POU and its logic can call any Function Function Block and or other UDFB A maximum of 256 Input and 256 Output Parameters are supported CTI 2500P ACP1 User Manual 47 The following examples show the declaration for an instance of IEC Standard Function Block TON In Out Parameters FB Instance Variable Declaration IN IN BOOL PT TIME Timer1 This symbol does not exist Do you want to Declare a new variable OUT Q BOOL Type x ET TIME f wl Where Maint Programs The Program is highest level POU in that it is called directly by the run time as part of the execution cycle An application must have at least one Program and can have a maximum of 32767 If more than one Progra
37. Since many FTP Server require an email address as the password for anonymous FTP the default Password ACP1 ACP1 com can be used for anonymous FTP e FTP Target Path The directory path relative to the root directory set by the FTP Server Directory folder names are separated by the slash character For example acp1_T101 files Path string is limited to a maximum length of 64 characters If no path is entered files are written to the root directory established by the FTP Server e File Count Warning Level File count that triggers the FTP Pending File Count Warning Error Code 408 when exceeded File count is the number of files in the SD Card ACP1 XFER folder waiting for transfer to the FTP Server This alarm is normally set to a level that indicates a problem with the connection to the FTP Server while the ACP1 file management is still operating normally Valid range is 0 99 where an entry of 0 generates the alarm whenever one or more files are waiting to transfer to the FTP Server and 99 generates the alarm only when the FTP transfer queue is completely full 100 files e Used Disk Space Warning Level Percent of used SD Card disk space that triggers the SD Card Free Space Warning Error Code 398 This alarm is normally set to a level that indicates a potential problem with the amount of free disk space on the installed SD Card Valid range is 25 90 entered as the percentage of used disk space on SD Card
38. The 2500P ACP1 application is executed sequentially according to the following model Start Cycle e Update Database Variables INPUTS Data from communications messages received during previous cycle Send Data OUTPUTS Generate communication messages triggered during previous cycle _ Repeat for each Host PLC Fieldbus and Variable Binding Configuration Execute first Program s Period in which Cycle Watchdog Timer runs Execute last Program Wait for elapsed time if Fixed Cycle time specified End Cycle Each configured communications driver ACP1 Data Cache ACP1 I O CAMP Client Open Modbus Client Open Modbus Server Ethernet I P Scanner Ethernet IP Adapter Ethernet IP Tag Client and Variable Binding is called each cycle and runs until all input output messages are processed It is not required that each Program run during each execution cycle The frequency and sequence order for the execution of each Program is set by the Cycle Configuration This gives the user total control over what Programs run during each execution cycle Each POU is assigned the same priority and runs to completion before the next program unit is called This non preemptive scheduling method provides a much simpler approach to system design since the execution sequence is determined by the order in which each program is called and the logic flow within the program The 2500P ACP1 has an internal Cycle Watchdog timer to detect software ano
39. The alarm is generated when the ratio of used disk space to available space exceeds value entered d Press Submit to save changes to the module configuration If Ethernet network settings have changed module must be reset or power cycled to use the new parameter values 5 3 2500P ACP1 Firmware Update Although CTI installs the latest available firmware version prior to shipping a product it is possible that a new firmware version has been released since your ACP1 module was shipped We recommend that you check the firmware versions and download the latest firmware update file for the 2500P ACP1 from the CTI web site http www controltechnology com downloads The methods for the firmware update process are described in CHAPTER 9 CTI 2500P ACP1 User Manual 23 CHAPTER 6 HOST PLC INTERFACES Although the 2500P ACP1 can operate as an independent controller it normally functions as a coprocessor that enhances a PLC based control system by providing high performance data computations and communication functions with data transferred to from the system controller Two different PLC interfaces are included that provide real time communication paths between the ACP1 module and the Host controller The PLC interface to be used with the application program is specified via software configuration using CTI Workbench 6 1 CTI Data Cache Interface The CTI 2500 Data Cache interface is a proprietary communications method designed to pro
40. abuvnarenccadvehshuvacehavandechseuvaves ed deeeg get det deed ek dE deeg 10 EI 11 CHAPTER S INSTALLATION isisisi ges eeeregeE ee Eed 12 3 1 Installation Planning 12 St SD BEE 12 3 1 2 Module Zwitches enee 13 ER Ethernet Cabling EE 15 3 1 4 Power Heouiremenmts nennen 15 3 2 Installing the 2500P ACP1 module 0 cecceseecceceeeeeseeseceeeeeeeaeeaecaeseeeeaesaesaeseeeeaneaesaeseeseateaes 15 3 2 1 Unpacking the Module AA 15 3 2 2 PHYSICA INSTAIALION A 16 CHAPTER 4 USER INTERFACES enaa ee 17 AICT ele EE 17 AO WED SONO EEN 18 CHAPTER S MODULE CONFIGURATION aerieni aeaaaee aa aaraa aaa aaaea 19 5 1 Ethernet Network Parameters AAA 19 5 1 1 Method 1 Module generates configuration file 0 cee cetceteeeteeeteteteteeteeteeeteereeetnseees 19 5 1 2 Method 2 Offline configuration cecceccecceccesseeeeesceseeseeeneeceeaesaecaeeeseeaesaeeeeeesseaeeeteeetes 20 5 2 Module Configuration via Web Gene 21 5 3 2500P ACP1 Firmware Update 23 CHAPTER 6 HOST PLC INTERFACES eege 24 6 1 CTI Data Cache Interface 24 6 1 1 CTI Data Cache Connection Options cccccccccccceccessssssesceecessseeteeceaeeseseeseeeesssnseeesensess 25 6 1 2 Data Cache Contouration 26 6 2 Cll 2500P ACP 1 0 Intetace EE 30 CTI 2500P ACP1 User Manual 3 CHAPTER 7 DEVICE COMMUNICATIONG csscsesssssesteeeesessnseeseeenseeseeseesesenseeseesnsensensenneens 34 7 1 Ethernet COMMUNICATIONS cceccececeeesceeseesscecseeeeeeseeseesseec
41. acp1 acp1 ini and press Save Reinsert ACP1 module into base as described in Section 3 2 2 New settings are detected on module power up and saved in non volatile memory CTI 2500P ACP1 User Manual 5 2 Module Configuration via Web Server When the Ethernet Network Parameters have been setup see Section 5 1 the embedded web server can be used to configure module parameters and operation a Connect to the web server from any computer with an Ethernet connection to the module by entering the module IP address into the navigation toolbar of any web browser b Select Module Configuration menu item as highlighted below l 2500P ACP1 IEC 61131 Coprocessor wawam Main Menu Welcome to the 2500P ACP1 IEC 61131 Coprocessor Web Server Tis rar allows you to view the event log and module information in adaton it provides a direct link to the CTI product suppor website Earties Etat beis Event Log This page displays the module event log which records significant events that occur Curing the startup and operation of the module Matala Secher Product information Lann ge This page contains informaton about the module naroware firmware ang current configuration You should be prepared to supply this information when contacting CTI customer support 8 provides information about the module along with a list of abnormal module status corresponding to indicators accesible by Enx Deron tens e user program via the CTI_ACP1_STATUS functio
42. and connections 108 Invalid Network One of the parameters specified in the Forward Open such as Connection Connection ID Connection Type Connection Priority Redundant Parameter Owner or Fixed Variable is not supported 109 Invalid Connection The Target or Router does not support the specified connection size Size This could occur when the assembly size configured for the Target does not match the required size for a fixed connection CTI products support only fixed connection sizes Check the manufacturer documentation to verify the connection size required by the device Note that most devices specify this value in terms of bytes 110 Target for The Target has received a request for connection that has not been Connection Not configured This could occur if the device has powered down or if the Configured connection timed out This could be caused by poor network traffic Check the cabling switches and connections 72 CTI 2500P ACP1 User Manual 111 RPI Not Supported The Target does not support the specified Requested Packet Interval RPI for O gt T or T gt O connection This status code can also indicate an unsupported connection timeout produced by the connection timeout multiplier Although CTI products allow RPI to be set as low as 1 msec I O data cannot be produced or processed any faster than the product cycle time of the application 112 RPI Values Not The Requested Packe
43. ansmitted by the I O Scanner to the Adapter is called O gt T Originator to Target assembly and I O data received from the I O Adapter is called the T gt O Target to Originator assembly The I O assemblies can be configured as desired with data specified by mapping application program variables to each assembly Each connection from a remote EIP I O Scanner counts against the limit of 30 server connections supported by the 2500P ACP1 The EIP Adapter also can be configured to allow the 2500P ACP1 to respond to general purpose CIP Generic messages issued by an external EIP Generic Message client such as an RSLogix PLC CIP Generic messages are used to read write application specific data that is not included in the Input Output assemblies The 2500P ACP1 allows the user to configure dynamic vendor specific assembly objects to provide application specific data such as Device Profile Product ID and Program Version or Diagnostic data Vendor specific assembly objects are configured by assigning a Class ID Instance and Size in bytes of the assembly object Application program variable s are then mapped to positions in the assembly object Two message services are supported by the EIP Generic Message Adapter e Get_Attribute_Single CIP Generic Message Service Code OE hex Used by a remote Generic Message client to read data from the ACP1 assembly object Supported Instance Attributes o Data Length Attribute ID 1 returns Size of as
44. as shown CTI Product Options Product Information Runtime IP 172 18 9 196 1100 Auto Detect CTi CTI Product Type 2500P ACP1 E Firmware Version 2 03 Display Runtime Status Configure Update Firmware The steps in the firmware update process are described below 1 Prepare for Firmware Update via Ethernet Connection a Download firmware update file from CTI website see Section 9 1 b SW1 must be in the CLOSED Ethernet Firmware Update Allowed position c Module must be installed in the base and power applied d ACP1 application program must be halted When halted No Application is displayed in status window as shown below i D A E 39 CH sill No application 06 5 bal defines NOTE Do not remove power from the module while the firmware is being updated 54 CTI 2500P ACP1 User Manual 2 Initiate Firmware Update Process a b Select Update Firmware button in CTI Product Options screen Browse to folder and select the firmware update file If the module status is OK the firmware update process is started The ACP1 module is reset and the module is initialized to firmware update mode The firmware update file is downloaded to module When the file transfer is completed successfully a message is displayed indicating the file was successfully transferred After the file is transferred the ACP1 module validates the file and if successful begins writing the firm
45. ck Execution flow is from left to right and top to bottom of the diagram Sequential Sequential Function Chart SFC is a graphical language used to program processes that can Function Chart be split into states or steps Main components of SFC are steps containing actions transitions logic instructions and connections or directed links between steps and transitions A step becomes active when the preceding step is active and the connecting transition is TRUE LD and or ST is used on program actions and transition logic SFC Child POU developed in SFC language that is controlled started stopped from the action blocks Program of its parent SFC Program A SFC Child Program may also have children Fieldbus User definition of the operation and processing for each supported communication protocol Configuration and data transfer to from ACP1 variables during run time Configuration options are specific to the protocol and function such as Master or Slave Binding User definition for the real time Network Data Exchange among CTI devices supporting this Configuration protocol 2500P ACP1 2500P ECC1 and 2500 Series HMI products Variable Binding uses an event based Publish Subscribe model for high performance and low network traffic Project Collection of components used to build an executable application These components include POUs Variables Global Defines Fieldbus Configurations and Binding Configuration Execution One com
46. consistent with IEC 61131 spec d Any extraneous information included in the string will be ignored 86 CTI 2500P ACP1 User Manual APPENDIX D PRODUCT SPECIFICATIONS Hardware Specifications Module Size Single Wide I O Backplane Power Consumption 5 watts 5 VDC Operating Temperature 02 to 602 C 322 to 1852 F Storage Temperature 402 to 852 C 402 to 1852 F Humidity 0 to 95 non condensing CTI 2500P ACP1 User Manual 87 LIMITED PRODUCT WARRANTY Warranty Control Technology Inc CTI warrants that this CTI Industrial Product the Product shall be free from defects in material and workmanship for a period of one 1 year from the date of purchase from CTI or from an authorized CTI Industrial Distributor as the case may be Repaired or replacement CTI products provided under this warranty are similarly warranted for a period of 6 months from the date of shipment to the customer or the remainder of the original warranty term whichever is longer This Product and any repaired or replacement products will be manufactured from new and or serviceable used parts which are equal to new in the Product This warranty is limited to the initial purchaser of the Product from CTI or from an authorized CTI Industrial Distributor and may not be transferred or assigned 2 Remedies Remedies under this warranty shall be limited at CTI s option to the replacement or repair of this Product or the parts thereof only after shipme
47. cted may be powered down or the serial parameters may be configured incorrectly 128 Communication Timeout This indicates that the target Modbus device failed to respond within the designated timeout period 129 Bad CRC16 Indicates a data transmission error Reported only by Modbus slave devices attached to serial links Modbus TCP IP protocol does not contain a Modbus CRC 130 Lost Connection The TCP connection to the device has been lost 68 CTI 2500P ACP1 User Manual Ethernet IP Tag Client Error Codes The Ethernet IP Tag Client allows the ACP1 to read write Controller tags in a RSLogix PLC Tags are one or more data elements of a single Data Type When more than one data element is included the PLC tag is configured as an array with enough elements to store all of the data The ACP1 can access PLC tags up to 500 bytes in length It is possible to configure larger tags in the PLC but these extended length tags are not supported by the ACP1 The following tables list the errors that may be returned by the EIP Tag Client Error codes are listed in Hex format with decimal equivalents shown in parentheses Read Tag Errors General Status Extended Status Comments 0x04 4 0x0000 0 Syntax Error in decoding Network Path 0x05 5 0x0000 0 Request Path Destination is unknown This usually indicates the specified tag name does not exist in the
48. duce high performance data transfer between the Host controller and 2500P ACP1 while minimizing the workload on the PLC This interface utilizes a proprietary highly efficient protocol on a high speed Ethernet channel that provides a significant increase in amount of data and PLC memory access not available via I O backplane The CTI 2500 Data Cache interface can be configured to access up to 1024 different PLC memory locations and all 505 memory types are supported including Drum Loop and Alarm variables For most applications all data is transferred each PLC scan The only exception is the rare case where PLC scan time is less than the ACP1 execution cycle In this case the data transfer occurs once per ACP1 execution cycle The CTI 2500 Data Cache interface is available when the 2500P ACP1 is used with a CTI 2500 Series PLC installed as the system controller An Ethernet connection between the 2500P ACP1 and PLC is required and an external connection must be added when using all existing Siemens Series 505 and CTI 2500 Series bases The new CTI 2500P bases include a high speed backplane channel that supports the CTI Data Cache interface without the need for the external Ethernet connection The Data Cache Interface works successfully only when the following conditions exist 1 The CTI 2500 Series controller must be running a firmware V7 05 or later to support this interface The installed firmware version may be determined by acces
49. e ACP1 is installed Exchange Timeout detected PLC I O data transfer Module automatically resets within 30 second interval FPGA sub system and attempts Can be the result by a mismatch Ges to recover between ACP1 application program and PLC I O Login configuration for ACP1 module slot or ACP1 sub system failure 380 Uncorrectable ECC ACP1 detected an uncorrectable Error is corrected when memory Memory Error memory error during I O data cell is written during the next l o transfer Data transfer from PLC is data transfer delayed one PLC scan CTI 2500P ACP1 User Manual 61 Run Time Errors Error Code Description Comments Recovery 390 Scan Cycle Overrun Watchdog Timeout An execution cycle in the ACP1 application program exceeded the 2000 msec timeout period Connect CTI Workbench to ACP1 to exit ERROR mode Check loops in logic to detect cause of error Error can also be cleared by resetting ACP1 module 395 SD Card Write Protected Detected when write to SD Card operation is attempted by program download or write to file function called by the application program Set SD Card switch to disable write protection and reset module 398 SD Card Free Space Warning ACP1 firmware periodically calculates used disk space on SD Card when FTP File Transfer is enabled Indicates the percentage of used space exceeds Warning Level set in ACP1 Web Server 398 SD Card D
50. e Host PLC and module are on the same VLAN 310 Host PLC Fatal Error The Host PLC is in Fatal Error state Clear the Host PLC Fatal Error Data Cache variables are not being updated 320 Host PLC in Program Host PLC logic program is not Change PLC mode to RUN Mode running 330 Inaccessible PLC Unable to access one or more PLC Compare the Host PLC memory Address memory locations specified in the configuration with the memory Data Cache configuration types offsets specified for Data Cache variable mapping Change Host Controller memory configuration or revise the Data Cache variable mapping 335 No Memory Buffers Number of variable write data Error clears automatically on the Available for Data requests to PLC exceeded number of ACP1 execution cycle Transfer available buffers Data transfer is Increase CPU time slice for ACP1 and delayed one PLC scan set fixed ACP1 cycle time 60 CTI 2500P ACP1 User Manual CTI 2500 I O Interface Errors Error Code Description Comments Recovery 365 Host PLC I O Output Indicates PLC has stopped I O Disable detected by communications with ACP1 module Usually caused by mismatch between ACP1 application Ensure PLC is operational no program and PLC I O Login Fatal Error state and CTI 2500P configuration for ACP1 module ACP1 UO configuration matches slot Host PLC I O Login for module 370 Host PLC I O Data Indicates ACP1 module has not slot where th
51. e module IP address into the navigation toolbar of any web browser The Web Server provides a simple method for module configuration see Section 0 and access to product information module event log and statistical diagnostic data A maximum of 3 users can be connected to the Web Server simultaneously The home page of the ACP1 Web Server is shown below SI Thu May 08 2014 15 09 28 Event Log Product Information Module Configuration Dats File Manager Eror Desoiptions Status Active Communication Sessions Communication Sessions History ICP IP Statistics Ethernet Port Statistics CTI 2500 Dats Cache 2500P ACP1 IEC 61131 Coprocessor Main Menu Welcome to the 2500P ACP1 IEC 61131 Coprocessor Web Server This facility allows you to view the event log and module information In addition it provides a direct link to the CTI product support website Event Log This page displays the module event log which records significant events that occur during the startup and operation of the module Product Information This page contains information about the module hardware firmware and current configuration You should be prepared to supply this information when contacting CTI customer support It provides information about the module along with a list of abnormal module status corresponding to indicators accesible by the user program via the CTI_ACP1_STATUS function Module Configuration Provides ability for user to specify
52. e to FLASH U09 Verifying the CTI Image File was written to FLASH properly U10 Searching for an Image Trailer in FLASH U11 Searching for a Boot Loader Image in the image file U12 Validating the Boot Loader Image found in FLASH U13 Copying the Boot Loader Image from FLASH to DRAM and verifying copy U14 Erasing the area in FLASH to hold the downloaded Boot Loader U15 Writing the downloaded Boot Loader into FLASH CTI 2500P ACP1 User Manual 57 APPENDIX A ERROR CODES Operational Error Codes Operational Error Codes are detected by the ACP1 module firmware and indicated on the front panel While any error is active the Status LED blinks ON OFF The Error Code is presented on the front panel multi segment LED display The product shall first display Err and then the 3 digit number corresponding to the error condition It is possible that multiple errors may be active simultaneously This condition is indicated by blinking the right most decimal point in the display In these instances the highest priority error code shall be displayed Once this error has been cleared the next highest priority error shall be displayed The following tables include error code description and recovery steps for all error conditions 58 CTI 2500P ACP1 User Manual Startup Errors Error Code Description Comments Recovery 010 No Network Configuration in Uses default network settings Configure module
53. eceseeseeseeeseeseeeseeesenesseeseneeaees 34 LA4 CAMP Een nic nian a Ane a eh 34 7 1 2 Open Modbus CHONG A 35 Ke Re ele EE 36 7 1 4 Network Data Exchange Publish and Subscribe s ssesseeseeeneeeeeeeeeeenenennneenneneesenee 37 7 1 5 Ethernet IP VO Gamer 37 7 1 6 Ethernet IP VO Adapnier A 38 E Ethernev P Tag Clientii a Sie ae 39 7 2 Serial Port Commumications nnt 40 7 2 1 Serial Port Protocols srsirerinrsrirrirrinnirraririiann iake AEAEE AERE E 40 7 2 2 Serial Port Configuration cscceccessceseeseseseseseeeseesessssaseesesaseasseassnsssessenesenesenesensseaes 41 CHAPTER S ARRHGCATIONDEVELGOEMENT oe 42 SCH IES 61 131 CONCED S secs sccvcctea cs exeveccteveveths eeteeesevsieetdancverveev seus iaaa rE Ear aTe eaaa 42 8 2 Glossary Of Term S oaa de aeeetep thant Redes sapling ead 43 8 3 Funcional UE 45 8 4 Application D SIQN nassen a 46 8 4 1 Project Geitinmges csccecceccescsseceeceneeassneeececesasenscsnesasaaessnssneassaeseneeassaseassensesssaseaneensass 46 8 4 2 Program Organization Units POUS ccccccccceccescsssseeceecesesseseseessssesaeseesesseeseeeeneass 46 643 VAN ADIOS asec ee EEN 51 8 4 4 Device Communications sessssessseseseeeieeneeeeneeeenenetnrnennrnrnnrneenrnenennnennenennrnrnneneeenee 52 gA Vanable BINING eege deed E AANE deed 52 8 5 Exec tion Cycle sssr e a dk e E a a A E aie 47 CHAPTER 9 UPDATING FIRMWARE c sccsscscessessseseeeeeseesseeeneneenaeseneneeneesaesneeneeneesaesenenne
54. ected Send An Unconnected Send message has been sent and no response is Timed Out received within the specified timeout period This usually indicates poor network traffic Check the cabling switches and connections 205 Unconnected Send The Connection Tick Time Connection Timeout period specified in the Parameter Error Forward Open or Forward Close message is not supported 206 Message Too Large The Unconnected Send message is too large to be sent on the for UCMM network 207 UCMM Acknowledge The Acknowledge message to an Unconnected Send was received but without Reply no data response occurred 301 No Buffer Memory The Connection memory buffers in the Target device are full This can Available usually be corrected by reducing the frequency of the messages being sent to the device and or reducing the number of connections to the device 302 Network Bandwidth The Producer device cannot support the specified RPI rate when the Not Available for connection has been configured with Schedule priority Reduce the Data message rate increase RPI value or consult the manufacturer s documentation 303 No Consumed The Consumer device does not have an available Connection ID Filter consumed_connection_id filter Available 304 Not Configured to A device configured for a Scheduled Priority message cannot send the Send Scheduled data at the scheduled time slot Priority Data 305 Schedule Signature The connection scheduling information in the Originator does not
55. empting to read input registers but no data block of containing input registers exists 2 Invalid Modbus address The Modbus query attempts to access an address that is not within the range of Modbus addresses that have been configured for the requested Modbus data type This can result from the following conditions e The client is erroneously requesting an unsupported address e The server data block is configured incorrectly The starting address of the data block is in error or the size is too small 3 Invalid Modbus value A value contained in the query data field is not an allowable value for the slave This indicates a fault in the message structure of the Modbus request so that the value in a particular field is not valid for its purpose This error indicates a problem with the Modbus Client 4 Modbus Server failure An unrecoverable error occurred while the server was attempting to perform the requested action If this error persists contact CTI Support CTI 2500P ACP1 User Manual 67 Modbus Client Error Codes Error Code Description Comments 0 Request Successful No Error 1 Unsupported Modbus function The function code in the query is not supported by the Modbus slave device Some Modbus devices may return this error if the function is not allowed for the data you are attempting to access for example attempting to write data to which you have only read access You shou
56. ench can connect to either of the front panel Ethernet ports A maximum of 3 simultaneous CTI Workbench connections to the ACP1 module is allowed MoT est RUN A Exception progame _ Main A T Phograms EA BOCH u Man bVait DOC T Wach Um Oe tel ok32 DOC EF India volver bVai32 BOCH Gia Fieksbur Configurations Pulse PLS DA Binding Contiguration DO IF Run BOCH Jg Gi Time mis Global defines Tenet 1 TWE S Vanables dab gt Tiss D Biet Ga eo s A Exception pogams DN fc 3 BRE T Advanced eme L Anime T Anys T Wach lor debuggna 3 Booleans EJ Intis vatues a oe Ge Fetz Configuations 3 z W Bndng Contguation on paste 7g Global defres Gg Conwvenon i C3 Veisbles lt gt 4 gt Gees Gover Dee Som Leer El Mes D men Men jODven et Bede Edie Types aa a Fictex Biet 172 98 9 197 1100 x CA Exception pogana H Tne Event descopton j am a Ps 1 1S7OOI 16 2246 01 231 _CTL_LFLAGS 0 perder en gue 2 1970 01 16 22 4601 231 _CTI PRODUCT 2500P ACP pred H 1970 01 16 224601231 _CTI_VERSION D 0 Maximum 229 A Wach lot debugging Overfow Sot Scops EJ intial values il EI Bote Crea wenes funtime Cal stack Bregen Leg senmra rece femmen r it Ready RUN 172 98 9 397 1100 d oo 70x18 00 1 A CTI 2500P ACP1 User Manual 17 4 2 Web Server The 2500P ACP1 provides an embedded Web Server that can be accessed from any computer with an Ethernet connection to the module by entering th
57. ero rather than the monitoring individual error codes 78 CTI 2500P ACP1 User Manual Firmware Update Error Codes If an error occurs during the firmware update procedure the procedure will stop and wait for corrective action An error code will be displayed on the Multi Segment Display The following table describes the error codes and the corrective action Error Code Description Corrective Action E16 Firmware update failed Rerun the firmware update procedure If the error persists contact CTI Support E17 Unable to write the firmware Rerun the firmware update procedure If the error update status flag persists contact CTI Support E18 E25 Unable to locate or execute the Contact CTI Support firmware file loader E26 An error was encountered when Reformat the SD Card copy the firmware file to the SD attempting to open the firmware Card and rerun the firmware update procedure update file E27 The firmware update file could not Delete the firmware update file re copy the firmware be read update to the SD Card and rerun the firmware update procedure If the error persists try using a different SD Card for the firmware update E28 The SD Card directory could not be Reformat the SD Card copy the firmware update file read to the SD Card and rerun the firmware update procedure E29 No firmware update ffl file could One and only one firmware update file is allowed in be found on t
58. es may be used for application development Language best choice for Batch process or State machine operations Sequential Function Chart SFC Structured Text Function Block Diagram ST FBD Instruction List Ladder Diagram IL LD Boolean logic or bit operations Text Graphical 42 CTI 2500P ACP1 User Manual 8 2 Glossary of Terms This section describes the items that comprise an ACP1 application and their function Item Description S O Data Type Classification of memory location so that the length possible values and interpretation of data values can be determined The run time supports simple data types single element such as BOOLEAN INTEGER or REAL and complex data types derived from simple data types Structures Enumerations Bit Fields and Function Block instances Variable Symbolic name and data type for database position s where the value is stored Variables may be grouped into Arrays and accessed via index Instruction Graphical symbol text statement or expression that performs an operation and or represents the control flow order of execution through the logic program Valid instructions are specific to the programming language Function Operation that calculates a result based on the current value of the input parameters A function is not linked to a specific instance and no internal data is retained when the operation completes Function Block A group of private data and an al
59. et Size match what is expected by the Target Consult the documentation of the Adapter device to verify the size Note if the Run Idle header is included in the O gt T data size The Run Idle Header can be enabled disabled as needed to match the Adapter setting when a CTI product is acting as the I O Scanner When a CTI product is serving as the Adapter it always requires the Run Idle header to be included in the O gt T data If the I O Scanner does not have the option to send the Run Idle Header then 4 additional bytes must be added to the O gt T size with first 4 bytes unused Some devices publish the expected T gt 0 size as an additional value when the error is returned If available this information is displayed on the Ethernet IP statistics page of the CTI product web server NOTE The Target device may return this error if the O gt T Connection ID is invalid for I O Message data 74 CTI 2500P ACP1 User Manual 128 Invalid Target to The T gt O Input data size specified in the Forward Open does not Originator Size match the Target configuration Consult the documentation of the Adapter device to verify the size Note if the Run Idle header is included in the T gt O data size Note if the Run Idle Header is included in the T gt O data The Run Idle Header can be enabled disabled as needed to match Adapter settings when a CTI product is acting as the 1 O Scanner When CTI product is serving as
60. fferent SD card E81 E99 An error occurred while processing Retry the firmware update procedure If the error the firmware update file This repeats obtain a valid firmware update file and rerun usually indicates the file is the firmware update procedure corrupted E168 E199 An error occurred while updating Retry the firmware update procedure If the error the FPGA firmware This usually indicates the file is corrupted repeats obtain a valid firmware update file and rerun the firmware update procedure If the error still occurs contact CTI Support 80 CTI 2500P ACP1 User Manual APPENDIX B IP ADDRESS INFORMATION IP Address Nomenclature IP Address Every host interface on a TCP IP network is identified by a unique IP Address This address is used to uniquely identify the host device such as a workstation or communications module and the network to which the host belongs Each IP Address consists of 32 bits divided into four 8 bit entities called octets An IP Address is expressed in dotted notation with each octet expressed as its decimal equivalent See the example below 11000000 11011111 10110001 00000001 192 223 Although an IP Address is a single value it contains two types of information the Network ID and the Host ID The Network ID identifies the IP network to which the host belongs The Host ID identifies a specific IP host on that IP network All IP hosts on a particu
61. g Ethernet IP and Common Industrial Protocol CIP go to the ODVA website http www odva or CTI 2500P ACP1 User Manual 39 7 2 Serial Port Communications The 2500P ACP1 provides communications protocols for connection of RS 232 RS 422 compatible devices to the serial port Only one serial port protocol may be active at any time 7 2 1 Serial Port Protocols Function Description Modbus RTU Master Allows ACP1 to function as Modbus RTU Master Modbus RTU Slave Allows ACP1 to function as Modbus RTU Slave General ASCII Sends and receives ASCII characters Can be used to communicate to devices using proprietary serial protocols Data is transmitted and received based on the application logic 40 CTI 2500P ACP1 User Manual 7 2 2 Serial Port Configuration All serial port parameters including the electrical interface RS232 or RS422 are set by software configuration Parameters are specified by an ASCII string containing descriptors and associated values This string is used to setup the serial port as required by serial protocol drivers The following table lists serial port setup parameters Valid Values emm Value a a ALWAYS 1 Baud Rate 1200 2400 4800 9600 19200 38400 E 57600 115200 Dap o8 78 o EE Modbus RTU E Flow Control No N Yes Y Y enables Hardware RTS CTS handshake CTS must be TRUE to send Interface Lt R5232 R422 RS232 This is an example string to setup the ser
62. g processing of a Forward_Open request from an Ethernet IP Client when attempting to establish an I O connection with a Server These errors may be reported in the I O Scanner diagnostic error variables UCMM Description Comments Status Code Hex Dec 100 Connection in Use or The Originator is attempting to make a connection to a Target to Duplicate Forward which the Originator has already established a connection Open This could be caused by poor network traffic Check the cabling switches and connections 103 Transport Class or The Target does not support Class 1 Class 3 transports or specified Trigger Not trigger type CTI products support only Cyclic triggers for I O Supported messages 106 Ownership Conflict The connection cannot be established since the required resources are already allocated to a different connection An example of this would be only one exclusive owner connection can control an I O module output point Check to see if other Scanner devices are connected or verify that Multicast is supported by the Adapter if Multicast is selected This error could be caused by poor network traffic Check the cabling switches and connections 107 Connection Not This occurs if a device sends a Forward Close on a connection that is Found inactive This could occur if one of these devices has powered down or if the connection timed out due to poor network traffic Check the cabling switches
63. ginator attempted to connect to a producing tag name that Does Not Exist does not exist in the Target 12F Inconsistent The data specifying the Producing Consuming and Configuration Application Path paths is inconsistent Combination 130 Inconsistent The contents of the data does not match the format for the Consumed Consume Data data segment Format 131 Inconsistent Produce The contents of the data does not match the format for the Produced Data Format data segment 132 Null Forward Open The Target does not support the function requested in the NULL Function Not Forward Open message This could include functions such as Ping Supported device Configure device application etc 133 Connection Timeout The Connection Multiplier specified in the Forward Open message is Multiplier Not not supported by the Target Consult the manufacturer s Acceptable documentation for the acceptable timeout and multiplier values CTI products use a fixed Connection Multiplier of 4 CTI 2500P ACP1 User Manual 75 203 Connection Timed An UO message was received on a connection that has already timed Out out Connections timeout when no I O message is received in the time period specified by RPI Rate X Connection Multiplier fixed at 4 for CTI products This could be caused by poor network traffic Check the cabling switches and connections 204 Unconn
64. gorithm specifying its operation A Function Block has inputs outputs and internal variables and must have a unique name or instance declared each time it is used When called the Function Block executes the algorithm on the private data using the current value of the input parameters POU Any one of the Program Organization Units or program types created by the user Main Program UDFB Sub Program Exception Program or SFC Child Program A POU is made up of instructions variables constant expressions and calls to other POUs Program POU created in any IEC 61131 language that is called directly by the run time system within the execution cycle The Program then calls other POUs as defined by the application One Program is required but multiple Programs may exist in which case they are called sequentially in the order defined by the user UDFB User Defined Function Block POU written in any IEC language that is functionally equivalent to standard Function Block described above It may be called by any other POU and may call any other UDFB Sub Program Function or Function Block Sub Program POU containing inputs outputs local data and an algorithm written in FBD LD ST or IL language that describes its operation A Sub Program is not instantiated and does not have a unique set of local data for each use It may be called by any other POU and may call any other Sub Program Function Function Block or UDFB except SFC Child Pr
65. half or full duplex The speed and duplex mode are automatically negotiated with the device connected to the port Each port supports auto crossover capability allowing the port to be connected to an external Ethernet switch or directly to a device such as a laptop or 2500 Series controller Both ports are functionally equivalent The 2500P ACP1 incorporates an Ethernet switch which is connected to both Ethernet ports and the microprocessor The switch allows either port to communicate with the microprocessor and with the other port Besides providing this connectivity the switch also provides hardware protection against network broadcast multicast storms 2 6 Ethernet Port LEDs Each Ethernet port connector contains two embedded LEDs The LINK LED indicates whether the Ethernet port is successfully connected to another Ethernet device such as a network switch The Activity ACT LED provides visual indication that Ethernet packets are being received or transmitted via the port See the following table below for more information State Indication Off Ethernet link is not available On Ethernet link is available Act Off No Ethernet frames are being transmitted on the Activity network to which the port is connected Flashing Ethernet frames are being transmitted on the network to which the port is connected 10 CTI 2500P ACP1 User Manual 2 7 Serial Port The male DB9 connector on the front panel provides t
66. hangeable attribute was received OF Privilege violation A permission privilege check failed 10 Device state conflict The current mode state prohibits execution of the requested service 11 Reply data too large The reply data is larger than the allocated response buffer 12 Fragmentation of a The service specified an operation that will fragment a primitive primitive value value such as half of a REAL data type 13 Not enough data The service request did not include enough data to perform the specified operation 14 Attribute unsupported The attribute specified in the request is not supported by the destination run time system 15 Too much data The service request supplied more data than expected 16 Object does not exist The specified object does not exist in the device 17 Service fragmentation The fragmentation sequence for this service is not currently sequence inactive active for this operation 18 No stored attribute data The attribute data of this object was not saved prior to the requested service 70 CTI 2500P ACP1 User Manual 19 Store operation failure The attribute data of this object was not saved due to an operational failure during the attempt 1A Routing failed request The request packet was too large for retransmission on specified packet too large network and was aborted by the routing device 1B Routing failed response The response packet was too
67. he SD Card or more the root directory of the SD Card Take the necessary than one firmware update file was action to ensure that the desired firmware update file found and only that file is located in the root directory Once this has been done rerun the firmware update procedure E30 Unsupported SD card inserted The ACP1 module supports an SDSC SD Standard Capacity or an SDHC SD High Capacity card E31 Unused E32 SD Card memory region is not Rerun the firmware update procedure If this error available persists contact CTI Support E33 E73 Error erasing writing or verifying Retry the firmware download procedure If the error flash persists contact CTI Support E74 E79 The file transferred to the ACP1 Ensure that the file you transferred is a firmware module does not appear to be a update file If so retry the firmware update procedure valid ACP1 Firmware Update File If not obtain a valid firmware update file and repeat the firmware update procedure E80 An error occurred while the Ethernet Transfer Method firmware update file was being transferred to the controller The network path between the PC and the ACP1 module may have been disrupted Retry the firmware update procedure CTI 2500P ACP1 User Manual 79 Error Code Description Corrective Action SD Card Transfer Method The SD Card may have failed Retry the firmware update procedure If the error persists retry using a di
68. he serial port interface Modbus RTU Master or Slave and General ASCII Send Receive data protocols are supported for the serial port and managed by the application program All port parameters including the selected electrical interface RS 232 or RS 422 are set by software configuration via CTI Workbench The cable used with the external device must connect to the pins used by the selected electrical interface RS 232 Subset Pinout Description Receive Data Transmit Data Signal Ground 1 RX Request to Send optional 2 RXD Clear to Send optional 3 TXD 4 1X 5 GND RS 422 Pinout Description Receive Data Transmit Data Receive Data Transmit Data CTI 2500P ACP1 User Manual 11 CHAPTERS INSTALLATION This section discusses the items to consider while planning the 2500P ACP1 application and the actual steps for installation of the module 3 1 Installation Planning 3 1 1 SD Card The 2500P ACP1 uses a Secure Date SD card for storage of module configuration data executable program application program source files and user data files Because all configuration and operational files are contained on the SD card the complete module profile can be transferred simply by swapping SD cards A 4GB High Capacity SDHC card is shipped with each unit and should be inserted into the SD card receptacle located on the circuit board as shown below Altho
69. ial port PT 1 BD 19200 DB 8 SB 1 PY N FC N IF RS232 Usage Rules a If any parameters are missing or invalid values assigned in the string the default value for the parameter s will be used b All characters in the string are case insensitive consistent with IEC 61131 spec c The string is not order dependent consistent with IEC 61131 spec d Any extraneous information included in the string will be ignored CTI 2500P ACP1 User Manual 41 CHAPTER 8 APPLICATION DEVELOPMENT This section provides an overview of design organization development and execution of 2500 ACP1 applications Details for using the programming languages and instructions are provided in CTI Workbench on line Help system 8 1 JIEC 61131 Concepts The IEC 61131 environment provides features to address the deficiencies found in most PLCs e Support for textual and graphical programming languages to provide best fit for each application A single project may contain programs written in several different languages e Memory organization supports complex entities i e data structures e Both logic and data is encapsulated into a single program unit POU This provides the local data concept where internal information cannot be modified by other parts of the program e Hierarchical design encourages duplication and re use of proven software sections e Greatly enhances control over execution cycle The following programming languag
70. ides a system wide view of data exchange This editor allows access to variables for all Projects within the active Workspace and automatically builds the Variable Binding configuration for each Project 2 The Binding Configuration Editor allows the user to setup the data to be published and subscribed to data published by other systems on a local Project level The Variable Binding configuration must be manually setup for each Project This method must be used for network data exchange with systems not included in the same Workspace environment 52 CTI 2500P ACP1 User Manual CHAPTER 9 UPDATING FIRMWARE 9 1 Overview The CTI 2500P ACP1 module stores the operating firmware in non volatile flash memory You can replace the current operating firmware with a different version to correct problems or add new features During this procedure the new firmware will be copied to controller RAM verified and then written to flash memory The firmware update method for each 2500P ACP1 module is determined by the SW1 switch position as described in Section 3 1 2 When SW1 is CLOSED the firmware is updated using CTI Workbench which transfers the firmware update file to the 2500P ACP1 over an Ethernet link This method performs an automated remote update operation where human intervention is not required to reset the module This allows the firmware update to be completed from a remote location An alternate method is available for installations where
71. igh_Limit Motor6_START T3_Product_Used Tank1_Low_Limit Motor6_STOP Motor6_Runtime Conv1_Speed L3_Flow_Rate Valve3_OPEN Valve3_CLOSE o 1 2 3 4 5 6 7 8 Motor6_Run Motor6_Fault CTI 2500P ACP1 User Manual 31 Rules for mapping ACP1 variables into 2500P ACP1 I O interface e The Data Type of each assigned variable must match the data type for the corresponding I O image register For instance Variables mapped to the Discrete X Y image register must be BOOL data type and variables mapped to the Word WX WY image register must be signed integer INT data type e Offset position listed in the left hand column specifies the zero relative position in the image register data buffer for each I O data element The example shows the Module Log in Configuration of 32X 32Y 32WX 32WY and Module Log in Address 2001 which matches the PLC I O Module Definition shown above This results in the following ACP1 variable assignments Tank1_High_Limit is assigned to PLC Discrete Input Offset 0 X2001 must be BOOL Tank1_Low_Limit is assigned to PLC Discrete Input Offset 1 X2002 must be BOOL Motor6_Run is assigned to PLC Discrete Input Offset 16 X2017 must be BOOL Motor6_Fault is assigned to PLC Discrete Input Offset 18 X2019 must be BOOL Motor6_START is assigned to PLC Discrete Output Offset 0 Y2033 must be BOOL Motor6_STOP is assigned to PLC Discrete Output Offset 1 Y20
72. is the preferred way to control static problems during shipment Failure to observe static control precautions may void the warranty 90 CTI 2500P ACP1 User Manual
73. isk Full Indicates available disk space on SD Card was insufficient to store data required by write to file operation Use ACP1 Web Server File Management page to transfer files to FTP Server to delete user files 400 Data Exchange Subscriber Error Data Exchange Subscriber encountered a startup error or is unable to connect to one or more publishers Ensure publishers are online Ensure that the correct IP address has been configured for each subscriber to publisher session 405 FTP Server Authorization Error Indicates ACP1 module was unable to login the FTP Server using the specified P Address User ID and Password Correct FTP Server login credentials entered in ACP1 Web Server Module Configuration page 408 FTP Pending File Count Warning Indicates number of files queued for transfer to FTP Server meets or exceeds the File Count Warning Level 410 FTP Transfer Queue Full Indicates number of files queued for transfer to FTP Server has reached maximum limit of 100 files Ensure FTP Transfer is enabled Correct connection problem to FTP Server 412 FTP File Transfer Error Error was detected during file transfer to FTP Server Data is retained on SD Card and file transfer retry is automatic Check status of FTP Server Error is cleared when a file is successfully transferred to FTP Server 62 CTI 2500P ACP1 User Manual Device Communication Errors
74. lar local area network must have the same network ID Each IP host on a particular local area network must use a unique Host ID Address Classes The Internet community originally defined network classes to accommodate networks of varying sizes The network class can be discerned from the first octet of its IP Address The following table summarizes the relationship between the first octet of a given address and its Network ID and Host ID fields It also identifies the total number of Network IDs and Host IDs for each address class that participates in the Internet addressing scheme Class First Octet Number of Number of hosts Value networks per net 1 126 Last 3 Octets 126 16 777 214 B 128 191 Last 2 Octets 16 384 65 534 192 223 Last Octet 2 097 151 Address 127 is reserved for loopback testing and inter process communication on the local computer it is not a valid network address Addresses 224 239 are used for Class D IP multicast CTI 2500P ACP1 User Manual 81 Subnet Mask Used alone the designation of network classes is very inflexible For example a Class A network assigns a large number of host devices to the same IP network potentially reducing performance limiting topology and compromising network security An additional entity the Subnet Mask provides means of dividing a large IP network into a collection of smaller networks called subnets The Subnet Mask is a collection of 32 bits that distinguish
75. ld review user documentation for the device and make corrections as necessary Invalid Modbus address The Modbus query attempted to access an address that is not a valid Modbus address for the device Some Modbus slave devices may also return this code to indicate that that access is inhibited for example write protected Invalid Modbus value A value contained in the query data field is not an allowable value for the Modbus slave device Modbus Server failure An unrecoverable error occurred while the Modbus device was attempting to perform the requested action Modbus Server Busy The Modbus slave device was unable to service the request because it was busy with other tasks Data Parity Error This error is not expected but is included for completeness This error indicates that the extended memory area failed to pass a consistency check The ACP1 Modbus Client does not support FC20 or FC21 that can return these error codes 10 Invalid Gateway Path This response is returned by a Modbus Ethernet to Serial gateway It indicates that the gateway was unable to allocate a path to the device This typically means the Unit ID used to select the path does not match the address of a slave on the serial network 11 Gateway Target Failed This response is returned by a Modbus Ethernet to Serial gateway It indicates that no response was obtained from the target device The device may not be conne
76. luded additional Firmware Update Error Code descriptions V1 03 8 28 2014 Included additional CAMP Client Error Codes V1 04 9 8 2014 Corrected page formatting errors V1 05 9 11 14 Corrected typos and improved descriptions in several sections Corrected description of operation for DIP switch positions Corrected description of Cycle Watchdog Timer operation V1 06 9 18 14 Corrected Corrective Action comments for CAMP Client Error Codes 172 173 V1 07 10 9 14 Corrected Data Cache V Memory and K Memory data type selections Added references to CTI Workbench as Part No 2500P WB USB V1 08 6 11 15 Added descriptions for Ethernet IP interfaces 1 O Scanner I O Adapter and Tag Client V1 09 6 27 15 Added CIP General Status Codes and UCMM Extended Status Codes for Ethernet IP interfaces V1 10 7 16 15 Corrected typos V1 11 7 24 15 Improved tables for CIP General Status and UCMM Extended Status Codes Added details to Chapter 8 Application Development V1 12 8 3 15 Corrected missing cross reference and updated screen capture photos PREFACE This User Manual provides reference information for the CTI 2500P ACP1 Application Coprocessor module The information in this manual is directed to individuals who will be installing configuring and operating the product developing an application to execute on the product and those who will be designing systems that utilize the product Detailed i
77. m exists they are executed according to the sequence defined in the Cycle configuration menu A Program is made up of logic instructions data flow statements expressions and calls to other Functions Sub Programs Function Blocks and or UDFBs Programs can include Local variables as well as those variables with GLOBAL scope Each time a Program is triggered by the run time it executes from start to finish before the execution cycle can be completed A Program can be developed using any available language and Programs written in different languages can exist in the same application When using SFC a hierarchy of SFC Programs may be formed by creating one or more Child SFC Programs Child SFC Programs are started stopped in the Action Blocks of the parent Program A Child SFC Program may also have children within the limit of 19 hierarchy levels Exception Programs Exception Programs allow the user to create logic routines to perform special processing and or error handling when certain events are detected The following exception events are supported in the 2500P ACP1 e Startup Runs once before the first execution cycle when the application is started e Shutdown Runs once after the last execution cycle when the application is stopped e Divide by Zero Called when division by zero is detected e Bad Array Index Called when invalid array index position is used within the logic 48 CTI 2500P ACP1 User Manual 8 4 3 Execution Cycle
78. malies in the application program that can result in the module hanging and becoming unresponsive If the Cycle Watchdog timer expires during any execution cycle the module is forced out of RUN mode and into a Fatal Error state This watchdog timer is fixed at 2000 msec 2 seconds and starts when the first Program is called during each execution cycle and is cleared when the last Program in that cycle completes see figure above The cycle watchdog period does not include the time used to perform database updates communication tasks and system overhead functions The user must be careful when using loop instructions such as WHILE REPEAT and FOR not to block completion of a program unit while waiting on an event that is generated elsewhere in the program This will result a Cycle Watchdog timeout error CAUTION The sequential execution method allows the user complete control over when each program unit is executed However the programmer must be careful not to create an infinite loop that blocks the completion of the program execution CTI 2500P ACP1 User Manual 49 NOTE Communications to from all field devices are processed at the beginning of each scan similar to PLC I O processing Logic programs then run after communications processing is completed This sequence order is important when the ACP1 acts as a concentrator or gateway device where data received from one field device is then transmitted to a
79. mentation and 2500P ACP1 IEC 61131 Coprocessor Wes way 282014 121302 Module Configuration in Men Enter or update information in the fields below Use the tab key or click with the mouse to move between fields Event Log Product Information No validation errors detected Medule Configuration Module Identifier 16 charsmax 0 Dats File Manager eros Deswiations ang LOCation optional 40 chars max Status Active Communication Module IP Address 192 168 1 1 Sessions Module Subnet Mask 255 255 255 0 Default Gateway optional 0 0 0 0 ICPIP Statistics Module Startup Mode Last State OAuto Cold Start Auto Warm Start Ethemet Port Statistics Host Real Time Clock Sync Enable CTI 2500 Dats Cache Statistics FTP File Transfer Enable Statistics Ethemet Switch Statistics Display All Statistics Product Support In a Warm start retain variables are restored to their previous values In a Cold start retain variables are initialized e Real time clock synchronization can only be accomplished when data cache is configured and operational CTI 2500P ACP1 User Manual 21 22 Module Identifier is a free form text field with a maximum length of 16 characters An entry in this field is required and one or more characters must be entered Note If Method 1 described in Section 5 1 1 was used to create the module configuration file an entry in the Mod
80. n te Comesetcation kel specify ihe module Condgurabon parameters such as IP Address startup operation mode and system Ume source ee ae ad Data File Manager om Provides abiiy for user to manage Mes in the USER folder and Nies queued for transter to an FTP server TEE wen Error Descriptions Status Enesa summa This page provides a list of ap front panel error codes and their definitions along with the current status and history GIS Daia Case Active Communication Sessions ame This page contains information about TCP and UDP communications sessions currently active for each protocol era Communication Sessions History iena This page contains a log of previously active communication sessions Etec Botoh Stan ICPAP Statistics Goin Al Senge TINS page contains Information about the TCP IP configuration and status EH Ke Port status information and operational statistics Sanon Dan Caena ben related to communications with the CTI 2500 controller and status of the module data cache Steier related to communkations with the CTI 2500 controller via Normal IO backplane transfers Vtt H information about the smart Ethernet switch Display All Statistics This option streams the reports from each of the other Statstcal Reports into a single report Product Support Pages edel c The Module Configuration screen is displayed provide access to the CTI Web site for downloading firmware to your PC accessing manuals and other product docu
81. n Slot I O Addr X Clear Base oo Ed Edit Slot Clear Slot Expand Definition SS EE Ir Leo pes DEE SES Head Lt Base 0 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 se00000000000f o 0 oooooooocooocoocooWooo EEGEN e00000000000 i i 30 CTI 2500P ACP1 User Manual The Mixed I O interface requires special care when assigning an LO Address because the Series 505 model allows one login address for each module slot Therefore the LO Address assigns the image register positions for both the Discrete I O and Word I O values In the example a value of 2001 is designated as the I O Address This equates to the following I O mapping for ACP1 data within the PLC e 32 discrete inputs mapped to X2001 X2032 e 32 discrete outputs mapped to Y2033 Y2064 e 32 word inputs mapped to WX2065 WX2096 e 32 word outputs mapped to WY2097 WY2124 ACP1 Application Program Variables ACP1 variables must be mapped or associated with each PLC memory location to be included in the ACP1 I O interface Variables are specified within the same CTI 2500P ACP1 I O Configuration Wizard The following screen shot shows an example of how the ACP1 variables are mapped to PLC I O image registers CTI 2500 UO Configuration Module Log in Configuration Discrete Analog I O 32x 32 32Wx 32WY ze Module Log in Address 2001 Si BOOL TO PLC X BOOL FROM PLC Y INT TO PLC WX INT FROM PLC WY N Tank1_H
82. n such as data logging 12 CTI 2500P ACP1 User Manual SD Card Installation The module must be removed from the base to install the SD card Insert the card in the receptacle face up with the beveled edge facing the receptacle Continue insertion until you hear a click then release To remove the card apply insertion pressure until you hear a click then release pressure e SD Card Receptacle 3 1 2 Module Switches The location and function of module user switches are shown below CLOSED 123 45 67 8 mee eee BAB BBE SW1 Ethernet Firmware Update CLOSED Prevent OPEN Allow SW2 SD Card Operation CLOSED Update Firmware OPEN Normal SW3 Reset Button CLOSED Disabled OPEN Enabled SW1 Ethernet Firmware Update The position of this switch determines whether or not the module will permit the firmware update operation to be executed thru an Ethernet network connection to CTI Workbench When set to OPEN the module will not accept a request to update firmware from CTI Workbench In this case the firmware update file must be read from the embedded SD card using the method described in SW2 When set to the CLOSED position the CTI 2500P ACP1 User Manual 13 firmware update operation can be executed from a remote location thru a network connection to CTI Workbench or using the embedded SD card See CHAPTER 9 for details on the firmware update operation
83. naeas 53 Qi OVER EA A A AE EE A A NE E 53 9 2 Ethernet Firmware Update Method 54 9 3 SD Card Firmware Update Method 56 9 4 Firmware Update Status Codes A 57 APPENDIX AS ERROR Ee 58 Operational Error Codes AAA 58 EIERE DEE EE 59 CTI Data Cache Interface Errors csccccceccesssscecceccesssesceecensenscneneeassaesencesseassnsesssaseseeseesses 60 CTI 2500 I O Interface Crrors 61 Ee NNO e 62 Protocol ele 64 CAMP Client Error COGS 0 ccccsccssssesssesssessesessssseneesseseaesenesesesessseasseasseasseasseasseasseaseessesassessees 64 Modbus Server Error EE 67 Modbus Client Error CodeS sccccccscceccescesesescesceceeseesececeaseaesseeeneenseaesenseaseaesansesesseasenennseats 68 Ethernet IP Tag Client Error Codes s sseseseesneeeeeeenenneneneeenrnrnsrnenernrnrnnrneenrnrnnnrnennnnrenrneene 69 CIP General Status Code 70 CIP UCMM Extended Status Codes 72 Network Data Exchange Subscriber Error CodeS 1 cscccccsscseceesecsssseeescescesseseseesesseseenneeneests 78 Firmware Update Error Goes ive cieca tect sceesh tie Sege eet CSC ede 79 4 CTI 2500P ACP1 User Manual APPENDIX B IP ADDRESS INFORMATION sssscsseessssseesesesenseeseeensseseeseeseeensanseesnesenansnesneaees 81 IP Address Nomenclature AAA 81 Using the Subnet Mask AAA 83 Selecting an IP Address AAA 84 Selecting a Multicast Address AAA 84 APPENDIX G SERIAL PORT DETAILS eege 85 POIO E 85 ett 85 Software Configuratio Dsi a A E ee avi ee ees es 86
84. nformation regarding module setup and installation is included in this document This manual also provides a functional overview of the 2500P ACP1 product and IEC 61131 3 compliant operation provided by the module firmware It is not intended to serve as a programming reference for application development Those details are provided in the CTI Workbench on line Help system CTI 2500P ACP1 User Manual 1 USAGE CONVENTIONS NOTE Notes alert the user to special features or procedures CAUTION Cautions alert the user to procedures that could damage equipment WARNING Warnings alert the user to procedures that could damage equipment and endanger the user 2 CTI 2500P ACP1 User Manual TABLE OF CONTENTS USAGE CONVENTIONS eene eebe Ee eebe eege 2 TABLE OF CONTENTS sirine e e E a E E A E E AAA E 3 CHAPTER 1 INTRODUCTION 0 iicessccccscssscscssccecstecssecccsnececsneccceseesnscrcesctsueestraccrusnesnevcceccceeteedactesceesiree 6 ALT Beiuterer TONS rinsa aaia airaa a aaia aiaiai 7 12 Getting States E 8 CHAPTER 2 FRONT PANEL c c a eaa aaa 9 2 1 status Indicator E RE 9 2 2 LED M lti Segment DiS play eteeteizeer egdeeek dzee Ceciieek a kuasa aaaea eaaa baaa eVa kaeaea 9 23 Reset BUMON TE 9 24 Ethernet Status INdiCAtOrs ee eerst ees egee ege eege gereest enacted teenies 10 25 Ethernet POMS ze vss cans eessen geseet egen Eege eege Ke exuded saceed eins canSed savas vane eeh edu gees 10 2 6 Ethernet Port LEDS aca ccsaees davaaveavardved
85. ng ACP1 variable value changes Read and Write PLC memory value is copied to the corresponding ACP1 variable each scan If the variable value is changed by the application program logic then the new value is copied to the corresponding PLC memory location ACP1 Application Program Variables An ACP1 variable must be mapped or associated with each PLC memory location to be included in the Data Cache interface Each variable has the following configuration properties e The Data Type of each assigned variable must match the data type for the associated Memory Area For instance WX Memory location must map to an ACP1 INTEGER variable and V Memory REAL value must map to an ACP1 REAL variable e Offset specifies the zero relative element position in the data block where that variable is mapped In this case Offset is equivalent to an array position index and NOT a PLC Word offset For instance a V Memory REAL Memory Area is inserted with Starting Address of 21 In this case the first variable Offset 0 is mapped to first PLC memory address positions that can hold the REAL value V21 V22 The second variable Offset 1 is mapped to the next PLC memory positions for a REAL value V23 V24 Likewise offset 2 is mapped to V25 26 offset 3 to V27 28 etc e This variable element offset rule applies for all memory types The ACP1 module firmware correlates variable data type to PLC memory requirements and adjusts
86. nication protocols are detailed in CHAPTER 7 Application Development CHAPTER 8 provides a comprehensive overview of design organization development and execution of 2500 ACP1 applications using the CTI Workbench software product CTI Workbench sold separately as Part No 2500P WB USB is a full featured Integrated Development Environment IDE consisting of program editors protocol configuration tools debugger simulator and on line Help system Contact CTI or visit http controltechnology com for more information ACP1 Module Firmware Update 0 of this manual contains instructions on procedures for updating the 2500P ACP1 firmware CTI 2500P ACP1 User Manual CHAPTER 2 FRONT PANEL 2 1 Status Indicator LEDs At the top of the module front panel are three status LEDs The function of the LEDs is described in the following table Indication Off Module not operational Flashing Module not ready Operator action required STATUS Module error Watchdog timeout Application program not found or Host interface failure Module operation is normal Off Application program stopped Flashing Program loaded but logic is not running PAUSED state I O interface and communication protocols are active ACTIVE On Application program is executing RUN state Flashing Controlled by application logic On 2 2 LED Multi Segment Display The Multi Segment Display MSD is located below
87. nother device usually using a different protocol This type of operation is implemented most often using CTI Data Cache to access PLC data which is then transmitted to one or more field devices In this case the logic program can control the data ONLY if a different application variable if used for each fieldbus interface In the following example data read from V100 in the PLC using Data Cache is then transmitted to Ethernet IP field device using the EIP I O Scanner Since we want to monitor the value sent to the field device to ensure it is never less than a preset minimum value we cannot use the same V100 variable Instead a different variable OutVar1 is used so the program logic can limit the value when required Fieldbus Configuration Program Logic E EI CTI 2500 Data Cache IF V100 lt 25 THEN B E CTI 2500 IP 172 18 9 193 OutVarl 25 a 2 Y Memory W INT 100 ELSE A een es oy uf oe V102 B E Ethermet IP 1 0 Scanner client Cl Be Server 172 18 8 159 HP owm i o 100 6 Scanner_Outputs f a o 3 Duer GA Dua EW i o 101 8 Scanner_Inputs 50 CTI 2500P ACP1 User Manual 8 4 4 Variables All data elements are addressed indirectly by name as opposed to the direct or absolute addressing method used in the Siemens 505 and CTI 2500 Series controllers The name itself identifies the data and a data type is then assigned to the variable so that the
88. nt by the customer at the customer s expense to a designated CTI service location along with proof of purchase date and an associated serial number Repair parts and replacement products furnished under this warranty will be on an exchange basis and all exchanged parts or products become the property of CTI Should any product or part returned to CTI hereunder be found by CTI to be without defect CTI will return such product or part to the customer The foregoing will be the exclusive remedies for any breach of warranty or breach of contract arising therefrom 3 General This warranty is only available if a the customer provides CTI with written notice of a warranty claim within the warranty period set forth above in Section 1 and b CTl s examination of the Product or the parts thereof discloses that any alleged defect has not been caused by a failure to provide a suitable environment as specified in the CTI Standard Environmental Specification and applicable Product specifications or damage caused by accident disaster acts of God neglect abuse misuse transportation alterations attachments accessories supplies non CTI parts non CTI repairs or activities or to any damage whose proximate cause was utilities or utility like services or faulty installation or maintenance done by someone other than CTI 4 Product Improvement CTI reserves the right to make changes to the Product in order to improve reliability function or design in the pur
89. ogram Exception Program units for special processing and error handling Exception Programs for the Program following system events are pre defined Startup before first cycle Shutdown after last cycle Divide by Zero and Array Index out of Bounds Structured Structured Text ST is a literal programming language consisting of a list of statements Each Text statement represents an action and must end with a semicolon Presentation of the statements has no effect on the program operation as blank spaces and line breaks can be inserted at any point ST is a structured language where execution flows from top to bottom and jump statements are not allowed CTI 2500P ACP1 User Manual 43 Item Description o O Instruction List Instruction List IL is a program consisting of list of operations Each operation or instruction has one or more operands that may include variables or constant expressions Each instruction may include a label that provides the destination for jump instructions It is possible to mix ST and IL languages within a single POU Function Block Function Block Diagram FBD is a graphical language where basic operations functions are Diagram represented by a set of blocks Inputs and outputs of the blocks are wired together with lines used to connect two logical points of the diagram such as an input variable to input of block output of a block to output variable or output of a block to input of another blo
90. on Priority is not supported CTI products support Low High Scheduled and Urgent Priority settings 122 Invalid T gt O Network The T gt O Network Connection Priority specified in the Forward Open Connection Priority is not supported CTI products support Low High Scheduled and Urgent Priority settings 123 Invalid O gt T Network The O gt T Network Connection Type Unicast or Multicast specified in Connection Type the Forward Open is not supported Most devices support only Unicast for O gt T Output data CTI products support both Unicast and Multicast connections 124 Invalid T gt O Network The T gt O Network Connection Type Unicast or Multicast specified in Connection Type the Forward Open is not supported CTI products support both Unicast and Multicast connections 125 Invalid O gt T The O gt T Network Connection Redundant Owner flag specified in the Network Connection Forward Open is not supported Only Exclusive owner connections are Redundant Owner supported in CTI products Flag 126 Invalid Configuration The Configuration data sent in the Forward Open does not match the Size size specified or is not supported by the Adapter The Target usually returns an additional value that specifies the maximum size allowed for this data This information is displayed on the Ethernet IP statistics page of the CTI product web server 127 Invalid Originator to The O gt T Output data size specified in the Forward Open does not Targ
91. or sets the appropriate bit in STW11 STW26 based on the configured module slot and writes all configured X WX inputs for that slot to zero The I O data transfer starts immediately when an ACP1 application program enters RUN mode If the configurations in the PLC and ACP1 do not match the ACP1 Host PLC I O Data Exchange Timeout error will be generated The I O configuration mismatch must be corrected to clear this error The status of the 2500P ACP1 I O operation can be monitored by program logic or via the web server CTI 2500 ACP1 I O Statistics page 32 CTI 2500P ACP1 User Manual Because the ACP1 application program runs asynchronous to the PLC scan cycle methods are implemented to ensure data consistency is maintained for the entire data set passed to from the PLC The ACP1 firmware clocks the data through intermediate storage buffers within the backplane interface sub system to complete I O data transfer between PLC and ACP1 as shown below IO Scan PLC Interface ACP1 I O Update 1 Send Data I O Update 2 Receive Data UO Update Compute Results 3 I O Update 4 Receive Results I O Update 5 CTI 2500P ACP1 User Manual CHAPTER 7 DEVICE COMMUNICATIONS The 2500P ACP1 module supports several protocols for communicating with remote devices This section describes each protocol and provides an overview of its functionality Connections to CTI Workbench and embedded Web Server are always active when
92. ormance date s will be extended for such length of time as may be reasonably necessary to compensate for the delay 9 Governing Law The laws of the State of Tennessee shall govern the validity interpretation and enforcement of this warranty without regard to its conflicts of law principles The application of the United Nations Convention on Contracts for the International Sale of Goods shall be excluded CTI 2500P ACP1 User Manual 89 REPAIR POLICY In the event that the Product should fail during or after the warranty period a Return Material Authorization RMA number can be requested orally or in writing from CTI main offices Whether this equipment is in or out of warranty a Purchase Order number provided to CTI when requesting the RMA number will aid in expediting the repair process The RMA number that is issued and your Purchase Order number should be referenced on the returning equipment s shipping documentation Additionally if the product is under warranty proof of purchase date and serial number must accompany the returned equipment The current repair and or exchange rates can be obtained by contacting CTI s main office at 1 800 537 8398 or go to www controltechnology com support repairs When returning any module to CTI follow proper static control precautions Keep the module away from polyethylene products polystyrene products and all other static producing materials Packing the module in its original conductive bag
93. ost PLC unavailable are not included in the current Data Cache configuration and cannot be read from Host PLC This can occur due to failed communications with Host PLC or when the Host PLC is in Fatal Error 199 C7 CAMP Request Limit has The CAMP message contains a number of request packets been reached in excess of the allowed limit This indicates a CAMP Client error Contact CTI Support 200 CH CAMP Server Data Cache Full The 2500P ECC1 CAMP Server could not complete the request because the PLC Address locations are not currently included in the Data Cache and is unable to add additional points to the Data Cache This should occur very rarely but is possible when several CAMP Clients are communicating with a single CAMP Server Items are removed from the Data Cache after 60 seconds if they are not accessed Retry after a short timeout If this error persists contact CTI Support 66 CTI 2500P ACP1 User Manual Modbus Server Error Codes The following error codes may be returned by the Modbus Server Error Description Comments Code 1 Unsupported Modbus function The function code received in the query is not supported by the server This can result from the following conditions e The client is requesting a function code not supported by the ACP1 Modbus Server See Section 7 1 3 for a list of supported function codes e The configured data blocks do not support the requested function code For example the client is att
94. ow Limit LPVL REAL Set Point LSP REAL Set Point LSP INT SP High Limit LSPH REAL SP High Limit LSPH INT SP Low Limit LSPL REAL SP Low Limit LSPL INT Output LMN REAL Output LMN INT Bias LMX REAL Bias LMX INT Error LERR REAL Error LERR INT High High Alarm Limit LHHA REAL High High Alarm Limit LHHA INT High Alarm Limit LHA REAL High Alarm Limit LHA INT Low Alarm Limit LLA REAL Low Alarm Limit LLA INT Low Low Alarm Limit LLLA REAL Low Low Alarm Limit LLLA INT Alarm Deadband LADB REAL Alarm Deadband LADB INT Orange Dev Alarm Limit LODA REAL Orange Dev Alarm Limit LODA INT Yellow Dev Alarm Limit LYDA REAL Yellow Dev Alarm Limit LYDA INT Rate of Change Alarm Limit LRCA REAL Alarm Acknowledge Flags LACK INT Derivative Gain Limiting Coeff LKD REAL V Flags LVF INT Control Flags MSW LCFH INT Control Flags LSW LCFL INT Ramp Soak Status Flags LRSF INT Ramp Soak Step Number LRSN CTI 2500P ACP1 User Manual INT 27 Alarm Variables Data Type Sample Rate sec ATS REAL Process Variable APV REAL Process Variable APV INT PV High Limit A
95. p i ee Variable Binding je gy EIP VO CN Publish and Subscribe Ki ockwe Y ISo Adapters PLCs Logic Control i Math Computations a Communication Management Event Logging ASCII sb Device SD Card eer FTP Transfer Task Niel CTI HMI ACP1 ECC1 FTp FTP Server CTI 2500P ACP1 User Manual 45 8 4 Application Design An application for the 2500P ACP1 module is called a Project The following items must be understood configured and or programmed by the user before the Project can execute in the 2500P ACP1 module e Project Settings e Program Organization Units POUs e Execution Cycle e Variables e Device Communications e Variable Binding Network Data Exchange 8 4 1 Project Settings The Project Settings dialog is used to specify details of the Project environment e Communication parameters for CTI Workbench to ACP1 module e Run time environment o Cycle time Variable as fast as possible or Fixed value o On Line Change When enabled the program can be modified and replaced while the target application is running However certain types of edits are limited and or restricted when On Line Change is enabled e Compiler Options o Code Generation Select Debug mode enables breakpoints and step by step execution or Release mode best performance o Complex Data processing This option should be disabled unless required since it degrades performance It must be selected when certain complex variable types are
96. plete set of operations performed by the ACP1 run time based to the fieldbus Cycle configuration and instructions included in the application project Cycle Time is defined as the time interval required to complete one execution cycle and may be set to Variable execute as fast as possible or Fixed wait for expiration of timer before starting next cycle This term is analogous to the PLC scan Feature supported by CTI Workbench and the ACP1 run time that allows an executing application to be changed on the fly without stopping it to download and initialize the new project 44 CTI 2500P ACP1 User Manual 8 3 Functional Overview The following block diagram provides a functional overview of the 2500P ACP1 module CT Gene Web Mech Onitos el odbus EE KE 2500P ACP1 Browser Client itor Leen Ey Pa En o ents i WEE WebServer Server ACP1 Database D A ov e bg a gt CTI PLCs ient Comm Product J cANP Ge p Data Cache Ac mee i Modbus Modbus Host s Communication AT Modbus RTU Serial gt PLC It Protocols Master Slave L A Al Ethemetj
97. rform a bitwise and calculation to arrive at the Network address See the following illustration Assuming an IP Address of 127 18 40 3 and a Subnet Mask of 255 255 240 0 the following table illustrates the bitwise and operation In essence wherever the Subnet Mask bit is one the corresponding IP Address bit is part of the Network ID t m Dotted Binary Equivalent Decimal 1 Octet 2 Octet 3 Octet AT Octet IP Address 127 18 40 3 01111111 00010010 00101000 00000011 Subnet Mask 255 255 240 0 11111111 11111111 11110000 00000000 Derived Network 127 18 32 0 01111111 00010010 00100000 00000000 Address An easier way to determine this is to compare only non aligned Subnet Mask octet with the corresponding octet of the IP Address For example since the Subnet Mask of the first two octets is 255 255 the first two octets of the Network ID are the same as the dotted decimal values 127 18 of the IP Address However since the third octet of the subnet mask is not 255 or 0 you must perform a bitwise and calculation using the third octet of the IP Address and Subnet Mask CTI 2500P ACP1 User Manual 83 This can be accomplished by using the windows calculator Scientific View in Windows XP or Programmer view in Windows 7 Using this example you would enter the value of the third octet 40 click on the and button enter the Subnet Mask 240 and then click on the button The
98. rial e General ASCII Send Receive serial The module provides extensive diagnostic facilities accessible via a standard web browser to monitor module status and aid in the detection and correction of errors The web server provides access to product information Ethernet operational statistics and diagnostic history 1 1 Definition of Terms Host PLC PLC which controls the I O for the system where the ACP1 runs as a Co Processor The Host PLC may be a SIMATIC 505 or CTI 2500 Series controller The 2500P ACP1 module exchanges data with the Host PLC via I O backplane or high speed Ethernet Data Cache channel supported by CTI 2500 Series PLCs Ip Internet Protocol A suite of protocols used to relay data packets across networks LAN An acronym for Local Area Network In this manual it refers to an Ethernet local area network All devices on a local area network can directly communicate with each other and are members of the same broadcast domain Mapping The association of data embedded in protocol messages with application program variables enabling data to be transferred between the ACP1 program and external devices Protocol A system of digital message formats and rules for exchanging messages between systems Also the task that implements the protocol VLAN An acronym for Virtual Local Area Network VLANs provide a means of subdividing a physical Ethernet LAN into logical isolated LANs each with its own broadcast domain VLAN
99. ror persists Error engine contact CTI Support 190 System Exception Error Fatal Error detected See Event Correct error and download new Log for details program or reset module CTI 2500P ACP1 User Manual 59 CTI Data Cache Interface Errors Error Code Description Comments Recovery 210 TCP Connection Failure Data Cache interface is unable to Ensure the Host PLC is online to Host PLC connect to Host PLC Ensure there is a network path between the ACP1 module and the Host PLC Confirm the configured Host PLC IP Address matches the one being used Confirm that the ACP1 module network settings are compatible with the Host PLC IP Address and subnet mask see Appendix B 220 Host PLC Firmware The Host Controller firmware version Ensure that the ACP1 and Host PLC Incompatible and ACP1 firmware versions are not are updated to compatible firmware compatible versions 230 Host PLC Registration The ACP1 module cannot register If you are replacing an ACP1 module Failed because the Host Controller is ensure that the module to be already connected to maximum replaced is disconnected before number of AFM modules connecting the replacement module 240 Host PLC Link Inactive The ACP1 module is not Ensure the Host PLC is online communicating with the Host Ensure that the module and the Host Controller Controller are connected to the same local area network If a VLAN is used ensure that th
100. rt The Product Support Pages provide access to the CTI Web site for downloading firmware to your PC accessing manuals and other product documentation and contacting CTI Support Services 18 Control Technology Inc Products for industrial Automation 800 537 8398 CTI 2500P ACP1 User Manual CHAPTER 5 MODULE CONFIGURATION This section describes the steps required to configure the 2500 ACP1 module for operation 5 1 Ethernet Network Parameters You must assign the Ethernet network settings for your 2500P ACP1 module An Ethernet connection is required for CTI Workbench and or access to the embedded product web server Two methods are possible for setting the module network configuration 5 1 1 Method 1 Module generates configuration file Install the SD card as described in Section 3 1 1 and insert ACP1 module into the base Apply AC power so that the ACP1 module executes power on reset When Status LED starts blinking remove ACP1 module from the base Remove SD card from ACP1 and insert in PC card reader Open drive letter assigned to SD Card and navigate to acp1 folder Se acp1 DER Pl E E File Edit View Favorites Tools Help a 3 CO Bak by pe Search 3 Ee Ki Folders Ez Address e G acp1 E Go Name Size Type Date Modified File and Folder Tasks system File Folder 1 27 2014 4 31PM File Fol 411 CF CC user ie Folder 5 13 2014 11 20 AM raped xFer File Folder 5 13 2014 11 2
101. run time can determine the data length and how to interpret the values stored at that memory location Most variables represent a single data element and are assigned a simple data type i e BOOLEAN INTEGER or REAL However the user can create a custom type that combines various data types into a complex unit known as a Structure The Structure can then be used to organize the information related to a device or machine into a data group represented by a single variable name Arrays of variables of all data types can be created so that common elements can be grouped together One two and three dimensional arrays may be used Three classes of variables are supported e Global Internal variable known to all programs in the application e Local Internal variable known only to the POU where it resides e Retain Non volatile Global variable used to restore critical variables to previously store states Variable Editor TY Type Dim Attrib Syb Init value E Input BOOL IN E Input2 INT IN O Output INT OUT oO Dol BOOL O Priv2 DINT O Ch Global variables _CTI_PROD STRING 20 2500P ACP1 _CTI_VERS STRING 10 1 0 CT ELAGS INT INT 0 bal RETAIN variables CTI 2500P ACP1 User Manual 51 8 4 5 Device Communications Communications between the 2500P ACP1 run time and field devices using any of the embedded protocol drivers are enabled and controlled via the Fieldbus Configuration editor Protocols are enabled by selecting
102. rvicing the Modbus Function Codes indicated in the table below Function Code Description 01 Read Coils 02 Read Discrete Inputs 03 Read Holding Registers 04 Read Input Registers 05 Write Single Coil 06 Write Single Holding Register 15 Write Multiple Coils 16 Write Multiple Holding Registers Each connection by a remote Modbus TCP Client to the Open Modbus Server counts against the limit of 30 server connections supported by the 2500P ACP1 The Open Modbus Server does not support UDP connections The ACP1 Web Server provides tools for monitoring and debug The status of connections to the Open Modbus Server can be monitored via the Active Communication Sessions page Error codes that may be returned by the Open Modbus Server are listed in the Protocol Error Codes in Appendix A For more information regarding Open Modbus go to the Modbus Organization website http www modbus org 36 CTI 2500P ACP1 User Manual 7 1 4 Network Data Exchange Publish and Subscribe The Network Data Exchange protocol or Variable Binding provides an efficient means to exchange real time data between devices connected to an Ethernet network Variable Binding uses an event based Publish Subscribe model to provide high performance and low network traffic by transmitting variable data only when the data value is changed Each compatible device can publish data and or subscribe to any data transmitted by others Mul
103. s are implemented in Ethernet switches SD Card A Secure Data Card is a portable non volatile memory card with a data format and form factor that complies with standards maintained by the SD card association The 2500P ACP1 uses an SD card for non volatile storage of system and user files Network Device General term for equipment with which the ACP1 can communicate such as PLCs workstations operator interfaces motor drives and weighing stations CTI 2500P ACP1 User Manual 7 1 2 Getting Started If you are not familiar with the 2500P ACP1 Application Coprocessor module you should read the remainder of this chapter and Error Reference source not found which describes the communication interfaces supported by the ACP1 module To begin using your ACP1 you will need to install and configure the module make the necessary Ethernet and or serial connections develop program logic if required and configure the communication protocols as needed to meet your application requirements Installation and Configuration The 2500P ACP1 installs in a CTI 2500 Series base or a Siemens Series 505 base See Error Reference source not found for installation planning tips and instructions for installing the module and 0 describes the steps for module configuration Communications The ACP1 includes drivers for communicating with many different devices The optional Host PLC Interfaces are described in CHAPTER 6 Ethernet and serial commu
104. sembly object in bytes o Data Attribute ID 3 returns data from all variables mapped to assembly object e Set Attribute Single CIP Generic Message Service Code 10 hex Used by a remote Generic Message client to write data to the ACP1 assembly object Supported Instance Attribute o Data Attribute ID 3 writes data to assembly object and associated variables The ACP1 Web Server provides tools for monitoring and debug The status of connections to the Open Modbus Server can be monitored via the Active Communication Sessions page Error codes that may be returned by the Open Modbus Server are listed in the Protocol Error Codes in Appendix A For more information regarding Ethernet IP and Common Industrial Protocol CIP go to the ODVA website http www odva or 38 CTI 2500P ACP1 User Manual 7 1 7 Ethernet IP Tag Client The Ethernet IP EIP Tag Client provides a method to read write specified tags in Rockwell Automation RSLogix IEC 61131 compliant controllers via CIP explicit messages that directly access by tag name This interface is particularly useful for data transfer between the 2500P ACP1 application and RSLogix controller when a slower update interval seconds can be used The EIP Tag Client driver issues CIP Data Table Read and CIP Data Table Write requests to access the controller data These requests utilize the following CIP services e CIP Read Tag Service Service Code AC hex e
105. sing the PLC Product Information web page or by reading Status Words 260 261 Since controller enhancements and bug fixes are on going we recommend that the controller firmware be upgraded to the latest release A firmware update file can be downloaded from the CTI web site at http controltechnology com downloads 2 The ACP1 module and the Host PLC must be on the same IP network as determined by the module IP address and Network Mask See APPENDIX B IP ADDRESS INFORMATION for additional information regarding IP address selection 3 The ACP1 module and the Host PLC must be on the same Ethernet LAN or VLAN if used 24 CTI 2500P ACP1 User Manual 6 1 1 CTI Data Cache Connection Options Direct Connection to the Host PLC When a single CTI Advanced Function Module 2500P ACP1 or 2500P ECC1 is installed in the system and can be placed in the same base as the Host PLC the preferred Data Cache Interface connection is a short Ethernet cable Cat 5 or Cat 5e from one of the Ethernet ports on the 2500P ACP1 to the Ethernet port on the 2500 Series CPU A second Ethernet cable is then connected from the other port to a network switch that provides a path to the other devices Host Controller This direct connection method utilizes the embedded switch in the ACP1 module to redirect all Ethernet traffic from the remote devices to the CPU without affecting the performance of the 2500P ACP1 An added advantage of this method is tha
106. suit of providing the best possible products 5 Exclusive Warranty THE WARRANTIES SET FORTH HEREIN ARE CUSTOMER S EXCLUSIVE WARRANTIES CTI HEREBY DISCLAIMS ALL OTHER WARRANTIES EXPRESS OR IMPLIED WITHOUT LIMITING THE FOREGOING CTI SPECIFICALLY DISCLAIMS THE IMPLIED WARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE NON INFRINGEMENT COURSE OF DEALING AND USAGE OF TRADE 6 Disclaimer and Limitation of Liability TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW CTI WILL NOT BE LIABLE FOR ANY BUSINESS INTERRUPTION OR LOSS OF PROFIT REVENUE MATERIALS ANTICIPATED SAVINGS DATA CONTRACT GOODWILL OR THE LIKE WHETHER DIRECT OR INDIRECT IN NATURE OR FOR ANY OTHER FORM OF INCIDENTAL INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND CTI S MAXIMUM CUMULATIVE LIABILITY RELATIVE TO ALL OTHER CLAIMS AND LIABILITIES INCLUDING OBLIGATIONS UNDER ANY INDEMNITY WHETHER OR NOT INSURED WILL NOT EXCEED THE COST OF THE PRODUCT S GIVING RISE TO THE CLAIM OR LIABILITY CTI DISCLAIMS ALL LIABILITY RELATIVE TO GRATUITOUS INFORMATION OR ASSISTANCE PROVIDED BY BUT NOT REQUIRED OF CTI HEREUNDER ANY ACTION AGAINST CTI MUST BE 88 CTI 2500P ACP1 User Manual BROUGHT WITHIN EIGHTEEN 18 MONTHS AFTER THE CAUSE OF ACTION ACCRUES THESE DISCLAIMERS AND LIMITATIONS OF LIABILITY WILL APPLY REGARDLESS OF ANY OTHER CONTRARY PROVISION HEREOF AND REGARDLESS OF THE FORM OF ACTION WHETHER IN CONTRACT TORT INCLUDING NEGLIGENCE AND STRICT LIABILITY OR
107. t Interval RPI values in the Forward Open Acceptable message are outside the range required by the Target or the Target is producing at a different interval 113 Out of Connections All CIP connections available to Target are already in use The maximum number of connections supported by the Connection Manager is already in use 114 Vendor ID or Product The compatibility bit was set in the Forward Open message but the Code Mismatch Product Code or Vendor ID specified in the electronic key logical segment does not match the Product Code or Vendor ID of the device 115 Device Type The compatibility bit was set in the Forward Open message but the Mismatch Device Type specified in the electronic key logical segment does not match the Device Type of the device 116 Revision Mismatch The compatibility bit was set in the Forward Open message but the major minor revisions specified in the electronic key logical segment do not correspond to a valid device revision 117 Invalid Produced or The Connection ID specified for the O gt T or T gt O connection in Consumed incorrect or not supported by the Target Application Path 118 Invalid Configuration The Connection ID specified the Configuration data is incorrect or not Application Path supported by the Target 119 Non Listen Only The Originator requested a Listen only connection when a Non Listen Connection Not Only connection is not already established CTI products do not Opened support Listen onl
108. t be connected to the network using a CTI 2572 or 2572 A Ethernet TCP IP module or another 2500P ACP1 that uses the CTI 2500 ACP1 UO backplane interface to the Siemens controller Communications to another CTI 2500 Series CPU can be accomplished via CTI 2572 or 2572 A Ethernet TCP IP module the 2500P ECC1 Ethernet Communications Coprocessor another 2500P ACP1 module or directly to the Ethernet port on the 2500 Series controller Each CAMP Client connection to one of these products counts against the limit of 30 client connections supported by the 2500P ACP1 34 CTI 2500P ACP1 User Manual The CAMP Client enables you to read or write a block of up to 256 V memory locations in the specified controller Messages can be automatically initiated on a user specified time interval change in value of a designated variable i e PLC memory location or triggered by logic in the ACP1 module Message data is mapped directly to from variables in the application program UDP Multicast can be used to produce data that can be consumed by multiple local area network hosts that are configured to receive data on the multicast address NOTE The CTI 2500 Series CPU Ethernet port does not support UDP or UDP Multicast The ACP1 Web Server provides tools for monitoring and debug The status of connections to the CAMP Client can be monitored via the Active Communication Sessions page Error codes that may be returned by the CAMP Client are listed in Appendix A
109. t the embedded switch provides broadcast storm protection for the 2500 Series programmable controller Alternately you may choose to connect both the ACP1 module and the Host Controller to the network Ethernet switch See the following section Connection via a Network Switch If you are connecting more than one CTI Advanced Function Module to the same Host PLC you should make all Ethernet connections through an external Ethernet switch as shown in the figure on the left Making the Ethernet connections by daisy chaining cables between modules could cause an interruption of network communications whenever one of the modules is powered down or reset Host Controller ACPI CAUTION When using this method one Ethernet port on all CTI Advanced Function Modules installed in the system must be connected to the external network switch The other Ethernet port must NOT be used to make a second connection to the network Doing so could result in a continuous communications loop and disrupt all network communications CTI 2500P ACP1 User Manual 25 6 1 2 Data Cache Configuration The Data Cache interface is enabled by including the CTI 2500 Data Cache fieldbus driver in the application program and configuring at least one element A maximum of 4096 elements may be configured The Data Cache element is configured by specifying three parameters e PLC Memory Area Memory Type and Data Type e Cache Direction Read from PLC Wri
110. te to PLC or Read and Write e Corresponding ACP1 Application Program Variable PLC memory location is designated by Memory Type and Address A block of PLC memory locations may be created by entering a Starting Address and Offset Since it is possible to store different data types such as Integer or Real into some PLC memory locations the configuration must include the data representation or data type of the value to be transferred PLC Memory Areas The PLC Memory Areas and associated data types that can be accessed via CTI Data Cache interface are listed below Common PLC Memory Area Data Type s V Memory V INT V Memory VL DINT V Memory V REAL K Memory K INT K Memory KL DINT K Memory K REAL Discrete Input X BOOL Discrete Output Y BOOL Control Relay C BOOL WX Memory WX INT WY Memory WY INT Status Word STW INT Timer Counter Preset TCP INT Timer Counter Current TCC INT Drum Variables Data Type Drum Step Preset DSP INT Drum Step Current DSC INT Drum Count Preset DCP INT Drum Count Current DCC INT 26 CTI 2500P ACP1 User Manual Loop Variables Data Type Gain LKC REAL Reset Time min LTI REAL Rate Time min LTD REAL Sample Rate sec LTS REAL Process Variable LPV REAL Process Variable LPV INT PV High Limit LPVH REAL PV L
111. the Adapter it does not include the Run Idle header in the T gt O data If the I O Scanner does not have the option to exclude the Run Idle Header from T gt O data then 4 additional bytes must be added to the T gt O size with first 4 bytes unused Some devices publish the expected O gt T size as an additional value when the error is returned If available this information is displayed on the Ethernet IP statistics page of the CTI product web server NOTE The Target device may return this error if the T gt O Connection ID is invalid for I O Message data 129 Invalid Configuration The Configuration Instance contained a size other than zero for Application Path Adapter where Configuration data sent with the Forward Open message is not supported 12A Invalid Consuming The Consuming O gt T Path is not present in the Forward Open Application Path message from the UO Scanner or the O gt T Connection ID is incorrect for the Adapter configuration 12B Invalid Producing The Producing T gt O Path is not present in the Forward Open Application Path message from the I O Scanner or the T gt O Connection ID is incorrect for the Adapter configuration 12C Configuration Symbol The Originator attempted to connect to a configuration tag name that Does Not Exist does not exist in the Target 12D Consuming Symbol The Originator attempted to connect to a consuming tag name that Does Not Exist does not exist in the Target 12E Producing Symbol The Ori
112. the IP Host uses the Subnet Mask to determine where to send an IP message After deriving the Network ID and Host ID portion of the IP Address using the Subnet Mask the IP Host compares the Network ID of the destination IP Address with the Network ID of the Host IP Address If the Network IDs are the same the message is sent to another Host on the local network If the Network IDs are different the message is sent to an IP Gateway for routing to another network if possible When you are configuring the IP Address of devices that must communicate on a local network you must ensure that e The Subnet Mask of all devices is the same e The Network ID of all hosts is the same e The Host ID of each host is different If you are using Subnet Masks that are aligned with the IP Address octets this can easily be done by examining the dotted decimal values The octets of the IP Address where the corresponding octet of the Subnet Mask is 255 belong to the Network ID and the octets of the IP Address where the corresponding octet of the Subnet Mask is 0 belong to the Host ID For example where the IP Address is 127 18 40 3 with a Subnet Mask of 255 255 0 0 the Network ID is 127 18 and the Host ID is 40 3 IP Address 127 18 40 3 Subnet Mask 255 255 0 0 Network ID 127 18 Host ID 40 3 However if you are using a Subnet Mask that does not align with the octet boundaries this is more difficult You will need to pe
113. the module is powered on All other Fieldbus Protocols are enabled by inserting the appropriate protocol template into an application program configuring its operation and downloading the project to the ACP1 module Multiple protocols can be executed concurrently within the restrictions described below Data transferred to from the remote devices within the protocol message packets are controlled by the logic in the application program 7 1 Ethernet Communications The 2500P ACP1 limits the number of Ethernet connections allowed to external devices in order to provide reliable and efficient communications The following table describes how these connections are counted Connection Type Maximum ACP1 Connections Included in Count Concurrent Connections Client 30 CAMP Client TCP or UDP Open Modbus Client TCP or UDP Variable Binding Subscriber TCP Server 30 Open Modbus Server TCP Variable Binding Publisher TCP Server for Supports 3 Connects on Port 1100 only CTI Workbench concurrent users Web Server Supports 3 Connects on Port 80 only concurrent users CTI 2500 Data Cache 1 Connection to CTI 2500 Series CPU as Host Controller Provides access to all PLC memory types 7 1 1 CAMP Client The CAMP Client protocol provides a common means to communicate with CTI 2500 Series controllers and Siemens Series 505 controllers via a TCP IP network If you are communicating with a Siemens 505 controller it mus
114. tiple devices can subscribe to the same published variable Status of the TCP connection between each Publisher and Subscriber is provided Variable Binding network data exchange is currently supported by 2500P ACP1 2500P ECC1 and 2500 Series HMI products When performing the function of a Publisher the 2500P ACP1 continually monitors all items specified as published variables and transmits the value of a particular data item to subscribers only when the variable value changes When acting as a Subscriber the 2500P ACP1 receives the published data to which it has subscribed and updates the value and date time stamp of each corresponding variable The variables can then be used in application program logic and or written to any device attached to the ACP1 via serial or Ethernet connection Additional variables can be added to provide Error Status to program logic When Variable Binding is configured each device that subscribes to data published by the ACP1 module is counted against the limit of 30 Client connections Likewise when the ACP1 module subscribes to data published by another device the connection to that device counts against the limit of 30 Server connections The ACP1 Web Server provides tools for monitoring and debug The status of Network Data Exchange connections can be monitored via the Active Communication Sessions page Error codes that may be returned by a Network Data Exchange subscriber are listed in APPENDIX A ERROR CODES
115. to control drives motor starters and other process control equipment provided with an EIP I O Adapter interface Each UO Adapter provides one or more pre defined Input Output assemblies each consisting of a collection of device parameters and or settings The setup configuration of the EIP I O Adapter includes assignment of IP Address and selection of the Input Output CTI 2500P ACP1 User Manual 37 assemblies to be used Each connection to a remote EIP I O Adapter counts against the limit of 40 client connections supported by the 2500P ACP1 The ACP1 Web Server provides tools for monitoring and debug The status of connections to the Open Modbus Server can be monitored via the Active Communication Sessions page Error codes that may be returned by the Open Modbus Server are listed in the Protocol Error Codes in Appendix A For more information regarding Ethernet IP and Common Industrial Protocol CIP go to the ODVA website http www odva or 7 1 6 Ethernet IP I O Adapter The Ethernet IP EIP Adapter provides a server interface for exchanging data with EIP clients via CIP implicit I O messages and or CIP Generic explicit messages When configured as an I O Adapter a remote EIP I O Scanner can establish an I O connection to the 2500P ACP1 and transfer data via I O messages I O message data is determined by the I O assembly configurations The I O assemblies are referenced in terms of the CIP network controller or I O Scanner UO data tr
116. to the pins used by the selected electrical interface RS 232 Subset Pinout Description Receive Data Transmit Data Signal Ground 1 RX Request to Send optional 2 RXD Clear to Send optional 3 TXD 4 1X 5 GND RS 422 Pinout Description Receive Data Transmit Data Receive Data Transmit Data CTI 2500P ACP1 User Manual 85 Software Configuration All serial port parameters including the electrical interface RS232 or RS422 are set by software configuration via CTI Workbench Parameters are specified by an ASCII string containing descriptors and associated values This string is used to setup the serial port as required by serial protocol drivers The following table lists serial port setup parameters Valid Values ee Value a ALWAYS 1 Baud Rate 1200 2400 4800 900 19200 38400 So 57600 115200 Lis pr os ja o O ee E S O Modbus RTU E Flow Control No N Yes Y Y enables Hardware RTS CTS handshake CTS must be TRUE to send Interface Jr R232 R422 RS232 This is an example string to setup the serial port PT 1 BD 19200 DB 8 SB 1 PY N FCE N IF RS232 Usage Rules a If any parameters are missing or invalid values assigned in the string the default value for the parameter s will be used b All characters in the string are case insensitive consistent with IEC 61131 spec c The string is not order dependent
117. ugh the module will operate without a SD card installed the functionality is severely diminished SD Card Selection There are three sizes of SD cards standard mini and micro The SD card receptacle on the module is designed for a standard size card which is the largest form factor A passive adapter can be used to accommodate the smaller mini or micro sizes if necessary For most applications the 4GB card is more than adequate A larger capacity card i e SDXC cards offer storage capacities to 256GB is needed only when the SD card storage is used to maintain a number of extremely large files such as data log files Smaller capacity cards can be used but we recommend as a minimum that an SDSC card with 256MB be installed Another decisive factor for SD card selection is access speed The SD card access speed is indicated by a class rating which indicates the minimum continuous write speed For example a class rating of indicates A MB sec As an alternative the access speed may be provided by the x rating method as used for CD ROM speed where speed is indicated as a multiple of an audio CD 150 Kb s In this case a class rating of 300x indicates 45MB sec The speed of the SD card has a minimal effect on the time required for the module to start up or store an application program However a very fast SD card can considerably improve performance up to 25 30 when the program is executing a repetitive write operatio
118. ule Identifier field was automatically generated consisting of ACP1 9 digit module Serial Number This entry can be edited as desired Location is an optional text field with a maximum length of 40 characters This field can provide additional information to uniquely identify the module if desired Module IP Address Module Subnet Mask and Default Gateway display values currently stored in non volatile memory as provided by the acp1 ini configuration file on SD card These values can be edited when required but the changes do not take effect until the module is reset Module Startup Mode determines the operational state STOP RUN PAUSE ERROR set immediately following a power on reset This assumes a valid application program is available on the SD card when the module is powered up Otherwise the module remains STOPPED o Last State The module operational state is set based on the run time state when the module reset or lost power o Auto Cold Start The application program is loaded and set to RUN mode with all variables set to their initialization values o Auto Warm Start The application program is loaded and set to RUN mode with RETAIN variables restored to their last values and all other variables set to initialization values Host Real Time Clock Sync This selection enables the synchronization Real Time Clock RTC in the ACP1 module with the RTC in the Host Controller Time synchronization is available only when the CTI Data
119. ulticast Address in the IPV4 local scope range 239 255 0 0 thru 239 255 255 255 unless you have a specific reason to do otherwise You should verify there is no conflict with other Multicast Addresses being used locally In case you are using the 2500P ACP1 module in an existing multicast application that uses a Multicast Address outside of the administratively scoped address space the configuration program allows you to enter the complete range of assignable multicast addresses 224 0 0 1 thru 239 255 255 255 For a current list of IANA assigned multicast addresses see the IANA website www iana org assignments multicast addresses 84 CTI 2500P ACP1 User Manual APPENDIX C SERIAL PORT DETAILS Protocols The 2500P ACP1 provides communications protocols for connection of RS 232 RS 422 compatible devices to the serial port Only one serial port protocol may be active at any time Function Description Modbus RTU Master Allows ACP1 to function as Modbus RTU Master Supports up to 32 different Modbus Requests to be configured Modbus RTU Slave Allows ACP1 to function as Modbus RTU Slave General ASCII Sends and receives ASCII characters Can be used to interface to proprietary serial protocol messages Data is transmitted and received based on the application logic Hardware The male DB9 connector on the front panel provides the serial port interface The cable used for connection to the external device must attach
120. under CAMP Client Error Codes 7 1 2 Open Modbus Client The Open Modbus Client provides a means to communicate with products implementing a Modbus TCP server that complies with specifications published by the Modbus Organization http www modbus org The Open Modbus TCP protocol is an adaptation of the popular Modbus RTU protocol network version of the Modbus RTU that allows it to communicate using TCP IP Since the Modbus protocol is widely supported by a wide variety of PLCs automation controllers monitoring equipment remote terminal units and other industrial devices it offers a common method for the exchanging data between devices from different manufacturers In addition the Modbus protocol is often used to communicate with process control I O devices such as motor starters and variable frequency drives The Open Modbus Client allows you to establish TCP connections to server devices that comply with the Open Modbus standard Alternately you can use UDP to communicate with Modbus devices that support this IP protocol If the server device is a Modbus Ethernet to Serial Gateway the Open Modbus Client can communicate with serial Modbus slave devices attached to the gateway Each Modbus Client connection to one of these products counts against the limit of 30 client connections supported by the 2500P ACP1 The Open Modbus Client can initiate requests using the Modbus Function Codes listed in the table below
121. ure you are properly grounded and have discharged any static buildup before removing the unit from the static bag Do not discard the anti static bag use it for protection against static damage when the module is not inserted into the I O base CAUTION The components on the CTI 2500P ACP1 printed circuit card can be damaged by static electricity discharge To prevent this damage the module is shipped in a special anti static bag Static control precautions should be followed when removing the module from the bag and when handling the printed circuit card during configuration CTI 2500P ACP1 User Manual 15 3 2 2 Physical Installation Before installing the module remove AC power from the rack Using the guides align the circuit board with one of the I O slot connectors in the base Slide the 2500P ACP1 module into the rack until the connector seats Then use the thumbscrews to secure the module in the rack 16 CTI 2500P ACP1 User Manual CHAPTER 4 USER INTERFACES This section describes the methods supported in the 2500P ACP1 for connection to user interface software This includes connection of CTI Workbench Integrated Development Environment IDE software for program download debug and monitoring as well as connection to Web Server for module configuration and operational status 4 1 CTI Workbench The 2500P ACP1 includes a Server for Ethernet connection to CTI Workbench on Port 1100 The computer running CTI Workb
122. used in the program When enabled all complex variables arrays structures and function block instances are place in a separate memory segment 46 CTI 2500P ACP1 User Manual 8 4 2 Program Organization Units POUs This section describes the organization of Program units that can be used to build a project Functions Sub Programs A Function calculates a result based only on the input values A Function allows multiple Inputs but only one Output parameter and no internal data Functions are GLOBAL in scope and can be called from any POU The run time includes both IEC standard Functions and CTI Functions Function Output Inputs gt f The Sub Program is an extension to the IEC standard Function A Sub Program may include up to 256 Input and 256 Output Parameters and can be developed using FBD LD ST or IL language Local variables may be declared and used in the embedded logic code that can include calls to any other Function Function Block and or UDFB Since the Sub Program executes like a Function the Local variables are not instantiated This means the same set of internal variables are used for all occurrences within the application Sub Program Inputs gt f Outputs Local variables Function Blocks UDFBs Function Blocks contain both code logic and private data Inputs Outputs and Local variables When called the logic reads the Input
123. ware file to flash memory When complete the module resets and is initialized to normal operation mode The status of the firmware update operation is reported to CTI Workbench The following screen shows the results of a successful firmware update CTI Product Options Product Information Runtime IP 172 18 9 196 1100 Auto Detect CTI Product Type 2500P ACP1 v Firmware Version 10 Display Runtime Status l Configure Update Firmware Connecting to 172 18 9 196 Model 2500P ACP1 Version 01 24 ACP Status Word 00000000 DS 80 JS 01 HR 00 VM Status Word 0000 Preparing for Firmware Update Waiting 8 seconds for reboot Connecting FTP to 172 18 9 196 Starting Firmware Update Transfer Transfer Complete Waiting up to 90 seconds for verification of update Checking Status Connecting to 172 18 9 196 Model 2500P ACP1 Version 01 24 ACP Status Word 00000000 DS 80 JS 01 HR 00 VM Status Word 0000 Weder Update Complete If an error occurs an error status is returned to CTI Workbench An error code is displayed on the module LED display see APPENDIX A ERROR CODES and the firmware update process is terminated The user must go to the module location to diagnose and correct the error condition CTI 2500P ACP1 User Manual 55 9 3 SD Card Firmware Update Method The SD card firmware update method provides an alternate method of updating the ACP1 module firmware This method
124. ware in flash While flash memory is being rewritten various status codes will be displayed on the front panel Multi Segment Display If an error is encountered while updating flash an error code is displayed and the firmware update process terminated The error must be corrected before the firmware update process can be restarted When the firmware update process is successfully completed status code UO0 will be displayed 3 Return the ACP1 Module to the Normal Operating Mode a Disconnect power and remove the ACP1 module from the base b Replace the firmware update SD card with the operating SD card if required c Set SW2 to the OPEN SD Card Normal Operation position Re install the module into the base and apply power Ge 56 CTI 2500P ACP1 User Manual 9 4 Firmware Update Status Codes The following status codes indicate progress in updating firmware Under normal circumstances many actions happen so fast that individual status codes cannot be recognized Status Code Status U00 Module firmware successfully updated U01 Waiting for firmware file transfer to begin U02 Firmware file transfer in progress U03 Validating downloaded Image File header in DRAM U04 Validating downloaded Image File in DRAM UO Building the CTI Image File in DRAM U06 Erasing the application data communications area U07 Erasing the FLASH area to hold the CTI Image File U08 Writing the CTI Image Fil
125. y connections as Scanner or Adapter 11A Target Object Out of The maximum number of connections supported by this instance of Connections the Target object has been exceeded 11B Production Inhibit The T gt O RPI is smaller than the T gt O Production Inhibit Time Consult Time is greater than the manufacturer s documentation as to the minimum rate that data RPI Value can be produced and configure the RPI to greater than this value 11C Transport Class Not The Transport Class requested in the Forward Open is not supported Supported by the Server Only Class 1 and Class 3 messages are supported by the CTI products 11D Production Trigger The Server does not support the trigger to produce messages Not Supported requested in the Forward Open is not supported In Class 1 only Cyclic and Change of state are supported in 11E Direction Not The Direction requested in the Forward Open is not supported by the Supported Target 11F Invalid O gt T The O gt T Fixed Variable flag specified in the Forward Open is not Network Connection FIXVAR supported Only Fixed is supported in CTI products CTI 2500P ACP1 User Manual 73 120 Invalid T gt O The T gt O Fixed Variable flag specified in the Forward Open is not Network Connection supported Only Fixed is supported in CTI products FIXVAR 121 Invalid O gt T Network The O gt T Network Connection Priority specified in the Forward Open Connecti
Download Pdf Manuals
Related Search
Related Contents
Moxa Technologies 1240 Computer Drive User Manual POWER-MATE USER MANUAL CAUTIONS AGAINST ELECTRIC - Highpoint User-Manual - EluneVision.com Plataforma de Atividade Docente- PAD DeLOCK 42481 storage enclosure Info - Leica Biosystems user manual Copyright © All rights reserved.
Failed to retrieve file