ADAM-4080 模块为 32 位计数和测频模块, 初始化的界面如下
通讯参数设置: 断电短接INIT和GND端子 通过软件设置为 Modbus 通讯方式 拆掉短接线,上电重启。
- 测试结果
- 通讯地址
ADDR 0X | Channel | Item | Attribute | Memo |
---|---|---|---|---|
00017 | 0 | DO0 Signal/Counter 0Alarm Status | R/W | Alarm is read only |
00018 | 1 | DO1 Signal/Counter1Alarm Status | R/W | Alarm is read only |
00033 | Counter0 Start/Stop | R/W | 1: start0: stop | |
00034 | Counter0 Clear | W | 1: clear counter | |
00035 | Counter0 Overflow | R | ||
00037 | Counter1 Start/Stop | R/W | 1: start0: stop | |
00038 | Counter1 Clear | W | 1: clear counter | |
00039 | Counter1 Overflow | R |
ADDR 4X | Channel | Item | Attribute | Memo |
---|---|---|---|---|
40001-40002 | 0 | Counter 0 Value | R | |
40003-40004 | 1 | Counter 1 Value | R | |
40201 | Counter Mode | R | 50:Counter51:Frequency | |
40202 | Signal Input Mode | R | 0: non-isolated (TTL)input 1:photo-isolated input |
40203 | Gate Mode | R | 0:the gate is low1:the gate is high2:the gate is disabled | |
---|---|---|---|---|
40204 | Gate Time | R | 0:0.1(s)1:1(s) | |
40205 | 0 | Counter 0 Alarm output | R | 1: Enable0: Disable |
40206 | 1 | Counter 1 Alarm output | R | 1: Enable0: Disable |
40211 | Module Name 1 | R | ||
40213 | Versoin 1 | R |
ADAM-4080 模块支持隔离和非隔离输入方式, 在非隔离输入情况下,支持可编程的阈值。模块可以通过门控信号触发计数器开始计数,有可编程数字滤波的功能。 非隔离信号:逻辑 0=0~5V(默认 0.8V)可编程 逻辑 1=0~5V(默认 2.4V)可编程 隔离信号:逻辑 0=1V(最大) 逻辑 1=3.5~30V