![ProSoft Technology CompactLogix MVI69E-MBS Скачать руководство пользователя страница 62](http://html.mh-extra.com/html/prosoft-technology/compactlogix-mvi69e-mbs/compactlogix-mvi69e-mbs_user-manual_1618913062.webp)
MVI69E-MBS ♦ CompactLogix™ Platform
Using Controller Tags
Modbus Serial Enhanced Communication Module
User Manual
ProSoft Technology, Inc.
Page 62 of 159
MBS.CONTROL.SlavePoll
This array allows the processor to enable, disable and retrieve status for slaves.
Tag Name
Range
Description
MBS.CONTROL.SlavePoll.Port
x
-
Port
x
slave polling control.
MBS.CONTROL.SlavePoll.Port
x
.
EnableSlaves
0 or 1
Slave Poll request.
0 = Disable, 1 = Enable
Note:
The AOI resets the tag to 0 after being enabled.
MBS.CONTROL.SlavePoll.Port
x
.
EnableSlaveCount
1 to 60
Total number of slaves to be enabled in the
MBS.CONTROL.SlavePoll.Port
x
.EnableSlavesIDs[x]
array.
MBS.CONTROL.SlavePoll.Port
x
.
EnableSlavesIDs[x]
-
The list of slave
ID’s to be enabled.
Example:
To enable slave ID’s
1
,
3
, and
4
; enter the
following values:
MBS.CONTROL.SlavePoll.Port
x
.EnableSlavesIDs[0] =
1
MBS.CONTROL.SlavePoll.Port
x
.EnableSlavesIDs[1] =
3
MBS.CONTROL.SlavePoll.Port
x
.EnableSlavesIDs[2] =
4
A value of
‘
3
’ would be entered in the
MBS.CONTROL.SlavePoll.Port
x
.EnableSlaveCount
tag
since there are 3 slave ID’s to enable.
Note:
The AOI will
not
reset the tag array to 0 after
being enabled.
MBS.CONTROL.SlavePoll.Port
x
.
DisableSlaves
0 or 1
Triggers disable slaves request.
0 = Disable, 1 = Enable
Note:
The AOI resets the tag to 0 after being enabled.
MBS.CONTROL.SlavePoll.Port
x
.
DisableSlaveCount
1 to 60
Number of slaves to be disabled.
MBS.CONTROL.SlavePoll.Port
x
.
DisableSlavesIDs[x]
-
The list of the slave
ID’s to be disabled.
Example:
To disable slave ID’s
1
,
3
, and
4
; enter the
following values:
MBS.CONTROL.SlavePoll.Port
x
.DisableSlavesIDs[0] =
1
MBS.CONTROL.SlavePoll.Port
x
.DisableSlavesIDs[1] =
3
MBS.CONTROL.SlavePoll.Port
x
.DisableSlavesIDs[2] =
4
A value of ‘
3
’ would be entered in the
MBS.CONTROL.SlavePoll.Port
x
.DisableSlaveCount
tag since there are 3 slave ID’s to disable.
Note:
The AOI will
not
reset the tag array to 0 after
being enabled.
MBS.CONTROL.SlavePoll.Port
x
.
GetSlavesStatus
0 or 1
Triggers request to read slave status.
0 = Disable, 1 = Enabled
MBS.CONTROL.SlavePoll.Port
x
.
SlavesStatus[x]
-
Data array with status.