欢迎访问瑞昌明盛自动化设备有限公司官网!
关于我们 | 联系我们

+86 15270269218

您的位置:首页>>产品中心 >> foxboro

330180-50模块备件

型号: 330180-50  分类: foxboro
  • 330180-50
  • 330180-50
  • 330180-50
  • 330180-50
  • 330180-50


330180-50

本附录作为PLC处理器用户编程的参考
它们的模块。
以启动模拟输入和输出模块之间的通信
在PLC处理器中,必须输入块传输指令到梯形图中
逻辑程序。使用本章输入必要的块传输说明
进入梯形图逻辑程序。
块转移
编程
您的模块通过双向块与处理器通信
转移。这是读和写块传输的顺序操作
说明书
当模拟模块启动时,启动配置块传输写入(BTW)
首先通电,然后仅当程序员希望启用时
或者禁用模块的特征。配置BTW设置以下位:
启用模块的可编程功能,如缩放、报警、范围等,
执行块传输读取以从模块检索信息。
块传输读取(BTR)编程从模块中移动状态和数据
到处理器的数据表。处理器用户程序发起请求
将数据从模块传输到处理器。转移的单词包含:
模块状态、信道状态和来自模块的输入数据。
以下示例程序是小程序;所有横档和
应用程序中必须包含空调。您可以禁用
或添加互锁以防止写入(如果需要)。不要消除任何存储
示例程序中包含的位或互锁。如果互锁被移除,则
程序可能无法正常工作。
您的程序应该监视状态位、块传输读取和块传输
编写活动。
FLEX的示例程序
I/O模拟模块
以下示例程序向您展示了如何使用模拟模块
当使用可编程控制器操作时,效率更高。
这些程序向您展示了如何:
注意:如果模拟模块在启动前未通电
远程I/O适配器,适配器将无法识别模块。
确保模拟模块已安装并通电
在远程I/O适配器之前或同时。如果
适配器未与模块建立通信,循环
向适配器供电。
出版物1794-UM062B-EN-P-2020年3月
78模块编程
•配置模块
•从模块读取数据
•更新模块输出通道(如果使用)
这些程序说明了所需的小编程
进行通信。
PLC-2编程
1794模拟I/O模块不建议与PLC-2®系列一起使用
可编程控制器,由于高精度编程所需的位数
决议此外,从模数转换器返回的数据
该模块是12位resolute。该值左对齐到16位字段中,
为符号位保留高有效位。
PLC-3编程
PLC-3®处理器的块传输指令在数据块中使用一个二进制文件
模块位置和其他相关数据的表部分。这是块传输
控制文件。块传输数据文件存储要传输到的数据
您的模块(在编程块传输写入时)或来自您的模块
(当编程块传输读取时)。块传输数据的地址
文件存储在块传输控制文件中。
相同的块传输控制文件用于读和写
模块说明。需要不同的块传输控制文件
对于每个模块。
带有块传输指令的示例程序段如所示
图1794-IE8模块的PLC-3系列示例程序结构。
出版物1794-UM062B-EN-P-2020年3月
模块编程79
1794-IE8模块的PLC-3系列示例程序结构
行动纲领
在运行模式下通电时,或当处理器从PROG切换到
运行时,用户程序启用块传输读取。然后它启动一个块
如果设置了通电位,则传输写入以配置模块。
此后,程序连续执行读块传输。
按钮允许用户手动请求块传输写入
配置模块。
EN
BTR
块传输读取
机架:
组:
狭槽:
数据文件:
7.
0
0
B4:0
长度:
控制:
9
B3:0
05
按钮
B3:0
15
DN
急诊室
块转移
读一点,做一点
B3:0
块转移
写一点就可以了
12
15
13
使可能
多恩
错误
EN
BTR
块传输写入
机架:
组:
狭槽:
数据文件:
7.
0
0
B5:0
长度:
控制:
1.
B3:0DN
急诊室
02
05
03
使可能
多恩
错误
接通Bit1的电源
B4:8
15
1个仅包含在B系列模块中的通电位。
1.
2.
提示:必须先为块传输创建数据文件,然后才能执行
输入块传输指令。
出版物1794-UM062B-EN-P-2020年3月
80模块编程
1794-OE4模块的PLC-3系列示例程序结构
行动纲领
在运行模式下通电时,或当处理器从PROG切换到
运行时,用户程序启用块传输读取。然后它启动一个块
将写入传输到con

330180-50

330180-50模块备件

330180-50

This Appendix serves as a reference to users of the PLC Processors to program their modules. To initiate communication between the analog input and output modules and your PLC processor, you must enter block transfer instructions into your ladder logic program. Use this chapter to enter the necessary block transfer instructions into your ladder logic program. Block Transfer Programming Your module communicates with the processor through bidirectional block transfers. This is the sequential operation of both read and write block transfer instructions. A configuration block transfer write (BTW) is initiated when the analog module is first powered up, and subsequently only when the programmer wants to enable or disable features of the module. The configuration BTW sets the bits which enable the programmable features of the module, such as scaling, alarms, ranges, etc. Block transfer reads are performed to retrieve information from the module. Block transfer read (BTR) programming moves status and data from the module to the processor’s data table. The processor user program initiates the request to transfer data from the module to the processor. The transferred words contain module status, channel status and input data from the module. The following sample programs are minimum programs; all rungs and conditioning must be included in your application program. You can disable BTRs, or add interlocks to prevent writes if desired. Do not eliminate any storage bits or interlocks included in the sample programs. If interlocks are removed, the program may not work properly. Your program should monitor status bits, block transfer read and block transfer write activity. Sample Programs for FLEX I/O Analog Modules The following sample programs show you how to use your analog module efficiently when operating with a programmable controller. These programs show you how to: ATTENTION: If the analog module is not powered up before the remote I/O adapter, the adapter will not recognize the module. Make certain that the analog module is installed and powered before or simultaneously with the remote I/O adapter. If the adapter does not establish communication with the module, cycle power to the adapter. Publication 1794-UM062B-EN-P - March 2020 78 Module Programming • configure the module • read data from the module • update the module output channels (if used) These programs illustrate the minimum programming required for communication to take place. PLC-2 Programming The 1794 analog I/O modules are not recommended for use with PLC-2® family programmable controllers due to the number of digits needed for high resolution. In addition, the data returned from the analog-to-digital converter in the module is 12-bit resolute. This value is left-justified into a 16-bit field, reserving the most significant bit for a sign bit. PLC-3 Programming Block transfer instructions with the PLC-3® processor use one binary file in a data table section for module location and other related data. This is the block transfer control file. The block transfer data file stores data that you want transferred to your module (when programming a block transfer write) or from your module (when programming a block transfer read). The address of the block transfer data files are stored in the block transfer control file. The same block transfer control file is used for both the read and write instructions for your module. A different block transfer control file is required for every module. A sample program segment with block transfer instructions is shown in Figure PLC-3 Family Sample Program Structure for a 1794-IE8 Module. Publication 1794-UM062B-EN-P - March 2020 Module Programming 79 PLC-3 Family Sample Program Structure for a 1794-IE8 Module Program Action At power-up in RUN mode, or when the processor is switched from PROG to RUN, the user program enables a block transfer read. Then it initiates a block transfer write to configure the module if the power-up bit is set. Thereafter, the program continuously performs read block transfers. The push button allows the user to manually request a block transfer write to configure the module. EN BTR BLOCK TRANSFER READ RACK: GROUP: SLOT: DATA FILE: 7 0 0 B4:0 LENGTH: CONTROL: 9 B3:0 05 Pushbutton B3:0 15 DN ER Block Transfer Read Done Bit B3:0 Block Transfer Write Done Bit 12 15 13 Enable Done Error EN BTR BLOCK TRANSFER WRITE RACK: GROUP: SLOT: DATA FILE: 7 0 0 B5:0 LENGTH: CONTROL: 1 B3:0 DN ER 02 05 03 Enable Done Error Power-up Bit1 B4:8 15 1 Power-up bit included in Series B modules only. 1 2 TIP You must create the data file for the block transfers before you enter the block transfer instructions. Publication 1794-UM062B-EN-P - March 2020 80 Module Programming PLC-3 Family Sample Program Structure for a 1794-OE4 Module Program Action At power-up in RUN mode, or when the processor is switched from PROG to RUN, the user program enables a block transfer read. Then it initiates a block transfer write to configure the module and send data values. Thereafter, the program continuously performs read block transfers and write block transfers. PLC-3 Family Sample Program Structure for a 1794-IE4XOE2 Module EN BTR BLOCK TRANSFER READ RACK: GROUP: SLOT: DATA FILE: 7 1 0 B7:0 LENGTH: CONTROL: 1 B6:0 05 B6:0 15 DN ER Block Transfer Read Done Bit B6:0 Block Transfer Write Done Bit 12 15 13 Enable Done Error EN BTR BLOCK TRANSFER WRITE RACK: GROUP: SLOT: DATA FILE: 7 1 0 B8:0 LENGTH: CONTROL: 14 B6:0 DN ER 02 05 03 Enable Done Error 1 2 TIP You must create the data file for the block transfers before you enter the block transfer instructions EN BTR BLOCK TRANSFER READ RACK: GROUP: SLOT: DATA FILE: 7 2 0 B10:0 LENGTH: CONTROL: 5 B9:0 05 B9:0 15 DN ER Block Transfer Read Done Bit B9:0 Block Transfer Write Done Bit EN BTR BLOCK TRANSFER WRITE RACK: GROUP: SLOT: DATA FILE: 7 2 0 B11:0 LENGTH: CONTROL: 8 B9:0 DN ER 1 2 Publication 1794-UM062B-EN-P - March 2020 Module Programming 81 Program Action At power-up in RUN mode, or when the processor is switched from PROG to RUN, the user program enables a block transfer read. Then it initiates a block transfer write to configure the module and send data values. Thereafter, the program continuously performs read block transfers and write block transfers. PLC-5 Programming The PLC-5® program is very similar to the PLC-3 program with the following exceptions: • block transfer enable bits are used instead of done bits as the conditions on each rung. • separate block transfer control files are used for the block transfer instructions. PLC-5 Family Sample Program Structure for a 1794-IE8 Module Program Action At power-up in RUN mode, or when the processor is switched from PROG to RUN, the user program enables a block transfer read. Then it initiates a block transfer write to configure the modul



更多
查看更多 >>

推荐产品