12.07.2015 Views

Installation/startup instruction (English) - PNet - Trend

Installation/startup instruction (English) - PNet - Trend

Installation/startup instruction (English) - PNet - Trend

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Configure the IQ3/XNC MODBUS Driver6.4.1 Specifying the Data Request CodeThe data code determines the data that is read from or written to the MODBUS devices.Edevice#Ffunction#Aaddress#Nno of values#Ostart output/input#[#ERRerror output]#Cformat#bit order or maskformat2 digit code specifying the formatof the data in the device00 Direct (read/write)04 IEEE value (read/write)05 Direct read with bit 16containing sign.06 IEEE configuration.(read).09 Allows a bit mask to beapplied to a 16 bit word.(read).07 BCD10 Allows a 32 bit value to beread.address5 digit number specifying the register addressof the first value in the device.error output(Optional) 3 digit code specifying the output usedfor the comms status for the specified value.start output/input3 digit number specifying the first TCLoutput/input.no of values2 digit number specifying the number ofvalues.function2 digit code specifying the MODBUS functionused for the communication.01 Read Coil02 Read Discrete Input03 Read Holding Registers04 Read Input Registers05 Write Single Coil06 Write Single Holding Register16 Write Multiple Holding Registersbit order or maskIf specifying bit order it specifies whether themost significant bit is sent first or last (MS/LS= MSB first, LS/MS MSB last.If specifying a mask it determines the bitsthat are required e.g. to retrieve bits 0, 7, 11and 15, the following bit mask value shouldbe used:1000100010000001device3 digit number specifying the address of the device containing therequired data.Note that for all codes the specified number of digits MUST be included. If necessary the code should be padded withleading zeros.24 IQ3/XNC MODBUS Driver Manual TE201101 Issue 2, 12-Apr-2011

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!