Status of a Device

<< Click to Display Table of Contents >>

 

Status of a Device

Reading or Writing

 

N1 or B1

Address of a device in the network, between 1 (one) and 63

N2 or B2

11

N3 or B3

Address of data

N4 or B4

Not used, leave it in 0 (zero)

 

This Tag reads status information from a device. Reading this information is performed in blocks using the RT command of Mewtocol-COM protocol. The address indicated in the N3 or B3 parameter defines which information is extracted from that block. Although this information can be read by using a PLC Tag, it is recommended using Block Tags, as information is read from a device only in blocks. In case of PLC Tags, this Driver must read a full status block and then return only the information requested by an application. Preferably, create a Block Tag with 21 Elements and the B3 parameter equal to 0 (zero) so that readings follow the scan configuration of this Tag. Please check table Possible values for the N3 or B3 parameter for a description of each Element or address.

Was this page useful?