4.10 Digital IO Screen

The Digital IO screen shows the digital inputs, sets the digital outputs, and controls the PWM and analog outputs where the controller has them.

Open it with Input/Output > Digital IO. ClickGear button (tooltip Access DIO Settings) to expand the window to the Advanced Digital IO Screen.

Applies to: all controllers. The channels shown depend on the model; see Model notes.

On this page:

Digital IO window

Digital outputs and inputs

Button / Display

Description

Related commands

Digital Out boxes 1–4

Output state:Blue on,White off. Click a box to switch the output.

DO

Mode (under Digital Out)

Out, or Sync when the sync function of that axis is on.

SYNC

Digital In boxes 1–4

Input state:Green on. The heading changes to Latch In when a latch is enabled.

DI

Mode (under Digital In)

Input, or Latch when the latch function of that axis is on.

LT

5 - 8 rows

CMD-2ED and CMD-2EX only: outputs DO5–DO8 and inputs DI5–DI8. Click an output box to switch it; a rejected change shows a message.

DO, DI

DO Polarity

L or H: active level of all digital outputs. Not on the CMD-CM3.

DOP

DI Polarity

L or H: active level of all digital inputs. Not on the CMD-CM3.

DIP

If the controller rejects a polarity change, a message says so; when sync output is on, it adds Turn off sync output first.

Return to Top

CMD-CM3: General Purpose Digital Out and Relay Out

Applies to: CMD-CM3 only. The CM3 has no DI/DO commands, so these rows replace the digital outputs.

Digital IO on a CMD-CM3

Display

Description

Related commands

General Purpose Digital Out: GPDO1–GPDO6

Outputs on IO21, IO23, IO25, IO27, IO29 and IO31.Blue on. Click to switch.

IO

Relay Out: MC1–MC3

Relay outputs on IO28, IO30 and IO32.Blue on. Click to switch.

IO

These outputs are active low: an output shows on when its IO bit is 0. The program writes them through the whole IO bit mask, because the CM3 accepts single IO numbers only up to IO21. Point at a box to see its IO number.

Return to Top

PWM and analog outputs

Display

Description

Related commands

PWM 1 (%), PWM 2 (%)

Slider for the PWM duty cycle, 0–100 %. The label shows the duty, or the controller's error reply.

PWM

AO1 (V), AO2 (V)

Slider for the analog output voltage, 0–3.3 V (sent in millivolts). Shown below the PWM rows, or in their place when there is no PWM.

AO

A slider appears only when the controller model has the output (command table) and the controller answers PWM1 or AO1 without an error. On the CMD-4EX the window title is Digital IO - CMD-4EX-SA.

Return to Top

Model notes

Controller

Digital I/O

PWM

AO

CMD-4CR

DO1–4, DI1–4

Yes

Yes

CMD-4EX

DO1–4, DI1–4

If the firmware answers PWM1

Yes

CMD-4ED

DO1–4, DI1–4

—

If the firmware answers AO1

CMD-CM3

GPDO1–6, MC1–3

—

—

CMD-2ED, CMD-2EX

DO1–8, DI1–8

—

—

Digital IO on a CMD-2ED

Return to Top

Related commands and see also

Related commands: DO, DI, DOP, DIP, IO, PWM, AO

See also: 2.1.3.3 General-purpose input/output, 2.1.3.2 High-speed Inputs/Outputs, 4.10.1 Advanced Digital IO Screen

Return to Top