This is an old revision of the document!
For the mergCBUS two models were developed for the setting of the module interfaces:
Simple Layout interface Model.
The node address of the module is set using DIP switches. Additional settings are not possible.
The CAN-GCA modules do not support this !!.
Full Layout interface Model.
All settings of the modules made with programming commands over the CBUS.
In Rocrail the CBUS programming dialog is implemented on multiple tabs for general and modules-specific properties.
This is a general mergCBUS node setup dialog which requires extra FLiM mode documentation for using it which can be downloaded at the MERG site. See: mergCBUS Resources.
- Event and Node Variables (Not up to date.)
- The node configuration is saved in the Rocrail server setup; rocrail.ini.
- After setting a node in FLiM setup this dialog will pop up automatically with the node number tab selected.
- Node type recognition.
- Bit pattern help for node and event variables.
- All read nodes, variables and events are saved in the rocrail.ini after closing the dialog with the OK button.
The push button is only needed in case the node number has to be changed.
In all other cases Rocrail will put the module in learn mode by command when needed.
The IID is needed, if the mergCBUS, is not the only defined command station in the Rocrail server.
This is a read only field which is automatically set after a node is selected from the index or was set in the FLiM setup mode.
The target node must be set manually in learn mode, after its powered on, by pushing short the button on the board before setting a new node number.
If there are nodes in the same CBUS in SLiM mode it is recommended to choose a node number higher than 255 to avoid conflicts. All CAN-GCA nodes are FLiM only.
The IID must be set if the CBUS is not the first one in the Rocrail command stations list.
Query all connected nodes.
The query mergCBUS OPC_QNN is used. The CAN-GC2 reports with an OPC_PNN which contains node number, manufacturer and product ID.
Request all node events. An event definition is added to the list if its unknown.
Leave the Node# empty for defining a Short Event.
Delete the selected event from the node and from the list.
Delete all the event from the node and from the list.
The event variable must be requested separately for each event listed after a Get all request and is only possible in learn mode.