Prosoft-technology MVI56E-MCMR Bedienungsanleitung Seite 121

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 225
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 120
MVI56E-MCMR ControlLogix Platform Ladder Logic
Modbus Communication Module with Reduced Data Block User Manual
ProSoft Technology, Inc. Page 121 of 225
May 13, 2014
MCMREventCmd
When the command bit (MCMR.CONTROL.EVENTTRIGGERPX) is set in the
example ladder logic, the module will build a block 9901 with the command
contained in the first command of the MCMR.CONTROL.EVENTCMDPX[ ] array.
The module will receive this block and build and send the command to the
specified control device using a MSG block.
The following table describes the data for the command element in the
MCMREVENTCMD array.
Name
Data Type
Description
Enable
INT
0=Disable, 1=Continuous, 2=Event Command
IntAddress
INT
Module’s internal address associated with the
command
PollInt
INT
Minimum number of seconds between issuance
of command (0 to 65535 Sec)
Count
INT
Number of registers associated with the
command
Swap
INT
Swap code used with command
Device
INT
Device index in Device Table to associate with
the command
Func
INT
Function code for the command
DevAddress
INT
Address in device associated with the command
MCMRCmdControl
When the command bit (MCMR.CONTROL.CMDCONTROLPX.CMDTRIGGER) is set
in the example ladder logic, the module will build a block 9901 with the number of
commands set through:
MCMR.CONTROL.CMDCONTROLPX.CMDCONTROLDATA[0].
The command indexes will be set through the controller tags starting from
MCMR.CONTROL.CMDCONTROLPX.CMDCONTROLDATA[1] to
MCMR.CONTROL.CMDCONTROLPX.CMDCONTROLDATA[20]
For example, in order to enable commands 0, 2 and 5 the following values would
be set:
MCMR.CONTROL.CMDCONTROLPX.CMDCONTROLDATA[0] = 3
MCMR.CONTROL.CMDCONTROLPX.CMDCONTROLDATA[1] = 0
MCMR.CONTROL.CMDCONTROLPX.CMDCONTROLDATA[2] = 2
MCMR.CONTROL.CMDCONTROLPX.CMDCONTROLDATA[3] = 5
The module will receive this block and build and send the command to the
specified control device using a MSG block.
The following table describes the data for the command element in
MCMRCMDCONTROL.
Name
Data Type
Description
CmdTrigger
BOOL
Command Trigger
CmdControlData
INT[21]
Command Control Data
CmdControlResp
INT[5]
Command Control Response
CmdErrTrigger
BOOL
Command Error Trigger
CmdErrData
INT[102]
Command Error Data
Seitenansicht 120
1 2 ... 116 117 118 119 120 121 122 123 124 125 126 ... 224 225

Kommentare zu diesen Handbüchern

Keine Kommentare