CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Sun Dec 16, 2018 11:10 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Nov 13, 2018 1:22 pm 
Offline

Joined: Tue Oct 02, 2018 12:26 pm
Posts: 8
Hello,

When I put a function into a ladder element. Some of the inputs are shortened.
For example I_Reco...

Code:
VAR_INPUT
i_CommonSetting : UDT_SettCommon; //Default settings
i_Setting : UDT_SettTrs01; //Settings of the transport section
i_CFG : UDT_CfgTrs01; //Configuration parameters
i_General : UDT_General; //Previous cycle time [us]
i_Record : DINT; //Record within Position DataBlock Downstream section
i_RecordDownstream: DINT ; //Record of the downstream section
i_CmdEnable : BOOL; //CMD: Enable command
i_CmdStart : BOOL; //CMD: Start command
i_CmdReset : BOOL; //CMD: Reset command
i_CmdStop : BOOL; //CMD: Controlled stop
i_CmdIoAvailable : BOOL; //CMD: Signal for indication IO is OK (no Fieldbus or IO error)
i_CmdSafetyOk : BOOL; //CMD: Safety is OK signal
i_CmdReverse : BOOL; //CMD: Running reverse
i_CmdSelectSpeed : INT := 0; //CMD: [1,2,3,4] Select which speed for the Motor to run
i_External : UDT_External; //External input interface
i_SendStatistics : BOOL; //CMD: Trigger Send and clear statisticals
i_IoNotPecEos : BOOL; //HW: Fail safe signal of Photo Electric Cell (TRUE=No product detected)
i_IoPpi : BOOL; //HW: The PPI signal
i_IoEncoder : DINT:= 0; //HW: [mm/sec] encoder displacement
i_LmsBusError : BOOL; //LMS has an bus error
i_LmsBusNotPresent : BOOL; //LMS is not accesable on the bus
i_IoLmsAuto : BOOL := TRUE; //HW: switch of the motor equipment is in 'Automatic' position
i_IoLmsHealthy : BOOL := TRUE; //HW: Healthy signal from motor equipment
END_VAR

VAR_OUTPUT
o_TrsStatus : UDT_StatusTrs01; //Status of transport section
o_IoMtrFwd : BOOL; //HW: Forward run signal to motor of conveyor
o_IoMtrRev : BOOL; //HW: Reverse run signal to motor of conveyor
o_IoSpeedSelect1 : BOOL; //HW: Speed combination bit-1
o_IoSpeedSelect2 : BOOL; //HW: Speed combination bit-2
o_ReadyToRestart : BOOL; //Ready To Restart from system control
o_TrackMonitor : UDT_TrackStatistical; //ST: Monitor tracking data
END_VAR


You do not have the required permissions to view the files attached to this post.

_________________
Industrial automation student from The Netherlands


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited