background image

Display

F1X5_RS

Data: 13/01/16

file: F1X5_RS_ing.doc

Pag 11/12

Further Information on the making of the two CRC bytes are available on the site www.modicon.com.

The F1X5 MODBUS commands are:

0x03: multiple reading of registers

0x10: writing of several registers.

0x03 READING OF REGISTERS

To read the registers of the instrument, the master must send a query composed as follows (every element is
a byte):

ADDRESS | 0x03 | START_REG_HI | START_REG_LO | N_REG_HI | N_REG_LO | CRC_HI | CRC_LO

-  START_REG_HI | START_REG_LO 

is the address at the starting 16 bit for the reading

N_REG_HI | N_REG_LO 

is the number (16 bit) of the registers to be read

The instrument replies with the following message:

ADDRESS | 0x03 | NBYTE | DATA_1_HI | DATA_1_LO | DATA_2_HI | DATA_2_LO | …
| CRC_HI | CRC_LO

DATA_1_HI | DATA_1_LO | DATA_2_HI | DATA_2_LO | … 

is the sequence of the data

read..

NBYTE 

is the number of the given bytes  that follow

0x10 WRITING OF REGISTERS

To write the registers of the instrument, the master must send a query composed as follows (every element is
a byte):

ADDRESS | 0x10 | START_REG_HI | START_REG_LO | N_REG_HI | N_REG_LO | NBYTE | DATA_1_HI |
DATA_1_LO | DATA_2_HI | DATA_2_LO |…… | CRC_HI | CRC_LO

NBYTE is the number of the given bytes  that follow.

The instrument replies with the following message:

ADDRESS | 0x10 | START_REG_HI | START_REG_LO | N_REG_HI | N_REG_LO | CRC_HI | CRC_LO

ATTENTION!!: to make operative the new value introduced you must send the “reload parameter”
command writing in the Operation Register (*) (address 0x15) the value 0x01.

Exceptions management:

In case the slave recognizes an error in the query received and addressed to it, it replies with an exceptional
message composed as following:

ADDRESS | FUNCTIO 0x80 | EXCEPT. CODE | CRC_HI | CRC_LO

The Exception Code can be one of the following:

01 

Æ

Æ

Æ

Æ

  Illegal Function

: The function code received in the query is not valid.

02 

Æ

Æ

Æ

Æ

  Illegal Data Address

: The address received in the query is not valid.

03 

Æ

Æ

Æ

Æ

  Illegal Data Value

: A value contained in the query is not valid.

Содержание F1X5 RS

Страница 1: ...Display F1X5_RS Data 13 01 16 file F1X5_RS_ing doc Pag 1 12 USER S MANUAL AND MAINTENANCE MICROPROCESSOR DISPLAY F1X5_RS WITH MODBUS RTU SERIAL OUTPUT RS232 RS485 ...

Страница 2: ...d weather avoid open areas Avoid putting the instrument directly on the ground Store the instrument in its original packing Conformity declaration and EC marking The instrument answers to the following Communitarian Directives 2014 30 EU Electromagnetic compatibility 2014 35 EU Low voltage 2011 65 EU RoHS Maintenance Reparations should be done only and exclusively at the FIAMA technical assistance...

Страница 3: ...upply Transducer Terminal Block Serial Output M2 M1 7 8 9 10 Installation Before installing the instrument read the following warnings a Connect the instrument strictly following the instructions of the manual b Carry out the connections using the correct wires within the limits of the tension and power supply as indicated in the technical data c The instrument does not have an ON OFF switch hence...

Страница 4: ...etween neutral and earth 1V and the resistance 6 Ohm Connections entries and exits a Physically separate the entry wires from those of the power supply the exits and the power connections use twined and shielded wires with the display connected to the earth only at one point b Connect the exits of adjustments alarms meters electrovalves motors ventilators etc assembling units RC resistance and con...

Страница 5: ...ue N B If you input a false password the instrument will immediately leave the programming phase Press RESET ENTER and modify the constant value by means of the digits Press RESET ENTER again to confirm your choice Press to start working with other constants or Press to leave the programming section The constants which have to be programmed and can be run over by the digit are the following ones T...

Страница 6: ...ioned values you will get 123 4567 x 100 123456 and IMPULS 10000 The value will be composed by 6 numerals instead of 4 for every visualization Example 2 If you have a proximity sensor and after 10 impulses you need to see the value 7 pls programme in the following way VISUAL 7 and IMPULS 10 Decimal Numbers This constant shows the decimal point position programme 0 if you have not any decimal numbe...

Страница 7: ...al contacts A Increasing count impulses from closed to open phase B Decreasing count impulses from closed to open phase B has to be connected to GND if the sensor is NPN to 12V if the sensor is PNP see connection scheme Debounce Filter for Count Inputs If you use an input coming from a mechanical contact in order to avoid debounce impulses you have to programme this constant 1 In this case you can...

Страница 8: ... Open collector or push pull PNP Mono directional or proximity transducer connection Open collector or push pull NPN Mono directional or proximity encoder connection Open collector or push pull PNP GND B A 12V A B GND A B 12V B A GND A Vcc GND A Vcc NB With jumper Decreasing count B GND Without jumper Increasing B GND count NB With jumper Decreasing B 12V count Without any jumper increasing B 12V ...

Страница 9: ...c 0 15 30Vdc GND Vcc B GND A A B M1 Bi directional connection to the encoder Line driver differential output Micro RESET PRESET max 60 mA F1X50 F1X52 F1X53 0 F1X51 SERIAL OUTPUT CONNECTION M2 1 2 3 4 5 6 GND SERIAL OUT 7 8 RX RS232 RS RS485 TX RS232 RS RS485 NB only one serial output port RS232 or RS485 is active Please refer to F1X5 model ...

Страница 10: ...index end static unsigned char auchCRCHi 0x00 0xC1 0x81 0x40 0x01 0xC0 0x80 0x41 0x01 0xC0 0x80 0x41 0x00 0xC1 0x81 0x40 0x01 0xC0 0x80 0x41 0x00 0xC1 0x81 0x40 0x00 0xC1 0x81 0x40 0x01 0xC0 0x80 0x41 0x01 0xC0 0x80 0x41 0x00 0xC1 0x81 0x40 0x00 0xC1 0x81 0x40 0x01 0xC0 0x80 0x41 0x00 0xC1 0x81 0x40 0x01 0xC0 0x80 0x41 0x01 0xC0 0x80 0x41 0x00 0xC1 0x81 0x40 0x01 0xC0 0x80 0x41 0x00 0xC1 0x81 0x40...

Страница 11: ...G OF REGISTERS To write the registers of the instrument the master must send a query composed as follows every element is a byte ADDRESS 0x10 START_REG_HI START_REG_LO N_REG_HI N_REG_LO NBYTE DATA_1_HI DATA_1_LO DATA_2_HI DATA_2_LO CRC_HI CRC_LO NBYTE is the number of the given bytes that follow The instrument replies with the following message ADDRESS 0x10 START_REG_HI START_REG_LO N_REG_HI N_REG...

Страница 12: ...x14 2 Operation Register 0x15 2 byte HIGH byte don t care this parameter is expressed in encoder count number then is not multiplied by VISUAL IMPULS correction factor The value read from serial port is equal to the display value only if VISUAL IMPULS 4 Technical Features Power supply 115Vac 230Vac 24Vac 15 30Vdc 10 Line frequency 50 60 Hz Power absorbtion 3 VA Display 99999 999999 Inputs type Opt...

Отзывы: