Rung 4
Indicates on the I/O that the full configuration list is done. This status interlocks rung 5 to prevent the ENABLE
command before configuration is completed.
Rung 5-13,15
Same as in original example.
Rung 14
This rung is a "Convenience" entry. This rung never becomes true. It is needed to configure the MSG instruction
field with constants (drive address, message type etc.). The instance field is changed by the ExecuteMSGlist
routine according to the value in the list.
User's defined type for messages list control:
ExecuteMSGlist routine source code
//This is sub program sends sequence of messages
//This routine is useful for configuration sequences.
SBR(InitList);
IF InitList THEN
//Initialisation state. List of messages initialized
//0 Drive mode - velocity
Config_list.List_instance[0] :=34;
Config_list.List_Value[0] :=1;
//1 Reference source - internal
Config_list.List_instance[1] :=37;
Config_list.List_Value[1] :=1;
//2 Enable switch type - Inhibit only
Config_list.List_instance[2] :=29;
Config_list.List_Value[2] :=0;
//3 Enable Accel/Decel
Config_list.List_instance[3] :=75;
Config_list.List_Value[3] :=1;
//4 Set accel limit for velocity mode
Config_list.List_instance[4] :=76;
Config_list.List_Value[4] :=1000;
//5 Set decel limit for velocity mode
Config_list.List_instance[5] :=77;
Config_list.List_Value[5] :=1000;
//--Total number of messages = 6
Config_list.ListLength:=6;
//reset state to IDLE (==0)
Config_list.State:=0;
ELSE
P94ETH01D
Applications
52
Need help?
Do you have a question about the AC Tech MotionView OnBoard PositionServo ETHERNET/IP and is the answer not in the manual?
Questions and answers