[N] Parameters for Addressing PLC Tags

<< Click to Display Table of Contents >>

 

[N] Parameters for Addressing PLC Tags

N1

Number of a slave. Use the value 900 for a broadcast address

N2

Number of a channel. The default value is 0 (zero)

N3

Data type. For more information, please check the next table

N4

Number of a data by the category of a slave (I, O, S, V, or M)

 

To communicate with REJ-525 relays, add the value 5000 to the N1 parameter. For example, to address the REJ-525 slave with number 3 (three), configure the N1 parameter with the value 5003.

The N3 parameter must have one of the values referring to the type of function or data type to be executed, read, or written, as described on the next table. For data types 17 and 19, users can configure the N4 parameter with an additional time, in milliseconds, to compensate a network delay. The syncing interval is defined by a Tag's scan time.

Data types retrieved by PLC Tags

Value

Description

0

Data input (I)

1

Data output (O)

2

Configuration of values (S)

3

Internal variables (V)

4

Memory data (M)

5

Status of a slave (C)

6

Identification of a slave (F)

7

Hour (D)

8

Last events (L) in Text format

9

Data and time (T)

10

Last events from the backup buffer (B) in Text format

11

Valid alarm (A)

17

Clock syncing Tag (full date and time, read-only)

19

Clock syncing Tag (only seconds, read-only)

101

Indicates whether there are events stored in this Driver's internal buffer of events

102

Indicates whether the respective Tag for automatic scanning of events is in Online mode

Was this page useful?