User Manual

MCP Series
Brushed DC Motor Controllers
MCP Series User Manual
175
PUTS
Syntax
puts stream,[{modiers}data1,...,{modiers}dataN]
Stream - is a variable, constant or expression that species the stream to send data to.
Modiers - see the Modiers section of the manual for specic syntax and usage.
Data1...DataN - are variables, constants or expressions that species the data to be sent
to the specied stream.
Description
The PUTS command is used to send data to an active stream, for communciations with with
microcontrollers, computers or networks(see CAN). The PUTS command is also usefull when
debugging your MCL script.
Stream Types
USB Virtual Communications Port 0
CAN (CANOpen or raw CAN) 1
TTL UART 2
RS232 UART 3