background image

2. YCA Protocol

2. YCA PROTOCOL

IM 249x-COMM

2

This is a protocol developed by YCA.  It uses ASCII characters.  All units act as
slaves in a master-slave network.  There is no broadcast option.

The communications settings for the software are as follows:

Baud Rate: 9600, 4800, 2400 or 1200 bps (set using the front panel)
8 Data Bits, 1 Stop Bit, No Parity.

To communicate with the unit over a serial line the following string is sent:

<stx> <COMMAND><SP> <ADDRESS><SP> <FUNCTION><SP> <parameters> <CR> <etx>

  The special characters ‘stx’ and ‘etx’ are standard communications codes and

most software will insert them automatically.  ‘CR’ stands for ‘Carriage
Return’, also referred to as ‘Enter’.  ‘SP’ stands for the ‘Space’ character.

  The COMMAND can be one of two choices:

‘DG’

to get settings

‘DP’

-

to change settings

  The ADDRESS is a two-digit number from 01 to 32.  The address can only be

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 available depend on the particular model)

Code

Function

 

 

 

 

PT 

- Potential Transformer Ratio

CT 

- Current Transformer Ratio

OUT1 - Analog Output for upper (

or single

) display 

(upper limit, zero offset & center)

OUT2 - Analog Output for second display (

if there is one (2492/2493 only)

)

OUT3 - Analog Output for third display (

if there is one (2493 only)

)

AVG - Sample Average for all displays
LOCK -  disables/Enables the keys
DISP   - Show the latest measurement(s) 

(works only with the ‘DG’ command.)

F

- Gives the model code 

(‘DG’ only)

MIN   - Show or reset minimum measurement(s) (2493 only)
MAX  - Show or reset maximum measurement(s) (2493 only)
LL

- Line-to-line voltages or line-to neutral (

Voltmeters only

) (2493 only)

 The 

parameters are dependent on the function.  They are not needed when

the command is ‘DG’, only for ‘DP’.  See the section “

Changing Settings” for

an explanation of all the parameters.

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: