Post by manuknecht on Using SMC_MOVTYP.INITPOS without specifying the start position
CODESYS Forge
talk
(Post)
I am using the object SMC_GEOINFO to generate a trajectory and move a system accordingly using the SMC_INTERPOLATOR function block similar to the sample project CNC10_DynamicPath.project. According to the documentation, the movement type INITPOS does not require a start position in the SMC_GEOINFO object, which is confirmed in the documentation of the SMC_GEOINFO object. When using the movement type INITPOS however, the motion will still start from the starting point defined in the SMC_GEOINFO object (0,0,0 if not specified otherwise). Does someone know how to resolve this or is there an example project that makes use of the INITPOS movement type without specifying the starting point? Thanks in advance!
Last updated: 2023-12-15
Question on LZS_DEFINE_ACCU_FLOW service type
CODESYS Forge
talk
(Thread)
Question on LZS_DEFINE_ACCU_FLOW service type
Last updated: 2007-03-01
Characters inside a string type.
CODESYS Forge
talk
(Thread)
Characters inside a string type.
Last updated: 2012-03-26
about TYPE AND END_TYPE
CODESYS Forge
talk
(Thread)
about TYPE AND END_TYPE
Last updated: 2014-10-22
how to FUNCTION type VOID
CODESYS Forge
talk
(Thread)
how to FUNCTION type VOID
Last updated: 2013-10-18
BIT type in persistent memory
CODESYS Forge
talk
(Thread)
BIT type in persistent memory
Last updated: 2022-03-17
Cannot convert 'STRING' to type 'STRING'
CODESYS Forge
talk
(Thread)
Cannot convert 'STRING' to type 'STRING'
Last updated: 2014-03-31
Mail Service IIoT : Choose TLS type?
CODESYS Forge
talk
(Thread)
Mail Service IIoT : Choose TLS type?
Last updated: 2020-07-29
How to reset timer type PULSE
CODESYS Forge
talk
(Thread)
How to reset timer type PULSE
Last updated: 2016-11-07
Struct FB Input, type coercion
CODESYS Forge
talk
(Thread)
Struct FB Input, type coercion
Last updated: 2021-10-23
Integer type to byte array
CODESYS Forge
talk
(Thread)
Integer type to byte array
Last updated: 2015-11-25
Type–length–value in Codesys
CODESYS Forge
talk
(Thread)
Type–length–value in Codesys
Last updated: 2022-01-02
missing siemens type functions
CODESYS Forge
talk
(Thread)
missing siemens type functions
Last updated: 2012-04-02
ERROR 3729 invalid type ?
CODESYS Forge
talk
(Thread)
ERROR 3729 invalid type ?
Last updated: 2010-03-18
Flexible variable type for functions: ANY_TO_xxx
CODESYS Forge
talk
(Thread)
Flexible variable type for functions: ANY_TO_xxx
Last updated: 2019-11-06
Get Type Of a Variable
CODESYS Forge
talk
(Thread)
Get Type Of a Variable
Last updated: 2018-02-21
About the data type conversion
CODESYS Forge
talk
(Thread)
About the data type conversion
Last updated: 2013-04-10
question on type conversions
CODESYS Forge
talk
(Thread)
question on type conversions
Last updated: 2012-10-02
Compare costum Data Type Error
CODESYS Forge
talk
(Thread)
Compare costum Data Type Error
Last updated: 2017-05-11
Write variable of type TIME
CODESYS Forge
talk
(Thread)
Write variable of type TIME
Last updated: 2018-04-27
Real Data Type Range limitation
CODESYS Forge
talk
(Thread)
Real Data Type Range limitation
Last updated: 2010-03-26
Error: Type mismatch at output...
CODESYS Forge
talk
(Thread)
Error: Type mismatch at output...
Last updated: 2015-11-17
ModbusTCP-type BIT or BOOL
CODESYS Forge
talk
(Thread)
ModbusTCP-type BIT or BOOL
Last updated: 2020-11-16
Compare operands of type STRUCT
CODESYS Forge
talk
(Thread)
Compare operands of type STRUCT
Last updated: 2015-09-22
Post by pernockham on Inheritence of struct,
CODESYS Forge
talk
(Post)
Easier that I thought, by ALIAS TYPE log_item_val_type : ( BOOL_ := 0, INT_, REAL_, STRING_ ); END_TYPE TYPE LOG_DATA_BASE STRUCT val_type : log_item_val_type; (* value, name etc *) ENDSTRUCT ENDTYPE TYPE LOG_DATA_BOOL : LOG_DATA_BASE := (val_type := log_item_val_type.BOOL_); END_TYPE TYPE LOG_DATA_INT : LOG_DATA_BASE := (val_type := log_item_val_type.INT_); END_TYPE TYPE LOG_DATA_REAL : LOG_DATA_BASE := (val_type := log_item_val_type.REAL_); END_TYPE TYPE LOG_DATA_STRING : LOG_DATA_BASE := (val_type := log_item_val_type.STRING_); END_TYPE
Last updated: 2025-03-05
To search for an exact phrase, put it in quotes. Example: "getting started docs"
To exclude a word or phrase, put a dash in front of it. Example: docs -help
To search on specific fields, use these field names instead of a general text search. You can group with AND
or OR
.