![background image](http://html1.mh-extra.com/html/ifm/al4043/al4043_operating-instructions-manual_3889139041.webp)
Remote I/O module 16 DI
AL4043
41
The following exception codes are available:
Exception
code
Name
Description
0x1
ILLEGAL FUNCTION
Invalid Function Code (Modbus function not implemented)
0x2
ILLEGAL DATA ADDRESS
Invalid data address (invalid address or length)
0x3
ILLEGAL DATA VALUE
Invalid data value (invalid parameters; wrong number of registers)
0x4
SERVER DEVICE FAILURE
Unrecoverable error in the Modbus server during processing
9.3.3 Configuring the device
Registers 500, 510 and 550 provide access to the following basic settings of the device:
•
Arrangement of the bytes in the data tables:
•
Max. connection time interruption:
•
Arrangement of the process data in registers 0, 400 and 401:
9.3.4 Configuring digital inputs
The register range 100...163 provides access to the filter settings of the digital input channels at pin 2
and 4 of the ports:
Port Configuration - Digital Inputs (100 - 163) (
The following parameters can be configured for each digital input channel:
•
Inversion
•
Hold level
•
Debounce time
•
Hold time
9.3.5 Configuring counter modules
The register area 200...271 provides access to the settings of the counter modules of the ports:
Configuration - Counter (200 - 271) (
The following parameters can be configured for each counter module:
•
Operating mode of the counter module
•
Pin 2 function of the port
•
Instance for selecting the counting direction
•
threshold CT of the main counter
•
threshold CTb of the batch counter
•
Set counter value of the main counter
•
Set the counter value of the batch counter
9.3.6 Reading process data
Registers 0...34 provide access to the unit's process data:
The register range 0..2 contains the following process data:
•
Digital inputs of all ports
•
Overflow and underflow events of the main counter and batch counter of all ports
The register area 3...34 contains the following process data for each port separately:
•
Counter values of the Main Counter and Batch Counter