# Control System Configuration File
#
# Soil Machine Dynamics Ltd
# Wincomblee Rd, Low Walker
# Newcastle-upon-Tyne,   UK
# NE6 3QS.
# Tel: +00 44 (0)191-234-2222
# Fax: +00 44 (0)191-234-0444
#
# Note: no spaces after the '=' for text items.
#		this bug to be sorted. 
#

# General configuration items

[FIELDBUS_IO]
TotalNodes=5
Debug=1
Verbose=1
CRC_Enable=1
NonBlocking=1
ScaleAnalogTo10V=1
RegisterName=SMD/FBUS

# Allow control of output channels
OutputControl=1

#
UpdateRate=80000000

# RS485 Settings
RS485Delay=35
# Base address of RS485 card control port
# Offset 0x08 for port 1
# Offset 0x0a for port 2
RS485CtlBase=
RS485CtlOfs1=
RS485CtlOfs2=


############## 12 STATION HCU1 ##################
[NODE_1]
# Specify Node Type
#
# WAGO-750-342		Ethernet Coupler
# WAGO-RS485		RS485 Coupler
# SMART-RS485		SMD smart I/O module
#
NodeType=SMART-RS485
NodeID=6
Port=/dev/ser7
PortSettings=38400,8,n,1

# How many modules are installed on this node (Max 64)
MaxModules=14

# For each module installed define its type from the following list:
# DI2  DI4  DI8  DO2  DO4  DO8  AI1 AI2 AI4  AO1 AO2  AO4  CT  CT_R
#
Module1=AO4
Module2=AO4
Module3=AO4
Module4=AO2
Module5=AO1
Module6=DO8
Module7=DO8
Module8=DO8
Module9=DO8
Module10=DO4
Module11=AI4
Module12=AI4
Module13=AI4
Module14=AI2



############## 12 ch Lamp Dimming ##################
[NODE_2]
# Specify Node Type
#
# WAGO-750-342		Ethernet Coupler
# WAGO-RS485		RS485 Coupler
# SMART-RS485		SMD smart I/O module
#
NodeType=SMART-RS485
NodeID=4
Port=/dev/ser7
PortSettings=38400,8,n,1

# How many modules are installed on this node (Max 64)
MaxModules=3

# For each module installed define its type from the following list:
# DI2  DI4  DI8  DO2  DO4  DO8  AI1 AI2 AI4  AO1 AO2  AO4  CT  CT_R
#
Module1=AI2
Module2=AO4
Module3=AO2


############## CONTROL WIRING WAGO ################
[NODE_3]
# Specify Node Type
#
# WAGO-750-342		Ethernet Coupler
# WAGO-RS485		RS485 Coupler
# SMART-RS485		SMD smart I/O module
#
NodeType=WAGO-RS485
NodeID=12
Port=/dev/ser8
PortSettings=19200,8,n,1

# How many modules are installed on this node (Max 64)
MaxModules=4

# For each module installed define its type from the following list:
# DI2  DI4  DI8  DO2  DO4  DO8  AI1 AI2 AI4  AO1 AO2  AO4  CT  CT_R
#
Module1=DI8
Module2=DO8
Module3=DO2
Module4=DO2



############## POWER CABIN WAGO ##################
[NODE_4]
# Specify Node Type
#
# WAGO-750-342		Ethernet Coupler
# WAGO-RS485		RS485 Coupler
# SMART-RS485		SMD smart I/O module
#
NodeType=WAGO-RS485
NodeID=11
Port=/dev/ser9
PortSettings=19200,8,n,1

# How many modules are installed on this node (Max 64)
MaxModules=7

# For each module installed define its type from the following list:
# DI2  DI4  DI8  DO2  DO4  DO8  AI1 AI2 AI4  AO1 AO2  AO4  CT  CT_R
#
Module1=DI8
Module2=DI8
Module3=DO2
Module4=DO2
Module5=DO2
Module6=DO2
Module7=AI4


############## BELLY PACK WAGO ##################
[NODE_5]
# Specify Node Type
#
# WAGO-750-342		Ethernet Coupler
# WAGO-RS485		RS485 Coupler
# SMART-RS485		SMD smart I/O module
#
NodeType=WAGO-RS485
NodeID=10
Port=/dev/ser10
PortSettings=19200,8,n,1

# How many modules are installed on this node (Max 64)
MaxModules=5

# For each module installed define its type from the following list:
# DI2  DI4  DI8  DO2  DO4  DO8  AI1 AI2 AI4  AO1 AO2  AO4  CT  CT_R
#
Module1=DI8
Module2=DO8
Module3=AI2
Module4=AI2
Module5=AO2

