...
Creates an Assembly onto the given Instance. Returns a GOAL_STATUS_T as result.
Info |
---|
On MCTC platforms, the function equals goal_eipCreateAssemblyObjectDm and the Assembly will be added to the Data Mapper - thus the total size of Assemblies can’t exceed 64 Byteis limited to buffer length of MI DM instance. |
Parameter | Description |
---|---|
GOAL_EIP_T *pHdlEip | GOAL EtherNet/IP handle |
uint32_t instanceId | instance number of the assembly object to create |
uint16_t len | length of the assembly object’s data |
...
Code Block | ||
---|---|---|
| ||
res = goal_eipCreateAssemblyObject(pHdlEip, GOAL_APP_ASM_ID_INPUT,
GOAL_APP_ASM_SIZE_INPUT); |
goal_eipCreateAssemblyObjectDm
Adds an CIP instance to the selected Class. Returns a GOAL_STATUS_T as result.
The assembly object data will be mapped to Data Mapper for exchanging the content with the peer core.
Info |
---|
On MCTC platforms, the Assembly will be added to the Data Mapper - thus the total size of Assemblies is limited to buffer length of MI DM instance. |
Parameter | Description |
---|---|
GOAL_EIP_T *pHdlEip | GOAL EtherNet/IP handle |
uint32_t instanceId | instance number of the assembly object to create |
uint16_t len | length of the assembly object’s data |
Table: goal_eipCreateAssemblyObjectDm parameters
Code Block |
---|
res = goal_eipCreateAssemblyObjectDm(pHdlEip, GOAL_APP_ASM_ID_INPUT, GOAL_APP_ASM_SIZE_INPUT); |
...
Creates an Assembly onto the given Instance on MCTC platforms, the Assembly won’t be added to the Data Mapper. Data are transported to the peer core by RPC instead. Returns a GOAL_STATUS_T as result.
Info |
---|
Only on MCTC platforms. The Assembly won’t be added to the Data Mapper - therefore no size restrictionthe size is restricted by RPC. |
Parameter | Description |
---|---|
GOAL_EIP_T *pHdlEip | GOAL EtherNet/IP handle |
uint32_t instanceId | instance number of the assembly object to create |
uint16_t len | length of the assembly object’s data |
...