Difference between revisions of "EtherCAT:DIGITAL-IOS"
(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...") |
|||
| Line 16: | Line 16: | ||
[[Axystems:EtherCAT:EC_ASSOCIATE_DRIVE_DINS|EC_ASSOCIATE_DRIVE_DINS]]<br/> | [[Axystems:EtherCAT:EC_ASSOCIATE_DRIVE_DINS|EC_ASSOCIATE_DRIVE_DINS]]<br/> | ||
[[Axystems:EtherCAT:EC_ASSOCIATE_DRIVE_DOUTS|EC_ASSOCIATE_DRIVE_DOUTS]]<br/> | [[Axystems:EtherCAT:EC_ASSOCIATE_DRIVE_DOUTS|EC_ASSOCIATE_DRIVE_DOUTS]]<br/> | ||
| + | <br/> | ||
| + | ==Attaching System IOs to an IO Module== | ||
| + | An IO module doesn't allow reading information about its available PDOs. This information must be inserted<br/> | ||
| + | manually by the user. A dedicated MC-Basic functions exists in ETHERACT.LIB to input datacreate this association:<br/> | ||
| + | [[Axystems:EtherCAT:EC_ASSOCIATE_DRIVE_DINS|EC_ASSOCIATE_DRIVE_DINS]]<br/> | ||
| + | [[Axystems:EtherCAT:EC_ASSOCIATE_DRIVE_DOUTS|EC_ASSOCIATE_DRIVE_DOUTS]]<br/> | ||
}} | }} | ||
Revision as of 13:47, 24 February 2013
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