Download Print this page

Lenze AC Tech MotionView OnBoard PositionServo ETHERNET/IP Reference Manual page 29

Communications protocol

Advertisement

Click on the [+] icon next to the tag name to expand the tags and reveal the output and input configuration. The
output tag for this example program requires two REAL data words as shown in Figure 22. The input tag for this
example requires nine REAL data words (Figure 23) and input status tag requires two 32-bit words
-
SimpleServo:I
-
SimpleServo:I.Data
SimpleServo:I.Data[0]
SimpleServo:I.Data[1]
SimpleServo:I.Data[2]
SimpleServo:I.Data[3]
SimpleServo:I.Data[4]
SimpleServo:I.Data[5]
SimpleServo:I.Data[6]
SimpleServo:I.Data[7]
SimpleServo:I.Data[8]
SimpleServo:O
-
-
SimpleServo:O.Data
SimpleServo:O.Data[0]
SimpleServo:O.Data[1]
-
SimpleServo:S
u
-
SimpleServo:S.Data]
+ SimpleServo:S.Data[0]
+ SimpleServo:S.Data[1]
Figure 23: Input, Output and Status Tags for Ladder Logic Program
Program Tags
In addition to the controller tags that are automatically created, the following program tags must be created for
this example program.
Name
CMD_DriveEnable
+
Simple Servo:C
+
SimpleServo:I
+
SimpleServo:O
SimpleServo:S
+
VelocityReferenceRPS
StatusFlag_DriveEnabled
StatusFlag_DriveFaut
ActualVelocity
CMD_ReferenceVelocity
DriveEnable
u
PLCOUT_DriveEnabled
PLCOUT_DriveFault
Cyclic Data Access
{. . .}
{. . .}
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
{. . .}
{. . .}
0.0
0.0
{. . .}
{. . .}
0
0
r
f
Value
Force Mask
Style
Decimal
{. . .}
{. . .}
{. . .}
{. . .}
{. . .}
{. . .}
{. . .}
{. . .}
0.0
Float
0
Decimal
0
Decimal
0.0
Float
0.0
Float
0.0
Float
0
Decimal
0
Decimal
Figure 24: Program Tags for Example Program
25
{. . .}
AB:ETHERNET_MODULE_REAL_36Bytes:I:0
{. . .} Float
REAL[9]
Float
REAL
Float
REAL
Float
REAL
Float
REAL
Float
REAL
Float
REAL
Float
REAL
Float
REAL
Float
REAL
{. . .}
AB:ETHERNET_MODULE_REAL_8Bytes:O:0
{. . .} Float
REAL[2]
Float
REAL
Float
REAL
{. . .}
AB:ETHERNET_MODULE_DINT_8Bytes:S:0
{. . .} Decimal
DINT[2]
Decimal
DINT
Decimal
DINT
f
Data Type
BOOL
AB:ETHERNET_MODULE:C:0
AB:ETHERNET_MODULE_REAL_36Bytes:I:0
AB:ETHERNET_MODULE_REAL_8Bytes:O:0
AB:ETHERNET_MODULE_DINT_8Bytes:S:0
REAL
BOOL
BOOL
REAL
REAL
REAL
BOOL
BOOL
Description
Enable command
Drive velocity reference
Feedback velocity from the...
Velocity set point reference
Drive enable control variable...
P94ETH01D

Advertisement

loading
Need help?

Need help?

Do you have a question about the AC Tech MotionView OnBoard PositionServo ETHERNET/IP and is the answer not in the manual?

Questions and answers