Read a signal from ACOPOS P3

Hello,

I am using ACOPOS P3 servo drive (8EI8X8HWT10.0500-1) and an industrial controller (5APC2200.AL14-000).
In the ACOPOS driver, terminal X8 wired a signal that I would like to use and monitor(trace) via the Automation studio for system inspection.
I am looking for a function to read this param (input signal) from the driver, can you please advise what function to use?
I would be grateful for an example to describe the implementation.

Hi there,

it depends on what you are using:

ACP10 (legacy): MC_ReadDigitalInput


mappMotion:
When using MpAxisBasic-FUB: it has a structure member for that

When not using MpAxisBasic:
Manual ParID reading (see here): ParID STAT_TRIGGER1 B&R Online Help via MC_BR_ProcessParID_AcpAx

Hope that helps
Best regards
Michael

Thank you for replying.

first, I am using ACP10.

In addition, in the manual it is noted that this function regards ACOPOS 8AC130.xx-x 8AC131.xx-x , ACOPOSmulti 8BAC0130.000-x or ACOPOS P3 8EAC013x.000-1 plug-in module but I am using ACOPOS P3 8EI8X8HWT10.0500-1

I do not see an example or instruction in the manual.
how can I know what input/slot/channel is it?

I didn’t look too closely, sorry. Reading the ParID via MC_BR_ReadParID would work on ACP10 - Link

Hi,

if you use mapp Motion use this FB:
MC_ReadAxisInfo
Output: “AdditionalInfo.DigitalInputStatus”

If you use Acp10 use this FB:
MC_BR_ReadDriveStatus
Create a process variable of type MC_DRIVESTATUS_TYP and give the FB the address.

The digital inputs directly on the drive are transferred automatically to the PLC every cycle. No additional read is necessary.
The FBs I mentioned above simply put out the already available status of the digital inputs (among other things).

2 Likes

What of using mapp motion, but the drive has a 8EAC0130 module installed? How can these IO be accessed?

MC_BR_CyclicProcessParID_AcpAx can be used to read and write to the IO.
You can define which IO you’d like to read in in the McAcpAxCycParIDType structure.
If you want to control the outputs you’ll need to make sure they are enabled first, it’s ParID 6001 if the card is in the first slot on the P3.

2 Likes