Input/Output
|
Description
|
---|---|
Counter_Clear output
|
To be connected to the corresponding input of the drive.
When the Counter_Clear output is enabled, the Set Position function also orders the drive to reset its internal counter.
|
Parameter
|
Valid Values
|
---|---|
Homing I/O Settings
|
Value 0: No I/O used (Default)
Value 1: With Counter_Clear Output
Value 2: With Counter_in_Position Input: not used with SetPosition command.
|
![]() |
UNINTENDED APPLICATION BEHAVIOR-COMMAND SENT ON EACH PLC CYCLE
Commands will be sent on every PLC cycle if EN is set to 1.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
|
(*BYTE*) := SETPOSITION (CH := (*ANY_IODDT*), POSITION := (*DINT*));
SETPOSITION (CH := (*ANY_IODDT*), POSITION := (*DINT*)) ST (*BYTE*)
if (SetPos = True) then %CH0.1.0.CMD_CODE := 6; %CH0.1.0.TGT_POSITION := 50000; WRITE_CMD(%CH0.1.0); SetPos := False; end_if;
Parameter
|
Valid Values
|
---|---|
Position (in Pulses)
|
- 2,147,483,648 to 2,147,483,647 (Enclosed between SW Low Limit and SW High Limit)
|