Schneider Electric 174 CEV manual Network Control Block NCB Return Codes, ERRsuccess

Page 82

NCB Return Codes

8.1Network Control Block (NCB) Return Codes

The bridge returns the following codes into the NCB_RETCODE field. Note that some application programs such as Modsoft may not map these codes to the correct error message.

ERR_success 0

ERR_bad_buffer_length 1 ERR_invalid 3 ERR_timeout 5 ERR_buffer_too_small 6 ERR_bad_session_num 8 ERR_no_RAM 9 ERR_session_closed 0xa ERR_cancel 0xb ERR_dup_local_name 0xd ERR_name_table_full 0xe ERR_active_session 0xf ERR_sess_table_full 0x11 ERR_no_listen 0x12 ERR_bad_name_num 0x13 ERR_no_answer 0x14 ERR_no_local_name 0x15 ERR_duplicate_name 0x16 ERR_bad_delete 0x17 ERR_abnormal_end 0x18 ERR_name_error 0x19 ERR_bad_packet 0x1a ERR_card_busy 0x21 ERR_too_many_cmds 0x22 ERR_bad_card_num 0x23 ERR_cancel_done 0x24 ERR_no_cancel 0x26 ERR_busy 0xff

/* NCB command completed normally */ /* Bad send or status buffer size */ /* invalid NetBIOS command */

/* Command time-out has expired */ /* Receive buffer not big enough */ /* Bad value in NCB_LSN */

/* LAN card doesn’t have enough memory*/ /* This session is closed */

/* Command has been closed */

/* Name already exists for this PC */ /* Local name table is full */

/* Can’t delete name - used in session*/ /* Local session table is full */

/* Remote PC not listening for call */ /* Bad value in NCB_NUM field */

/* No answer to CALL or no such remote*/ /* No such name in local name table */ /* Name is in use elsewhere on net */ /* Name incorrectly deleted */

/* Session aborted abnormally */

/* 2 or more identical names in use! */ /* Bad NetBIOS packet on network */

/* network card is busy */

/* Too many NCB commands queued */ /* bad NCB_LANA_NUM - must be 0 */

/* command finished while cancelling */ /* Command can’t be cancelled */

/* Still processing command */

80

Image 82
Contents Breite 185 mm Höhe 230 mm Breite 178 mm Höhe 216 mm Training Contents Using the Bridge Software Uploading and Downloading FilesDiagnostic Tools GlossaryModbus Plus to Ethernet Bridge CEV 200 Introducing the Ethernet to Modbus Plus Bridge Illustrates a typical bridge connectionTCP/IP Bridge Message Transactions and Paths Read Discrete Output Status Specifications Power Input Tolerance CurrentAgency Status Installing the Bridge Hardware Setting the Ethernet Connector Jumper Section Overview Hardware InstallationSetting the Modbus Plus Node Address Section Connecting the Network and Power Cables SectionCE Installation Requirements Section Verifying the Network Communication SectionSetting the Modbus Plus Node Address Bridge Enclosure Screws Remove ScrewsDefault Setting Setting the Ethernet Connector Jumper JP2 AUI Mounting the Bridge Hardware Mounting RequirementsInstalling the Bridge Hardware Connecting the Network and Power Cables BNC Grounding CE Installation RequirementsFerrite Bead on RF-45 Cable Modbus Plus Card Indicators Ethernet Card IndicatorsVerifying the Network Communication Factory Default Settings Ethernet Card DefaultsModbus Plus Card Defaults EdgeUpper Filter Periodic MaintenanceCleaning the Filters Lower FilterConfiguring the Bridge Files Resident in the Bridge Files Supplied With the BridgeHost Software Disk Files Generated or Modified by the Bridge Software Startup SequenceSetting the Modbus Plus and TCP/IP Address Mapping Overview Software ConfigurationSetting the Ethernet Configuration Configuration With a Bootp Server SectionConfiguration With a Bootp Server Starting Cfgutil Configuration With the Cfgutil UtilityNavigating the Cfgutil Menu Saving the Configuration Required Configuration FieldsAdditional Configuration Fields Address Mapping Table FieldsHow Mapping Works TCP/IP to Modbus Plus Destination Indexes 1 .. Mapped RoutingDestination Indexes 0 and 254 Dynamic Message Routing Destination Index 255 Bridge Internal CommandReserved Destination Indexes Setting the Mapping TCP/IP to Modbus Plus 1 MB+ Mapping Table Layout and Default EntriesEntry Example MB+ Mapping Table Saving the MappingByte 3. First Bridge’s IP Routing How Mapping Works Modbus Plus to TCP/IPBytes 1 and 2. Bridge Node Address and Path Byte 4. Second Bridge’s Modbus Plus RoutingBridge 2 Maps the Message to Modbus Plus Message is OriginatedBridge 1 Maps the Message to TCP/IP Message is DeliveredSetting the Mapping Modbus Plus to TCP/IP TCP Mapping Table Layout and Default EntriesEntry Example TCP Mapping Table Example Modbus Plus to TCP/IP MappingDynamic Routing of Messages Setting Up the Bridge for Dynamic RoutingContents Hex Contents Decimal ExampleUsing Dynamic Routing Setup Clearing the Bridge’s ConfigurationClearing the Configuration Using the Bridge Software Bridge Software Contents SW-MBPE-000 Minimum Requirements for Custom Bridge Configurations Using the Software in Custom ConfigurationsSetting Up a Custom Bridge Configuration DEVICE=MBPHOST.SYS /md000 /s5d /n0 /r2 Uploading and Downloading Files Configuring an Http Server Configuration ExampleCgi-bin Upload Overview Uploading Files to a HostInitiating an Upload Upload Example RTE.CFGDownload Overview Downloading Files to the BridgeInitiating a Download Download Example Diagnostic Tools Ethernet Diagnostics Diagnostics OverviewLogging the Bridge’s Activity Modbus Plus Diagnostics MbpstatStarting Logging Logging the Bridge’s ActivityHow Logging Works Stopping LoggingMode a Channel Logging Menu Saving the Logging Status and Log FileTcpinfo StartingStarting Ping at the Bridge PingStarting Ping at the Host Selecting the Network to be Analyzed Starting MbpstatNetwork Selection Examples Typical Mbpstat Routing Your Mbpstat Menu Entering Node AddressesOption 1 Set Routing Parameters Set Routing ParametersOption 2 Monitor Network Activity Monitor Network ActivityOption 3 Read Global Data Read Global DataOption 4 Global Data Present Table Global Data Present TableOption 5 Node Active Station Table Node Active Station TableOption 6 Node Error Statistics 05.00.00.00.00 Failure 244Option 7 Token Station Table Token Station TableOption 8 Token Owner Work Table Token Owner Work TableOption 9 Current Internal Path Transactions PathOption 10 Node Personality Node PersonalityMessage Examples Mstr Example TCP/IP Node Mstr in TCP/IP NodeMstr Example Modbus Plus Node Mstr in Modbus Plus NodeNCB Return Codes Network Control Block NCB Return Codes ERRsuccessGlossary Frame Default gatewayField Framing typesLayer InternetIP Address MAC AddressRouter SwitchRepeater ServerUTP Winsock

174 CEV specifications

Schneider Electric, a global leader in energy management and automation, has designed the Schneider Electric 174 CEV to meet the evolving demands of industrial applications. This innovative controller is engineered to enhance efficiency, flexibility, and reliability across various sectors.

One of the main features of the Schneider Electric 174 CEV is its robust communication capabilities. It supports multiple protocols, including Ethernet/IP, Modbus, and both serial and parallel communication interfaces. This multiplicity allows seamless integration with existing systems, ensuring that users can connect and manage devices within their operational setup without extensive changes to their infrastructure.

The 174 CEV is equipped with a powerful processing unit that ensures rapid data processing and real-time analytics. This is particularly advantageous for industries where quick decision-making is crucial. The controller is designed to handle large data sets and perform complex functions, all while maintaining optimal performance levels.

Another significant aspect of the Schneider Electric 174 CEV is its modular design. This feature allows for tailored solutions suited to specific application needs. Users can customize their setup by adding or removing modules based on their operational requirements, which enhances the controller’s versatility and longevity.

In terms of technology, the 174 CEV utilizes advanced algorithms for energy management and optimization. Users can benefit from predictive maintenance capabilities, which leverage data analytics to anticipate equipment failures before they occur. This proactive approach reduces downtime and maintenance costs, ultimately contributing to higher operational efficiency.

The controller also emphasizes user-friendly interfaces. With intuitive programming tools and a graphical user interface, operators can easily navigate through its functionalities, customize settings, and monitor performance metrics. This accessibility fosters greater user engagement and reduces the learning curve for new operators.

Safety is a top priority in the design of the Schneider Electric 174 CEV. The controller is built with compliance to international safety standards, ensuring that it can be deployed in a wide range of industries while guaranteeing the protection of both personnel and equipment.

Overall, the Schneider Electric 174 CEV stands out due to its combination of robust communication options, powerful processing capabilities, modular design, and user-friendly features. With its focus on energy efficiency and safety, the 174 CEV is an excellent choice for fulfilling the increasing demands of modern industrial environments.