SPX Cooling Technologies CS4000 RS-422 Siemens 3964R Interface, Application Program Interface API

Page 97

CS4000 Mini Controller with Ethernet

RS-422 (Siemens 3964R) Interface

If you encounter problems with the RS-422 (Siemens 3964R) interface, you can use Procedure 5-4on page 5-17.Although this procedure describes how you test an Ethernet network from a laptop computer, you can use the same steps to test the RS-422 (Siemens 3964R) interface until you reach Step 7. Instead of using the ping command, use the tcm command. Using the tcm command allows you to view information about the status of communications on the RS-422 port during the debugging process. You can also use two other commands called tcm mask all and tcm unmask VIN to log the RS-422 port activity.

Application Program Interface (API)

The Application Program Interface (API) is a software application that runs separately but concurrently to Visual Supervisor. It collects data and sends it to another software application.

If you have problems running the API, check the version number of Device Control Module (DCM) software the controller is running. You must have the DCM firmware at version 4.06 or higher to successfully run the API.

In order for the API to collect data, you must set “History=VIN” in VSMain.ini on the VS host computer. For further details about VSMain.ini, refer to the Visual Supervisor User’s Guide (part number 39-30-34823).

Page 8-4

T-38324-A

39-30-38324

Image 97 Contents
Technical Reference Manual CS4000 Mini Controller with EthernetHour Technical Support Toll Free Please Note Limited Warranty Acknowledgments Preface How to Use This ManualWho Should Use This Manual Conventions Ieee AbbreviationsThis page is left blank intentionally Contents Mounting the CS4000 Mini Controller with Ethernet Index-1 Figures Tables This page is left blank intentionally Receiving, Sending and Storing Data OverviewUsing Ethernet Network Hub Using a 485 Network using Sdlc LAN Using an Interbus-S Digital I/O Module Using the RS-232 Serial PortDeciding How to Set Up the Controller Using the Siemens 3964R Barcode ProtocolThis page is left blank intentionally Think Safety First Wear Approved Safety Glasses AT ALL Times General Machine SafetyElectrical Safety CS4000 Mini Controller with Ethernet Identifying the Components LED Display Front PanelAccess Screws Parameter Set SwitchAC Power Cord Interbus-S I/O ConnectorTool Connector ConnectorEthernet Connector RS-422 ConnectorPrinter/Barcode Connector Sdlc I/O Network ConnectorFuses Enclosure InteriorIdentifying the Components Front View of the TCM 38324-A 39-30-38324 Tool Control ModuleTach Gain Speed Trim Device Control Module Servo AmplifierCS4000 Mini Controller with Ethernet Backplane BackplaneBackplane Fuses Address SwitchesBoard Power Supply10shows the Ethernet interface card and its sub-components Ethernet Interface CardDescription of Ethernet Interface Card LEDs OUT Interbus-S Module2describes the LEDs Fuses Ground Fault Circuit InterrupterMounting the CS4000 Mini Controller with Ethernet Installing the CS4000 Mini Controller with EthernetCS4000 Mini Controller with Ethernet Dimensions Power/Connection Requirements Power and Connection-RequirementsGrounding Meeting the AC Input Power RequirementsBlack wire external WiringRed wire internal Defaults Remote Input Circuit Schematics Installing the CS4000 Mini Controller with Ethernet CS4000 Mini Controller with Ethernet Tool Connector Connector Pinout DefinitionsConnector Tool Control Module TCM Network Connector RS-422 ConnectorRS-232 Connector Printer/Barcode ConnectorInterbus-S OUT Connector This page is left blank intentionally Programming the Ethernet Interface Card Setting Up the EthernetProcedure 5-1. Programming the Ethernet Interface Card Setting Up the Ethernet Click OK Establishing a Successful Connection via COM1 Flash the application file to the Ethernet interface card Error Message Displayed when the Attempted Connection Fails 38324-A 39-30-38324 May 38324-A Procedure 5-2. Editing Application Information Updating Application SettingsSelect the Ip Address tab Select the Comm Options tab Setting Up Visual Supervisor for an Ethernet Network Editing VSMain.ini for an Ethernet Network Open VSMain.ini using Notepad Procedure 5-3. Editing VSMain.ini for an Ethernet NetworkEthernet RJ-45 Modular Jack Pinout Using Ethernet Network CablesProcedure 5-4. Testing the Network From a Laptop Computer Testing the Ethernet NetworkCS4000 Mini Controller with Ethernet 18. Select Communications Port May 38324-A Specify the communications port settings. See Figure Login to the attached Ethernet interface card Tini 21. Opening the Command Prompt Window May 38324-A Procedure 5-5. Testing the Network From a Host ComputerTesting Ethernet Network Cables Installing the Sdlc Card Setting Up the 485 NetworkSetting Up Visual Supervisor for a 485 Network Editing VSMain.ini for a 485 Network VSMain.ini configured for a 485 Network 38324-A 39-30-38324Communications Detachable=0 #Ports=1 CommOcx1=SDLC Procedure 6-1. Editing VSMain.ini for a 485 NetworkAssigning a Network Address Switch Binary NumberAddress 5, 6, 7 Procedure 6-2. Setting the Address for the Controller Using 485 Network Cables This page is left blank intentionally Setting Up Visual Supervisor Setting Up the RS-232 LinkUsing RS-232 Cables This page is left blank intentionally Replacement Parts Maintenance/TroubleshootingCleaning the Enclosure Window Replacing Main Power FusesReplacing Backplane Fuses Ethernet Network TroubleshootingApplication Program Interface API RS-422 Siemens 3964R InterfaceTechnical Information Assembly DrawingThis page is left blank intentionally Technical Information This page is left blank intentionally Technical Information This page is left blank intentionally Index Index-2 38324-A 39-30-38324 Part Number