Devices → Tutorial | Concept | How-to Guide | ReferenceCreate 1. Create Device Channel
- Navigate to Devices → ChannelsProtocols
- Select Modbus
- Click on New Add new channel:
- Channel Name:
ModbusChannel
- Protocol:
Modbus Master
Settings:Protocol
- Interface: TCP/IP
- Port: 502
- Timeout: 3000ms
2. Add Device Node
- Go to Devices → Nodes
- Create node:
- Name:
PLC1
- Channel:
ModbusChannel
- Station: IP Address (use 127.0.0.1 for simulator)
- Port 502
- Device ID: 1
3. Create Device Points
- Navigate to Devices → Points
- Add points:
Digital Input:
- Tag Name:
PLC1_DI_001
TankFarm/Tank1/Level
- Node:
PLC1
- Address:
10001
(Modbus coil) 40001
- Data Type: DigitalNative
- AccessType: ReadWrite
Analog Input:
- Name:
PLC1_AI_001
TankFarm/Tank2/Level
- Node:
PLC1
- Address:
30001
(Modbus input register) 40002
- Data Type: IntegerNativeScaling
- AccessType:
Enable if needed- ReadWrite
Method 1 - Direct Mapping:
- Go to Unified Namespace → Tags
- Select existing tag
- In Device column, select:
PLC1_AI_001
Method 2 - Auto-create Tags:
- In Devices → Points
- Select points
- Right-click → Create Tags
- Tags created with same names
4. Starting Modbus Device Simulator
- Devices → Channels
- Select ModbusChannel
- Run Modbus Simulator
5. Test Communication
- Start Runtime (F5)
- Open Devices → Monitor
- Check status :
- Green = Connected
- Red = Error
- Yellow = Timeout
Troubleshooting
Issue | Check |
---|
No connection | Firewall, IP address, port |
Wrong values | Address offset, data type |
Intermittent | Timeout settings, network |
No updates | Polling rate, scan groups |
Using Device Simulator
For testing without real hardware:
- Devices → Tools → Simulator
- Select protocol matching your channel
- Start simulator
- Values update automatically
Next Steps
[Connect to a PLC] - Specific PLC brands[Define Alarms] - Alarm on device values[Historian] - Log device data- (if the ActivityCounter is increasing and LastErrorCode stays fixed, it means everything is running properly)