Peripheral Devices
544
9836 3521 01
An API device can be located on the TCs running a station controller. Each of these TCs may have up to
two API devices making it possible for two clients to access the same cycle data, traces, etc. If more than
one device is configured on a particular TC the value of the parameter
Port No
must be used by the client
software to distinguish between them. This is done using the property
DeviceInstance
of the Api object.
Before being able to access signals in one of the PowerMACS station PLCs via the API you must enable
the input and output areas in the PLC. How this is done is described in the chapter: Access to PLC data.
Note!
The PLC input and output data areas are shared with the areas used by the external
communication devices. This means that if an external communication devices is located on TC 1
then the PLC data areas that this device accesses is the same as the area accessed via the API
interface. If you use these simultaneously you must co-ordinate the use of the cells to avoid
unwanted collisions.
If you want to fetch Process data, that is cycle data, events, traces, etc., then you must also add a
Reporter that refers to the API device. Use the Reporter to configure if you want cycle data, events and/or
traces to be accessible from the API. Also, define how cycle data should be formatted, if data is sent in
readable format, i.e. as characters, or in binary format. It is important to understand that it is the
configuration of this reporter that controls the layout and format of the cycle data returned by the API
methods GetCycleData and GetCycleDataBin.
Note!
When your client application first instantiate an Api object it can take some time for the
PowerMACS API ActiveX server to start up. If you are experience any problems accessing a
property/method of the newly created Api instance you should make your application wait some
time for the server to be started.
Содержание PowerMACS 4000
Страница 1: ...User guide PowerMACS 4000 Atlas Copco Tools and Assembly Systems 9836 3521 01 2010 11 Edition 10 3 0...
Страница 2: ......
Страница 46: ...System Architecture 46 9836 3521 01...
Страница 127: ...Set Up and Maintenance 9836 3521 01 127 See chapter Station Set Up for a description of the parameters...
Страница 267: ...Tightening 9836 3521 01 267...
Страница 400: ...Tightening 400 9836 3521 01...
Страница 422: ...Peripheral Devices 422 9836 3521 01 When connected to a system the form will show show the signal values in realtime...
Страница 486: ...Peripheral Devices 486 9836 3521 01...
Страница 622: ...Peripheral Devices 622 9836 3521 01...
Страница 664: ...References 664 9836 3521 01...
Страница 668: ...9836 3521 01 2010 11 Edition 10 3 0 www atlascopco com...