|
<< Click to Display Table of Contents >>
Configuration by Number Parameters (N/B) |
Use the syntax described on the next table to configure I/O Tags and Block Tags using numeric parameters.
Configuration by numeric parameters (N or B)
Parameter |
Description |
Range |
|---|---|---|
N1 or B1 |
Address of a device to which a Tag communicates |
From 48 to 111 |
N2 or B2 |
Command type. Possible values are 0: Set, writing commands or actions, or 1: Query, reading commands |
0 (zero) or 1 (one) |
N3 or B3 |
Command. Decimal value of the character that identifies a command, according to ASCII encoding. For more information, please check topic Commands |
From 32 to 127 |
N4 or B4 |
Additional parameter. For the c command, identifies the log entry number to read. For all other commands, it must receive 0 (zero) |
From 0 (zero) to 9999 |
NOTE |
Writing commands must have their N2 or B2 parameter equal to 0 (zero) and reading commands must have their N2 or B2 parameter equal to 1 (one). If a command does not match its type, this Driver indicates an error in the parameters. |
Examples of using numeric parameters (N or B)
Numeric Parameter (N/B) |
EQUIVALENT Syntactic Parameter |
||||
|---|---|---|---|---|---|
N1 or B1 |
N2 or B2 |
N3 or B3 |
N4 or B4 |
Device |
Item |
48 |
0 |
65 |
0 |
48 |
Set A |
48 |
0 |
126 |
0 |
48 |
Set ~ |
48 |
1 |
48 |
0 |
48 |
Query 0 |
48 |
1 |
99 |
1234 |
48 |
Query c 1234 |