Read

Description

This activity reads an object from the configurated address.


Connection

CpuType CpuType REQUIRED

The Cpu on which you are connecting to.

IpAddress InArgument<String> REQUIRED

The IP address of the CPU or of the external Ethernet card.

Rack InArgument<Int16> REQUIRED

The Rack of the plc, that you can find in hardware configuration in Step7.

Slot InArgument<Int16> REQUIRED

The Slot of the plc, that you can find in hardware configuration in Step7.


Misc

Name InArgument<String> REQUIRED

The variable to read by using strings like “DB1.DBW20”, “T45”, “C21”, “DB1.DBD400”.


Value

BoolValue OutArgument<Boolean?>

ByteArrayValue OutArgument<Byte[]>

DateTimeValue OutArgument<DateTime?>

DecimalValue OutArgument<Decimal?>

GuidValue OutArgument<Guid?>

IntValue OutArgument<Int32?>

StringValue OutArgument<String>