EtherCAT:DIGITAL-IOS

From SoftMC-Wiki
Revision as of 13:12, 24 February 2013 by Nigeller (talk | contribs) (Created page with "{{Category |description=Digital Inputs/Outputs. |frontpage=Axystems:EtherCAT The user can associate between system digital Inputs/Outputs and a motion drive’s digital i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

EtherCAT:DIGITAL-IOS Digital Inputs/Outputs.

The front page is Axystems:EtherCAT

The user can associate between system digital Inputs/Outputs and a motion drive’s digital inputs/outputs or an IO module inputs/outputs.
This association allows the user to set/get those IOs using the following MC-Basic syntax:

Read inputs:
?Sys.din[<first system digital input bit>][<Range>]

Write outputs:
Sys.dout[<first system digital output bit>][<Range>] = <value>

Attaching System IOs to Drive IOs

Two dedicated MC-Basic functions exist in ETHERACT.LIB to create this association:
EC_ASSOCIATE_DRIVE_DINS
EC_ASSOCIATE_DRIVE_DOUTS