EasyManuals Logo

Galil Motion Control DMC-40x0 Series User Manual

Default Icon
280 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #197 background imageLoading...
Page #197 background image
DMC-40x0 Command Reference P2NM • 187
P2NM
FUNCTION: Serial port 2 number
DESCRIPTION:
P2NM converts from ASCII (e.g. “1234”) to binary so that a number can be stored into a variable
and math can be performed on it. Numbers from -2147483648 to 2147483647 can be
processed.
P2NM returns the last number (followed by carriage return) sent to auxiliary serial port (port 2)
USAGE: DEFAULTS:
While Moving Yes Default Value -
In a Program Yes Default Format -
Command Line Yes
Controller Usage
ALL CONTROLLERS
RELATED COMMANDS:
P2CD Serial port 2 code
P2CH Serial port 2 character
P2ST Serial port 2 string
CI Configure #COMINT
CC Configure serial port 2
#COMINT Communication interrupt automatic subroutine
EXAMPLES:
:^R^V
DMC4040 Rev 1.0
:^R^S
:CC 9600,0,1,0
:MG "TEST" {P2} ;'send a message to the hand terminal
:x = P2NM ;'the 1, 2, 3, <enter> buttons were pushed
:MG x
123.0000
:

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Galil Motion Control DMC-40x0 Series and is the answer not in the manual?

Galil Motion Control DMC-40x0 Series Specifications

General IconGeneral
BrandGalil Motion Control
ModelDMC-40x0 Series
CategoryController
LanguageEnglish

Related product manuals