EasyManuals Logo
Home>Atlas Copco>Power Tool>PowerMACS 4000

Atlas Copco PowerMACS 4000 User Manual

Atlas Copco PowerMACS 4000
668 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #550 background imageLoading...
Page #550 background image
Peripheral Devices
550 9836 3521 01
8.14.4 Api object
The Api object represents the root of the PowerMACS API and is the only object in the interface that can
be created, or instantiated, by your client application.
Using the Api object your application get a description of the PowerMACS system that the Api currently is
connected to, read and write PLC data and access Process data, such as Cycle data, Trace and Events.
For any method of the Api object to function you must be connected to a PowerMACS target system.
Which TC to connect to is controlled using the property IpAddress. Normally you connect to the system
node, that is, the System TC. However, in order to access the PLC of another station but the first (which
always executes on the System TC) you must connect to the TC on which the station in question runs.
The following methods do only function if connected to the System TC:
If called when not connected to a System TC they will return eRetCmdNotAllowed.
ï‚· GetSetup
ï‚· SetSetup
ï‚· GetSetupItem
ï‚· SetSetupItem
8.14.4.1 Properties
The following table lists all properties on the Api object:
Property Name
Return Type
Description
IpAddress
String
This is the IP-address of the target that the Api will communicate to.
It should be the IP-address of the System TC a Station TC.
Must be set prior to any other call to an API-method.
DeviceInstance
DeviceInstanceEnum
This property points out which API device on the target that the API
should communicate with. Should correspond to the value of the
parameter "Port No" on the targets API device. Its default value is
eDevPrimary.
The syntax for accessing the properties of the Api object is as follows:
object.PropertyName
where object is an expression that evaluates to an object of type Api.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atlas Copco PowerMACS 4000 and is the answer not in the manual?

Atlas Copco PowerMACS 4000 Specifications

General IconGeneral
BrandAtlas Copco
ModelPowerMACS 4000
CategoryPower Tool
LanguageEnglish

Related product manuals