COE参数说明
COE参数0x8000~0x8030用于模拟量输出模块的参数设置,其中“ ”黄底部分为预留参数,设置无效。注意:n取值为0~3,分别对应通道1到通道4。
| 0x80n0 AO 参数设置 | ||||
| 索引 | 名称 | 含义 | 标志 | 默认值 |
| 80n0:01 | Enable user scale | 启用用户缩放 | RW | 0x00 |
| 80n0:02 | Presentation | 参数预留 | RW | 0x00 |
| 80n0:05 | Watchdog |
0:Default watchdog value(默认看门狗值)索引 0x80n0:13 中的默认值生效。 1:Watchdog value(看门狗斜坡驱动到)默认值(索引80n0:13 中的值)的斜坡(索引80n0:14 中的值)生效。 2:Last output value(最后的输出值)在看门狗超时的情况下,输出最后一个过程数据。 |
RW | 0x00 |
| 80n0:07 | Enable user calibration | 参数预留 | RW | 0x00 |
| 80n0:08 | Enable vendor calibration | 参数预留 | RW | 0x01 |
| 80n0:11 | Offset | 偏移量 | RW | 0x0000 |
| 80n0:12 | Gain | 用户缩放增益。增益以定点格式表示,其因子为216 。值1对应65535(0x00010000)。 | RW | 0x00010000 |
| 80n0:13 | Default output | 通过“Watchdog”(索引80n0:05)激活后,在看门狗情况下的输出值 | RW | 0x0000 |
| 80n0:14 | Default output ramp |
此值定义了斜坡下降到默认值的斜坡速率。该值以数字量/毫秒指定。 例如,如果输入为100,默认值为 0,则在发生故障时,输出值从最大值(32767)变化到默认值需要 327 毫秒(32767/100)。 |
RW | 0xFFFF |
| 80n0:15 | User calibration offset | 参数预留 | RW | 0x0000 |
| 80n0:16 | User calibration gain | 参数预留 | RW | 0xFFFF |