Configure Channel Output Value Of Do Module; Configure Channel Output Value Of Da Module - Zmotion ZMIO310 Manual

Verticale bus expansion module
Table of Contents

Advertisement

6.4.7. Configure Channel Output Value of DO Module

Function description
Object to use
Data dictionary
Examples
Note: if SDO command is used to configure DO output, it is only valid before EtherCAT
START, because after EtherCAT START, controller will open PDO command to configure
DO channel output automatically, PDO real-time is high, and it covers DO channel data of
SDO configuration. PDO command corresponds to OP in ZBasic, please refer to ZBasic
manual for specific usage of OP.

6.4.8. Configure Channel Output Value of DA Module

Function description
Object to use
Data dictionary
ZMIO310 Vertical Bus Expansion Module User Manual V1.0
This function is only used to configure the channel output
value of DO module, and one of DO module has 16 channels
(channel 0-15).
Four hexadecimal numbers are converted to sixteen binary
numbers, each bit represents the output status of each
channel.
Analog output module: ZMIO310-16DO
7030h, 7040h: 7000h + extension No. of corresponding DO
module * 10, please refer to Chapter 6.4.1 for sub-module
address assignment.
'7030h, 7040h are the DO module control dictionary
'configure the channel state of the first DO module's high 8 bits
to ON, and the low 8 bits to OFF
SDO_WRITE(0,0,$7030h,1,6, 0xFF00)
'configure the channel state of the second DO module's high 8
bits to OFF, and the low 8 bits to ON.
SDO_WRITE(0,0,$7040h,1,6, 0x00FF)
This function is only used to configure the channel output
value of DA module, and one of DA module has 4 channels, they
are channel 0, channel 1, channel 2, and channel 3.
Analog output module: ZMIO310-4DA.
7061h: 7001h + extension No. of corresponding DA module *
10, please refer to Chapter 6.4.1 for sub-module address

Advertisement

Table of Contents
loading

Table of Contents