background image

3. MODBUS Protocol

IM 249x-COMM

13

Exception Codes

If there is a communication error, such as parity, LRC or CRC the Power Series
Plus will not respond.  If there is no communication error, but the device cannot
handle the query for some reason, it will return one of the following exception
codes:

01 –

Illegal Function
The function code received in the query is not an allowable action for the
slave.

02 –  Illegal Data Address

The data address received in the query is not an allowable address for the
slave.

03 –  Illegal Data Value

A value contained in the query data field is not an allowable value for the
slave.

09 –  EEPROM Write Error

Data was not correctly saved to EEPROM.  If there is a power outage, the
unit will not save the changes made.  Contact your distributor.

Changing Modbus Settings:

The network address, baud rate, transmission mode and parity setting can only
be changed using the front panel interface.

To get to the setting mode press the keys in the following order –

Mode - Mode – Set.

The display will now be showing the PT ratio ‘Pt’ or the CT ratio ‘Ct’.  Now press
Next repeatedly until you see ‘Addr’ in the top display.  The middle display will be
showing the current address of the unit.  To change it, press Set.  The first digit
will start blinking.  Press Inc to increment the first digit, or press Next to move to
the second digit.  When you are finished changing the value, press Set.  Both
digits will begin blinking.  Press Set once again to save the value in EEPROM
and move on the next settings.  Pressing Mode at any time will back you out of
the process.

Now the top display will show ‘Sci’ – Serial Comm Interface.  The middle display
will show three values – the baud rate, the transmission mode and the parity,
separated by dots.  The default looks like – ’96.r.n’, meaning 9600 bps, RTU
mode, no parity.  To change a setting press Set.  The baud rate will start to blink.

Summary of Contents for Power Series Plus IM 249x-COMM

Page 1: ...Communications Power Series Plus Manual Power Series Plus Digital Switchboard Meter IM 249x COMM 1 IM 249x COMM Revision 1 October 1999...

Page 2: ...okogawa Corporation of America 0 Introduction 1 YCA Protocol 2 Getting Current Settings and Display 3 Changing Settings 3 Unit Responses and Error Codes 7 Modbus Protocol 8 Function Codes 8 Register T...

Page 3: ...You can read and change all the settings and read all measurements You can choose one of two available protocols for communications YCA or Modbus available only on 2493 YCA protocol is a simple master...

Page 4: ...changed from the front panel Each unit in a network must have a unique number for communications to work The default on all units is 01 The FUNCTION is one of the following codes Note The functions a...

Page 5: ...are the new settings parameters The format is described below Potential Transformer DP aa PT xxxxxy xxx The part before the slash is the value that you want to make the primary side of the transformer...

Page 6: ...nd 01 DONE If you exceed the ratio limits for PT that is 1 1 or 1250 1 or make some other mistake you will get an error message such as 01 ERR 6C The error codes are explained under the Unit Responses...

Page 7: ...ou would enter DP 01 OUT1 160 0 0 HI 160 LO 0 CENTER 0 to 1 If you want a wattmeter with 1to1 mA output to give max output 1mA when the input is 15050 Watts and minimum output 1mA when the input is 15...

Page 8: ...atts B DUAL Watts Power Factor 3 VARs C TRIPLE Volt Volt Volt 5 Power Factor D TRIPLE Amp Amp Amp 6 Phase Angle E TRIPLE Volt Amp Hertz 7 Hertz F TRIPLE Watt VAR PF 8 DUAL Volts Amps b Input Frequency...

Page 9: ...no analog output TMER When you send a DP message to change a setting you must confirm it within ten 10 seconds or the change is discarded and the unit replies with this DONE When a change has been mad...

Page 10: ...re not returned to broadcast queries The Power Series Plus always acts as a slave in accordance with The Modicon Modbus Reference Guide PI MBUS 300 It has the following characteristics Interface RS 48...

Page 11: ...Model Code 12 V V V 13 A A A 14 V A Hz 15 W VAR PF 3 0002 CONN R Unsigned int Terminal Connections 0 2Wire 1 3Wire 2 4Wire 4 0003 VOLT R Unsigned int Input Voltage Rating 0 120 150Volts 1 240 300Volt...

Page 12: ...ytes I3 R Amps IEEE float Latest I3 Measurement 49 0030 4 bytes HZ R Hertz IEEE float Latest Frequency Measurement 51 0032 4 bytes W R Watts IEEE float Latest Watt Measurement 53 0034 4 bytes VAR R VA...

Page 13: ...R W Volts IEEE float Maximum V1 Measurement 99 0062 4 bytes V2MAX R W Volts IEEE float Maximum V2 Measurement 101 0064 4 bytes V3MAX R W Volts IEEE float Maximum V3 Measurement 103 0066 4 bytes I1MAX...

Page 14: ...e 121 0078 Spare 122 0079 Spare 123 007A Spare 124 007B Spare 125 007C Spare 126 007D Spare 127 007E Internal 128 007F Internal 129 0080 Internal 130 0081 Internal 131 0082 Internal 132 0083 Internal...

Page 15: ...ssion mode and parity setting can only be changed using the front panel interface To get to the setting mode press the keys in the following order Mode Mode Set The display will now be showing the PT...

Page 16: ...tes on Modbus Out of range floating point values are shown as 3 40282347 X 1038 The PSP uses a Motorola microcontroller This means that Intel based software such as Windows might interpret the floatin...

Page 17: ...Connection Power Supply The far end can be connected to any communications device that is acting as the master such as a computer The unit can also be connected in parallel with other units If you wi...

Reviews: