Instructions

Basic Network Configuration 40
Doc: HMSI-27-314, Rev. 3.10Anybus Communicator EtherNet/IP / Modbus-TCP User Manual
6.4 On/Offline Configuration
By default, the On/Offline indication is triggered by the link status. Other triggering options can how-
ever be specified in the optional system file ‘\onoffln.cfg’, which should be placed in the module root
and looks as follows:
The contents of this file can be redirected by placing the line ‘[File path]’ on the first row, and a file path
on the second.
File example:
[File path]
\my_settings\on-off-line_configuration.cfg
In this example, the settings described above will be loaded from the file ‘\my_settings\on-off-line_-
configuration.cfg’.
Note 1: The keys ‘[Timeout]’ and ‘[Commands]’ shall only be given if the On/Offline Trigger value is
set to ‘Modbus’.
Note 2: The settings in this file will be ignored if the application has issued the mailbox message
MB_ON_OFF_LINE_CONFIG. See “Advanced Fieldbus Configuration” on page 118.
•On/Offline trigger source
Values: ‘Link’ (default), ‘EIP’, ‘Modbus’ or a combi-
nation
Timeout Value
Range: 1... 65535 (default = 1).
A value of 10 equals 1000 ms.
Commands (Optional)
Selects what Modbus commands that must be
received during the timeout period.
If the keyword ‘ALL’ is given (default), the On/
Offline functionality will trigger on all Modbus
commands.
Online method (Optional)
Defines how to handle data in the OUT I/O area
when going from Offline to Online.
If “1” (default), “old data” is restored
If “2”, “Offline” data is kept until overwritten by
master.
File Format:
[ON/OFF-line trigger]
Modbus
[Timeout]
10
[Commands]
3, 16, 23
[ON-line method]
1