Download 5300-5600_BASIC_Reference_en-US_RevA

Transcript
POS.CHKn.OUT
variable
(integer)
Purpose
POS.CHKn.OUT (Position Check Output Specifier) is used in
conjunction with POS.CHKn to implement Position Check n. Position
Check functions as a programmable limit switch output.
Note: Refer to Section 2.4, “Using the Position Check Function”, for
additional information.
POS.CHKn.OUT can be set to one of three values:
Value
Description
0
Position check n disabled
10
Position check n enabled
If (POSITION >= POS.CHKn) then OUTn = 0
If (POSITION < POS.CHKn) then OUTn = 1
11
Position check n enabled
If (POSITION >= POS.CHKn) then OUTn = 1
If (POSITION < POS.CHKn) then OUTn = 0
Syntax
POS.CHKn.OUT = 0
POS.CHKn.OUT = 10
POS.CHKn.OUT = 11
Default
x=0
Related
instructions
POS.CHKn — position to trigger POS.CHKn.OUT.
3 - 90
StepperBASIC Reference Manual
Rev F