Configuration by Numerical Parameters (N/B)

<< Click to Display Table of Contents >>

 

Configuration by Numerical Parameters (N/B)

Use the default syntax described on the next table for all Tags and Blocks.

Default syntax for Tags and Blocks

Parameter

Description

N1/B1

PLC address. If it is equal to 0 (zero) and the selected protocol is different from ISOTCP or ISOTCP243, then it is replaced by the Default Slave Address. If the selected protocol is ISOTCP or ISOTCP243, this value must be left as 0 (zero)

N2/B2

Data type and Data area. For more information, please check the next tables. This value must be composed by the data type multiplied by 100 plus the data area (its formula is N2/B2 = DataType × 100 + Area)

N3/B3

If the selected area is V (DB), fill it in with the number of the DB block. Otherwise, leave it in 0 (zero). If the memory contains a single or unspecified DB block, fill it in with the value 1 (one)

N4/B4

DB block's address in the data area or offset. To use data types that require more than one byte, use addresses that are multiples of two for two-byte types (signed or unsigned 16-bit) and multiples of four for four-byte types (signed or unsigned 32-bit and 32-bit floating point)

 

Available options for data types

Data Type

Meaning

0

Data area's default

1

BOOL (Boolean)

2

BYTE (unsigned 8-bit)

3

WORD (unsigned 16-bit)

4

INT (signed 16-bit)

5

DWORD (unsigned 32-bit)

6

DINT (signed 32-bit)

7

REAL (32-bit floating point, IEEE 754)

8

STRING

12

S5TIME (time in seconds, 32-bit floating point, IEEE 754, please check the next note)

13

WSTRING

32

BYTE (unsigned 8-bit, LSB First)

33

WORD (unsigned 16-bit, LSB First)

34

INT (signed 16-bit, LSB First)

35

DWORD (unsigned 32-bit, LSB First)

36

DINT (signed 32-bit, LSB First)

43

WORD (unsigned 16-bit, least significant byte first)

44

INT (signed 16-bit, least significant byte first)

45

DWORD (unsigned 32-bit, least significant byte first)

46

DINT (signed 32-bit, least significant byte first)

 

Available options for data areas

Data Area

Meaning

0

S

1

SM

2

AI (Analog Input)

3

AQ (Analog Output)

4

C (Counter)

5

T (Timer)

6

I (Digital Input)

7

Q (Digital Output)

8

M (Memory)

9

V (DB)

10

HC (High Speed Counter)

 

NOTES

LSB First data types consider the bit order is the least significant bit comes first and its interpretation is as the reverse of the other data types.

Data types with the least significant byte first consider the byte order is the least significant byte comes first and the most significant byte comes last.

For S5Time data types, the value to be filled in is always in seconds, as a 32-bit floating point. The range of values different from zero is between 0.01 and 9990.0 seconds. The time base is filled in or interpreted automatically.

In the PPI protocol there is a limitation in the I/O Block for data in bytes. When reading, the maximum allowed is 224 bytes, and when writing it is 218 bytes. This means, respectively, that for Word data types (16 bits), a Block cannot have more than 112 and 109 Elements. For DWord data types (32 bits), a Block cannot have more than 56 and 54 Elements, and so on.

If Rack and Slot definitions are unknown for Tag addressing in the ISOTCP protocol, please check article KB-39019: Rack and Slot settings on Elipse Knowledgebase.

Was this page useful?