Danfoss MCO 305 Design Manual page 189

Programmable motion controller
Hide thumbs Also See for MCO 305:
Table of Contents

Advertisement

MCO 305 Design Guide
Command
Description
SDOREADSEGP
Segmented read of SDOs
(packed).
SDOSTATE
Checks the result of an
active communication.
SDOWRITE
Sets SDO of a connected
CANopen device.
The following functions support master functionality:
Command
Description
IN
Reads status of digital
input.
INB
Reads one byte from digital
inputs.
OUT
Set or re-set digital
outputs.
OUTB
Alteration of the condition
of a digital output byte.
SET
SET par. 32-00 Incremental
ENCODERTYPE
Signal Type.
__ How to Program __
Syntax
res = SDOREADSEGP
id, index, subindex,
arrayname
res = SDOSTATE id
value
SDOWRITE id index
sub val
Syntax
res = IN n
res = INB n
OUT n s
or
OUT X/n s
OUTB n v
®
MG.33.L5.02 – VLT
is a registered Danfoss trademark
Parameter
id = CAN id number
-id = executes the command without
waiting for the answer
index = 0x2000
subindex = parameter number
arrayname = name of a existing array
id = CAN id
value = parameter value
id = CAN id (1...127)
-id = executes the command without
waiting for the answer
index = index of object
sub = sub index
val = parameter value
Parameter
n = input number
or with CAN open I/O modules:
CAN-Bus + (Module-CAN-ID * 256) +
input number (or input byte)
n = input byte
or with CAN open I/O modules: as above
n = output number
or with CANopen I/O modules:
CAN-Bus + (Module-CAN-ID * 256) +
output number
X/n = terminal / relay number
s = condition (0 = OFF, 1 = ON)
n = output byte,
or with CAN open I/O modules:
CAN-Bus + (Module-CAN-ID * 256) +
output
CAN-Bus: 0 = Master bus
v = value (0 ... 255)
189

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents