Control Playback of Audio Files via Modbus
This example shows how writing log.1 to the modbus COIL register turns on playback of an audio file from IPLOG. One COIL register is used to end the currently playing file. You can control the volume setting by writing to the HOLDING register.
Used Blocks
GEN_PULSE - Pulse generator.
AUDIO_VOLUME - Adjust the volume for the left and right channels.
MODBUS_GET_HOLDING - Reading a value from the modbus register.
WORD_TO_USINT - Data type conversion.
MODBUS_TCP_SLAVE - Block for configuring the IPLOG unit as a modbus tcp slave.
R_TRIG - Rising edge detection.
AUDIO_STOP - End of the currently playing file / stream.
Modbus_Audio - User created block.

Created User Block
