280 • Common MODBUS functionsNetwork communicationModular I/O SystemETHERNET TCP/IP6 Common MODBUS functionsMODBUS functions from the OPEN MODBUS / TCP SPECIFICATION arefound in the application layer of the WAGO ETHERNET fieldbus cou-pler/controller.i More informationMore information on the OPEN MODBUS / TCP SPECIFICATION you canfind in the Internet:http://www.modicon.com/openmbus/standards/openmbus.htmThese functions allow digital or analog input and output data to be set or di-rectly read out of the fieldbus node.Function code Function Descriptionhexadeci-malFC1: 0x01 read coils Reading of several input bitsFC2: 0x02 read input discretes Reading of several input bitsFC3: 0x03 read multiple registers Reading of several input registersFC4: 0x04 read input registers Reading of several input registersFC5: 0x05 write coil Writing of an individual output bitFC6: 0x06 write single register Writing of an individual output registerFC7: 0x07 read exception status Reading of the first 8 input bitsFC11: 0x0B get comm event counters Communication event counterFC15: 0x0F force multiple coils Writing of several output bitsFC16: 0x0010 write multiple registers Writing of several output registersFC23 0x0017 read/write multipleregistersReading and writing of several output registersTab. 6-1: List of the MODBUS functions in the fieldbus coupler and controllerTo execute a desired function, specify the respective function code and the ad-dress of the selected input or output channel.AttentionThe examples listed use the hexadecimal system (i.e.: 0x000) as their numeri-cal format. Addressing begins with 0.The format and beginning of the addressing may vary according to the soft-ware and the control system. All addresses then need to be converted accord-ingly.