EtherCAT:DIGITAL-IOS
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
Attaching System IOs to an IO Module
An IO module doesn't allow reading information about its available PDOs. This information must be inserted
manually by the user. A dedicated MC-Basic functions exists in ETHERACT.LIB to input datacreate this association:
EC_ASSOCIATE_DRIVE_DINS
EC_ASSOCIATE_DRIVE_DOUTS