05.01.2013 Views

eWON General Reference Guide - eWON wiki

eWON General Reference Guide - eWON wiki

eWON General Reference Guide - eWON wiki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Note: The Modifier can by omitted, the modifier in bold will be used.<br />

<strong>General</strong> <strong>Reference</strong> <strong>Guide</strong> IO Servers Configuration<br />

(*) Important: To avoid loss of precision due to Integer to float conversion, choose the right storage DataType for your Tag.<br />

See "DataType of Tags" on page 75<br />

Examples<br />

• Status register:<br />

L CPU Link Bit Hxxxxxx<br />

H stands for hexadecimal<br />

x: 1 to 6 digits hexadecimal indicating bit offset<br />

WL CPU Link Word W, S Hxxxxxx<br />

H stands for hexadecimal<br />

x: 1 to 6 digits hexadecimal indicating word offset<br />

DL CPU Link Double D, L, F Hxxxxxx<br />

H stands for hexadecimal<br />

x: 1 to 6 digits hexadecimal indicating word offset<br />

The STATUS Tag is a special Tag that returns information about the current state of communication for a given device. As for the other Tags, the<br />

status Tag ValueName is composed of:<br />

Status, Global Device Address<br />

• You can define a status Tag for each PLC used.<br />

• If you use the status address, the Tag must be configured as analog.<br />

0<br />

Symbol Modifier value range<br />

Automatic<br />

Tag type<br />

W Word 0 .. 65535 DWord<br />

S signed Word -32768 .. 32767 Integer<br />

D DWord 0 .. 4294967296 (*) DWord<br />

L signed DWord -2147483648 .. 2147483647 (*) Integer<br />

F Float +/- 3.4e38 Float<br />

Table 129: HITACHI Modifiers<br />

address point to<br />

XH00103 selection of bit3 of word 0 of the input device located at remote:0 unit:0 slot:1<br />

WYH0011 selection of word 0 of the output device located at at remote:0 unit:0 slot 1<br />

RH105 bit 105 hex (261 decimal) of the Internal Output Bit Dedicated area<br />

WRSH10 short located at word 10 hex of the WR area<br />

WMH10 word 10 hex of the Internal Word Output Common area<br />

DMH10 double word 10 + 11 hex of the Internal Word Output Common area<br />

WMH000010<br />

word 10 hex of the Internal Word Output Common area<br />

(WMH10 is more optimal)<br />

Table 130: HITACHI register address examples<br />

Communication not initialized. Status UNKNOWN.<br />

If no Tag is polled on that device address, the communication status is unknown.<br />

1 Communication OK.<br />

2 Communication NOT OK.<br />

Table 128: HITACHI Memory types and address scheme<br />

Table 131: Tag Status meaning<br />

RG-001-0-EN ver 1.14 <strong>eWON</strong>® - 02/05/2012 - ©<strong>eWON</strong> sa Page 151

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

Saved successfully!

Ooh no, something went wrong!