您的浏览器版本过低,为保证更佳的浏览体验,请点击更新高版本浏览器

以后再说X

欢迎访问瑞昌明盛自动化设备有限公司网站!

图片名

全国订购热线:
+86 15270269218E-mail:stodcdcs@gmail.com

ABB >>

A-B>>

GE>>

BENTLY>>

3BSE013235R0001  CPU控制模块

3BSE013235R0001 CPU控制模块

3BSE013235R0001 CPU控制模块 高级Mint程序配置对于大部分应用程序允许Modbus TCP I/O运行所需的全部内容是Modbus TCP客户端设置的配置和初始化子程序中I/O机架的编辑/创建。然而,对于某些应用程序,可能还需要编辑setModuleParameters例程来调整某些模块的行为以适应应用程序的要求。需要编辑setModuleParameters的可能原因是:-...

  • 功能特性
  • 参数规格
  • 视频
  • 应用案例
  • 下载

3BSE013235R0001 CPU控制模块

    3BSE013235R0001  CPU控制模块 

    高级Mint程序配置对于大部分应用程序


    允许Modbus TCP I/O运行所需的全部内容是Modbus TCP客户端设置的配置和初始化子程序中I/O机架的编辑/创建。然而,对于某些应用程序,可能还需要编辑setModuleParameters例程来调整某些模块的行为以适应应用程序的要求。需要编辑setModuleParameters的可能原因是:-Modbus TCP模块发生错误时数字输出的行为需要调整(默认情况下,输出保持在其最后状态)-数字输入的滤波器时间常数需要调整(缺省情况下,设置为0.1ms)-模拟输入的工作模式需要设置为+/-10Vdc以外的其他值(这必须与初始化例程中设置的配置相匹配)+/-10Vdc是默认模式,但大多数模块支持热电偶输入、0-10Vdc等。-配置数字和模拟输入的合理性设置-例如,检查短路(默认情况下关闭)-要求同一类型的两个模块以不同方式运行-例如,可能有两个CI521模块,其中一个模拟输入需要在+/-10Vdc模式下操作,另一个模拟输出需要连接到热电偶。在这种情况下,用户应该从setModuleParameters例程中复制相关部分,将其第二次粘贴到例程中,然后为这段代码创建一个新的模块类型(例如case_nCI521b),记住还要为这个新常量包含一个声明,并为其分配一个唯一的值。然后可以编辑新的案例以适应所需的操作,并且可以编辑初始化例程以定义适当的模块类型(例如,如果新的CI521b实例位于机架7,则初始化例程将包括机架(7)。模块(0)。nType=_nCI521b)setModuleParameters包括注释,以突出显示可能需要编辑的地方,并说明可以使用的可能值。示例:“--”将监控超时设置为>00,以便在“通信丢失”情况下自动关闭输出或将输出设置为预定义状态。超时以10ms为单位(例如64十六进制=100 x 10=1000ms)“MODBUSTCP16(nModbusServer,0x3012)=Int16(0x0000)”主IP 7字节3(字节);监控超时(字节)如果我们想更改监控超时,以便在网络错误或Modbus通信中断超过1s时关闭数字输出,我们将编辑代码以读取…MODBUSTCP16(nModbusServer,0x3012)=Int16(0x0064)'主IP 7字节3(字节);监控超时(字节)应用说明CI521和CI522 Modbus TCP I/O扩展AN00225 ABB运动控制产品7 new.ABB。使用Mint应用程序中的I/O本应用程序说明中包含的Mint程序示例提供了一项任务,该任务不断循环并将远程I/O物理输入图像读取到数据结构阵列中。


    数据结构


    类似地,此任务从数据结构阵列读取本地输出映像,并将其写入物理远程I/O机架。使用TASKPRIORITY关键字将此任务嵌入主应用程序代码后,如果需要,可以调整此任务的优先级,但在大多数情况下,默认优先级应提供足够的性能。通过寻址远程机架阵列的适当元件来访问数字I/O。最好用一些例子来说明。在我们的示例应用程序(参见前面的图表和表格)中,我们定义了一个DC532(16个数字输入和16个可配置数字I/O)模块作为模块2安装在机架0上。因此,要访问该模块上的输入5,在应用程序中的任何其他Mint任务中,Mint代码将使用以下形式的代码:x=ModbusIO::机架(0).module(2).bfDigInputs。Bit5作为另一个示例,要打开同一模块上的输出C19,Mint代码的格式为:ModbusIO::Rack(0).module(2).bfDigOutputs。Bit19=_On如果需要,当然可以使用Mint DEFINE关键字为I/O通道提供更有意义的名称,例如…DEFINE opRUN_LAMP=ModbusIO::Rack(0).Module(2).bfDigOutputs。Bit19…然后使用此通道的Mint代码可以简单到…opRUN_LAMP=_如果模拟I/O以非常相似的方式寻址,用户应该知道,所有电压/电流/50k电阻I/O都按百分比缩放操作(与标准Mint控制器模拟I/O操作方式相同)。温度输入按比例直接读取,单位为摄氏度。在我们的示例应用中,CI521模块用作机架0的基本模块。它有4个模拟输入(通道0至3)和2个模拟输出(通道0和1)。读取模拟输入

    Advanced Mint program configuration for most applications

    All that is required to allow Modbus TCP I/O to run is the editing/creation of I/O racks in the configuration and initialization subprograms of Modbus TCP client settings. However, for some applications, you may also need to edit the setModuleParameters routine to adjust the behavior of some modules to meet the requirements of the application. The possible reasons for editing setModuleParameters are: - The behavior of the digital output needs to be adjusted when an error occurs in the Modbus TCP module (by default, the output remains in its last state) - The filter time constant of the digital input needs to be adjusted (by default, it is set to 0.1ms) - The operating mode of the analog input needs to be set to a value other than+/- 10Vdc (this must match the configuration set in the initialization routine) +/-10Vdc is the default mode, but most modules support thermocouple input, 0-10Vdc, etc- Configure rationality settings for digital and analog inputs - for example, check for short circuits (closed by default) - require two modules of the same type to operate in different ways - for example, there may be two CI521 modules, one of which needs to operate in+/- 10Vdc mode and the other analog output needs to be connected to a thermocouple. In this case, the user should copy the relevant part from the setModuleParameters routine, paste it into the routine for the second time, and then create a new module type for this code (such as case_nCI521b). Remember to include a declaration for this new constant and assign it a unique value. The new case can then be edited to accommodate the desired operation, and the initialization routine can be edited to define the appropriate module type (for example, if the new CI521b instance is in rack 7, the initialization routine will include the rack (7). Module (0). nType=_ NCI521b) setModuleParameters include comments to highlight where you may need to edit and describe the possible values you can use. Example: "--" sets the monitoring timeout to>00 to automatically turn off the output or set the output to a predefined state in case of "communication loss". The timeout is measured in 10ms (for example, 64 hex=100 x 10=1000ms) "MODBUSTCP16 (nModbusServer, 0x3012)=Int16 (0x0000)". The primary IP is 7 bytes 3 (bytes); Monitoring timeout (byte) If we want to change the monitoring timeout so as to turn off the digital output when the network error or Modbus communication interruption exceeds 1s, we will edit the code to read... MODBUSTCP16 (nModbusServer, 0x3012)=Int16 (0x0064) 'main IP 7 byte 3 (byte); Monitoring timeout (byte) application description CI521 and CI522 Modbus TCP I/O expansion AN00225 ABB motion control product 7 new.ABB. Use the I/O in Mint application The Mint program example included in the application description provides a task that cycles continuously and reads the remote I/O physical input image into the data structure array.

    data structure

    Similarly, this task reads the local output image from the data structure array and writes it to the physical remote I/O rack. After embedding this task into the main application code using the TASKPRIORITY keyword, you can adjust the priority of this task if necessary, but in most cases, the default priority should provide sufficient performance. Access digital I/O by addressing the appropriate elements of the remote rack array. It is better to illustrate with some examples. In our example application (see the previous diagram and table), we defined a DC532 (16 digital inputs and 16 configurable digital I/O) module to be installed on rack 0 as module 2. Therefore, to access input 5 on this module, the Mint code will use the following form of code in any other Mint task in the application: x=ModbusIO:: rack (0). module (2). bfDigInputs. Bit5 is another example. To open the output C19 on the same module, the format of Mint code is: ModbusIO:: Rack (0). module (2). bfDigOutputs. Bit19=_ On If necessary, you can use the Mint DEFINE keyword to provide a more meaningful name for the I/O channel, such as... DEFINE opRUN_ LAMP=ModbusIO::Rack(0).Module(2).bfDigOutputs。 Bit19... Then the Mint code of this channel can be as simple as... opRUN_ LAMP=_ If analog I/Os are addressed in a very similar way, users should know that all voltage/current/50k resistive I/Os operate in percentage scaling (the same way as standard Mint controller analog I/Os operate). The temperature input is read directly and proportionally in degrees Celsius. In our example application, the CI521 module is used as the basic module of rack 0. It has 4 analog inputs (channels 0 to 3) and 2 analog outputs (channels 0 and 1). Read analog input

    QQ图片20220408093546.png

    d082d79904e378397cc59202556710a7.jpg

    16.jpg



    品牌:ABB

    型号:3BSE013235R0001

    产地:瑞士

    质保:365天

    成色:全新/二手

    发货方式:快递发货


     CPU控制模块 

图片名 客服

在线客服 客服一号