HESG446212R1 DCS模块卡件
i适用于所有SNTP通信模式(广播、多播和单播)。首先,右键单击要配置的以太网模块,然后选择configure(配置)。在打开的设置选项卡中,为启用UTC偏移参数选择启用。在“时间”选项卡中,用户可以根据最近的时区从下拉列表中选择偏移值。7.4.2.7夏令时如果需要日光节约时间(DST)偏移,也可以从“设置”选项卡中启用该参数。启用该参数后,新的DST参数将在“时间”中可用。默认SNTP操作不会对本地时间或DST进行校正。必须使用上述说明启用本地时间和DST校正。或者,可以使用AUP文件配置以前版本的以太网模块。有关本地时间校正和DST参数,请参阅13.3.3附录A:配置高级用户参数。PAC系统™ RX3i和RSTi EP TCP/IP以太网通信用户手册第8节GFK-2224Y 2019年8月编程SRTP信道命令143第8节:编程SRTP通道命令本章介绍如何实现与服务器PLC的通信。通道命令可以建立一个通道,通过一次COMMREQ函数的启动来执行多次周期性读取或写入。通道命令也可用于执行单个读取或写入。有五个通道命令:▪ 建立读取通道▪ 建立写入通道▪ 发送信息报告▪ 中止通道▪ 检索详细信道状态8.2.1信道操作信道命令基于周期性数据传输的概念。客户端(本地)PLC使用单个COMMREQ功能建立到服务器(远程)PLC的通道(连接),并请求在PLC之间定期传输特定数据。以太网接口自动管理通信的建立和定期数据传输。命令块中的参数指定传输的频率和方向,以及要在传输中使用的客户端和服务器中的内存位置。PAC系统™ RX3i和RSTi EP TCP/IP以太网通信用户手册第8节GFK-2224Y 2019年8月编程SRTP信道命令145 8.2.2中止和重新分配信道有四种方式可以中止信道:1。当PLC CPU停止时,所有正在使用的通道将自动中止。2.通过发出“中止信道”命令,可以中止一个信道(或所有信道)。3.使用中的信道可以通过对其信道号发出建立命令来重新分配任务。这将中止先前的通道操作,然后执行新的通道操作。4.如果发生致命错误,信道也会自动中止。8.2.3监测信道状态以太网接口状态位占用单个内存块,这是在以太网接口配置期间指定的。状态位包括为每个通信信道提供运行时状态信息的信道状态位。每个通道有两个状态位;信道状态位的含义取决于在该信道上执行的通信类型。SRTP信道操作为每个SRTP信道提供两个信道状态位,一个数据传输位和一个信道错误位。有关状态位及其操作的详细信息,请参阅第12.6节,
s applied to all modes of SNTP communications (Broadcast, Multicast and Unicast). To begin, right-click the Ethernet module you wish to configure and select Configure. In the opened Settings tab, select Enable for the Enable UTC Offset parameter. In the tab Time, the user can select the offset value from the dropdown based on the closest time zone. 7.4.2.7 Daylight Savings If a Day Light Savings Time (DST) offset is required, the parameter can also be enabled from the Settings tab. After it is enabled, new DST parameter will become available in the Time The default SNTP operation features no correction for local time or DST. Local time and DST corrections must be enabled using the instructions above. Alternatively, previous versions of Ethernet modules can be configured using an AUP file. For local time correction and DST parameters, refer to 13.3.3Appendix A:, Configuring Advanced User Parameters. PACSystems™ RX3i and RSTi-EP TCP/IP Ethernet Communications User Manual Section 8 GFK-2224Y August 2019 Programming SRTP Channel Commands 143 Section 8: Programming SRTP Channel Commands This chapter describes how to implement communicate with a server PLC. A Channel command can establish a channel to execute multiple periodic reads or writes with a single initiation of a COMMREQ function. A Channel command can also be used to execute a single read or write. There are five Channel commands: ▪ Establish Read Channel ▪ Establish Write Channel ▪ Send Information Report ▪ Abort Channel ▪ Retrieve Detailed Channel Status 8.2.1 Channel Operations Channel commands are based on the concept of periodic data transfers. The client (local) PLC uses a single COMMREQ function to establish a channel (connection) to a server (remote) PLC and to request that specific data be periodically transferred between the PLCs. The Ethernet interface automatically manages the establishment of communications and the periodic data transfer. Parameters in the Command Block specify the frequency and direction of the transfer, and the memory locations in the client and server to be used in the transfer. PACSystems™ RX3i and RSTi-EP TCP/IP Ethernet Communications User Manual Section 8 GFK-2224Y August 2019 Programming SRTP Channel Commands 145 8.2.2 Aborting and Re-tasking a Channel There are four ways a channel can be aborted: 1. When the PLC CPU is stopped, all channels in use are aborted automatically. 2. A channel (or all channels) can be aborted by issuing an Abort Channel command. 3. A channel in use can be re-tasked by issuing an establish command for its channel number. This aborts the previous channel operation and then performs the new channel operation. 4. A channel is also automatically aborted if a fatal error occurs. 8.2.3 Monitoring the Channel Status The Ethernet interface status bits occupy a single block of memory, which is specified during configuration of the Ethernet interface. The status bits include Channel Status bits, which provide runtime status information for each communication channel. Each channel has two status bits; the meaning of the channel status bits depends upon the type of communication performed on that channel. SRTP channels operation provides two Channels Status bits for each SRTP channel, a Data Transfer bit and a Channel Error bit. For details of the status bits and their operation, refer to Section 12.6,